/* =====================================================================
   Módulos de banda — Repertório, Estúdio de ensaio, Music, Tecla Certa
   Carregado só nas páginas desses módulos (block head_extra).
   ===================================================================== */

:root {
  --bnd-green: #34d399;
  --bnd-green-2: #6ee7b7;
  --bnd-rose: #fb7185;
  --bnd-rose-2: #fda4af;
  --bnd-cyan: #22d3ee;
  --bnd-coral: #ff7a45;
  --bnd-violet: #a78bfa;
  --bnd-amber: #fbbf24;
  --bnd-card: rgba(11, 18, 28, 0.78);
  --bnd-line: rgba(238, 246, 255, 0.09);
  --bnd-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes bnd-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes bnd-bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.28); }
  100% { transform: scale(1); }
}
@keyframes bnd-chord-in {
  0% { opacity: 0.15; transform: translateY(-5px); filter: blur(1.5px); }
  100% { opacity: 1; transform: none; filter: none; }
}
@keyframes bnd-eq {
  0%, 100% { transform: scaleY(0.25); }
  50% { transform: scaleY(1); }
}
@keyframes bnd-pulse {
  0% { box-shadow: 0 0 0 0 rgba(251, 113, 133, 0.55); }
  100% { box-shadow: 0 0 0 12px rgba(251, 113, 133, 0); }
}
@keyframes bnd-tick {
  0% { opacity: 0; transform: scale(1.8); }
  25% { opacity: 1; transform: scale(1); }
  85% { opacity: 1; }
  100% { opacity: 0.25; transform: scale(0.85); }
}
@keyframes bnd-flash {
  0% { box-shadow: 0 0 0 2px rgba(251, 113, 133, 0.75); }
  100% { box-shadow: 0 0 0 2px rgba(251, 113, 133, 0); }
}
@keyframes bnd-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes bnd-progress {
  from { transform: scaleX(0.18); }
  to { transform: scaleX(0.62); }
}

/* ---------- Peças comuns ---------- */
.bnd-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(238, 246, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--bnd-line);
  white-space: nowrap;
  vertical-align: middle;
}
.bnd-pill-green {
  color: var(--bnd-green-2);
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.3);
}
.btn.bnd-btn-green {
  background: linear-gradient(135deg, #34d399, #10b981);
  color: #04130d;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}
.btn.bnd-btn-green:hover { filter: brightness(1.08); }
.btn.bnd-btn-rose {
  background: linear-gradient(135deg, #fb7185, #f43f5e);
  color: #1d0408;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.25);
}
.btn.bnd-btn-rose:hover { filter: brightness(1.08); }

kbd {
  display: inline-block;
  min-width: 1.45em;
  padding: 0.05em 0.4em;
  border-radius: 6px;
  border: 1px solid rgba(238, 246, 255, 0.18);
  border-bottom-width: 2px;
  background: rgba(255, 255, 255, 0.06);
  font: 600 0.78em/1.45 "Outfit", system-ui, sans-serif;
  color: #eef6ff;
  text-align: center;
}

.bnd-kbd-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--bnd-line);
  background: transparent;
  color: rgba(238, 246, 255, 0.62);
  font: 500 0.75rem "Outfit", system-ui, sans-serif;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.bnd-kbd-btn:hover { color: #eef6ff; border-color: rgba(52, 211, 153, 0.4); }
@media (hover: none) { .bnd-kbd-btn { display: none; } }

/* Hero dos módulos */
.bnd-hero {
  position: relative;
  isolation: isolate;
}
.bnd-hero h1 {
  font-family: "Source Serif 4", Georgia, serif;
  letter-spacing: -0.01em;
}
.bnd-hero--rep .auth-kicker,
.bnd-hero--rep .auth-kicker a { color: var(--bnd-green-2); }
.bnd-hero--ens .auth-kicker,
.bnd-hero--ens .auth-kicker a { color: var(--bnd-rose-2); }
.bnd-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0.3rem 0 0.35rem;
}
.bnd-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.65rem;
}
.bnd-hero-row .rep-hero-actions { margin-top: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.bnd-hero-row .rep-hero-actions .btn,
.bnd-hero .rep-hero-actions .btn { min-height: 0; margin: 0; }
.bnd-hero .rep-hero-actions { align-items: center; }

/* Estado vazio */
.bnd-empty {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: clamp(1.5rem, 4vw, 2.6rem) 1rem;
  border: 1px dashed rgba(52, 211, 153, 0.28);
  border-radius: 16px;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(52, 211, 153, 0.09), transparent 70%),
    rgba(0, 0, 0, 0.16);
}
.bnd-empty h3 {
  margin: 0.4rem 0 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.35rem;
}
.bnd-empty p { margin: 0; max-width: 34rem; color: var(--muted, #9fb0c4); line-height: 1.55; }
.bnd-empty .btn { margin-top: 0.4rem; }
.bnd-empty-art {
  position: relative;
  width: 7.5rem;
  height: 5.2rem;
}
.bnd-empty-sheet {
  position: absolute;
  inset: 0.4rem 1.6rem;
  border-radius: 10px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  background:
    repeating-linear-gradient(180deg, transparent 0 9px, rgba(110, 231, 183, 0.22) 9px 10px),
    #0b1622;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transform-origin: 50% 100%;
}
.bnd-empty-sheet:nth-child(1) { transform: rotate(-12deg) translateX(-14px); opacity: 0.6; }
.bnd-empty-sheet:nth-child(2) { transform: rotate(9deg) translateX(14px); opacity: 0.8; }
.bnd-empty-sheet:nth-child(3) {
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255, 122, 69, 0.85) 18% 34%, transparent 34% 56%, rgba(255, 122, 69, 0.85) 56% 70%, transparent 70%) 0 10px / 100% 3px no-repeat,
    repeating-linear-gradient(180deg, transparent 0 9px, rgba(110, 231, 183, 0.3) 9px 10px),
    #0e1c2a;
}

/* Busca */
.bnd-search {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.7rem;
  min-height: 2.3rem;
  border-radius: 999px;
  border: 1px solid var(--bnd-line);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(238, 246, 255, 0.5);
}
.bnd-search:focus-within { border-color: rgba(52, 211, 153, 0.45); color: var(--bnd-green-2); }
.bnd-search input {
  border: 0 !important;
  background: transparent !important;
  outline: none;
  color: #eef6ff;
  font: inherit;
  min-width: 0;
  width: 11rem;
  padding: 0 !important;
  box-shadow: none !important;
}

/* ---------- Repertório: lista de sets ---------- */
@media (min-width: 721px) {
  .page-rep-home .stage { width: min(1240px, calc(100% - 2.5rem)); }
}
.page-rep-home .bnd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.5rem;
  padding-bottom: 0.4rem;
}
.page-rep-home .bnd-hero::before {
  content: "";
  position: absolute;
  inset: -2rem 0 auto auto;
  width: min(32rem, 70%);
  height: 18rem;
  background: radial-gradient(closest-side, rgba(52, 211, 153, 0.14), transparent);
  z-index: -1;
  pointer-events: none;
}
.page-rep-home .bnd-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.bnd-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.6rem;
}
.bnd-stats li {
  display: grid;
  justify-items: center;
  min-width: 5.4rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--bnd-line);
  background: rgba(11, 18, 28, 0.7);
}
.bnd-stats strong {
  font: 700 1.55rem/1.1 "Source Serif 4", Georgia, serif;
  color: #eef6ff;
}
.bnd-stats li:first-child strong { color: var(--bnd-green-2); }
.bnd-stats span { font-size: 0.74rem; color: rgba(238, 246, 255, 0.55); }

.bnd-sets-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}
.bnd-sets-head .timbre-panel-title { margin: 0; }

.rep-list.bnd-set-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 0.9rem;
}
.bnd-set-card {
  margin: 0;
  animation: bnd-rise 0.5s var(--bnd-ease) both;
  animation-delay: calc(var(--i, 0) * 45ms);
}
.bnd-set-card[hidden] { display: none; }
.rep-list-link.bnd-set-link,
.bnd-set-new .bnd-set-link {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--bnd-line);
  background: var(--bnd-card);
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s var(--bnd-ease), border-color 0.2s ease, box-shadow 0.25s ease;
}
.bnd-set-link:hover,
.bnd-set-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(52, 211, 153, 0.12);
  background: var(--bnd-card);
}
.bnd-set-cover {
  position: relative;
  display: block;
  height: 6.6rem;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 0% 0%, hsl(var(--set-h, 160) 80% 58% / 0.75), transparent 62%),
    radial-gradient(90% 120% at 100% 100%, rgba(52, 211, 153, 0.28), transparent 60%),
    linear-gradient(135deg, hsl(var(--set-h, 160) 45% 16%), #07111b);
}
.bnd-set-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0 13px, rgba(255, 255, 255, 0.05) 13px 14px);
}
.bnd-set-initial {
  position: absolute;
  left: 0.9rem;
  bottom: 0.35rem;
  font: 700 3.4rem/1 "Source Serif 4", Georgia, serif;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  z-index: 1;
}
.bnd-set-count {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 1;
  min-width: 1.9rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: rgba(4, 10, 18, 0.62);
  backdrop-filter: blur(6px);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  color: var(--bnd-green-2);
}
.bnd-set-count::after { content: " ♪"; font-weight: 500; opacity: 0.75; }
.bnd-set-bars {
  position: absolute;
  right: 0.9rem;
  bottom: 0.75rem;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 1.6rem;
  z-index: 1;
}
.bnd-set-bars i {
  width: 4px;
  height: 100%;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.75);
  transform-origin: 50% 100%;
  transform: scaleY(0.35);
}
.bnd-set-bars i:nth-child(2) { transform: scaleY(0.7); }
.bnd-set-bars i:nth-child(3) { transform: scaleY(0.5); }
.bnd-set-bars i:nth-child(4) { transform: scaleY(0.9); }
.bnd-set-bars i:nth-child(5) { transform: scaleY(0.45); }
.bnd-set-link:hover .bnd-set-bars i { animation: bnd-eq 0.9s ease-in-out infinite; }
.bnd-set-link:hover .bnd-set-bars i:nth-child(2) { animation-delay: -0.3s; }
.bnd-set-link:hover .bnd-set-bars i:nth-child(3) { animation-delay: -0.6s; }
.bnd-set-link:hover .bnd-set-bars i:nth-child(4) { animation-delay: -0.15s; }
.bnd-set-link:hover .bnd-set-bars i:nth-child(5) { animation-delay: -0.45s; }
.bnd-set-body {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 1rem 1rem;
  align-content: start;
}
.bnd-set-body strong { font-size: 1.04rem; line-height: 1.25; color: #eef6ff; }
.bnd-set-body .rep-list-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.86rem;
}
.bnd-set-body .meus-meta { font-size: 0.78rem; }
.bnd-set-body .bnd-pill { justify-self: start; margin-top: 0.2rem; }
.bnd-set-new .bnd-set-link {
  align-items: center;
  justify-content: center;
  min-height: 11rem;
  border-style: dashed;
  border-color: rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.03);
  text-align: center;
}
.bnd-set-new .bnd-set-body { justify-items: center; padding-top: 0.4rem; }
.bnd-set-plus {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: var(--bnd-green-2);
  font-size: 1.6rem;
  line-height: 1;
  transition: transform 0.3s var(--bnd-ease), background 0.2s ease;
}
.bnd-set-new .bnd-set-link:hover .bnd-set-plus { transform: rotate(90deg); background: rgba(52, 211, 153, 0.14); }
.bnd-filter-empty { margin: 0.8rem 0 0; }

.bnd-create-grid {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: minmax(0, 1fr);
  scroll-margin-top: 6rem;
}
@media (min-width: 1000px) {
  .bnd-create-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; }
  .bnd-create-form.rep-form-inline { grid-template-columns: 1fr; }
  .bnd-create-form .btn { justify-self: start; }
}
.bnd-step {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: var(--bnd-green-2);
  font-size: 0.8rem;
  vertical-align: 0.1em;
}
.page-rep-home .rep-lote-panel.is-primary { border-color: rgba(52, 211, 153, 0.28); }
:target.bnd-create-grid .panel { animation: bnd-flash 1.2s ease-out 1; }

@media (max-width: 720px) {
  .page-rep-home .bnd-hero { grid-template-columns: 1fr; gap: 0.9rem; }
  .bnd-stats { width: 100%; }
  .bnd-stats li { flex: 1; min-width: 0; padding: 0.55rem 0.4rem; }
  .bnd-stats strong { font-size: 1.3rem; }
  .rep-list.bnd-set-grid { grid-template-columns: 1fr; gap: 0.7rem; }
  .bnd-set-link { flex-direction: row !important; }
  .bnd-set-cover { width: 5.6rem; height: auto; min-height: 5.6rem; flex-shrink: 0; }
  .bnd-set-initial { font-size: 2.4rem; left: 0.6rem; }
  .bnd-set-bars { display: none; }
  .bnd-set-count { top: auto; bottom: 0.45rem; right: 0.45rem; font-size: 0.7rem; }
  .bnd-set-body { padding: 0.75rem 0.85rem; }
  .bnd-set-new .bnd-set-link { min-height: 4.5rem; flex-direction: row !important; gap: 0.8rem; justify-content: flex-start; padding-left: 1.2rem; }
  .bnd-set-new .bnd-set-body { justify-items: start; text-align: left; padding: 0.6rem 0; }
  .bnd-search { width: 100%; }
  .bnd-search input { width: 100%; }
}

/* ---------- Repertório: detalhe ---------- */
@media (min-width: 721px) {
  .page-rep-detail .stage,
  .page-repertorio-shared .stage { width: min(1680px, calc(100% - 2rem)); }
}
.page-rep-detail .bnd-hero h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.page-rep-detail .rep-play-cta,
.page-repertorio-shared .rep-play-cta {
  background: linear-gradient(135deg, #34d399, #10b981);
  color: #04130d;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.28);
  font-weight: 700;
}
.page-rep-detail .rep-play-cta:hover,
.page-repertorio-shared .rep-play-cta:hover { filter: brightness(1.08); }

/* Numeração do set na barra lateral */
.page-rep-detail .rep-song-list { counter-reset: bnd-song; }
.page-rep-detail .rep-song-row { counter-increment: bnd-song; }
.page-rep-detail .rep-song-title::before {
  content: counter(bnd-song) ".";
  display: inline-block;
  min-width: 1.35em;
  margin-right: 0.15rem;
  color: rgba(110, 231, 183, 0.65);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.page-rep-detail .rep-song-row { animation: bnd-rise 0.4s var(--bnd-ease) both; }
.page-rep-detail .rep-song-row:nth-child(2) { animation-delay: 30ms; }
.page-rep-detail .rep-song-row:nth-child(3) { animation-delay: 60ms; }
.page-rep-detail .rep-song-row:nth-child(4) { animation-delay: 90ms; }
.page-rep-detail .rep-song-row:nth-child(n + 5) { animation-delay: 120ms; }
.page-rep-detail .rep-song-row.is-dragging,
.page-rep-detail .rep-song-row.is-drag-over { animation: none; }

.bnd-side-empty {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 1.1rem 0.5rem;
  text-align: center;
  border: 1px dashed rgba(52, 211, 153, 0.28);
  border-radius: 12px;
}
.bnd-side-empty .rep-sidebar-empty { margin: 0; font-size: 0.9rem; }
.bnd-side-empty-ico {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.12);
  color: var(--bnd-green-2);
  font-size: 1.2rem;
}

/* Cifra: acordes destacados + hover */
.page-repertorio .cifra-board-pre .cifra-chord,
.page-rep-play .cifra-board-pre .cifra-chord {
  border-radius: 4px;
  transition: background-color 0.15s ease, color 0.15s ease;
}
@media (hover: hover) and (pointer: fine) {
  .page-repertorio .cifra-board-pre .cifra-chord:hover,
  .page-rep-play .cifra-board-pre .cifra-chord:hover {
    background: rgba(255, 122, 69, 0.16);
    cursor: help;
  }
  .page-repertorio .cifra-board-pre .cifra-chord.is-editable:hover { cursor: pointer; }
}
.cifra-board-key { display: inline-block; transform-origin: 50% 60%; }
.bnd-bump { animation: bnd-bump 0.45s var(--bnd-ease); }
.bnd-transposing .cifra-chord,
.bnd-transposing .cifra-diag { animation: bnd-chord-in 0.45s var(--bnd-ease) both; }
.bnd-transposing .cifra-diag:nth-child(2) { animation-delay: 30ms; }
.bnd-transposing .cifra-diag:nth-child(3) { animation-delay: 60ms; }
.bnd-transposing .cifra-diag:nth-child(n + 4) { animation-delay: 90ms; }

.bnd-chord-tip {
  position: fixed;
  z-index: 1200;
  width: 92px;
  padding: 0.45rem 0.4rem 0.3rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 122, 69, 0.35);
  background: rgba(8, 13, 22, 0.96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px) scale(0.96);
  transform-origin: 50% 100%;
  transition: opacity 0.14s ease, transform 0.18s var(--bnd-ease);
}
.bnd-chord-tip.is-below { transform-origin: 50% 0; transform: translateY(-4px) scale(0.96); }
.bnd-chord-tip.is-on { opacity: 1; transform: none; }
.bnd-chord-tip .cifra-diag {
  display: grid;
  justify-items: center;
  gap: 0.1rem;
  margin: 0;
  color: #eef6ff;
}
.bnd-chord-tip .cifra-diag-name { font-weight: 700; color: #ff9a6b; font-size: 0.86rem; }
.bnd-chord-tip svg { width: 70px; height: auto; color: #eef6ff; }
.bnd-chord-tip svg line { stroke: rgba(238, 246, 255, 0.55); stroke-width: 1; }
.bnd-chord-tip .cifra-diag-dot { fill: #ff7a45; }
.bnd-chord-tip .cifra-diag-nut { fill: #eef6ff; }
.bnd-chord-tip .cifra-diag-x,
.bnd-chord-tip .cifra-diag-base { fill: rgba(238, 246, 255, 0.7); font-size: 7px; }
.bnd-chord-tip .cifra-diag-na { color: rgba(238, 246, 255, 0.5); padding: 1rem 0; }

/* Diálogo de atalhos */
.bnd-dialog {
  width: min(26rem, calc(100vw - 2rem));
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  background: #0b121c;
  color: #eef6ff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.bnd-dialog[open] { animation: bnd-rise 0.25s var(--bnd-ease); }
.bnd-dialog::backdrop { background: rgba(2, 6, 12, 0.6); backdrop-filter: blur(3px); }
.bnd-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem 0.6rem;
}
.bnd-dialog-head h2 { margin: 0; font: 700 1.2rem "Source Serif 4", Georgia, serif; }
.bnd-dialog-x {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--bnd-line);
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.bnd-kbd-list {
  list-style: none;
  margin: 0;
  padding: 0.2rem 1.15rem 1.15rem;
  display: grid;
  gap: 0.15rem;
}
.bnd-kbd-list li {
  display: grid;
  grid-template-columns: 6.2rem 1fr;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid rgba(238, 246, 255, 0.06);
  font-size: 0.92rem;
  color: rgba(238, 246, 255, 0.8);
}
.bnd-kbd-list li:last-child { border-bottom: 0; }

/* ---------- Modo Play ---------- */
.bnd-play-progress {
  position: sticky;
  top: -0.85rem;
  z-index: 3;
  height: 3px;
  margin: -0.85rem -1rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.bnd-play-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #34d399, #22d3ee);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.12s linear;
}
.bnd-speed-out {
  min-width: 1.4rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--bnd-green-2);
  text-align: center;
  display: inline-block;
}
.bnd-play-help { font-weight: 700; }
@media (hover: none) { .bnd-play-help { display: none; } }
.page-rep-play [data-play-scroll].is-active {
  border-color: rgba(52, 211, 153, 0.55);
  color: var(--bnd-green-2);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
}

/* ---------- Estúdio de ensaio: lista ---------- */
.bnd-hero--ens {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 18rem);
  align-items: end;
  gap: 1.5rem;
}
.bnd-ens-art {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 5.5rem;
  padding: 0 0.6rem;
  border-radius: 16px;
  border: 1px solid rgba(251, 113, 133, 0.2);
  background:
    radial-gradient(80% 120% at 50% 50%, rgba(251, 113, 133, 0.12), transparent 70%),
    rgba(11, 18, 28, 0.7);
}
.bnd-ens-art i {
  flex: 1;
  height: var(--h);
  border-radius: 3px;
  background: linear-gradient(180deg, #fda4af, #fb7185 60%, #be123c);
  transform-origin: 50% 50%;
  animation: bnd-eq 1.6s ease-in-out infinite;
  animation-delay: calc(var(--d) * -0.13s);
  opacity: 0.85;
}
@media (max-width: 720px) {
  .bnd-hero--ens { grid-template-columns: 1fr; }
  .bnd-ens-art { height: 3.6rem; }
}
.bnd-ens-layout .panel { min-width: 0; }
.bnd-rec-dot {
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  margin-right: 0.3rem;
  border-radius: 50%;
  background: var(--bnd-rose);
  vertical-align: 0.1em;
  animation: bnd-pulse 1.8s ease-out infinite;
}
.bnd-ens-tips {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--bnd-line);
  display: grid;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: rgba(238, 246, 255, 0.62);
}
.bnd-ens-tips li { padding-left: 1rem; position: relative; }
.bnd-ens-tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--bnd-rose);
}
.bnd-ens-tips strong { color: #eef6ff; font-weight: 600; }
.bnd-ens-sessions .ensaio-session-list { align-content: start; }
.bnd-ens-sessions .ensaio-session-row {
  padding: 0.6rem 0.7rem;
  border-radius: 14px;
  border-color: var(--bnd-line);
  background: rgba(11, 18, 28, 0.6);
  transition: border-color 0.2s ease, transform 0.25s var(--bnd-ease), background 0.2s ease;
  animation: bnd-rise 0.45s var(--bnd-ease) both;
  animation-delay: calc(var(--i, 0) * 40ms);
  flex-wrap: wrap;
}
.bnd-ens-sessions .ensaio-session-row:hover {
  border-color: rgba(251, 113, 133, 0.4);
  background: rgba(251, 113, 133, 0.05);
  transform: translateY(-1px);
}
.bnd-ens-sessions .ensaio-session-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.bnd-ens-sessions .ensaio-session-link:hover strong { text-decoration: none; color: var(--bnd-rose-2); }
.bnd-ens-thumb {
  display: grid;
  align-content: center;
  gap: 4px;
  flex-shrink: 0;
  width: 3.6rem;
  height: 3rem;
  padding: 0 0.45rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(251, 113, 133, 0.18);
}
.bnd-ens-thumb i {
  display: block;
  height: 4px;
  width: var(--w);
  border-radius: 2px;
  background: linear-gradient(90deg, #fb7185, #fda4af);
  opacity: 0.85;
}
.bnd-ens-thumb i:nth-child(2) { background: linear-gradient(90deg, #38bdf8, #7dd3fc); }
.bnd-ens-thumb i:nth-child(3) { background: linear-gradient(90deg, #fbbf24, #fde68a); }
.bnd-ens-thumb i:nth-child(4) { background: linear-gradient(90deg, #a78bfa, #c4b5fd); }
.bnd-ens-info { display: grid; gap: 0.2rem; min-width: 0; }
.bnd-ens-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bnd-status { font-weight: 600; }
.bnd-status-open { color: #86efac; }
.bnd-status-archived { color: rgba(238, 246, 255, 0.5); }
.bnd-empty--ens { border-color: rgba(251, 113, 133, 0.28); background: radial-gradient(60% 80% at 50% 0%, rgba(251, 113, 133, 0.09), transparent 70%), rgba(0, 0, 0, 0.16); }
.bnd-empty-mic {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  color: var(--bnd-rose-2);
  background: rgba(251, 113, 133, 0.12);
  border: 1px solid rgba(251, 113, 133, 0.35);
  animation: bnd-pulse 2.2s ease-out infinite;
}

/* ---------- Estúdio de ensaio: DAW ---------- */
.page-ensaio-daw .ens-wave { position: relative; cursor: pointer; overflow: hidden; }
.page-ensaio-daw .ens-wave-tag,
.page-ensaio-daw .ens-wave-meta { position: relative; z-index: 1; }
.bnd-wave-canvas {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.page-ensaio-daw .sep-track.has-wave .bnd-wave-canvas { opacity: 0.9; }
.page-ensaio-daw .sep-track.has-wave .ens-wave {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--stem-accent, #fb7185) 16%, #090909), color-mix(in srgb, var(--stem-accent, #fb7185) 10%, #050505));
}
.page-ensaio-daw .sep-track.has-wave .ens-wave-tag { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); }
.page-ensaio-daw .ens-wave::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--playhead, 0%);
  background: rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
  z-index: 1;
}
.page-ensaio-daw .sep-ruler { position: relative; }
.bnd-ruler-notes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.bnd-ruler-note {
  position: absolute;
  bottom: 0;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  padding: 0;
  border: 0;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--bnd-amber);
  box-shadow: 0 0 0 2px #050505, 0 4px 10px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.18s var(--bnd-ease);
}
.bnd-ruler-note:hover,
.bnd-ruler-note:focus-visible { transform: rotate(-45deg) scale(1.3); outline: none; }

.bnd-countdown {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.3rem;
  border-radius: 14px;
  background: radial-gradient(closest-side, rgba(251, 113, 133, 0.18), rgba(5, 5, 5, 0.82));
  backdrop-filter: blur(4px);
  color: #fff;
  text-align: center;
}
.bnd-countdown[hidden] { display: none; }
.bnd-countdown span {
  font: 700 clamp(4.5rem, 12vw, 8rem)/1 "Source Serif 4", Georgia, serif;
  color: #fda4af;
  text-shadow: 0 0 40px rgba(251, 113, 133, 0.55);
}
.bnd-countdown span.is-tick { animation: bnd-tick 1s var(--bnd-ease) both; }
.bnd-countdown small { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.page-ensaio-daw .ens-console { position: relative; }

.bnd-vu {
  position: relative;
  overflow: hidden;
  height: 12px !important;
  border-radius: 6px !important;
  background:
    repeating-linear-gradient(90deg, transparent 0 6px, #050505 6px 8px),
    linear-gradient(90deg, rgba(52, 211, 153, 0.14) 0 70%, rgba(251, 191, 36, 0.14) 70% 90%, rgba(244, 63, 94, 0.18) 90%) !important;
}
.bnd-vu .ens-vu-seg {
  height: 100%;
  background: #34d399 !important;
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 6px, transparent 6px 8px);
  mask: repeating-linear-gradient(90deg, #000 0 6px, transparent 6px 8px);
  transition: width 0.06s linear, background-color 0.1s linear;
}
.bnd-vu .ens-vu-seg.is-hot { background: #fbbf24 !important; }
.bnd-vu .ens-vu-seg.is-clip { background: #f43f5e !important; }
.bnd-vu-peak {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -2px;
  background: #eef6ff;
  opacity: 0.85;
  transform: translateX(0);
}
.bnd-vu-peak.is-hot { background: #fbbf24; }
.bnd-rec-clock {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--bnd-rose-2);
}
.page-ensaio-daw .ens-vu-meta { display: flex; align-items: center; gap: 0.6rem; }
.page-ensaio-daw .ens-vu-meta .bnd-rec-clock { margin-left: auto; }

.bnd-toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.15rem 0;
  font-size: 0.8rem;
  color: rgba(232, 234, 237, 0.72);
  cursor: pointer;
  user-select: none;
}
.bnd-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.bnd-toggle-ui {
  position: relative;
  flex-shrink: 0;
  width: 2rem;
  height: 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease;
}
.bnd-toggle-ui::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(1.1rem - 4px);
  height: calc(1.1rem - 4px);
  border-radius: 50%;
  background: #eef6ff;
  transition: transform 0.22s var(--bnd-ease);
}
.bnd-toggle input:checked + .bnd-toggle-ui { background: #f43f5e; }
.bnd-toggle input:checked + .bnd-toggle-ui::after { transform: translateX(0.9rem); }
.bnd-toggle input:focus-visible + .bnd-toggle-ui { outline: 2px solid var(--bnd-rose-2); outline-offset: 2px; }

.page-ensaio-daw .ens-rec-btn.is-live { animation: bnd-pulse 1.2s ease-out infinite; }
.page-ensaio-daw .ens-player.is-recording .sep-ruler-playhead { background: #f43f5e; }
.page-ensaio-daw .ens-player.is-recording .ens-console {
  box-shadow: inset 0 0 0 1px rgba(244, 63, 94, 0.45);
  border-radius: 14px;
}

.bnd-tab-badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.15rem;
  height: 1.15rem;
  margin-left: 0.25rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--bnd-amber);
  color: #1a1203;
  font-size: 0.66rem;
  font-weight: 800;
}
.page-ensaio-daw button.ens-note-time {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: 0.4rem;
  padding: 0.08rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.12);
  color: #fde68a;
  font: 700 0.72rem "Outfit", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.page-ensaio-daw button.ens-note-time:hover { background: rgba(251, 191, 36, 0.24); }
.page-ensaio-daw .ens-note-card { transition: border-color 0.2s ease; border-radius: 10px; }
.page-ensaio-daw .ens-note-card.is-flash { animation: bnd-flash 1.4s ease-out 1; }
.bnd-now-btn {
  flex-shrink: 0;
  padding: 0 0.6rem;
  min-height: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.1);
  color: #fde68a;
  font: 600 0.75rem "Outfit", system-ui, sans-serif;
  cursor: pointer;
}
.bnd-now-btn:hover { background: rgba(251, 191, 36, 0.2); }
.page-ensaio-daw .ens-transport-hint kbd { font-size: 0.68rem; }

@media (max-width: 979px) {
  /* No celular: faixas primeiro, ferramentas depois */
  .page-ensaio-daw .ens-console { order: 1; }
  .page-ensaio-daw .ens-rail { order: 2; }
}

/* ---------- Music ---------- */
.page-music-player .mp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  text-align: left;
  padding-top: clamp(1rem, 3vw, 2.5rem);
}
.mp-hero-copy { min-width: 0; }
.mp-hero h1 {
  margin: 0.2rem 0 0.4rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.95;
  background: linear-gradient(120deg, #eef6ff 30%, #6ee7b7 70%, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mp-hero .lede { max-width: 34rem; }
.mp-kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-size: 0.8rem;
  color: rgba(238, 246, 255, 0.55);
}
.mp-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde68a;
  font-weight: 600;
}
.mp-status::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; }
.mp-status.is-on { border-color: rgba(52, 211, 153, 0.45); color: #6ee7b7; }
.mp-cta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.2rem 0 0.9rem; }
.mp-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.82rem;
  color: rgba(238, 246, 255, 0.6);
}
.mp-platforms span::before { content: "✓ "; color: #6ee7b7; font-weight: 700; }

.mp-phone-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 30rem;
}
.mp-glow {
  position: absolute;
  inset: 10% 5%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(52, 211, 153, 0.25), rgba(34, 211, 238, 0.08) 60%, transparent);
  filter: blur(10px);
}
.mp-phone {
  position: relative;
  width: 15.5rem;
  aspect-ratio: 9 / 18.6;
  padding: 0.55rem;
  border-radius: 2.4rem;
  background: linear-gradient(160deg, #1d2633, #0a0f17);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.12),
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.6);
  transform: rotate(-4deg);
  animation: bnd-float 6s ease-in-out infinite;
}
.mp-notch {
  position: absolute;
  top: 0.95rem;
  left: 50%;
  width: 4.6rem;
  height: 1.05rem;
  margin-left: -2.3rem;
  border-radius: 999px;
  background: #000;
  z-index: 2;
}
.mp-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 1.95rem;
  padding: 0.6rem 0.85rem 0.7rem;
  background:
    radial-gradient(120% 50% at 50% 0%, rgba(52, 211, 153, 0.28), transparent 70%),
    #070c13;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.6rem;
  color: #eef6ff;
}
.mp-top { display: flex; justify-content: space-between; font-weight: 600; font-size: 0.58rem; padding: 0 0.3rem; }
.mp-top-icons { display: flex; gap: 3px; align-items: center; }
.mp-top-icons i { width: 9px; height: 5px; border-radius: 1.5px; background: rgba(255, 255, 255, 0.8); }
.mp-top-icons i:nth-child(2) { width: 6px; }
.mp-top-icons i:nth-child(3) { width: 12px; }
.mp-screen-kicker {
  margin: 0.5rem 0 0;
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(238, 246, 255, 0.5);
}
.mp-now { display: flex; align-items: center; gap: 0.6rem; }
.mp-cover {
  display: grid;
  place-items: end center;
  width: 4.2rem;
  height: 4.2rem;
  flex-shrink: 0;
  border-radius: 12px;
  padding-bottom: 0.55rem;
  background:
    radial-gradient(90% 90% at 20% 15%, #6ee7b7, transparent 60%),
    radial-gradient(80% 80% at 90% 90%, #22d3ee, transparent 60%),
    linear-gradient(135deg, #0f766e, #134e4a);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}
.mp-now-meta { display: grid; gap: 0.15rem; min-width: 0; }
.mp-now-meta strong { font-size: 0.8rem; }
.mp-now-meta span { color: rgba(238, 246, 255, 0.55); }
.mp-eq { display: flex; align-items: flex-end; gap: 3px; height: 1.5rem; }
.mp-eq i {
  width: 4px;
  height: 100%;
  border-radius: 2px;
  background: #fff;
  transform-origin: 50% 100%;
  animation: bnd-eq 1s ease-in-out infinite;
}
.mp-eq i:nth-child(2) { animation-delay: -0.4s; animation-duration: 0.8s; }
.mp-eq i:nth-child(3) { animation-delay: -0.2s; animation-duration: 1.2s; }
.mp-eq i:nth-child(4) { animation-delay: -0.7s; animation-duration: 0.9s; }
.mp-eq i:nth-child(5) { animation-delay: -0.5s; animation-duration: 1.1s; }
.mp-eq-sm { height: 0.75rem; gap: 2px; }
.mp-eq-sm i { width: 2.5px; background: #6ee7b7; }
.mp-progress {
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  margin-top: 0.4rem;
}
.mp-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #6ee7b7, #22d3ee);
  transform-origin: 0 50%;
  animation: bnd-progress 14s linear infinite alternate;
}
.mp-times { display: flex; justify-content: space-between; color: rgba(238, 246, 255, 0.45); font-size: 0.5rem; }
.mp-controls { display: flex; justify-content: center; align-items: center; gap: 1.1rem; }
.mp-controls i { display: block; }
.mp-c-prev, .mp-c-next { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.mp-c-prev { border-right: 8px solid rgba(255, 255, 255, 0.75); }
.mp-c-next { border-left: 8px solid rgba(255, 255, 255, 0.75); }
.mp-c-play {
  position: relative;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: #6ee7b7;
}
.mp-c-play::before, .mp-c-play::after {
  content: "";
  position: absolute;
  top: 0.55rem;
  width: 3px;
  height: 0.8rem;
  border-radius: 1px;
  background: #052e22;
}
.mp-c-play::before { left: 0.7rem; }
.mp-c-play::after { right: 0.7rem; }
.mp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.mp-list li {
  display: grid;
  grid-template-columns: 1.6rem 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem;
  border-radius: 8px;
}
.mp-list li.is-playing { background: rgba(110, 231, 183, 0.1); }
.mp-thumb {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 5px;
  background: linear-gradient(135deg, hsl(var(--h) 70% 55%), hsl(calc(var(--h) + 40) 60% 30%));
}
.mp-list b, .mp-list small {
  display: block;
  height: 5px;
  width: var(--w, 70%);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.7);
}
.mp-list small { margin-top: 4px; height: 4px; background: rgba(255, 255, 255, 0.3); width: var(--w, 45%); }
.mp-list li.is-playing b { background: #6ee7b7; }
.mp-dl {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 1.5px solid rgba(110, 231, 183, 0.8);
  position: relative;
}
.mp-dl::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 2px;
  margin-left: -1px;
  width: 2px;
  height: 4px;
  background: rgba(110, 231, 183, 0.9);
}
.mp-tabbar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mp-tabbar i { width: 0.9rem; height: 0.9rem; border-radius: 4px; background: rgba(255, 255, 255, 0.3); }
.mp-tabbar i:first-child { background: #6ee7b7; }
.mp-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 18, 28, 0.88);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  animation: bnd-float 5s ease-in-out infinite;
}
.mp-float-ico {
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 7px;
  background: rgba(52, 211, 153, 0.18);
  color: #6ee7b7;
}
.mp-float-a { right: 2%; top: 22%; animation-delay: -1.5s; }
.mp-float-b { left: 2%; bottom: 18%; animation-delay: -3s; }
.mp-float-b .mp-float-ico { background: rgba(255, 122, 69, 0.18); color: #ff9a6b; }
.mp-phone.is-paused,
.mp-phone.is-paused *,
.mp-phone-wrap:has(.mp-phone.is-paused) .mp-float { animation-play-state: paused !important; }

.mp-section-title {
  margin: 0 0 1rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}
.mp-price {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.2rem);
  margin: 1rem 0 2.2rem;
  padding: clamp(1.1rem, 3vw, 1.8rem);
  border-radius: 20px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  background:
    linear-gradient(120deg, rgba(52, 211, 153, 0.12), transparent 50%),
    rgba(11, 18, 28, 0.82);
}
.mp-price-num {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  column-gap: 0.4rem;
  font-family: "Source Serif 4", Georgia, serif;
}
.mp-price-num strong { font-size: 2.6rem; line-height: 1; color: #6ee7b7; }
.mp-price-num span { font-family: "Outfit", sans-serif; font-size: 0.85rem; color: rgba(238, 246, 255, 0.6); }
.mp-price-num em { grid-column: 1 / -1; font-style: normal; color: rgba(238, 246, 255, 0.4); font-size: 1.2rem; line-height: 1.1; }
.mp-price-copy h2 { margin: 0 0 0.35rem; font-size: 1.2rem; }
.mp-price-copy p { margin: 0; color: var(--muted, #9fb0c4); line-height: 1.55; font-size: 0.92rem; }
.mp-account {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.mp-account li {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bnd-line);
  font-size: 0.8rem;
  color: rgba(238, 246, 255, 0.6);
}
.mp-account strong { color: #eef6ff; font-size: 0.95rem; }

.mp-features { margin: 0 0 2.4rem; }
.mp-feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.9rem;
}
.mp-feature-grid li {
  padding: 1.1rem 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--bnd-line);
  background: rgba(11, 18, 28, 0.7);
  transition: transform 0.25s var(--bnd-ease), border-color 0.2s ease;
  animation: bnd-rise 0.5s var(--bnd-ease) both;
  animation-delay: calc(var(--i, 0) * 50ms);
}
.mp-feature-grid li:hover { transform: translateY(-3px); border-color: rgba(52, 211, 153, 0.35); }
.mp-feature-grid h3 { margin: 0.7rem 0 0.3rem; font-size: 1.02rem; }
.mp-feature-grid p { margin: 0; font-size: 0.9rem; color: var(--muted, #9fb0c4); line-height: 1.5; }
.mp-f-ico {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 11px;
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
}
.mp-feature-grid li:nth-child(3n + 2) .mp-f-ico { color: #67e8f9; background: rgba(34, 211, 238, 0.1); border-color: rgba(34, 211, 238, 0.3); }
.mp-feature-grid li:nth-child(3n) .mp-f-ico { color: #ff9a6b; background: rgba(255, 122, 69, 0.1); border-color: rgba(255, 122, 69, 0.3); }

.mp-steps-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.2rem 0 1rem;
}
.mp-steps-col {
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border-radius: 18px;
  border: 1px solid var(--bnd-line);
  background: rgba(11, 18, 28, 0.7);
  min-width: 0;
}
.mp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: mp-step;
  display: grid;
  gap: 0.95rem;
}
.mp-steps li {
  counter-increment: mp-step;
  position: relative;
  display: grid;
  gap: 0.2rem;
  padding-left: 2.6rem;
  min-width: 0;
}
.mp-steps li::before {
  content: counter(mp-step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #34d399, #22d3ee);
  color: #04130d;
  font-weight: 800;
  font-size: 0.85rem;
}
.mp-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0.93rem;
  top: 2.1rem;
  bottom: -0.85rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.45), transparent);
}
.mp-steps strong { font-size: 0.98rem; }
.mp-steps span { color: var(--muted, #9fb0c4); font-size: 0.9rem; line-height: 1.5; overflow-wrap: anywhere; }
.mp-steps code { font-size: 0.8rem; }

@media (max-width: 900px) {
  .page-music-player .mp-hero { grid-template-columns: 1fr; text-align: left; }
  .mp-phone-wrap { min-height: 26rem; order: 2; }
  .mp-price { grid-template-columns: 1fr; }
  .mp-price .btn { justify-self: start; }
  .mp-steps-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .mp-phone { width: 13.5rem; }
  .mp-float { font-size: 0.7rem; padding: 0.4rem 0.6rem; }
  .mp-float-a { right: 0; top: 12%; }
  .mp-float-b { left: 0; bottom: 10%; }
}

/* ---------- Tecla Certa ---------- */
.page-tecla-certa .tc-hero {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.page-tecla-certa .tc-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.page-tecla-certa .tc-hero .lede { max-width: 44rem; }
.tc-cta-row {
  display: grid;
  gap: 1rem;
  max-width: 72rem;
  width: 100%;
  margin: 0 auto 2.2rem;
}
@media (min-width: 900px) {
  .tc-cta-row:has(> .tc-studio-cta + .tc-studio-cta) { grid-template-columns: 1fr 1fr; }
  .tc-cta-row .tc-studio-cta { flex-direction: column; align-items: flex-start; }
}
.tc-cta-row .tc-studio-cta {
  margin: 0;
  max-width: none;
  transition: transform 0.25s var(--bnd-ease), box-shadow 0.25s ease;
}
.tc-cta-row .tc-studio-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.page-tecla-certa .apostilas-group { max-width: 72rem; margin-left: auto; margin-right: auto; width: 100%; }
.page-tecla-certa .tc-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--bnd-ease), border-color 0.2s ease, box-shadow 0.25s ease;
  animation: bnd-rise 0.45s var(--bnd-ease) both;
  animation-delay: calc(var(--i, 0) * 45ms);
}
.page-tecla-certa .tc-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #22d3ee, #a78bfa);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.35s var(--bnd-ease);
}
.page-tecla-certa .tc-card:hover,
.page-tecla-certa .tc-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}
.page-tecla-certa .tc-card:hover::before,
.page-tecla-certa .tc-card:focus-visible::before { transform: scaleX(1); }
.page-tecla-certa .tc-card-cta { transition: transform 0.2s var(--bnd-ease); }
.page-tecla-certa .tc-card-cta::after { content: " →"; }
.page-tecla-certa .tc-card:hover .tc-card-cta { transform: translateX(3px); }
.tc-card-bar {
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 0.35rem;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.tc-card-bar i {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, #22d3ee, #34d399);
}
.page-tecla-certa .tc-card-bar + .tc-card-progress { margin-top: -0.2rem; font-size: 0.82rem; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  .bnd-set-card,
  .bnd-ens-sessions .ensaio-session-row,
  .page-rep-detail .rep-song-row,
  .mp-feature-grid li,
  .page-tecla-certa .tc-card,
  .bnd-dialog[open] { animation: none !important; }
  .bnd-ens-art i,
  .mp-eq i,
  .mp-progress span,
  .mp-phone,
  .mp-float,
  .bnd-rec-dot,
  .bnd-empty-mic,
  .bnd-set-link:hover .bnd-set-bars i,
  .page-ensaio-daw .ens-rec-btn.is-live { animation: none !important; }
  .bnd-countdown span.is-tick { animation: none; }
  .bnd-set-link,
  .mp-feature-grid li,
  .page-tecla-certa .tc-card,
  .tc-cta-row .tc-studio-cta,
  .bnd-chord-tip { transition: none; }
  .bnd-set-link:hover,
  .mp-feature-grid li:hover,
  .page-tecla-certa .tc-card:hover { transform: none; }
}

/* Ajustes finos do estúdio */
.page-ensaio-daw .sep-track.has-wave .ens-wave-meta {
  padding: 0.05rem 0.4rem;
  border-radius: 4px;
  background: rgba(5, 5, 5, 0.7);
  color: rgba(232, 234, 237, 0.85);
}
.page-ensaio-daw .ens-note-row {
  display: flex !important;
  align-items: center;
  gap: 0.4rem;
}
.page-ensaio-daw .ens-note-row input[data-comment-time] { flex: 0 0 4.6rem; width: 4.6rem; min-width: 0; }
.page-ensaio-daw .ens-note-row .bnd-now-btn { flex: 0 0 auto; }
.page-ensaio-daw .ens-note-row .btn { margin-left: auto; flex: 0 0 auto; }
@media (max-width: 600px) {
  .page-ensaio-daw .ens-transport-hint { display: none; }
}
.bnd-ens-sessions { display: flex; flex-direction: column; justify-content: flex-start; }
.bnd-ens-art.is-paused i { animation-play-state: paused; }
.bnd-ens-new .bnd-rec-dot { animation-iteration-count: 4; }
@media (max-width: 560px) {
  .bnd-ens-sessions .ensaio-session-link { flex: 1 1 100%; }
  .bnd-ens-sessions .ensaio-session-actions { width: 100%; justify-content: flex-end; }
  .bnd-ens-info strong { white-space: normal; }
}
.mp-cta { align-items: center; }
.mp-cta .btn { margin: 0; min-height: 0; }
.mp-price-num { grid-template-columns: auto auto auto auto auto; column-gap: 0.35rem; }
.mp-price-num em { grid-column: auto; padding: 0 0.3rem; font-size: 1.6rem; }
@media (max-width: 900px) {
  .mp-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .mp-feature-grid { grid-template-columns: 1fr; gap: 0.6rem; }
  .mp-feature-grid li { display: grid; grid-template-columns: auto 1fr; column-gap: 0.8rem; padding: 0.9rem; }
  .mp-feature-grid .mp-f-ico { grid-row: span 2; }
  .mp-feature-grid h3 { margin: 0.1rem 0 0.15rem; }
}
.mp-price-num { justify-content: start; }
@media (max-width: 480px) {
  .mp-phone-wrap { padding: 1.4rem 0; }
  .mp-float-a { top: 0; right: 0; }
  .mp-float-b { bottom: 0; left: 0; }
}
