:root {
  --bg0: #05080f;
  --bg1: #0a1220;
  --bg2: #121c30;
  --ink: #eef6ff;
  --muted: #8fa3bc;
  --line: rgba(238, 246, 255, 0.14);
  --cyan: #22d3ee;
  --cyan-2: #38bdf8;
  --coral: #ff5a36;
  --coral-2: #ff7a45;
  --accent: var(--coral);
  --accent-2: var(--cyan);
  --danger: #ff5c7a;
  --radius: 18px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Source Serif 4", Georgia, serif;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --glow-cyan: 0 0 40px rgba(34, 211, 238, 0.25);
  --glow-coral: 0 0 36px rgba(255, 90, 54, 0.22);
}

* { box-sizing: border-box; }
/* Author `display` on .btn etc. would otherwise override the UA [hidden] rule. */
[hidden] { display: none !important; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1100px 640px at 8% -8%, rgba(34, 211, 238, 0.28), transparent 55%),
    radial-gradient(900px 560px at 100% 0%, rgba(255, 90, 54, 0.26), transparent 52%),
    radial-gradient(700px 400px at 55% 100%, rgba(56, 189, 248, 0.12), transparent 60%),
    linear-gradient(165deg, var(--bg0), var(--bg1) 42%, #070d18);
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.top, .stage, .foot { position: relative; z-index: 1; }

.announce {
  position: relative;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.35rem;
  padding: 0.45rem 2.75rem;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.12), rgba(255, 90, 54, 0.1));
  border-bottom: 1px solid rgba(238, 246, 255, 0.08);
  color: var(--ink);
  text-align: center;
}

.announce-track {
  flex: 1;
  min-width: 0;
  max-width: 52rem;
}

.announce-msg {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.announce-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.announce-nav:hover { color: var(--cyan); background: rgba(244, 251, 255, 0.06); }
.announce-nav[data-announce-prev] { left: 0.35rem; }
.announce-nav[data-announce-next] { right: 0.35rem; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
  z-index: 40;
  background: rgba(5, 8, 15, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(238, 246, 255, 0.06);
  padding-top: max(0.85rem, env(safe-area-inset-top));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  text-shadow: 0 0 28px rgba(34, 211, 238, 0.35);
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  box-shadow: var(--glow-cyan);
}

.brand-status {
  align-self: center;
  margin-left: 0.15rem;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 215, 110, 0.28);
  background: rgba(250, 204, 21, 0.1);
  color: #f5d76e;
  font-family: var(--sans, inherit);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.hero {
  padding-top: 1.5rem;
  animation: rise 0.7s ease both;
}

.page-hero {
  padding-top: 0.85rem;
}
.page-hero h1 {
  font-size: clamp(1.7rem, 5.5vw, 2.55rem);
  line-height: 1.12;
  margin-bottom: 0.45rem;
}
.page-hero .lede {
  font-size: 1rem;
  max-width: 36rem;
}
.page-hero .hero-actions {
  margin-top: 0.75rem;
}

.hero h1 {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  background: linear-gradient(115deg, #fff 20%, var(--cyan) 55%, var(--coral) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin: 0 0 0.6rem;
  background: none;
  color: inherit;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.hero-mark {
  width: clamp(52px, 10vw, 72px);
  height: clamp(52px, 10vw, 72px);
  border-radius: 18px;
  box-shadow: var(--glow-cyan), var(--glow-coral);
  flex-shrink: 0;
}

.hero-brand span {
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 700;
  background: linear-gradient(115deg, #fff 20%, var(--cyan) 55%, var(--coral) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav a,
.nav-logout button {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
}
.nav a:hover,
.nav-logout button:hover { color: var(--cyan); }

.nav-logout {
  display: inline;
  margin: 0;
  padding: 0;
}
.nav-logout button {
  appearance: none;
  background: none;
  border: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
}

.credits-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--glow-cyan);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.credits-pill:hover {
  border-color: rgba(34, 211, 238, 0.75);
  background: rgba(34, 211, 238, 0.16);
  transform: translateY(-1px);
}
.credits-pill.is-empty {
  border-color: rgba(255, 90, 54, 0.55);
  background: rgba(255, 90, 54, 0.12);
  color: var(--coral-2);
  box-shadow: var(--glow-coral);
}
.credits-pill.is-premium {
  border-color: color-mix(in srgb, var(--cyan) 55%, transparent);
  background: color-mix(in srgb, var(--cyan) 12%, transparent);
}
.credits-pill span { opacity: 0.85; font-weight: 500; color: var(--muted); }

.nav .btn.tiny {
  padding: 0.55rem 1rem;
  min-height: 44px;
  font-size: 0.85rem;
  border-radius: 999px;
}

/* Menu compacto: mobile = Menu completo; desktop = Mais com extras */
.nav-menu {
  display: none;
  position: relative;
  margin: 0;
}
.nav-menu-desk {
  display: block;
}
.nav-menu-mobile {
  display: none;
}
.nav-menu > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(244, 251, 255, 0.08);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary::after {
  content: "▾";
  font-size: 0.75rem;
  opacity: 0.8;
}
.nav-menu[open] > summary {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.12);
}
.nav-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  min-width: 11.5rem;
  display: grid;
  gap: 0.15rem;
  padding: 0.45rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(10, 18, 32, 0.98);
  box-shadow: var(--shadow);
  z-index: 50;
}
.nav-menu-panel a,
.nav-menu-panel .nav-logout button {
  width: 100%;
  justify-content: flex-start;
}

.stage {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto 4rem;
  display: grid;
  gap: 1.75rem;
}

.lede {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.5;
}

.lede strong { color: var(--cyan); font-weight: 600; }

.panel {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.07), rgba(255, 90, 54, 0.04));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  animation: rise 0.8s 0.08s ease both;
  display: grid;
  gap: 1.25rem;
}

.field { display: grid; gap: 0.55rem; }
.label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.opt { text-transform: none; letter-spacing: 0; opacity: 0.8; }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="search"],
input[type="number"],
input[type="url"],
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
}
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 50%, calc(100% - 0.85rem) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}
textarea {
  resize: vertical;
  min-height: 5rem;
}
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(34, 211, 238, 0.65);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

.chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.chip {
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--ink);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.chip:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(255, 90, 54, 0.5);
}
.chip.is-active {
  border-color: rgba(34, 211, 238, 0.75);
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.18), rgba(255, 90, 54, 0.1));
  box-shadow: var(--glow-cyan);
}
.chip.is-disabled { opacity: 0.4; cursor: not-allowed; }
.chip-title { display: block; font-weight: 600; }
.chip-sub { display: block; margin-top: 0.2rem; color: var(--muted); font-size: 0.85rem; }
button.linkish {
  appearance: none;
  background: none;
  border: 0;
  padding: 0.55rem 0;
  min-height: 44px;
  color: var(--cyan);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
button.linkish:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Seletor de teclado (marca + modelo) */
.target-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  border: 1px solid rgba(34, 211, 238, 0.45);
  background:
    linear-gradient(120deg, rgba(34, 211, 238, 0.12), rgba(255, 90, 54, 0.08)),
    rgba(0, 0, 0, 0.28);
  color: var(--ink);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  cursor: pointer;
  font: inherit;
  box-shadow: var(--glow-cyan);
  transition: border-color 0.2s, transform 0.15s, background 0.2s;
}
.target-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(126, 236, 255, 0.75);
}
.target-trigger.is-empty {
  border-style: dashed;
  border-color: rgba(238, 246, 255, 0.28);
  background: rgba(0, 0, 0, 0.22);
  box-shadow: none;
}
.target-trigger.is-empty .target-keyboard {
  color: var(--muted);
  font-weight: 550;
}
.target-trigger.is-empty .target-format {
  color: #9adff0;
}
.target-trigger-main { display: grid; gap: 0.2rem; min-width: 0; }
.target-brand {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9adff0;
  font-weight: 600;
}
.target-keyboard {
  font-size: 1.12rem;
  font-weight: 650;
  color: #f7fbff;
}
.target-trigger-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.target-format {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}
.target-chevron {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f4fbff;
  color: #0b2740;
  font-size: 0.75rem;
  font-weight: 700;
}
.target-hint {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.target-details {
  margin: 0.85rem 0 0;
  padding: 0.9rem 1rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: rgba(8, 18, 32, 0.45);
}
.target-details-title {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9adff0;
  font-weight: 650;
}
.target-details-list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.target-details-list li::marker {
  color: rgba(34, 211, 238, 0.75);
}

.target-modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(560px, calc(100vw - 1.5rem));
  width: 100%;
  color: var(--ink);
}
.target-modal::backdrop {
  background: rgba(4, 10, 20, 0.72);
  backdrop-filter: blur(6px);
}
.target-modal-inner {
  background: linear-gradient(180deg, rgba(18, 28, 48, 0.98), rgba(10, 18, 32, 0.98));
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow), 0 0 0 1px rgba(34, 211, 238, 0.08);
  overflow: hidden;
  display: grid;
  max-height: min(80dvh, 80vh, 640px);
  grid-template-rows: auto auto minmax(0, 1fr) auto;
}
.target-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem 0.85rem;
  align-items: flex-start;
}
.target-modal-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  color: #f7fbff;
}
.target-modal-head p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.target-close {
  appearance: none;
  border: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: rgba(244, 251, 255, 0.12);
  color: #f4fbff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.target-close:hover {
  background: #f4fbff;
  color: #0b2740;
}
.target-search-wrap { padding: 0 1.25rem 0.85rem; }
.target-search {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font: inherit;
  outline: none;
}
.target-search::placeholder { color: #6f849a; }
.target-search:focus {
  border-color: rgba(34, 211, 238, 0.65);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}
.target-list {
  overflow: auto;
  padding: 0 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.target-option {
  appearance: none;
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  display: grid;
  gap: 0.2rem;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s, background 0.15s;
}
.target-option:hover:not(.is-soon) {
  transform: translateY(-1px);
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: var(--glow-cyan);
  background: rgba(34, 211, 238, 0.08);
}
.target-option.is-selected {
  border-color: rgba(34, 211, 238, 0.75);
  box-shadow: var(--glow-cyan);
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.16), rgba(255, 90, 54, 0.08));
}
.target-option.is-soon {
  opacity: 0.55;
  cursor: not-allowed;
}
.target-option.is-extension {
  cursor: pointer;
}
.target-pill.extension {
  background: rgba(34, 211, 238, 0.18);
  color: #9adff0;
}
.ableton-steps {
  margin: 1.5rem 0;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}
.ableton-steps h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}
.ableton-ol {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
}
.ableton-ol strong { color: #e8f4ff; }
.ableton-aside {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.ableton-attribution {
  margin: 2rem 0 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.ableton-attribution a { color: #9adff0; }
.target-option[hidden],
.target-option.is-filtered-out {
  display: none !important;
}
.target-option-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.target-option-brand {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9adff0;
  font-weight: 700;
}
.target-option-keyboard {
  font-size: 1.05rem;
  font-weight: 650;
  color: #f7fbff;
}
.target-option-format {
  font-size: 0.85rem;
  color: var(--muted);
}
.target-pill {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}
.target-pill.ready {
  background: rgba(34, 211, 238, 0.18);
  color: #9adff0;
}
.target-pill.beta {
  background: rgba(250, 204, 21, 0.16);
  color: #f5d76e;
}
.target-pill.soon {
  background: rgba(255, 90, 54, 0.14);
  color: var(--coral-2);
}
.target-beta-tag {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f5d76e;
  text-transform: lowercase;
}
.target-empty {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
  text-align: center;
}

.dropzone {
  border: 1.5px dashed rgba(34, 211, 238, 0.35);
  border-radius: var(--radius);
  min-height: 180px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.25s, box-shadow 0.25s;
  background:
    radial-gradient(500px 180px at 50% 0%, rgba(34, 211, 238, 0.14), transparent 70%),
    rgba(0, 0, 0, 0.22);
}
.dropzone:hover, .dropzone:focus-visible, .dropzone.is-drag {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
  background:
    radial-gradient(500px 180px at 50% 0%, rgba(34, 211, 238, 0.24), transparent 70%),
    rgba(0, 0, 0, 0.28);
  outline: none;
}
.dropzone.has-file {
  border-style: solid;
  border-color: rgba(255, 90, 54, 0.65);
  box-shadow: var(--glow-coral);
}
.dropzone.is-busy {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.drop-inner { text-align: center; padding: 1.5rem; }
.drop-title { margin: 0; font-size: 1.15rem; font-weight: 600; }
.drop-sub { margin: 0.4rem 0 0; color: var(--muted); }
.file-label {
  margin: 0;
  padding: 0 1rem 1.25rem;
  color: var(--coral-2);
  font-weight: 500;
  text-align: center;
}

.actions { display: flex; justify-content: flex-end; gap: 0.75rem; flex-wrap: wrap; }
.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, opacity 0.15s, background 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.btn.primary {
  background: #f4fbff;
  color: #0b2740;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 20px rgba(34, 211, 238, 0.18);
}
.btn.primary:hover:not(:disabled) {
  background: #ffffff;
  color: #08304a;
  box-shadow: 0 8px 24px rgba(255, 122, 69, 0.18);
}
.btn.ghost {
  margin-top: 0.9rem;
  background: rgba(244, 251, 255, 0.14);
  border: 1px solid rgba(244, 251, 255, 0.45);
  color: #f4fbff;
  box-shadow: 0 4px 16px rgba(34, 211, 238, 0.1);
}
.btn.ghost:hover {
  background: #f4fbff;
  border-color: #ffffff;
  color: #0b2740;
  box-shadow: 0 8px 22px rgba(34, 211, 238, 0.2);
}
.btn.block { width: 100%; margin-top: 0.35rem; }
.btn.tiny {
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 10px;
}

/* Auth pages — card no mesmo tom do painel escuro */
.page-auth .stage {
  width: min(560px, calc(100% - 2rem));
}
.auth-shell {
  display: grid;
  gap: 1.35rem;
  animation: rise 0.65s ease both;
}
.auth-intro { padding-top: 0.75rem; }
.auth-kicker {
  margin: 0 0 0.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9adff0;
  font-weight: 600;
}
.auth-kicker a {
  color: inherit;
  text-decoration: none;
}
.auth-kicker a:hover {
  color: var(--cyan);
  text-decoration: underline;
}
.auth-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: var(--glow-cyan);
}
.auth-title {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #f7fbff;
}
.auth-lede {
  margin: 0;
  color: #b7c7da;
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 28rem;
}
.auth-lede strong { color: #9af1ff; font-weight: 600; }

.auth-card {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.07), rgba(255, 90, 54, 0.04));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.35rem, 3.5vw, 1.85rem);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 1rem;
  color: var(--ink);
}
.auth-form {
  display: grid;
  gap: 1rem;
}
.auth-card .label {
  color: var(--muted);
}
.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="tel"],
.auth-card select,
.auth-card textarea {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: none;
}
.auth-card input::placeholder,
.auth-card textarea::placeholder { color: #6f849a; }
.auth-card input:focus {
  border-color: rgba(34, 211, 238, 0.65);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}
.check-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
  cursor: pointer;
  user-select: none;
}
.check-row input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--cyan);
}

.auth-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.auth-note a { color: var(--cyan); font-weight: 600; }
.auth-card .auth-note {
  color: var(--muted);
  text-align: center;
  padding-top: 0.15rem;
}
.auth-card .auth-note a { color: var(--cyan); }
.auth-card .hint-pix {
  color: var(--muted);
  text-align: center;
}
.auth-card .hint-pix em { color: var(--coral-2); }

.profile-section-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #e8f4ff;
  letter-spacing: -0.01em;
}
.profile-dl {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}
.profile-dl > div {
  display: grid;
  gap: 0.15rem;
}
.profile-dl dt {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.profile-dl dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  word-break: break-word;
}
.profile-dl dd a { color: var(--cyan); font-weight: 600; }
.profile-dl dd strong { color: #9af1ff; }
.profile-avatar-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.1);
  display: grid;
  place-items: center;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-avatar-fallback {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}
.profile-avatar-fields {
  flex: 1;
  min-width: 12rem;
  display: grid;
  gap: 0.65rem;
}
.profile-remove-avatar {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
}
.profile-remove-avatar input { accent-color: var(--coral); }
.profile-danger {
  border-color: rgba(255, 90, 54, 0.35);
  background: linear-gradient(180deg, rgba(255, 90, 54, 0.08), rgba(255, 90, 54, 0.03));
}
.btn.danger {
  background: linear-gradient(135deg, #ff5a36, #e11d48);
  color: #fff8f5;
  border: none;
  box-shadow: 0 8px 22px rgba(255, 90, 54, 0.25);
}
.btn.danger:hover {
  filter: brightness(1.06);
}

.flash {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 90, 54, 0.4);
  background: rgba(255, 90, 54, 0.12);
  color: var(--coral-2);
  font-size: 0.95rem;
  word-break: break-word;
}
.flash.ok {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
}
.hint-pix {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.hint-pix em { color: var(--coral-2); font-style: normal; font-weight: 600; }

.status {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  animation: rise 0.4s ease both;
}
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.65rem 1rem;
  margin-bottom: 0.7rem;
  flex-wrap: wrap;
}
.status-meta {
  color: var(--muted);
  font-size: 0.9rem;
  min-width: 0;
  word-break: break-word;
}
.bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  width: 8%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--coral));
  transition: width 0.35s ease;
}
.bar-fill.is-pulse {
  width: 35%;
  animation: pulse 1.2s ease-in-out infinite;
}
.error { color: var(--danger); margin: 0.75rem 0 0; }

.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.history-table th,
.history-table td {
  text-align: left;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.history-table th {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.history-table a { color: var(--cyan); text-decoration: none; font-weight: 600; }
.history-table a:hover { color: var(--coral-2); }
.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge.done { background: rgba(34, 211, 238, 0.15); color: var(--cyan); }
.badge.error { background: rgba(255, 92, 122, 0.15); color: var(--danger); }
.badge.queued, .badge.processing {
  background: rgba(255, 122, 69, 0.15);
  color: var(--coral-2);
}
.history-table tr.is-live .job-status {
  animation: badge-pulse 1.4s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.notice-hero {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}
.notice-hero .auth-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.notice-hero .auth-mark {
  border-radius: 8px;
}
.notice-panel {
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
  gap: 1rem;
}
.notice-detail {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
}
.notice-file {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  word-break: break-word;
}
.notice-file .label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.5rem;
}
.empty-state {
  margin: 0;
  color: var(--muted);
  text-align: center;
  padding: 1.5rem 0;
}

.faq-panel {
  gap: 0.65rem;
  padding: clamp(0.85rem, 2vw, 1.15rem);
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] {
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.08);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
  transition: color 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--cyan);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.faq-item[open] summary::after {
  content: "−";
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.55);
}
.faq-item summary:hover { color: var(--cyan); }

.faq-body {
  padding: 0 1.15rem 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  animation: rise 0.35s ease both;
}
.faq-body p { margin: 0 0 0.75rem; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body strong { color: var(--ink); font-weight: 600; }
.faq-body em {
  color: var(--coral-2);
  font-style: normal;
  font-weight: 600;
}
.faq-body a { color: var(--cyan); font-weight: 600; text-decoration: none; }
.faq-body a:hover { color: var(--coral-2); }
.faq-body code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.88em;
  padding: 0.1em 0.4em;
  border-radius: 6px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
}
.faq-body ul,
.faq-steps {
  margin: 0.35rem 0 0.85rem;
  padding-left: 1.25rem;
}
.faq-body li { margin: 0.35rem 0; }
.faq-body ul + p,
.faq-steps + p { margin-top: 0.85rem; }

.legal-doc {
  max-width: 42rem;
  padding: 1.35rem 1.5rem 1.6rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}
.legal-doc h2 {
  margin: 1.5rem 0 0.55rem;
  font-size: 1.12rem;
  color: var(--ink);
}
.legal-doc h2:first-child { margin-top: 0.15rem; }
.legal-doc p { margin: 0 0 0.75rem; }
.legal-doc p:last-child { margin-bottom: 0; }
.legal-doc strong { color: var(--ink); font-weight: 600; }
.legal-doc a { color: var(--cyan); font-weight: 600; text-decoration: none; }
.legal-doc a:hover { color: var(--coral-2); }
.legal-doc code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.88em;
  padding: 0.1em 0.4em;
  border-radius: 6px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
}
.legal-doc ul {
  margin: 0.35rem 0 0.85rem;
  padding-left: 1.25rem;
}
.legal-doc li { margin: 0.35rem 0; }

.faq-cta {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
  animation: rise 0.85s 0.12s ease both;
}

.foot a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 500;
}
.foot a:hover { color: var(--coral-2); }

.foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  text-align: left;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 2rem clamp(1rem, 4vw, 3rem) 2.5rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(238, 246, 255, 0.06);
  background: linear-gradient(180deg, transparent, rgba(5, 8, 15, 0.65));
}

.foot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.foot-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.foot-col-title {
  margin: 0 0 0.2rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.foot-col a {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(34, 211, 238, 0.35);
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.25rem;
  text-align: center;
  padding-top: 0.35rem;
}

.foot-copy {
  color: var(--muted);
  font-size: 0.82rem;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
}

.foot-brand img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  opacity: 0.95;
}

.help-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(238, 246, 255, 0.12);
  background: rgba(10, 18, 32, 0.92);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), var(--glow-cyan);
  backdrop-filter: blur(12px);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.help-fab:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.45);
  color: var(--ink);
}
body.page-repertorio .help-fab,
body.page-rep-play .help-fab {
  display: none !important;
}
.help-fab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--coral));
  color: #05080f;
  font-size: 0.85rem;
  font-weight: 800;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  0%, 100% { transform: translateX(0); opacity: 0.85; }
  50% { transform: translateX(120%); opacity: 1; }
}

/* Biblioteca SF2 */
.convert-feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin: 0.35rem 0 1.35rem;
  padding: 1.15rem 1.25rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(34, 211, 238, 0.35);
  background:
    linear-gradient(125deg, rgba(34, 211, 238, 0.14), transparent 55%),
    linear-gradient(200deg, rgba(255, 90, 54, 0.1), transparent 50%);
  box-shadow: var(--shadow), var(--glow-cyan);
  animation: rise 0.65s 0.05s ease both;
}

.convert-feature-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.convert-feature h2 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  letter-spacing: -0.02em;
}

.convert-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 34rem;
}

.convert-feature .btn.primary {
  flex-shrink: 0;
}

.convert-feature-slim {
  margin: 0;
  padding: 0.7rem 1rem;
  gap: 0.85rem;
}

.convert-feature-slim h2 {
  margin: 0 0 0.15rem;
  font-size: 1.15rem;
}

.convert-feature-slim p {
  font-size: 0.88rem;
}

/* Home — atalhos Converter / Editor / Apps / Ableton */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.85rem 0 0;
  animation: rise 0.55s 0.06s ease both;
}

.home-section-head {
  margin: 0 0 0.7rem;
}
.home-section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.home-section-head p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
  max-width: 36rem;
}

.home-featured {
  margin: 0.55rem 0 1.1rem;
  animation: rise 0.55s 0.04s ease both;
}

.home-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.home-featured-grid > .pathway-convert {
  grid-column: 1 / -1;
}

.home-product-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.15rem 0 0.85rem;
  animation: rise 0.5s 0.02s ease both;
}

.home-product-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(238, 246, 255, 0.1);
  background: rgba(18, 28, 48, 0.55);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.home-product-jump a:hover {
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.08);
}

.home-product-jump a.home-product-jump-keys {
  gap: 0.35rem;
  color: #ffb39a;
  border-color: rgba(255, 90, 54, 0.35);
  background: rgba(255, 90, 54, 0.08);
}
.home-product-jump a.home-product-jump-keys:hover {
  color: #ffc9b8;
  border-color: rgba(255, 90, 54, 0.55);
  background: rgba(255, 90, 54, 0.14);
}
.home-product-jump a.home-product-jump-guitar {
  color: #86efac;
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.08);
}
.home-product-jump a.home-product-jump-guitar:hover {
  color: #bbf7d0;
  border-color: rgba(52, 211, 153, 0.55);
  background: rgba(52, 211, 153, 0.14);
}
.home-product-jump a.home-product-jump-drums {
  color: #c4b5fd;
  border-color: rgba(167, 139, 250, 0.4);
  background: rgba(167, 139, 250, 0.1);
}
.home-product-jump a.home-product-jump-drums:hover {
  color: #ddd6fe;
  border-color: rgba(167, 139, 250, 0.6);
  background: rgba(167, 139, 250, 0.16);
}
.home-product-jump a.home-product-jump-bass {
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.1);
}
.home-product-jump a.home-product-jump-bass:hover {
  color: #bae6fd;
  border-color: rgba(56, 189, 248, 0.6);
  background: rgba(56, 189, 248, 0.16);
}
.home-jump-icon {
  flex-shrink: 0;
  display: block;
}

.home-products {
  margin: 0.35rem 0 1.15rem;
  animation: rise 0.55s 0.04s ease both;
  scroll-margin-top: 5rem;
}

.home-products-keys {
  margin-top: 0.85rem;
  padding: 1.1rem 1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 90, 54, 0.28);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(255, 90, 54, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(224, 184, 122, 0.08), transparent 50%),
    rgba(18, 24, 40, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 179, 154, 0.08);
}

.home-products-guitar,
.produtos-group-guitar {
  margin-top: 0.85rem;
  padding: 1.1rem 1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(52, 211, 153, 0.28);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(52, 211, 153, 0.12), transparent 55%),
    rgba(18, 24, 40, 0.45);
}

.home-products-drums,
.produtos-group-drums {
  margin-top: 0.85rem;
  padding: 1.1rem 1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(167, 139, 250, 0.32);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(167, 139, 250, 0.14), transparent 55%),
    rgba(18, 24, 40, 0.45);
}

.home-products-bass,
.produtos-group-bass {
  margin-top: 0.85rem;
  padding: 1.1rem 1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(56, 189, 248, 0.32);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(56, 189, 248, 0.14), transparent 55%),
    rgba(18, 24, 40, 0.45);
}

.home-products-plugins {
  margin-top: 0;
  padding: 1.1rem 1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(245, 197, 122, 0.32);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(245, 197, 122, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(94, 200, 255, 0.08), transparent 50%),
    rgba(18, 24, 40, 0.55);
}

.home-audience-badge-guitar {
  color: #86efac;
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.12);
}
.home-audience-badge-drums {
  color: #c4b5fd;
  border-color: rgba(167, 139, 250, 0.45);
  background: rgba(167, 139, 250, 0.14);
}
.home-audience-badge-bass {
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.14);
}
.home-audience-badge-plugins {
  color: #f5c57a;
  border-color: rgba(245, 197, 122, 0.45);
  background: rgba(245, 197, 122, 0.14);
}
.home-audience-kicker-guitar { color: #86efac; }
.home-audience-kicker-drums { color: #c4b5fd; }
.home-audience-kicker-bass { color: #7dd3fc; }
.home-audience-kicker-plugins { color: #f5c57a; }
.home-section-link-plugins { color: #f5c57a; }
.home-section-link-guitar { color: #86efac; }
.home-section-link-guitar:hover { color: #bbf7d0; }
.home-section-link-drums { color: #c4b5fd; }
.home-section-link-drums:hover { color: #ddd6fe; }
.home-section-link-bass { color: #7dd3fc; }
.home-section-link-bass:hover { color: #bae6fd; }

.home-guitar-tags,
.home-drums-tags,
.home-bass-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.55rem 0 0;
}
.home-guitar-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(134, 239, 172, 0.28);
  background: rgba(52, 211, 153, 0.1);
  color: #bbf7d0;
  font-size: 0.72rem;
  font-weight: 600;
}
.home-drums-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 181, 253, 0.3);
  background: rgba(167, 139, 250, 0.12);
  color: #ddd6fe;
  font-size: 0.72rem;
  font-weight: 600;
}
.home-bass-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.32);
  background: rgba(56, 189, 248, 0.12);
  color: #bae6fd;
  font-size: 0.72rem;
  font-weight: 600;
}

.pathway-afinador .pathway-icon { color: #86efac; border-color: rgba(52, 211, 153, 0.4); }
.pathway-click .pathway-icon,
.pathway-groove .pathway-icon { color: #c4b5fd; border-color: rgba(167, 139, 250, 0.45); }
.pathway-afinador .pathway-kicker,
.pathway-afinador .pathway-go { color: #86efac; }
.pathway-click .pathway-kicker,
.pathway-click .pathway-go,
.pathway-groove .pathway-kicker,
.pathway-groove .pathway-go { color: #c4b5fd; }

#para-guitarristas,
#para-baixistas,
#para-bateristas {
  scroll-margin-top: 5rem;
}

/* Afinador */
.afn-panel {
  margin-top: 1rem;
  padding: 0;
  overflow: visible;
  position: relative;
  z-index: 2;
  background:
    radial-gradient(720px 360px at 50% -8%, rgba(74, 222, 128, 0.1), transparent 58%),
    linear-gradient(180deg, #070b14, #05080f 70%);
}
.afn-app { display: grid; gap: 0; }
.afn-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem 0.55rem;
}
.afn-mic {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
}
.afn-mic-meter {
  display: block;
  width: 7px;
  height: 28px;
  border-radius: 999px;
  background: rgba(238, 246, 255, 0.1);
  overflow: hidden;
  position: relative;
}
.afn-mic-meter i {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: calc(var(--lvl) * 100%);
  background: linear-gradient(180deg, #4ade80, #22c55e);
  border-radius: inherit;
  transition: height 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.afn-auto {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
  user-select: none;
}
.afn-auto input { position: absolute; opacity: 0; pointer-events: none; }
.afn-auto-track {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: rgba(238, 246, 255, 0.12);
  border: 1px solid rgba(238, 246, 255, 0.16);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.afn-auto-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #eef6ff;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease;
}
.afn-auto input:checked + .afn-auto-track {
  background: rgba(74, 222, 128, 0.28);
  border-color: rgba(74, 222, 128, 0.5);
}
.afn-auto input:checked + .afn-auto-track .afn-auto-thumb {
  transform: translateX(18px);
  background: #4ade80;
}

.afn-chips {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.25rem 1rem 0.75rem;
  scrollbar-width: none;
}
.afn-chips::-webkit-scrollbar { display: none; }
.afn-chip {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.afn-chip.is-active {
  background: rgba(238, 246, 255, 0.08);
  border-color: rgba(238, 246, 255, 0.14);
  color: var(--ink);
}

.afn-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin: 0 1rem 0.5rem;
  padding: 0.3rem;
  border-radius: 14px;
  background: rgba(238, 246, 255, 0.04);
  border: 1px solid rgba(238, 246, 255, 0.08);
}
.afn-mode {
  margin: 0;
  padding: 0.55rem 0.35rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.afn-mode.is-active {
  color: #0b1220;
  background: #4ade80;
}

.afn-stage {
  text-align: center;
  padding: 0.35rem 1rem 0.75rem;
  min-height: 340px;
}
.afn-status {
  color: var(--muted);
  margin: 0 0 0.35rem;
  font-size: 0.86rem;
}
.afn-perfect {
  margin: 0 0 0.35rem;
  color: #4ade80;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
  animation: afn-pulse 2.2s ease-in-out infinite;
}
@keyframes afn-pulse {
  0%, 100% { opacity: 0.85; text-shadow: 0 0 0 rgba(74, 222, 128, 0); }
  50% { opacity: 1; text-shadow: 0 0 18px rgba(74, 222, 128, 0.45); }
}

.afn-dial { position: relative; }
.afn-gauge {
  --cents: 0;
  width: min(300px, 92vw);
  margin: 0 auto -1.6rem;
  color: #ffb39a;
}
.afn-gauge-svg { display: block; width: 100%; height: auto; overflow: visible; }
.afn-gauge-needle {
  transform-origin: 120px 120px;
  transform-box: view-box;
  transform: rotate(calc(var(--cents) * 0.9deg));
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), color 0.4s ease;
}
.afn-stage.is-in-tune .afn-gauge { color: #4ade80; }
.afn-stage.is-sharp .afn-gauge { color: #fb7185; }
.afn-stage.is-flat .afn-gauge { color: #60a5fa; }

.afn-note-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}
.afn-note-side {
  color: rgba(238, 246, 255, 0.28);
  font-family: var(--display);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  font-weight: 700;
}
.afn-note-side:first-child { text-align: right; }
.afn-note-side:last-child { text-align: left; }
.afn-note-main { min-width: 5.5rem; }
.afn-note {
  font-family: var(--display);
  font-size: clamp(3.6rem, 14vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0;
  line-height: 0.95;
  color: #4ade80;
  text-shadow: 0 0 40px rgba(74, 222, 128, 0.28);
  transition: color 0.45s ease, text-shadow 0.45s ease;
}
.afn-note.is-flip { animation: afn-note-in 0.38s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes afn-note-in {
  from { opacity: 0.4; transform: translateY(6px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.afn-note-pt {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}
.afn-stage.is-sharp .afn-note {
  color: #fb7185;
  text-shadow: 0 0 36px rgba(251, 113, 133, 0.35);
}
.afn-stage.is-flat .afn-note {
  color: #60a5fa;
  text-shadow: 0 0 36px rgba(96, 165, 250, 0.35);
}
.afn-stage.is-in-tune .afn-note {
  color: #4ade80;
  text-shadow: 0 0 42px rgba(74, 222, 128, 0.5);
}

.afn-hz {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 0.55rem;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  font-size: 0.95rem;
}
.afn-hz [data-afn-freq] { color: var(--ink); }
.afn-hz-target { color: var(--muted); }
.afn-cents {
  margin: 0.25rem 0 0;
  min-height: 1.2em;
  color: var(--muted);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.afn-wave {
  position: relative;
  margin: 1.1rem auto 0.35rem;
  width: min(340px, 94%);
  height: 64px;
  border-radius: 16px;
  background: rgba(238, 246, 255, 0.04);
  border: 1px solid rgba(238, 246, 255, 0.08);
  overflow: hidden;
}
.afn-wave canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.afn-wave-needle {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 50%;
  width: 3px;
  border-radius: 999px;
  background: #4ade80;
  box-shadow: 0 0 14px rgba(74, 222, 128, 0.65);
  transform: translate3d(calc(var(--cents) * 2.8px), 0, 0) translateX(-50%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s ease;
}
.afn-stage.is-sharp .afn-wave-needle { background: #fb7185; box-shadow: 0 0 14px rgba(251, 113, 133, 0.55); }
.afn-stage.is-flat .afn-wave-needle { background: #60a5fa; box-shadow: 0 0 14px rgba(96, 165, 250, 0.55); }

.afn-strings { padding: 0.25rem 0 0.5rem; }
.afn-strings-feedback { min-height: 2.6rem; margin-bottom: 0.25rem; }
.afn-active-name {
  margin: 0.2rem 0 0;
  color: #4ade80;
  font-weight: 650;
  font-size: 0.95rem;
}
.afn-string-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: clamp(0.35rem, 2vw, 0.85rem);
  min-height: 180px;
  padding: 0.35rem 0 0;
}
.afn-string {
  flex: 1 1 0;
  max-width: 72px;
  display: grid;
  grid-template-rows: 1fr auto auto;
  justify-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.35rem 0.15rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  transition: color 0.45s ease;
}
.afn-string-line {
  width: 3px;
  height: 100%;
  min-height: 100px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(238, 246, 255, 0.08), rgba(238, 246, 255, 0.35));
  transition: background 0.45s ease, box-shadow 0.45s ease, width 0.45s ease;
}
.afn-string-en {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  padding: 0.35rem 0.45rem;
  border-radius: 999px 999px 14px 14px;
  background: rgba(238, 246, 255, 0.08);
  border: 1px solid rgba(238, 246, 255, 0.16);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.82rem;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease, transform 0.35s ease;
}
.afn-string-pt { font-size: 0.78rem; font-weight: 600; }
.afn-string.is-active .afn-string-line,
.afn-string.is-in-tune .afn-string-line {
  width: 4px;
  background: linear-gradient(180deg, rgba(74, 222, 128, 0.2), #4ade80);
  box-shadow: 0 0 18px rgba(74, 222, 128, 0.55);
}
.afn-string.is-active .afn-string-en,
.afn-string.is-in-tune .afn-string-en {
  background: rgba(74, 222, 128, 0.16);
  border-color: rgba(74, 222, 128, 0.5);
  color: #4ade80;
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.25);
  transform: translateY(-2px);
}
.afn-string.is-active,
.afn-string.is-in-tune { color: #4ade80; }

.afn-train-lede { color: var(--muted); margin: 0 0 0.85rem; font-size: 0.9rem; }
.afn-train-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 0.55rem;
  max-width: 420px;
  margin: 0 auto;
}
.afn-train-btn {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0.5rem;
  border-radius: 14px;
  border: 1px solid rgba(238, 246, 255, 0.16);
  background: rgba(238, 246, 255, 0.05);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.afn-train-btn:hover { border-color: rgba(74, 222, 128, 0.45); transform: translateY(-1px); }
.afn-train-btn.is-playing {
  border-color: rgba(74, 222, 128, 0.55);
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
}
.afn-train-btn strong { font-size: 1.05rem; }
.afn-train-btn span { color: var(--muted); font-size: 0.8rem; }
.afn-empty { color: var(--muted); margin: 1rem 0; }

.afn-dd { position: relative; z-index: 5; }
.afn-dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(238, 246, 255, 0.18);
  background: rgba(8, 14, 26, 0.92);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.afn-dd-btn:hover,
.afn-dd.is-open .afn-dd-btn {
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(12, 22, 38, 0.98);
}
.afn-dd-caret { opacity: 0.7; transition: transform 0.2s ease; }
.afn-dd.is-open .afn-dd-caret { transform: rotate(180deg); }
.afn-dd-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: max(100%, 180px);
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border-radius: 14px;
  border: 1px solid rgba(238, 246, 255, 0.16);
  background: linear-gradient(180deg, #121c30, #0a1220);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  max-height: min(280px, 50vh);
  overflow: auto;
  z-index: 30;
}
.afn-dd-item {
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}
.afn-dd-item:hover { background: rgba(74, 222, 128, 0.12); color: #4ade80; }
.afn-dd-item.is-selected { background: rgba(74, 222, 128, 0.16); color: #4ade80; }
.afn-dd-sm .afn-dd-btn { padding: 0.45rem 0.75rem; font-size: 0.88rem; font-weight: 600; }
.afn-pref { display: inline-flex; align-items: center; gap: 0.45rem; }
.afn-pref-label { color: var(--muted); font-size: 0.85rem; font-weight: 600; }

.afn-prefs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  padding: 0.55rem 1rem 0;
  position: relative;
  z-index: 6;
}
.afn-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 1rem 0 0.35rem;
  padding: 0 1rem;
}
.afn-cta {
  min-width: min(280px, 100%);
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  background: #4ade80 !important;
  color: #07110a !important;
  border-color: #4ade80 !important;
  box-shadow: 0 10px 28px rgba(74, 222, 128, 0.28);
}
.afn-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  text-align: center;
}
.afn-help { margin-top: 1rem; }
.afn-help h2 { margin: 0 0 0.75rem; font-size: 1.15rem; }
.afn-steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  display: grid;
  gap: 0.45rem;
}
.afn-steps strong { color: var(--ink); }
.page-afinador .module-share { margin-top: 0.85rem; }
.page-afinador .panel.afn-panel { overflow: visible; }

@media (max-width: 560px) {
  .afn-mode { font-size: 0.72rem; }
  .afn-string-row { gap: 0.2rem; }
  .afn-string-en { font-size: 0.72rem; min-width: 2rem; padding: 0.3rem; }
}

/* AfinadorLab */
.afl-app { display: grid; gap: 1.1rem; padding: 1rem 1.1rem; min-width: 0; }
.afl-field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  color: var(--muted);
}
.afl-field input {
  padding: 0.6rem 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(238, 246, 255, 0.14);
  background: rgba(238, 246, 255, 0.05);
  color: var(--ink);
  font: inherit;
}
.afl-mic-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.afl-mic-meter {
  display: block;
  width: 7px;
  height: 28px;
  border-radius: 999px;
  background: rgba(238, 246, 255, 0.1);
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
}
.afl-mic-meter i {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: calc(var(--lvl) * 100%);
  background: linear-gradient(180deg, #4ade80, #22c55e);
  border-radius: inherit;
  transition: height 0.15s ease;
}
.afl-status {
  color: var(--muted);
  margin: 0;
  font-size: 0.86rem;
}
.afl-status.is-error { color: #f87171; }
.afl-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 0.25rem 0 0.35rem;
  flex-wrap: wrap;
}
.afl-divider {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.15rem 0;
  color: var(--muted);
  font-size: 0.78rem;
}
.afl-divider::before,
.afl-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(238, 246, 255, 0.12);
}
.afl-upload-btn {
  cursor: pointer;
}
.afl-progress {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(238, 246, 255, 0.1);
  overflow: hidden;
}
.afl-progress i {
  display: block;
  height: 100%;
  width: calc(var(--pct, 0) * 1%);
  background: linear-gradient(90deg, #22c1c3, #4ade80);
  transition: width 0.35s ease;
}
.afl-hint {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}
.afl-zoom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 0 0.5rem;
}
.afl-zoom-btn,
.afl-zoom-label {
  border: 1px solid rgba(238, 246, 255, 0.16);
  background: rgba(238, 246, 255, 0.05);
  color: var(--ink);
  border-radius: 0.5rem;
  font: inherit;
  cursor: pointer;
  line-height: 1;
}
.afl-zoom-btn {
  width: 1.9rem;
  height: 1.9rem;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.afl-zoom-label {
  min-width: 3.4rem;
  padding: 0 0.5rem;
  height: 1.9rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.afl-chart {
  border-radius: 0.75rem;
  background: rgba(238, 246, 255, 0.04);
  border: 1px solid rgba(238, 246, 255, 0.1);
  padding: 0.5rem;
  overflow: hidden;
  min-width: 0;
}
.afl-chart canvas {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 420px;
  cursor: grab;
  touch-action: none;
}
.afl-chart canvas.is-dragging,
.afl-chart canvas.is-panning { cursor: grabbing; }
.afl-actions button[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}
[data-afl-edit-status] {
  text-align: center;
  min-height: 1.1em;
}
.afl-legend {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.afl-legend-item { position: relative; padding-left: 1.1rem; }
.afl-legend-item::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 0.75rem; height: 3px;
  transform: translateY(-50%);
  border-radius: 999px;
}
.afl-legend-original::before { background: rgba(238, 246, 255, 0.45); }
.afl-legend-corrected::before { background: #4ade80; }
.afl-legend-pending::before { background: #a5b4fc; }
.afl-app audio { width: 100%; }
.afl-error {
  color: #f87171;
  text-align: center;
  font-size: 0.86rem;
  margin: 0;
}
.afl-help { margin-top: 1rem; }
.afl-help h2 { margin: 0 0 0.75rem; font-size: 1.15rem; }
.afl-steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  display: grid;
  gap: 0.45rem;
}
.afl-steps strong { color: var(--ink); }
.afl-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Click */
.click-panel { margin-top: 1rem; }
.click-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.click-check {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  padding-bottom: 0.35rem;
}
.click-visual {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 0.5rem 0 1rem;
}
.click-beat {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 181, 253, 0.35);
  background: rgba(167, 139, 250, 0.12);
  transition: background 0.08s ease, transform 0.08s ease;
}
.click-beat.is-on {
  background: #c4b5fd;
  transform: scale(1.08);
}
.click-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.click-hint { margin: 0.85rem 0 0; font-size: 0.82rem; color: var(--muted); }
@media (max-width: 720px) {
  .click-grid { grid-template-columns: 1fr 1fr; }
}

.home-audience-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}

.home-audience-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(238, 246, 255, 0.12);
  background: rgba(18, 28, 48, 0.7);
}
.home-audience-badge .pathway-icon {
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  background: transparent;
  border-radius: 0;
}
.home-audience-badge .pathway-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}
.home-audience-badge-general {
  color: #86efac;
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.1);
}
.home-audience-badge-keys {
  color: #ffb39a;
  border-color: rgba(255, 90, 54, 0.45);
  background: rgba(255, 90, 54, 0.16);
  box-shadow: 0 0 0 1px rgba(255, 90, 54, 0.12);
}

.home-audience-kicker {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #86efac;
}
.home-audience-kicker-keys {
  color: #ffb39a;
}

.home-keys-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.55rem 0 0;
}
.home-keys-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 179, 154, 0.28);
  background: rgba(255, 90, 54, 0.1);
  color: #ffc9b8;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.home-section-link-keys {
  color: #ffb39a;
}
.home-section-link-keys:hover {
  color: #ffc9b8;
}

.home-keys-banner {
  margin-bottom: 0.95rem;
}

.produtos-group-keys {
  margin-top: 0.5rem;
  padding: 1.1rem 1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 90, 54, 0.28);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(255, 90, 54, 0.12), transparent 55%),
    rgba(18, 24, 40, 0.45);
}

.btn-inline-icon {
  display: inline-block;
  vertical-align: -0.2em;
  margin-right: 0.35rem;
}

.hero-cta-keys {
  border-color: rgba(255, 90, 54, 0.4) !important;
  color: #ffb39a !important;
}
.hero-cta-keys:hover {
  border-color: rgba(255, 90, 54, 0.65) !important;
  color: #ffc9b8 !important;
  background: rgba(255, 90, 54, 0.1) !important;
}

#para-tecladistas,
#producao {
  scroll-margin-top: 5rem;
}

.home-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.home-products-grid > .pathway {
  scroll-margin-top: 5.5rem;
  height: 100%;
}

.home-more {
  margin: 0 0 1.15rem;
  animation: rise 0.55s 0.08s ease both;
}

.home-hub-link {
  margin: 0.85rem 0 0;
  text-align: center;
}
.home-hub-link a {
  color: #9adff0;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.home-hub-link a:hover {
  text-decoration: underline;
}

.home-pathways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0.15rem 0 0.15rem;
  animation: rise 0.55s 0.04s ease both;
}

.home-pathways-secondary {
  margin: 0;
  animation: none;
}

.pathway-featured {
  min-height: 11.5rem;
  padding: 1rem 1.05rem 1.05rem;
  gap: 0.35rem;
}
.pathway-featured .pathway-title {
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
}
.pathway-featured .pathway-text {
  font-size: 0.86rem;
  line-height: 1.45;
  max-width: none;
  margin-bottom: 0.35rem;
}

.pathway-icon {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0 0 0.15rem;
  border-radius: 3px;
  border: 1px solid rgba(238, 246, 255, 0.18);
  background: rgba(5, 8, 15, 0.55);
  color: var(--ink);
  flex-shrink: 0;
}
.pathway-icon svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}
.pathway-convert .pathway-icon,
.pathway-editor .pathway-icon { color: #ffb39a; border-color: rgba(255, 90, 54, 0.35); }
.pathway-separar .pathway-icon { color: #93c5fd; border-color: rgba(96, 165, 250, 0.4); }
.pathway-repertorio .pathway-icon { color: #86efac; border-color: rgba(52, 211, 153, 0.4); }
.pathway-estudio .pathway-icon { color: #fda4af; border-color: rgba(251, 113, 133, 0.45); }
.pathway-library .pathway-icon,
.pathway-apps .pathway-icon { color: #9adff0; border-color: rgba(34, 211, 238, 0.4); }
.pathway-youtube .pathway-icon { color: #fca5a5; border-color: rgba(248, 113, 113, 0.4); }
.pathway-transcrever .pathway-icon { color: #5eead4; border-color: rgba(45, 212, 191, 0.4); }
.pathway-descobrir .pathway-icon { color: #fbbf24; border-color: rgba(251, 191, 36, 0.4); }
.pathway-ableton .pathway-icon { color: #f5e27a; border-color: rgba(245, 226, 122, 0.4); }
.pathway-teclado .pathway-icon { color: #e8c48a; border-color: rgba(224, 184, 122, 0.4); }
.pathway-multitrack .pathway-icon { color: #c4b5fd; border-color: rgba(167, 139, 250, 0.45); }
.pathway-music .pathway-icon { color: #6ee7b7; border-color: rgba(52, 211, 153, 0.45); }
.pathway-transpose .pathway-icon { color: #fb923c; border-color: rgba(249, 115, 22, 0.45); }
.pathway-extensao .pathway-icon { color: #22d3ee; border-color: rgba(34, 211, 238, 0.45); }
.pathway-cortar .pathway-icon { color: #f0abfc; border-color: rgba(232, 121, 249, 0.42); }

.pathway-brand-plain {
  margin-bottom: 0;
  gap: 0.45rem;
}
.pathway-brand-plain .pathway-brand-name {
  letter-spacing: 0.1em;
}

.pathway {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-height: 0;
  padding: 0.75rem 0.9rem 0.8rem;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.pathway::before {
  content: "";
  position: absolute;
  inset: auto -25% -60% auto;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.45;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.pathway:hover {
  transform: translateY(-3px);
}
.pathway:hover::before {
  transform: scale(1.12) translate(-6%, -4%);
  opacity: 0.85;
}
.pathway:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.pathway-convert {
  border-color: rgba(255, 90, 54, 0.4);
  background:
    linear-gradient(145deg, rgba(255, 90, 54, 0.16), transparent 52%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-convert::before {
  background: radial-gradient(circle, rgba(255, 90, 54, 0.35), transparent 68%);
}
.pathway-convert:hover {
  border-color: rgba(255, 90, 54, 0.7);
  box-shadow: var(--glow-coral), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-convert .pathway-kicker { color: #ffb39a; }
.pathway-convert .pathway-go { color: #ffb39a; }

.pathway-separar {
  border-color: rgba(96, 165, 250, 0.42);
  background:
    linear-gradient(145deg, rgba(96, 165, 250, 0.16), transparent 52%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-separar::before {
  background: radial-gradient(circle, rgba(96, 165, 250, 0.32), transparent 68%);
}
.pathway-separar:hover {
  border-color: rgba(96, 165, 250, 0.75);
  box-shadow: 0 0 28px rgba(96, 165, 250, 0.22), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-separar .pathway-kicker { color: #93c5fd; }
.pathway-separar .pathway-go { color: #93c5fd; }
.pathway-separar .pathway-formats span {
  color: #bfdbfe;
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.3);
}

.pathway-cortar {
  border-color: rgba(232, 121, 249, 0.42);
  background:
    linear-gradient(145deg, rgba(232, 121, 249, 0.16), transparent 52%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-cortar::before {
  background: radial-gradient(circle, rgba(232, 121, 249, 0.32), transparent 68%);
}
.pathway-cortar:hover {
  border-color: rgba(232, 121, 249, 0.75);
  box-shadow: 0 0 28px rgba(232, 121, 249, 0.22), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-cortar .pathway-kicker { color: #f0abfc; }
.pathway-cortar .pathway-go { color: #f0abfc; }
.pathway-cortar .pathway-formats span {
  color: #f5d0fe;
  background: rgba(232, 121, 249, 0.12);
  border-color: rgba(232, 121, 249, 0.3);
}

/* Cards de plugin (LoopLabs/LabGuitar/LabBass): a screenshot do produto
   substitui o ícone genérico dos outros cards, e cada um usa a cor de
   destaque da própria single page (plugins/<slug>/site/index.html), pra
   continuar reconhecível quando o clique leva pra lá. */
.pathway-plugin {
  padding-top: 0;
}
.pathway-plugin-shot {
  display: block;
  width: calc(100% + 2.1rem);
  margin: 0 -1.05rem 0.65rem;
  height: 11rem;
  overflow: hidden;
}
.home-products-grid-plugins {
  gap: 1rem;
}
.home-products-grid-plugins-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pathway-plugin-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.pathway-plugin-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.15rem;
}
.pathway-plugin-mark {
  border-radius: 4px;
  flex-shrink: 0;
}

/* O card de plugin não é mais o próprio <a> (precisa de espaço pro botão
   "Tenho interesse" ao lado, sem aninhar elemento interativo dentro de
   link) — .pathway-card-link herda o layout que .pathway dava aos filhos
   quando era ela mesma o link. */
.pathway-card-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  gap: 0.2rem;
  text-decoration: none;
  color: inherit;
}
.pathway-cta {
  position: relative;
  z-index: 1;
}

.pathway-looplabs {
  border-color: rgba(94, 200, 255, 0.42);
  background:
    linear-gradient(145deg, rgba(94, 200, 255, 0.16), transparent 52%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-looplabs::before {
  background: radial-gradient(circle, rgba(94, 200, 255, 0.32), transparent 68%);
}
.pathway-looplabs:hover {
  border-color: rgba(94, 200, 255, 0.75);
  box-shadow: 0 0 28px rgba(94, 200, 255, 0.22), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-looplabs .pathway-kicker,
.pathway-looplabs .pathway-go { color: #5ec8ff; }

.pathway-labguitar {
  border-color: rgba(99, 215, 230, 0.42);
  background:
    linear-gradient(145deg, rgba(99, 215, 230, 0.16), transparent 52%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-labguitar::before {
  background: radial-gradient(circle, rgba(99, 215, 230, 0.32), transparent 68%);
}
.pathway-labguitar:hover {
  border-color: rgba(99, 215, 230, 0.75);
  box-shadow: 0 0 28px rgba(99, 215, 230, 0.22), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-labguitar .pathway-kicker,
.pathway-labguitar .pathway-go { color: #63d7e6; }

.pathway-labbass {
  border-color: rgba(94, 224, 184, 0.42);
  background:
    linear-gradient(145deg, rgba(94, 224, 184, 0.16), transparent 52%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-labbass::before {
  background: radial-gradient(circle, rgba(94, 224, 184, 0.32), transparent 68%);
}
.pathway-labbass:hover {
  border-color: rgba(94, 224, 184, 0.75);
  box-shadow: 0 0 28px rgba(94, 224, 184, 0.22), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-labbass .pathway-kicker,
.pathway-labbass .pathway-go { color: #5ee0b8; }

.pathway-labvoice {
  border-color: rgba(255, 111, 159, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 111, 159, 0.16), transparent 52%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-labvoice::before {
  background: radial-gradient(circle, rgba(255, 111, 159, 0.32), transparent 68%);
}
.pathway-labvoice:hover {
  border-color: rgba(255, 111, 159, 0.75);
  box-shadow: 0 0 28px rgba(255, 111, 159, 0.22), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-labvoice .pathway-kicker,
.pathway-labvoice .pathway-go { color: #ff8fb3; }

.pathway-repertorio {
  border-color: rgba(52, 211, 153, 0.42);
  background:
    linear-gradient(145deg, rgba(52, 211, 153, 0.16), transparent 52%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-repertorio::before {
  background: radial-gradient(circle, rgba(52, 211, 153, 0.32), transparent 68%);
}
.pathway-repertorio:hover {
  border-color: rgba(52, 211, 153, 0.75);
  box-shadow: 0 0 28px rgba(52, 211, 153, 0.22), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-repertorio .pathway-kicker { color: #86efac; }
.pathway-repertorio .pathway-go { color: #86efac; }
.pathway-repertorio .pathway-formats span {
  color: #bbf7d0;
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.3);
}

.pathway-estudio {
  border-color: rgba(251, 113, 133, 0.42);
  background:
    linear-gradient(145deg, rgba(251, 113, 133, 0.16), transparent 52%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-estudio::before {
  background: radial-gradient(circle, rgba(251, 113, 133, 0.32), transparent 68%);
}
.pathway-estudio:hover {
  border-color: rgba(251, 113, 133, 0.75);
  box-shadow: 0 0 28px rgba(251, 113, 133, 0.22), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-estudio .pathway-kicker { color: #fda4af; }
.pathway-estudio .pathway-go { color: #fda4af; }
.pathway-estudio .pathway-formats span {
  color: #fecdd3;
  background: rgba(251, 113, 133, 0.12);
  border-color: rgba(251, 113, 133, 0.3);
}

.pathway-afinadorlab .pathway-icon { color: #a5b4fc; border-color: rgba(129, 140, 248, 0.4); }
.pathway-afinadorlab {
  border-color: rgba(129, 140, 248, 0.42);
  background:
    linear-gradient(145deg, rgba(129, 140, 248, 0.16), transparent 52%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-afinadorlab::before {
  background: radial-gradient(circle, rgba(129, 140, 248, 0.32), transparent 68%);
}
.pathway-afinadorlab:hover {
  border-color: rgba(129, 140, 248, 0.75);
  box-shadow: 0 0 28px rgba(129, 140, 248, 0.22), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-afinadorlab .pathway-kicker { color: #a5b4fc; }
.pathway-afinadorlab .pathway-go { color: #a5b4fc; }
.pathway-afinadorlab .pathway-formats span {
  color: #c7d2fe;
  background: rgba(129, 140, 248, 0.12);
  border-color: rgba(129, 140, 248, 0.3);
}

.pathway-library {
  border-color: rgba(34, 211, 238, 0.42);
  background:
    linear-gradient(145deg, rgba(34, 211, 238, 0.16), transparent 52%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-library::before {
  background: radial-gradient(circle, rgba(34, 211, 238, 0.32), transparent 68%);
}
.pathway-library:hover {
  border-color: rgba(34, 211, 238, 0.75);
  box-shadow: var(--glow-cyan), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-library .pathway-kicker { color: var(--cyan); }
.pathway-library .pathway-go { color: #9adff0; }
.pathway-library .pathway-formats span {
  color: #b8f0fa;
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.3);
}

.pathway-youtube {
  border-color: rgba(248, 113, 113, 0.42);
  background:
    linear-gradient(145deg, rgba(248, 113, 113, 0.16), transparent 52%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-youtube::before {
  background: radial-gradient(circle, rgba(248, 113, 113, 0.32), transparent 68%);
}
.pathway-youtube:hover {
  border-color: rgba(248, 113, 113, 0.75);
  box-shadow: 0 0 28px rgba(248, 113, 113, 0.2), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-youtube .pathway-kicker { color: #fca5a5; }
.pathway-youtube .pathway-go { color: #fca5a5; }
.pathway-youtube .pathway-formats span {
  color: #fecaca;
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.3);
}

.pathway-transcrever {
  border-color: rgba(45, 212, 191, 0.42);
  background:
    linear-gradient(145deg, rgba(45, 212, 191, 0.16), transparent 52%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-transcrever::before {
  background: radial-gradient(circle, rgba(45, 212, 191, 0.32), transparent 68%);
}
.pathway-transcrever:hover {
  border-color: rgba(45, 212, 191, 0.75);
  box-shadow: 0 0 28px rgba(45, 212, 191, 0.2), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-transcrever .pathway-kicker { color: #5eead4; }
.pathway-transcrever .pathway-go { color: #5eead4; }
.pathway-transcrever .pathway-formats span {
  color: #99f6e4;
  background: rgba(45, 212, 191, 0.12);
  border-color: rgba(45, 212, 191, 0.3);
}

.pathway-descobrir {
  border-color: rgba(251, 191, 36, 0.42);
  background:
    linear-gradient(145deg, rgba(251, 191, 36, 0.16), transparent 52%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-descobrir::before {
  background: radial-gradient(circle, rgba(251, 191, 36, 0.32), transparent 68%);
}
.pathway-descobrir:hover {
  border-color: rgba(251, 191, 36, 0.75);
  box-shadow: 0 0 28px rgba(251, 191, 36, 0.2), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-descobrir .pathway-kicker { color: #fbbf24; }
.pathway-descobrir .pathway-go { color: #fbbf24; }
.pathway-descobrir .pathway-formats span {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.3);
}

.pathway-apps {
  border-color: rgba(34, 211, 238, 0.38);
  background:
    linear-gradient(145deg, rgba(34, 211, 238, 0.14), transparent 52%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-apps::before {
  background: radial-gradient(circle, rgba(34, 211, 238, 0.32), transparent 68%);
}
.pathway-apps:hover {
  border-color: rgba(34, 211, 238, 0.7);
  box-shadow: var(--glow-cyan), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-apps .pathway-kicker { color: var(--cyan); }
.pathway-apps .pathway-go { color: #9adff0; }

.pathway-multitrack {
  border-color: rgba(167, 139, 250, 0.4);
  background:
    linear-gradient(145deg, rgba(139, 92, 246, 0.16), transparent 52%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-multitrack::before {
  background: radial-gradient(circle, rgba(167, 139, 250, 0.34), transparent 68%);
}
.pathway-multitrack:hover {
  border-color: rgba(167, 139, 250, 0.72);
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.22), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-multitrack .pathway-kicker { color: #c4b5fd; }
.pathway-multitrack .pathway-go { color: #c4b5fd; }

.pathway-music {
  border-color: rgba(52, 211, 153, 0.42);
  background:
    linear-gradient(145deg, rgba(16, 185, 129, 0.16), transparent 52%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-music::before {
  background: radial-gradient(circle, rgba(52, 211, 153, 0.34), transparent 68%);
}
.pathway-music:hover {
  border-color: rgba(52, 211, 153, 0.75);
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.2), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-music .pathway-kicker { color: #6ee7b7; }
.pathway-music .pathway-go { color: #6ee7b7; }

.pathway-transpose {
  border-color: rgba(249, 115, 22, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 90, 54, 0.16), transparent 52%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-transpose::before {
  background: radial-gradient(circle, rgba(255, 90, 54, 0.32), transparent 68%);
}
.pathway-transpose:hover {
  border-color: rgba(249, 115, 22, 0.75);
  box-shadow: 0 0 28px rgba(255, 90, 54, 0.2), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-transpose .pathway-kicker { color: #fb923c; }
.pathway-transpose .pathway-go { color: #fb923c; }
.pathway-transpose .pathway-formats span {
  border-color: rgba(249, 115, 22, 0.35);
  color: #fdba74;
}

.pathway-extensao {
  border-color: rgba(34, 211, 238, 0.42);
  background:
    linear-gradient(145deg, rgba(34, 211, 238, 0.16), transparent 48%),
    linear-gradient(210deg, rgba(255, 90, 54, 0.1), transparent 62%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-extensao::before {
  background: radial-gradient(circle, rgba(34, 211, 238, 0.32), transparent 68%);
}
.pathway-extensao:hover {
  border-color: rgba(34, 211, 238, 0.75);
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.2), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-extensao .pathway-kicker { color: #67e8f9; }
.pathway-extensao .pathway-go { color: #67e8f9; }
.pathway-extensao .pathway-formats span {
  border-color: rgba(34, 211, 238, 0.35);
  color: #a5f3fc;
}

.pathway-afinador {
  border-color: rgba(52, 211, 153, 0.42);
  background:
    linear-gradient(145deg, rgba(52, 211, 153, 0.16), transparent 52%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-afinador::before {
  background: radial-gradient(circle, rgba(52, 211, 153, 0.32), transparent 68%);
}
.pathway-afinador:hover {
  border-color: rgba(52, 211, 153, 0.75);
  box-shadow: 0 0 28px rgba(52, 211, 153, 0.22), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-afinador .pathway-kicker { color: #86efac; }
.pathway-afinador .pathway-go { color: #86efac; }
.pathway-afinador .pathway-formats span {
  color: #bbf7d0;
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.3);
}

.pathway-click,
.pathway-groove {
  border-color: rgba(167, 139, 250, 0.42);
  background:
    linear-gradient(145deg, rgba(167, 139, 250, 0.16), transparent 52%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-click::before,
.pathway-groove::before {
  background: radial-gradient(circle, rgba(167, 139, 250, 0.32), transparent 68%);
}
.pathway-click:hover,
.pathway-groove:hover {
  border-color: rgba(167, 139, 250, 0.75);
  box-shadow: 0 0 28px rgba(167, 139, 250, 0.22), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-click .pathway-kicker,
.pathway-groove .pathway-kicker { color: #c4b5fd; }
.pathway-click .pathway-go,
.pathway-groove .pathway-go { color: #c4b5fd; }
.pathway-click .pathway-formats span,
.pathway-groove .pathway-formats span {
  color: #ddd6fe;
  background: rgba(167, 139, 250, 0.12);
  border-color: rgba(167, 139, 250, 0.3);
}

.pathway-android {
  border-color: rgba(61, 220, 132, 0.38);
  background:
    linear-gradient(145deg, rgba(61, 220, 132, 0.14), transparent 52%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-android::before {
  background: radial-gradient(circle, rgba(61, 220, 132, 0.3), transparent 68%);
}
.pathway-android:hover {
  border-color: rgba(61, 220, 132, 0.7);
  box-shadow: 0 0 28px rgba(61, 220, 132, 0.2), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-android .pathway-kicker { color: #8eecc0; }
.pathway-android .pathway-go { color: #9ef0c8; }
.pathway-android .pathway-chip[data-os="android"] {
  border-color: rgba(61, 220, 132, 0.35);
  background: rgba(61, 220, 132, 0.12);
  color: #b8f5d4;
}

.pathway-ableton {
  border-color: rgba(250, 225, 84, 0.42);
  background:
    linear-gradient(145deg, rgba(250, 225, 84, 0.14), transparent 50%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-ableton::before {
  background: radial-gradient(circle, rgba(250, 225, 84, 0.28), transparent 68%);
}
.pathway-ableton:hover {
  border-color: rgba(250, 225, 84, 0.75);
  box-shadow: 0 0 28px rgba(250, 225, 84, 0.22), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-ableton .pathway-go { color: #f5e27a; }

.pathway-teclado {
  border-color: rgba(212, 163, 92, 0.45);
  background:
    linear-gradient(145deg, rgba(212, 163, 92, 0.14), transparent 50%),
    rgba(10, 14, 24, 0.82);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.pathway-teclado::before {
  background: radial-gradient(circle, rgba(212, 163, 92, 0.28), transparent 68%);
}
.pathway-teclado:hover {
  border-color: rgba(212, 163, 92, 0.78);
  box-shadow: 0 0 28px rgba(212, 163, 92, 0.2), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pathway-teclado .pathway-kicker { color: #e0b87a; }
.pathway-teclado .pathway-go { color: #e8c48a; }

.pathway-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.05rem;
}
.pathway-brand-icon {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 9px;
  color: #f5e27a;
  background: #0a0a0a;
  border: 1px solid rgba(250, 225, 84, 0.35);
  flex-shrink: 0;
  overflow: hidden;
  padding: 0.15rem;
}
.pathway-brand-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pathway-brand-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
}
.pathway-brand-name {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f5e27a;
}
.pathway-brand-badge {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1608;
  background: #f5e27a;
  border-radius: 999px;
  padding: 0.12rem 0.4rem;
}

.pathway-kicker {
  position: relative;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pathway-title {
  position: relative;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.pathway-text {
  position: relative;
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
  max-width: 22rem;
}

.pathway-formats {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin-top: auto;
  margin-bottom: 0.35rem;
}
.pathway-formats span {
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  color: #ffd0c2;
  background: rgba(255, 90, 54, 0.12);
  border: 1px solid rgba(255, 90, 54, 0.28);
}

.pathway-platforms {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin-top: auto;
  margin-bottom: 0.35rem;
}
.pathway-chip {
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  padding: 0.15rem 0.42rem;
  border-radius: 6px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(34, 211, 238, 0.1);
  color: #b8f0fa;
}
.pathway-chip[data-os="ios"] {
  border-color: rgba(238, 246, 255, 0.22);
  background: rgba(238, 246, 255, 0.08);
  color: #e8f0ff;
}
.pathway-chip[data-os="desktop"] {
  border-color: rgba(255, 90, 54, 0.28);
  background: rgba(255, 90, 54, 0.1);
  color: #ffb39a;
}

.pathway-go {
  position: relative;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

/* Hub /produtos */
.produtos-lead {
  margin: -0.35rem 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(10, 14, 24, 0.65);
}
.produtos-lead p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 44rem;
}
.produtos-lead a {
  color: #9adff0;
  font-weight: 600;
}

/* /novidades — página de atualização (compartilhável) */
.novidades-hero .novidades-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.novidades-block {
  margin: 0 0 1.5rem;
  animation: rise 0.55s 0.05s ease both;
}

.novidades-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.novidades-item {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(238, 246, 255, 0.08);
  background: rgba(18, 28, 48, 0.55);
}
.novidades-item strong {
  display: block;
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.novidades-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.novidades-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.novidades-tool {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.95rem 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(238, 246, 255, 0.08);
  background: rgba(10, 14, 24, 0.72);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.novidades-tool:hover {
  border-color: rgba(34, 211, 238, 0.4);
  transform: translateY(-2px);
  color: inherit;
}
.novidades-tool-badge {
  align-self: flex-start;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(34, 211, 238, 0.08);
  color: #9adff0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.novidades-tool strong {
  font-size: 1.05rem;
  color: var(--ink);
}
.novidades-tool p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  flex: 1;
}
.novidades-tool-go {
  margin-top: 0.35rem;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 600;
}

.novidades-cta {
  margin: 0.5rem 0 1.5rem;
  padding: 1.15rem 1.2rem;
}
.novidades-cta p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}
.novidades-cta .hero-actions {
  margin: 0;
}

.produtos-group {
  margin: 0 0 1.75rem;
}

.produto {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(10, 14, 24, 0.72);
  scroll-margin-top: 5rem;
}

.produto-destaque {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.5rem;
  align-items: end;
  margin: 0 0 0.75rem;
  padding: 1.15rem 1.2rem 1.2rem;
  border-color: rgba(255, 90, 54, 0.38);
  background:
    linear-gradient(145deg, rgba(255, 90, 54, 0.12), transparent 55%),
    rgba(10, 14, 24, 0.82);
}
.produto-separar {
  border-color: rgba(96, 165, 250, 0.4);
  background:
    linear-gradient(145deg, rgba(96, 165, 250, 0.12), transparent 55%),
    rgba(10, 14, 24, 0.82);
}
.produto-library {
  border-color: rgba(34, 211, 238, 0.4);
  background:
    linear-gradient(145deg, rgba(34, 211, 238, 0.12), transparent 55%),
    rgba(10, 14, 24, 0.82);
}
.produto-music {
  border-color: rgba(52, 211, 153, 0.42);
  background:
    linear-gradient(145deg, rgba(16, 185, 129, 0.14), transparent 55%),
    rgba(10, 14, 24, 0.82);
}

.produto-kicker {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffb39a;
}
.produto-separar .produto-kicker { color: #93c5fd; }
.produto-library .produto-kicker { color: var(--cyan); }
.produto-music .produto-kicker { color: #6ee7b7; }

.produto h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.produto-pitch {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 40rem;
}

.produto-bullets {
  margin: 0.55rem 0 0;
  padding: 0 0 0 1.1rem;
  color: rgba(238, 246, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.5;
}
.produto-bullets li {
  margin: 0.2rem 0;
}

.produto-meta {
  margin: 0.55rem 0 0;
  color: rgba(238, 246, 255, 0.45);
  font-size: 0.8rem;
}

.produto-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  min-width: 11rem;
}
.produto-price {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.75rem;
}

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.produto-go {
  margin-top: auto;
  padding-top: 0.55rem;
  color: #9adff0;
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;
}
.produto-go:hover {
  text-decoration: underline;
}

.produtos-credits {
  margin: 0.5rem 0 1.5rem;
}

.nav-donate {
  color: rgba(238, 246, 255, 0.42) !important;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.nav-donate:hover {
  color: rgba(238, 246, 255, 0.72) !important;
}

.nav-review {
  color: #041018 !important;
  font-weight: 700 !important;
  background: linear-gradient(115deg, var(--cyan) 0%, #7dd3fc 55%, #fda4af 100%);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.35), var(--glow-cyan);
}

.nav-review:hover {
  color: #041018 !important;
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.nav-menu-panel .nav-review {
  margin: 0.15rem 0;
}

/* Apps SF2 */
.apps-note {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(238, 246, 255, 0.12);
  background: rgba(8, 18, 32, 0.4);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.apps-note p { margin: 0; }

/* AmostralabMusic — comparação Spotify */
.music-vs {
  margin: 0 0 1.75rem;
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  background:
    linear-gradient(145deg, rgba(16, 185, 129, 0.1), transparent 55%),
    rgba(10, 14, 24, 0.78);
}
.music-vs-head {
  margin: 0 0 1rem;
  max-width: 40rem;
}
.music-vs-head h2 {
  margin: 0.15rem 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.music-vs-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.music-vs-grid {
  display: grid;
  gap: 0;
  border: 1px solid rgba(238, 246, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(6, 12, 22, 0.55);
}
.music-vs-row {
  display: grid;
  grid-template-columns: minmax(5.5rem, 0.9fr) 1fr 1.15fr;
  gap: 0;
  border-top: 1px solid rgba(238, 246, 255, 0.08);
}
.music-vs-row:first-child { border-top: none; }
.music-vs-head-row {
  background: rgba(238, 246, 255, 0.04);
}
.music-vs-label,
.music-vs-col {
  padding: 0.65rem 0.75rem;
  font-size: 0.86rem;
  line-height: 1.4;
  color: rgba(238, 246, 255, 0.72);
}
.music-vs-label {
  color: rgba(238, 246, 255, 0.48);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-right: 1px solid rgba(238, 246, 255, 0.08);
}
.music-vs-head-row .music-vs-col {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.music-vs-spotify { color: rgba(238, 246, 255, 0.55) !important; }
.music-vs-ours {
  color: #a7f3d0 !important;
  background: rgba(16, 185, 129, 0.08);
  border-left: 1px solid rgba(52, 211, 153, 0.18);
}
.music-vs-head-row .music-vs-ours { color: #6ee7b7 !important; }
.music-download-steps { margin-top: 0.25rem; }

@media (max-width: 640px) {
  .music-vs-row {
    grid-template-columns: 1fr;
  }
  .music-vs-label {
    border-right: none;
    border-bottom: 1px solid rgba(238, 246, 255, 0.06);
    padding-bottom: 0.35rem;
  }
  .music-vs-col {
    padding-top: 0.35rem;
  }
  .music-vs-ours { border-left: none; }
  .music-vs-head-row .music-vs-label { display: none; }
}

.apps-platform {
  margin: 0 0 1.75rem;
  animation: rise 0.55s ease both;
}
.apps-platform:nth-of-type(2) { animation-delay: 0.05s; }
.apps-platform:nth-of-type(3) { animation-delay: 0.1s; }
.apps-platform:nth-of-type(4) { animation-delay: 0.15s; }

.apps-platform-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}
.apps-platform-head h2 {
  margin: 0 0 0.2rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  letter-spacing: -0.02em;
}
.apps-platform-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.apps-platform-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.28);
}
.apps-platform-icon[data-platform="ios"] {
  color: #e8f0ff;
  background: rgba(238, 246, 255, 0.08);
  border-color: rgba(238, 246, 255, 0.22);
}
.apps-platform-icon[data-platform="desktop"] {
  color: #ffb39a;
  background: rgba(255, 90, 54, 0.1);
  border-color: rgba(255, 90, 54, 0.28);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.85rem;
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(165deg, rgba(34, 211, 238, 0.07), transparent 45%),
    rgba(8, 14, 26, 0.72);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.app-card:hover {
  border-color: rgba(34, 211, 238, 0.45);
  transform: translateY(-2px);
}
.app-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.app-card-platform {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}
.app-card-price {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(238, 246, 255, 0.14);
}
.app-card-name {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.app-card-blurb {
  margin: 0;
  flex: 1;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.app-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.25rem;
}
.app-card-store {
  font-size: 0.78rem;
  color: var(--muted);
}
.apps-cta {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.page-store .stage {
  width: min(1320px, calc(100% - 1.5rem));
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.page-store .hero-compact {
  padding-top: 0.35rem;
  padding-bottom: 0;
}

.page-store .hero-compact .hero-brand {
  margin-bottom: 0.25rem;
  gap: 0.65rem;
}

.page-store .hero-compact .hero-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.page-store .hero-compact .hero-brand span {
  font-size: clamp(1.65rem, 4vw, 2.2rem);
}

.page-store .hero-compact .lede,
.page-store .page-hero.hero-compact .lede {
  font-size: 0.95rem;
  max-width: 42rem;
}

.page-store .page-hero.hero-compact h1 {
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  margin-bottom: 0.25rem;
}

.hero-store {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.75fr);
  gap: 1.25rem;
  align-items: stretch;
  padding: 1.15rem 0 0.35rem;
  margin-bottom: 0.35rem;
}

.hero-store-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-width: 0;
  padding: 1.1rem 1.25rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(238, 246, 255, 0.08);
  background:
    radial-gradient(ellipse 80% 70% at 10% 20%, rgba(34, 211, 238, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 80%, rgba(255, 90, 54, 0.12), transparent 50%),
    linear-gradient(160deg, rgba(18, 28, 48, 0.85), rgba(10, 18, 32, 0.55));
  box-shadow: inset 0 1px 0 rgba(238, 246, 255, 0.04);
  transition:
    opacity 0.22s ease,
    border-color 0.35s ease,
    background 0.45s ease,
    transform 0.22s ease;
}

.hero-kicker {
  margin: 0;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.35s ease;
}

.hero-store .hero-brand {
  margin: 0.15rem 0 0.2rem;
}

.hero-store .hero-mark {
  width: clamp(48px, 8vw, 64px);
  height: clamp(48px, 8vw, 64px);
  border-radius: 16px;
}

.hero-store .hero-brand span {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
}

.hero-store .lede {
  margin: 0 0 0.55rem;
  max-width: 36rem;
  font-size: 1.05rem;
  min-height: 3.2em;
}

.hero-store .hero-actions {
  margin: 0;
  gap: 0.65rem;
}

.hero-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.55rem 0 0;
  min-height: 1.7rem;
}

.hero-formats span {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(34, 211, 238, 0.08);
  color: #9adff0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.hero-store-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  padding: 1.25rem 1.2rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(255, 90, 54, 0.28);
  background:
    linear-gradient(155deg, rgba(255, 90, 54, 0.16), rgba(18, 28, 48, 0.75) 45%, rgba(10, 18, 32, 0.9));
  box-shadow: var(--glow-coral);
  transition:
    opacity 0.22s ease,
    border-color 0.35s ease,
    background 0.45s ease,
    box-shadow 0.45s ease,
    transform 0.22s ease;
  min-height: 12.5rem;
}

.hero-store-copy.is-fading,
.hero-store-panel.is-fading {
  opacity: 0;
  transform: translateY(6px);
}

.hero-panel-kicker {
  margin: 0;
  color: #ffb39a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.35s ease;
}

.hero-panel-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  min-height: 2.3em;
}

.hero-panel-text {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  min-height: 2.8em;
}

.hero-spotlight-nav {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: -0.35rem;
  padding-bottom: 0.15rem;
}

.hero-spotlight-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(238, 246, 255, 0.12);
  background: rgba(18, 28, 48, 0.65);
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.hero-spotlight-btn:hover,
.hero-spotlight-btn:focus-visible {
  border-color: rgba(34, 211, 238, 0.45);
  color: var(--cyan);
  outline: none;
}

.hero-spotlight-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  max-width: min(100%, 28rem);
}

.hero-spotlight-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(238, 246, 255, 0.22);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-spotlight-dot.is-on {
  width: 1.35rem;
  background: var(--cyan);
}

.hero-spotlight-dot:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* Temas por produto */
.hero-store-copy[data-theme="convert"],
.hero-store-copy[data-theme="editor"],
.hero-store-copy[data-theme="brand"] {
  border-color: rgba(34, 211, 238, 0.14);
}
.hero-store-panel[data-theme="convert"],
.hero-store-panel[data-theme="editor"] {
  border-color: rgba(255, 90, 54, 0.32);
  background:
    linear-gradient(155deg, rgba(255, 90, 54, 0.18), rgba(18, 28, 48, 0.75) 45%, rgba(10, 18, 32, 0.9));
  box-shadow: var(--glow-coral);
}
.hero-store-panel[data-theme="convert"] .hero-panel-kicker,
.hero-store-panel[data-theme="editor"] .hero-panel-kicker { color: #ffb39a; }

.hero-store-copy[data-theme="separar"] {
  background:
    radial-gradient(ellipse 80% 70% at 10% 20%, rgba(59, 130, 246, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 80%, rgba(14, 165, 233, 0.1), transparent 50%),
    linear-gradient(160deg, rgba(18, 28, 48, 0.85), rgba(10, 18, 32, 0.55));
}
.hero-store-copy[data-theme="separar"] .hero-kicker { color: #93c5fd; }
.hero-store-copy[data-theme="separar"] .hero-formats span {
  border-color: rgba(147, 197, 253, 0.35);
  background: rgba(59, 130, 246, 0.12);
  color: #bfdbfe;
}
.hero-store-panel[data-theme="separar"] {
  border-color: rgba(59, 130, 246, 0.35);
  background:
    linear-gradient(155deg, rgba(59, 130, 246, 0.2), rgba(18, 28, 48, 0.75) 45%, rgba(10, 18, 32, 0.9));
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.12);
}
.hero-store-panel[data-theme="separar"] .hero-panel-kicker { color: #93c5fd; }

.hero-store-copy[data-theme="repertorio"] {
  background:
    radial-gradient(ellipse 80% 70% at 10% 20%, rgba(52, 211, 153, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 80%, rgba(34, 211, 238, 0.08), transparent 50%),
    linear-gradient(160deg, rgba(18, 28, 48, 0.85), rgba(10, 18, 32, 0.55));
}
.hero-store-copy[data-theme="repertorio"] .hero-kicker { color: #86efac; }
.hero-store-copy[data-theme="repertorio"] .hero-formats span {
  border-color: rgba(134, 239, 172, 0.35);
  background: rgba(52, 211, 153, 0.12);
  color: #bbf7d0;
}
.hero-store-panel[data-theme="repertorio"] {
  border-color: rgba(52, 211, 153, 0.35);
  background:
    linear-gradient(155deg, rgba(52, 211, 153, 0.18), rgba(18, 28, 48, 0.75) 45%, rgba(10, 18, 32, 0.9));
  box-shadow: 0 0 40px rgba(52, 211, 153, 0.12);
}
.hero-store-panel[data-theme="repertorio"] .hero-panel-kicker { color: #86efac; }

.hero-store-copy[data-theme="estudio"] {
  background:
    radial-gradient(ellipse 80% 70% at 10% 20%, rgba(251, 113, 133, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 80%, rgba(244, 114, 182, 0.1), transparent 50%),
    linear-gradient(160deg, rgba(18, 28, 48, 0.85), rgba(10, 18, 32, 0.55));
}
.hero-store-copy[data-theme="estudio"] .hero-kicker { color: #fda4af; }
.hero-store-copy[data-theme="estudio"] .hero-formats span {
  border-color: rgba(253, 164, 175, 0.35);
  background: rgba(251, 113, 133, 0.14);
  color: #fecdd3;
}
.hero-store-panel[data-theme="estudio"] {
  border-color: rgba(251, 113, 133, 0.4);
  background:
    linear-gradient(155deg, rgba(251, 113, 133, 0.2), rgba(18, 28, 48, 0.75) 45%, rgba(10, 18, 32, 0.9));
  box-shadow: 0 0 40px rgba(251, 113, 133, 0.14);
}
.hero-store-panel[data-theme="estudio"] .hero-panel-kicker { color: #fda4af; }

.hero-store-copy[data-theme="multitrack"] {
  background:
    radial-gradient(ellipse 80% 70% at 10% 20%, rgba(139, 92, 246, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 80%, rgba(59, 130, 246, 0.1), transparent 50%),
    linear-gradient(160deg, rgba(18, 28, 48, 0.85), rgba(10, 18, 32, 0.55));
}
.hero-store-copy[data-theme="multitrack"] .hero-kicker { color: #c4b5fd; }
.hero-store-copy[data-theme="multitrack"] .hero-formats span {
  border-color: rgba(196, 181, 253, 0.35);
  background: rgba(139, 92, 246, 0.14);
  color: #ddd6fe;
}
.hero-store-panel[data-theme="multitrack"] {
  border-color: rgba(167, 139, 250, 0.4);
  background:
    linear-gradient(155deg, rgba(139, 92, 246, 0.2), rgba(18, 28, 48, 0.75) 45%, rgba(10, 18, 32, 0.9));
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.14);
}
.hero-store-panel[data-theme="multitrack"] .hero-panel-kicker { color: #c4b5fd; }

.hero-store-copy[data-theme="music"] {
  background:
    radial-gradient(ellipse 80% 70% at 10% 20%, rgba(16, 185, 129, 0.2), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 80%, rgba(52, 211, 153, 0.1), transparent 50%),
    linear-gradient(160deg, rgba(18, 28, 48, 0.85), rgba(10, 18, 32, 0.55));
}
.hero-store-copy[data-theme="music"] .hero-kicker { color: #6ee7b7; }
.hero-store-copy[data-theme="music"] .hero-formats span {
  border-color: rgba(110, 231, 183, 0.35);
  background: rgba(16, 185, 129, 0.14);
  color: #a7f3d0;
}
.hero-store-panel[data-theme="music"] {
  border-color: rgba(52, 211, 153, 0.42);
  background:
    linear-gradient(155deg, rgba(16, 185, 129, 0.22), rgba(18, 28, 48, 0.75) 45%, rgba(10, 18, 32, 0.9));
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.14);
}
.hero-store-panel[data-theme="music"] .hero-panel-kicker { color: #6ee7b7; }

.hero-store-copy[data-theme="transcrever"],
.hero-store-copy[data-theme="player"] {
  background:
    radial-gradient(ellipse 80% 70% at 10% 20%, rgba(45, 212, 191, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 80%, rgba(34, 211, 238, 0.1), transparent 50%),
    linear-gradient(160deg, rgba(18, 28, 48, 0.85), rgba(10, 18, 32, 0.55));
}
.hero-store-copy[data-theme="transcrever"] .hero-kicker,
.hero-store-copy[data-theme="player"] .hero-kicker { color: #5eead4; }
.hero-store-panel[data-theme="transcrever"],
.hero-store-panel[data-theme="player"] {
  border-color: rgba(45, 212, 191, 0.35);
  background:
    linear-gradient(155deg, rgba(45, 212, 191, 0.16), rgba(18, 28, 48, 0.75) 45%, rgba(10, 18, 32, 0.9));
  box-shadow: 0 0 40px rgba(45, 212, 191, 0.12);
}
.hero-store-panel[data-theme="transcrever"] .hero-panel-kicker,
.hero-store-panel[data-theme="player"] .hero-panel-kicker { color: #5eead4; }

.hero-store-copy[data-theme="youtube"] {
  background:
    radial-gradient(ellipse 80% 70% at 10% 20%, rgba(248, 113, 113, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 80%, rgba(255, 90, 54, 0.1), transparent 50%),
    linear-gradient(160deg, rgba(18, 28, 48, 0.85), rgba(10, 18, 32, 0.55));
}
.hero-store-copy[data-theme="youtube"] .hero-kicker { color: #fca5a5; }
.hero-store-panel[data-theme="youtube"] {
  border-color: rgba(248, 113, 113, 0.35);
  background:
    linear-gradient(155deg, rgba(248, 113, 113, 0.16), rgba(18, 28, 48, 0.75) 45%, rgba(10, 18, 32, 0.9));
  box-shadow: 0 0 40px rgba(248, 113, 113, 0.12);
}
.hero-store-panel[data-theme="youtube"] .hero-panel-kicker { color: #fca5a5; }

.hero-store-copy[data-theme="descobrir"] {
  background:
    radial-gradient(ellipse 80% 70% at 10% 20%, rgba(251, 191, 36, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 80%, rgba(34, 211, 238, 0.08), transparent 50%),
    linear-gradient(160deg, rgba(18, 28, 48, 0.85), rgba(10, 18, 32, 0.55));
}
.hero-store-copy[data-theme="descobrir"] .hero-kicker { color: #fbbf24; }
.hero-store-panel[data-theme="descobrir"] {
  border-color: rgba(251, 191, 36, 0.35);
  background:
    linear-gradient(155deg, rgba(251, 191, 36, 0.14), rgba(18, 28, 48, 0.75) 45%, rgba(10, 18, 32, 0.9));
  box-shadow: 0 0 40px rgba(251, 191, 36, 0.1);
}
.hero-store-panel[data-theme="descobrir"] .hero-panel-kicker { color: #fbbf24; }

.hero-store-copy[data-theme="library"],
.hero-store-copy[data-theme="teclado"] {
  background:
    radial-gradient(ellipse 80% 70% at 10% 20%, rgba(34, 211, 238, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 80%, rgba(56, 189, 248, 0.1), transparent 50%),
    linear-gradient(160deg, rgba(18, 28, 48, 0.85), rgba(10, 18, 32, 0.55));
}
.hero-store-panel[data-theme="library"],
.hero-store-panel[data-theme="teclado"] {
  border-color: rgba(34, 211, 238, 0.32);
  background:
    linear-gradient(155deg, rgba(34, 211, 238, 0.14), rgba(18, 28, 48, 0.75) 45%, rgba(10, 18, 32, 0.9));
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.12);
}
.hero-store-panel[data-theme="library"] .hero-panel-kicker,
.hero-store-panel[data-theme="teclado"] .hero-panel-kicker { color: #9adff0; }

.hero-store-copy[data-theme="ableton"] {
  background:
    radial-gradient(ellipse 80% 70% at 10% 20%, rgba(255, 255, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 80%, rgba(255, 90, 54, 0.1), transparent 50%),
    linear-gradient(160deg, rgba(18, 28, 48, 0.85), rgba(10, 18, 32, 0.55));
}
.hero-store-copy[data-theme="ableton"] .hero-kicker { color: #e2e8f0; }
.hero-store-panel[data-theme="ableton"] {
  border-color: rgba(238, 246, 255, 0.22);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.08), rgba(18, 28, 48, 0.8) 45%, rgba(10, 18, 32, 0.92));
  box-shadow: 0 0 36px rgba(255, 255, 255, 0.06);
}
.hero-store-panel[data-theme="ableton"] .hero-panel-kicker { color: #cbd5e1; }

@media (prefers-reduced-motion: reduce) {
  .hero-store-copy,
  .hero-store-panel {
    transition: none;
  }
  .hero-store-copy.is-fading,
  .hero-store-panel.is-fading {
    opacity: 1;
    transform: none;
  }
}

.home-section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.home-section-link {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}
.home-section-link:hover { color: var(--coral-2); }

.home-bestsellers {
  margin-top: 0.35rem;
  margin-bottom: 0.5rem;
  animation: rise 0.7s 0.06s ease both;
}

.bestsellers-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.bestsellers-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.bestsellers-btn {
  appearance: none;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(238, 246, 255, 0.12);
  background: rgba(18, 28, 48, 0.75);
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bestsellers-btn:hover,
.bestsellers-btn:focus-visible {
  border-color: rgba(34, 211, 238, 0.45);
  color: var(--cyan);
  outline: none;
}

.bestsellers-viewport {
  overflow: hidden;
  width: 100%;
  container-type: inline-size;
  container-name: bestsellers;
}

.bestsellers-track {
  display: flex;
  gap: 0.85rem;
  will-change: transform;
  width: max-content;
}

.bestsellers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.bestseller-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: calc((100cqi - 2.55rem) / 4);
  min-width: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(238, 246, 255, 0.08);
  background: rgba(18, 28, 48, 0.55);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.bestseller-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
}

@supports not (width: 1cqi) {
  .bestseller-card {
    width: clamp(220px, 24vw, 300px);
  }
}

.bestseller-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 7.5rem;
  color: var(--cyan);
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(238, 246, 255, 0.03),
      rgba(238, 246, 255, 0.03) 8px,
      transparent 8px,
      transparent 16px
    ),
    linear-gradient(160deg, rgba(34, 211, 238, 0.08), rgba(10, 18, 32, 0.4));
}

.bestseller-badge {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: rgba(5, 8, 15, 0.72);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.bestseller-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem 1rem;
  flex: 1;
}

.bestseller-promo {
  align-self: flex-start;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 90, 54, 0.16);
  border: 1px solid rgba(255, 90, 54, 0.35);
  color: #ffb39a;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bestseller-promo-muted {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.28);
  color: #9adff0;
}

.bestseller-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.bestseller-title a {
  color: var(--ink);
  text-decoration: none;
}
.bestseller-title a:hover { color: var(--cyan); }

.bestseller-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.bestseller-cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.home-faq {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  animation: rise 0.7s 0.1s ease both;
}

.home-faq-panel {
  margin-top: 0.15rem;
}

.library-home-head {
  margin-bottom: 0.85rem;
}

.library-home-title {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.5vw, 1.7rem);
  letter-spacing: -0.02em;
}

.library-home-lede {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.library-home-lede a {
  color: var(--cyan);
  text-decoration: none;
}
.library-home-lede a:hover {
  text-decoration: underline;
}

.biblioteca-seo-intro {
  max-width: 42rem;
  margin: 0 auto 1.25rem;
  padding: 0 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}
.biblioteca-seo-intro p {
  margin: 0;
}
.biblioteca-seo-intro strong {
  color: var(--text);
  font-weight: 600;
}

.hero-compact {
  padding-top: 1rem;
  padding-bottom: 0.15rem;
}
.hero-compact .lede {
  margin-bottom: 0.35rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.store-shell {
  scroll-margin-top: 5rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
  animation: rise 0.7s 0.08s ease both;
}

.store {
  display: grid;
  grid-template-columns: minmax(150px, 188px) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.store-side {
  position: sticky;
  top: 0.75rem;
  padding: 0.65rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: rgba(8, 14, 28, 0.72);
  backdrop-filter: blur(8px);
}

.store-side-label {
  margin: 0 0.35rem 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.store-nav {
  display: grid;
  gap: 0.12rem;
  max-height: min(78vh, 720px);
  overflow: auto;
}

.store-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.42rem 0.55rem;
  border-radius: 9px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.store-nav-item:hover {
  background: rgba(56, 189, 248, 0.08);
}

.store-nav-item.is-active {
  background: rgba(34, 211, 238, 0.14);
  border-color: rgba(34, 211, 238, 0.35);
  color: #e8fbff;
}

.store-nav-item.is-dimmed {
  opacity: 0.35;
  pointer-events: none;
}

.store-nav-count {
  font-size: 0.74rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.store-nav-item.is-active .store-nav-count {
  color: var(--cyan);
}

.store-main {
  min-width: 0;
}

.store-credit-hint {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: rgba(34, 211, 238, 0.06);
  color: #bae6fd;
  font-size: 0.85rem;
  line-height: 1.35;
}
.store-credit-hint a {
  color: #67e8f9;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.store-toolbar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.store-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.store-toolbar-actions .btn {
  margin-top: 0;
}

.btn.store-upload {
  margin-top: 0;
  padding: 0.55rem 1.05rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 69, 0.55);
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-2) 100%);
  color: #fff8f4;
  box-shadow: 0 6px 18px rgba(255, 90, 54, 0.28);
  white-space: nowrap;
}

.btn.store-upload:hover {
  background: linear-gradient(135deg, var(--coral-2) 0%, #ff9a6a 100%);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(255, 90, 54, 0.38);
  transform: translateY(-1px);
}

.store-search {
  position: relative;
  flex: 1 1 220px;
  display: flex;
  align-items: center;
}

.store-search-icon {
  position: absolute;
  left: 0.75rem;
  color: var(--muted);
  pointer-events: none;
}

.store-search input {
  width: 100%;
  margin: 0;
  padding: 0.65rem 2.2rem 0.65rem 2.35rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(8, 14, 28, 0.85);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.store-search input::placeholder {
  color: var(--muted);
}

.store-search input:focus {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

.store-search-clear {
  position: absolute;
  right: 0.45rem;
  width: 1.55rem;
  height: 1.55rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

.store-search-clear:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.14);
}

.store-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  white-space: nowrap;
}

.store-auth {
  margin: 0 0 0.65rem;
}

.label-opt {
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.75;
  font-weight: 400;
}

.submit-card {
  max-width: 28rem;
}

.submit-history {
  display: grid;
  gap: 0.75rem;
}

.submit-history h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
}

.admin-tabs {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.admin-tabs a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.admin-tabs a.is-active,
.admin-tabs a:hover {
  color: var(--ink);
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.1);
}

.admin-subs {
  display: grid;
  gap: 1rem;
}

.admin-sub {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 14, 28, 0.55);
}

.admin-sub-head h2 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.admin-sub-head p,
.admin-sub-meta,
.admin-sub-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-sub-meta {
  margin-top: 0.55rem;
}

.admin-sub-actions {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.9rem;
}

@media (min-width: 720px) {
  .admin-sub-actions {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
  }
}

.admin-approve,
.admin-reject {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}

.admin-nav {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: 0 0 1.1rem;
}

.admin-nav a {
  padding: 0.4rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.admin-nav a.is-active,
.admin-nav a:hover {
  color: var(--ink);
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.1);
}

.nav-admin {
  color: var(--cyan) !important;
  font-weight: 650;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.admin-stats-player {
  margin-bottom: 1rem;
}

.admin-stat {
  display: grid;
  gap: 0.15rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(8, 14, 28, 0.55);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.admin-stat:hover {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.06);
}

.admin-stat.is-alert {
  border-color: rgba(255, 90, 54, 0.45);
  background: rgba(255, 90, 54, 0.08);
}

.admin-stat-accent {
  border-color: rgba(34, 211, 238, 0.28);
  background: linear-gradient(
    160deg,
    rgba(34, 211, 238, 0.1),
    rgba(8, 14, 28, 0.55) 55%
  );
}

.admin-stat strong {
  font-family: var(--display);
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.admin-stat span {
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-stat-sub {
  font-size: 0.78rem !important;
  opacity: 0.85;
}

.admin-chart {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 0.35rem;
  align-items: end;
  min-height: 140px;
  padding: 0.35rem 0.15rem 0;
}

.admin-chart-col {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  min-width: 0;
}

.admin-chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  width: 100%;
  height: 110px;
}

.admin-chart-bar {
  display: block;
  width: 28%;
  min-height: 2px;
  border-radius: 3px 3px 1px 1px;
}

.admin-chart-bar.is-total {
  background: rgba(143, 163, 188, 0.55);
}

.admin-chart-bar.is-player {
  background: rgba(34, 211, 238, 0.85);
}

.admin-chart-bar.is-multitrack {
  background: rgba(167, 139, 250, 0.9);
}

.admin-chart-label {
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.admin-chart-legend {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.admin-chart-swatch {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 2px;
}

.admin-chart-swatch.is-total {
  background: rgba(143, 163, 188, 0.55);
}

.admin-chart-swatch.is-player {
  background: rgba(34, 211, 238, 0.85);
}

.admin-chart-swatch.is-multitrack {
  background: rgba(167, 139, 250, 0.9);
}

.admin-visits-details {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.admin-visits-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  cursor: pointer;
  list-style: none;
}

.admin-visits-summary::-webkit-details-marker {
  display: none;
}

.admin-visits-summary .admin-section-title {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
}

.admin-visits-summary-hint {
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.85;
}

.admin-visits-details[open] .admin-visits-summary {
  margin-bottom: 0.85rem;
}

.admin-visits-details[open] .admin-visits-summary .admin-section-title {
  color: inherit;
}

.admin-scope-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.9rem;
}

.admin-scope-tab {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(8, 14, 28, 0.45);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
}

.admin-scope-tab:hover {
  border-color: rgba(34, 211, 238, 0.4);
  color: var(--ink);
}

.admin-scope-tab.is-active {
  border-color: rgba(34, 211, 238, 0.55);
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
}

.admin-pill {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.admin-pill-play {
  color: #041018;
  background: rgba(34, 211, 238, 0.85);
}

.admin-pill-mt {
  color: #12081f;
  background: rgba(167, 139, 250, 0.92);
}

.admin-search,
.admin-credit-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: end;
}

.admin-credit-form .field {
  flex: 1 1 12rem;
  min-width: min(100%, 12rem);
  margin: 0;
}

.admin-search input[type="search"],
.admin-credit-form input[type="number"],
.admin-credit-form input[type="text"] {
  min-width: min(100%, 16rem);
  flex: 1;
  width: auto;
}

.admin-search input[type="search"]::placeholder,
.admin-credit-form input::placeholder {
  color: var(--muted);
}

.admin-section-title {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 1.15rem;
}

.admin-visits-panel + .admin-visits-panel {
  margin-top: 1rem;
}

.admin-visits-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.75rem;
}

.admin-visits-head .admin-section-title {
  margin: 0;
}

.admin-visits-range {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}

.admin-mono {
  display: inline;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  line-height: 1.35;
}

.admin-visit-user {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.admin-visit-ref {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--muted);
}

.admin-visits-table th:nth-child(2),
.admin-visits-table td:nth-child(2) {
  min-width: 0;
}

.admin-pager {
  margin-top: 1.1rem;
}

.admin-back {
  margin: 0.75rem 0 0;
}

.admin-back a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
}

.admin-back a:hover {
  color: var(--coral-2);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 0.65rem;
}

.sf2-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.45rem;
  padding: 0.7rem 0.7rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(165deg, rgba(56, 189, 248, 0.07), transparent 55%),
    rgba(8, 14, 28, 0.55);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  position: relative;
}

.sf2-card.is-pack-selected {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.28);
  background:
    linear-gradient(165deg, rgba(56, 189, 248, 0.14), transparent 55%),
    rgba(8, 14, 28, 0.7);
}

.sf2-card-check {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  margin: 0;
  cursor: pointer;
  border-radius: 8px;
  background: rgba(6, 12, 24, 0.72);
  border: 1px solid rgba(148, 210, 230, 0.28);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.sf2-card-check:hover {
  border-color: rgba(34, 211, 238, 0.55);
  background: rgba(8, 18, 34, 0.88);
}

.sf2-card-check input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.sf2-card-check-box {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 5px;
  border: 1.5px solid rgba(148, 210, 230, 0.55);
  background: rgba(8, 14, 28, 0.9);
  display: grid;
  place-items: center;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.sf2-card-check-box::after {
  content: "";
  width: 0.32rem;
  height: 0.55rem;
  border: solid transparent;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-0.5px, -1px) scale(0.6);
  opacity: 0;
  transition: opacity 0.12s ease, transform 0.12s ease, border-color 0.12s ease;
}

.sf2-card-check input:focus-visible + .sf2-card-check-box {
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.28);
  border-color: rgba(34, 211, 238, 0.75);
}

.sf2-card-check input:checked + .sf2-card-check-box {
  border-color: rgba(34, 211, 238, 0.95);
  background: linear-gradient(145deg, #5eead4 0%, #22d3ee 100%);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.35);
}

.sf2-card-check input:checked + .sf2-card-check-box::after {
  opacity: 1;
  border-color: #062033;
  transform: rotate(45deg) translate(-0.5px, -1px) scale(1);
}

.sf2-card.is-pack-selected .sf2-card-check {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(8, 22, 40, 0.85);
}

.store-pack-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.08);
}

.store-pack-status {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #c8eef8;
}

.store-pack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.store-pack-actions .btn {
  margin-top: 0;
}

.sf2-card:hover {
  border-color: rgba(34, 211, 238, 0.4);
}

.sf2-card.is-pack-selected:hover {
  border-color: rgba(34, 211, 238, 0.65);
}

.sf2-card-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  border-radius: 10px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
}

.sf2-card-icon svg {
  width: 32px;
  height: 32px;
}

.sf2-card-badge {
  position: absolute;
  right: 0.4rem;
  bottom: 0.3rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--coral-2);
  background: rgba(5, 8, 15, 0.65);
  padding: 0.1rem 0.32rem;
  border-radius: 5px;
}

.sf2-card-body {
  min-width: 0;
}

.sf2-card-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sf2-card-meta {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.sf2-card-btn {
  justify-self: stretch;
  text-align: center;
  padding: 0.38rem 0.55rem;
  font-size: 0.8rem;
}

.sf2-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  align-items: stretch;
}

.sf2-card-actions .btn {
  margin-top: 0;
}

.sf2-card-actions:has(> :only-child) {
  grid-template-columns: 1fr;
}

.sf2-card-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  padding: 0.38rem 0.45rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.sf2-card-play-icon {
  font-size: 0.65rem;
  line-height: 1;
}

.sf2-card-play.is-playing {
  border-color: rgba(34, 211, 238, 0.55);
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.12);
}

.sf2-card-play.is-loading {
  opacity: 0.7;
  cursor: wait;
}

.sf2-card-play:disabled:not(.is-loading) {
  opacity: 0.4;
  cursor: not-allowed;
}

.sf2-card-title a {
  color: inherit;
  text-decoration: none;
}

.sf2-card-title a:hover {
  color: var(--cyan);
  text-decoration: underline;
}

.editorial-packs {
  margin: 0 0 1rem;
}

.editorial-packs-label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.editorial-packs-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.65rem;
}

.editorial-pack-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.45);
  color: inherit;
  cursor: pointer;
}

.editorial-pack-card:hover:not(:disabled) {
  border-color: rgba(34, 211, 238, 0.45);
}

.editorial-pack-card:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.editorial-pack-card strong {
  font-size: 0.95rem;
}

.editorial-pack-card span {
  font-size: 0.8rem;
  color: var(--muted);
}

.editorial-pack-card em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--cyan);
}

.timbre-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.timbre-panel {
  margin-top: 1rem;
}

.timbre-panel-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.timbre-panel-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.timbre-fav-btn.is-on {
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.45);
}

.meus-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.meus-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
}

.meus-meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.file-queue {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.file-queue li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  font-size: 0.85rem;
}

.file-queue em {
  font-style: normal;
  color: var(--muted);
}

.library-empty {
  margin: 1rem 0 0;
  color: var(--muted);
}

.store-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.store-pager-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}

.store-pager-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(8, 14, 28, 0.72);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
}

.store-pager-btn:hover {
  border-color: rgba(34, 211, 238, 0.45);
  color: #e8fbff;
}

.store-pager-btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Pacotes de créditos + PIX */
.packs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  animation: rise 0.8s 0.08s ease both;
}

.pack {
  position: relative;
  display: grid;
  gap: 0.55rem;
  padding: 1.25rem 1.15rem 1.2rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.08), rgba(255, 90, 54, 0.04));
  box-shadow: var(--shadow);
}

.pack.is-featured {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: var(--shadow), var(--glow-cyan);
}

.pack-badge {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan);
}

.pack-name {
  margin: 0;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.pack-credits {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.pack-credits strong {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
}

.pack-price {
  margin: 0.15rem 0 0;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--coral-2);
}

.pack-unit {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.pack-blurb {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--muted);
  min-height: 2.6em;
}

.packs-foot {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.packs-foot a { color: var(--cyan); font-weight: 600; text-decoration: none; }
.packs-foot a:hover { text-decoration: underline; }

.pix-panel { gap: 1rem; }
.pix-status {
  margin: 0;
  font-weight: 600;
  color: var(--cyan);
}
.pix-qr-wrap {
  display: flex;
  justify-content: center;
  padding: 0.75rem;
  border-radius: var(--radius);
  background: #fff;
  width: fit-content;
  margin: 0 auto;
}
.pix-qr {
  display: block;
  width: min(220px, 70vw);
  height: auto;
  aspect-ratio: 1;
  border-radius: 8px;
}
.pix-copy {
  width: 100%;
  resize: vertical;
  min-height: 4.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 16px; /* evita zoom automático no iOS */
  line-height: 1.4;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
}
.pix-panel .btn.ghost,
.pix-panel .btn.primary {
  width: 100%;
  margin-top: 0.65rem;
}

/* Doação PIX */
.page-donate .stage {
  justify-items: center;
}

.donate-hero {
  text-align: center;
  width: 100%;
}

.donate-hero .lede {
  margin-left: auto;
  margin-right: auto;
}

.donate-panel {
  display: grid;
  gap: 1.15rem;
  width: min(36rem, 100%);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  justify-items: stretch;
}

.donate-lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 1.02rem;
}

.donate-pix {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: calc(var(--radius) + 2px);
  background: rgba(34, 211, 238, 0.06);
  text-align: left;
}

.donate-qr-wrap {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
}

.donate-qr {
  width: min(220px, 70vw);
  height: auto;
  aspect-ratio: 1;
  border-radius: 12px;
  background: #fff;
  padding: 0.55rem;
  box-shadow: var(--shadow);
}

.donate-qr-caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.donate-key-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.donate-key {
  flex: 1 1 12rem;
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  word-break: break-all;
  color: var(--ink);
  text-align: center;
}

.donate-hint {
  margin: 0;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.donate-steps {
  margin: 0 auto;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.65;
  text-align: left;
  width: fit-content;
  max-width: 100%;
}

.donate-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.donate-note a {
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
}

.donate-note a:hover {
  text-decoration: underline;
}

.flash a {
  color: var(--cyan);
  font-weight: 600;
}

.history-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 640px) {
  .top {
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    padding-left: max(0.85rem, env(safe-area-inset-left));
    padding-right: max(0.85rem, env(safe-area-inset-right));
  }
  .brand {
    min-width: 0;
    gap: 0.45rem;
  }
  .brand-name {
    font-size: 1.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
  }
  .nav {
    gap: 0.3rem;
    justify-content: flex-end;
    flex-wrap: nowrap;
    flex-shrink: 0;
  }
  .nav a,
  .nav-logout button,
  .nav-menu > summary,
  .credits-pill,
  .nav .btn.tiny {
    min-height: 40px;
    padding: 0.4rem 0.65rem;
    font-size: 0.85rem;
  }
  .nav-desk { display: none !important; }
  .nav-guest-auth { display: none !important; }
  .nav-menu { display: block; }
  .nav-menu-desk { display: none !important; }
  .nav-menu-mobile { display: block; }
  /* Painel absoluto + header sticky: sem scroll não dá pra ver o fim do menu. */
  .nav-menu-mobile .nav-menu-panel {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 3.6rem);
    right: max(0.5rem, env(safe-area-inset-right, 0px));
    left: auto;
    width: min(18.5rem, calc(100vw - 1rem));
    max-height: calc(
      100dvh - 4.25rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)
    );
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 60;
  }
  .credits-pill span { display: none; }
  .credits-pill {
    padding: 0.4rem 0.7rem;
    gap: 0;
  }

  .announce {
    padding-left: 2.4rem;
    padding-right: 2.4rem;
  }
  .announce-msg {
    font-size: 0.75rem;
  }

  .hero-store {
    grid-template-columns: 1fr;
  }
  .hero-store-panel {
    order: -1;
  }
  .hero-spotlight-nav {
    order: 2;
  }
  .hero-store .lede,
  .hero-panel-title,
  .hero-panel-text {
    min-height: 0;
  }

  .bestsellers-grid {
    grid-template-columns: 1fr;
  }
  .bestseller-card {
    width: 100cqi;
  }

  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .help-fab span:not(.help-fab-icon) {
    display: none;
  }
  .help-fab {
    padding: 0.75rem;
    border-radius: 999px;
  }

  .actions { justify-content: stretch; }
  .actions .btn.primary,
  .status .btn.ghost,
  .status .btn.primary,
  .notice-actions .btn {
    width: 100%;
  }

  .packs {
    grid-template-columns: 1fr;
  }
  .pack-blurb { min-height: 0; }

  .library-cat a {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .library-cat-meta {
    white-space: normal;
  }
  .convert-feature {
    flex-direction: column;
    align-items: stretch;
  }
  .convert-feature .btn.primary {
    width: 100%;
  }
  .home-pathways {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .home-featured-grid,
  .home-products-grid {
    grid-template-columns: 1fr;
  }
  .home-featured-grid > .pathway-convert {
    grid-column: auto;
  }
  .home-product-jump {
    gap: 0.35rem;
  }
  .home-product-jump a {
    font-size: 0.78rem;
    min-height: 2rem;
    padding: 0.3rem 0.65rem;
  }
  .pathway {
    min-height: 0;
  }
  .pathway-featured {
    min-height: 0;
  }
  .produto-destaque {
    grid-template-columns: 1fr;
  }
  .produto-cta {
    min-width: 0;
  }
  .produtos-grid {
    grid-template-columns: 1fr;
  }
  .novidades-tools {
    grid-template-columns: 1fr;
  }
  .store {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    min-width: 0;
  }
  .store-side {
    position: static;
    padding: 0.55rem 0.45rem;
    min-width: 0;
  }
  .store-side-label {
    margin-left: 0.25rem;
  }
  .store-nav {
    display: flex;
    gap: 0.35rem;
    max-height: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 0.1rem 0.15rem 0.45rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .store-nav-item {
    flex: 0 0 auto;
    max-width: 10.5rem;
    white-space: nowrap;
    padding: 0.4rem 0.55rem;
    font-size: 0.82rem;
  }
  .store-nav-item > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .store-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }
  .store-search {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
  }
  .store-toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }
  .store-count {
    white-space: normal;
    text-align: right;
  }
  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .sf2-card {
    min-width: 0;
    padding: 0.55rem;
  }
  .sf2-card-title {
    font-size: 0.82rem;
    -webkit-line-clamp: 3;
  }
  .store-pager {
    gap: 0.5rem;
  }
  .store-pager-btn {
    min-height: 2.6rem;
    flex: 1 1 auto;
    max-width: 9rem;
  }
  .page-store .stage {
    width: min(1320px, calc(100% - 1rem));
    min-width: 0;
  }
  .home-pathways {
    min-width: 0;
  }
  .pathway {
    min-width: 0;
  }
  .pathway-formats,
  .pathway-platforms {
    flex-wrap: wrap;
  }

  .page-hero h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .history-scroll { overflow: visible; }
  .history-table { font-size: 0.92rem; }
  .history-table thead { display: none; }
  .history-table,
  .history-table tbody,
  .history-table tr,
  .history-table td {
    display: block;
    width: 100%;
  }
  .history-table tr {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.22);
    padding: 0.9rem 1rem;
    margin-bottom: 0.75rem;
  }
  .history-table td {
    border: 0;
    padding: 0.28rem 0;
  }
  .history-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.15rem;
    font-weight: 600;
  }
  .history-table td.job-actions {
    padding-top: 0.55rem;
    margin-top: 0.35rem;
    border-top: 1px solid var(--line);
  }

  .admin-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.35rem;
    padding-bottom: 0.35rem;
    margin-inline: calc(-1 * max(0.25rem, env(safe-area-inset-left, 0px)));
    padding-inline: max(0.25rem, env(safe-area-inset-left, 0px));
    scrollbar-width: thin;
  }
  .admin-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-chart {
    gap: 0.2rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }
  .admin-chart-label {
    font-size: 0.55rem;
  }
  .admin-visits-table .admin-visit-ref {
    -webkit-line-clamp: 3;
  }
  .page-admin .panel {
    padding: 1rem;
    overflow: hidden;
  }
  .page-admin .history-table tr {
    overflow-wrap: anywhere;
  }

  .foot {
    padding-bottom: max(5rem, calc(env(safe-area-inset-bottom) + 4.5rem));
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .packs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bestsellers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bestseller-card {
    width: calc((100cqi - 0.85rem) / 2);
  }
  .home-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-store {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Editor SF2 */
.editor-presets {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.85rem;
}
.editor-presets-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.editor-file-name {
  margin: 0;
  font-weight: 650;
  font-size: 1.05rem;
}
.editor-file-meta,
.editor-select-hint,
.editor-total,
.editor-status {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.editor-presets-actions {
  display: flex;
  gap: 0.35rem;
}

/* YouTube download */
.yt-form {
  display: grid;
  gap: 1.1rem;
}
.yt-formats {
  margin: 0;
  padding: 0;
  border: 0;
}
.yt-formats .label {
  margin-bottom: 0.55rem;
}
.yt-format-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}
.yt-format {
  position: relative;
  display: grid;
  gap: 0.1rem;
  justify-items: start;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.yt-format:has(input:checked) {
  border-color: rgba(34, 211, 238, 0.55);
  background: rgba(34, 211, 238, 0.08);
}
.yt-format input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.yt-format span {
  font-weight: 650;
  font-size: 0.98rem;
}
.yt-format em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.82rem;
}
@media (max-width: 520px) {
  .yt-format-row {
    grid-template-columns: 1fr;
  }
}

.editor-preset-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  max-height: min(52vh, 420px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.45rem;
  background: rgba(5, 10, 20, 0.35);
}
.editor-preset-item {
  margin: 0;
}
.editor-preset-label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
}
.editor-preset-label:hover {
  border-color: rgba(34, 211, 238, 0.25);
  background: rgba(34, 211, 238, 0.06);
}
.editor-preset-main {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.editor-preset-name {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.editor-preset-meta {
  color: var(--muted);
  font-size: 0.78rem;
}
.editor-preset-size {
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
  font-size: 0.85rem;
  white-space: nowrap;
}
.editor-total {
  font-weight: 600;
  color: #c8eef8;
}
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}
.row-actions .btn.ghost {
  margin-top: 0;
}

/* —— Separar pistas —— */
.sep-hero .lede { max-width: 36rem; }
.sep-panel { margin-top: 1rem; }
.sep-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.15rem;
  border-bottom: 0;
}
.sep-tab {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  background: rgba(8, 16, 24, 0.72);
  color: var(--muted);
  margin: 0;
  padding: 0.85rem 1rem;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.sep-tab:hover {
  color: #e2e8f0;
  border-color: rgba(226, 232, 240, 0.35);
  transform: translateY(-1px);
}
.sep-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 12px;
  flex: 0 0 auto;
  background: rgba(148, 163, 184, 0.12);
  color: inherit;
}
.sep-tab-text {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}
.sep-tab-text strong {
  font-size: 0.98rem;
  font-weight: 700;
  color: inherit;
  line-height: 1.2;
}
.sep-tab-text em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.25;
}
.sep-tab-file.is-active {
  color: #ecfeff;
  border-color: rgba(34, 211, 238, 0.65);
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.18), rgba(8, 20, 28, 0.9));
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.18), 0 8px 22px rgba(34, 211, 238, 0.12);
}
.sep-tab-file.is-active .sep-tab-icon {
  background: rgba(34, 211, 238, 0.95);
  color: #041018;
}
.sep-tab-file.is-active .sep-tab-text em {
  color: rgba(165, 243, 252, 0.85);
}
.sep-tab-youtube.is-active {
  color: #fff1f2;
  border-color: rgba(251, 113, 133, 0.7);
  background: linear-gradient(145deg, rgba(244, 63, 94, 0.22), rgba(24, 8, 12, 0.92));
  box-shadow: 0 0 0 1px rgba(244, 63, 94, 0.2), 0 8px 22px rgba(244, 63, 94, 0.14);
}
.sep-tab-youtube.is-active .sep-tab-icon {
  background: #ff0033;
  color: #fff;
}
.sep-tab-youtube.is-active .sep-tab-text em {
  color: rgba(254, 205, 211, 0.9);
}
.sep-tab-youtube:not(.is-active):hover .sep-tab-icon {
  color: #fb7185;
}
.sep-tab-file:not(.is-active):hover .sep-tab-icon {
  color: var(--cyan);
}
@media (max-width: 560px) {
  .sep-tabs {
    grid-template-columns: 1fr;
  }
}
.sep-pane { margin-bottom: 1rem; }
.sep-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 8.5rem;
  border: 1px dashed rgba(226, 232, 240, 0.35);
  border-radius: 14px;
  padding: 1.4rem 1.2rem;
  background: rgba(8, 20, 28, 0.55);
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
}
.sep-drop.is-drag {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
}
.sep-plus {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 0;
  background: rgba(34, 211, 238, 0.95);
  color: #041018;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.sep-drop-copy { text-align: left; min-width: 0; }
.sep-drop-title { margin: 0 0 0.35rem; font-weight: 600; }
.sep-drop-hint { margin: 0; color: var(--muted); font-size: 0.88rem; }
.sep-file-name { margin: 0.55rem 0 0; color: var(--cyan); font-weight: 600; }
.sep-url-box {
  display: grid;
  gap: 0.45rem;
  border: 1px dashed rgba(226, 232, 240, 0.35);
  border-radius: 14px;
  padding: 1.2rem;
  background: rgba(8, 20, 28, 0.55);
}
.sep-url-box input[type="url"] {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 8, 14, 0.7);
  color: #f8fafc;
  padding: 0.75rem 0.9rem;
  font: inherit;
}
.sep-url-box input[type="url"]:focus {
  outline: 2px solid rgba(34, 211, 238, 0.45);
  outline-offset: 1px;
}
.sep-progress {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.1), rgba(8, 16, 24, 0.85));
}
.sep-progress-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}
.sep-progress-spinner {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  border: 2px solid rgba(34, 211, 238, 0.25);
  border-top-color: var(--cyan);
  animation: sep-spin 0.75s linear infinite;
  flex: 0 0 auto;
}
@keyframes sep-spin {
  to { transform: rotate(360deg); }
}
.sep-progress-label {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-weight: 600;
  color: #e0f7fa;
}
.sep-progress-pct {
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
  font-size: 1.05rem;
}
.sep-progress-track {
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 32, 0.85);
  overflow: hidden;
}
.sep-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0891b2, #22d3ee);
  transition: width 0.45s ease;
}
.sep-progress-hint {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.sep-cancel {
  display: inline-block;
  margin-top: 0.55rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  opacity: 0.55;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.sep-cancel:hover,
.sep-cancel:focus-visible {
  opacity: 0.9;
  color: var(--text);
  outline: none;
}
.sep-cancel:disabled {
  opacity: 0.35;
  cursor: default;
}
.sep-actions {
  text-align: right;
  white-space: nowrap;
  width: 1%;
}
.sep-delete,
.sep-row-action {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  opacity: 0.55;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.sep-delete:hover,
.sep-delete:focus-visible,
.sep-row-action:hover,
.sep-row-action:focus-visible {
  opacity: 0.95;
  color: var(--text);
  outline: none;
}
.sep-progress.is-done .sep-progress-spinner {
  animation: none;
  border-color: var(--cyan);
  background: var(--cyan);
}
.sep-row-progress {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
}
.sep-row-progress-track {
  flex: 1;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  overflow: hidden;
  max-width: 9rem;
}
.sep-row-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--cyan);
  border-radius: inherit;
  transition: width 0.4s ease;
}
.sep-row-progress-pct {
  font-size: 0.75rem;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.linkish {
  background: none;
  border: 0;
  color: var(--cyan);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  padding: 0;
}
.sep-library { margin-top: 1.25rem; }
.sep-lib-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.sep-lib-head h2 { margin: 0; font-size: 1.15rem; }
.sep-lib-count { margin: 0; color: var(--muted); font-size: 0.9rem; }
.sep-table-wrap { overflow-x: auto; }
.sep-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.sep-table th,
.sep-table td {
  text-align: left;
  padding: 0.7rem 0.55rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  vertical-align: top;
}
.sep-table th {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sep-title-link {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}
.sep-title-link:hover { color: var(--cyan); }
.sep-sub { color: var(--muted); font-size: 0.8rem; margin-top: 0.15rem; }
.sep-empty td { color: var(--muted); text-align: center; padding: 1.4rem; }

.trx-result .lede { margin-top: 0.35rem; }
.trx-transcript {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}
.trx-transcript-head {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}
.trx-transcript-body {
  margin: 0;
  padding: 1rem 1.1rem;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.55;
  font-family: inherit;
  font-size: 0.95rem;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 10px;
  max-height: min(60vh, 36rem);
  overflow: auto;
}

.dsc-result .lede { margin-top: 0.35rem; }
.dsc-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.1rem 0 0.35rem;
}
.dsc-stat {
  padding: 0.85rem 0.9rem;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 10px;
}
.dsc-stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.dsc-stat-value {
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.dsc-chords {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}
.dsc-chords-head {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}
.dsc-chord-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.dsc-chord {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.14);
  font-size: 0.92rem;
}
.dsc-chord em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.78rem;
}
.dsc-chords-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
@media (max-width: 720px) {
  .dsc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* —— Separar player (Moises-like) —— */
.page-sep-player {
  --bg0: #050505;
  --bg1: #0a0a0a;
  background: var(--bg0);
}
body.page-sep-player {
  background: var(--bg0);
}
.page-sep-player .top {
  background: rgba(5, 5, 5, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.page-sep-player .stage {
  width: min(1600px, calc(100% - 1rem));
  margin-bottom: 0;
  gap: 0.65rem;
  max-width: none;
}
.page-sep-player .foot {
  width: min(1600px, calc(100% - 1rem));
  opacity: 0.55;
}

.sep-player {
  --sep-console: #050505;
  --sep-panel: #0c0c0c;
  --sep-rail: #0a0a0a;
  --sep-line: rgba(255, 255, 255, 0.08);
  --sep-wave-h: 4rem;
  --sep-rail-w: 22rem;
  --sep-lane-gap: 0.5rem;
  --playhead: 0%;
  display: grid;
  gap: 0.65rem;
  margin: 0;
  min-height: calc(100vh - 6.5rem);
  grid-template-rows: auto auto auto 1fr auto;
  color: #e8eaed;
}
.sep-player-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.9rem;
  padding: 0.35rem 0.15rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.sep-back {
  color: rgba(232, 234, 237, 0.55);
  text-decoration: none;
  font-size: 0.86rem;
  white-space: nowrap;
}
.sep-back:hover { color: #5eead4; }
.sep-player-title {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.02em;
  font-weight: 650;
}
.sep-player-heading {
  flex: 1 1 14rem;
  min-width: 0;
}
.sep-player-artist {
  margin: 0.1rem 0 0;
  color: rgba(232, 234, 237, 0.45);
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sep-player-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.sep-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-variant-numeric: tabular-nums;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(232, 234, 237, 0.75);
}
.sep-note {
  margin: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.22);
  color: #fde68a;
  font-size: 0.84rem;
}
.sep-note.is-danger {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.35);
  color: #fecaca;
  font-weight: 600;
}
.sep-publish {
  margin: 0.35rem 0 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.65rem 0.9rem 0.85rem;
}
.sep-publish > summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  color: rgba(232, 234, 237, 0.92);
  list-style: none;
}
.sep-publish > summary::-webkit-details-marker { display: none; }
.sep-publish-form {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.85rem;
}
.sep-publish-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.sep-publish label,
.sep-publish-full {
  display: grid;
  gap: 0.28rem;
  font-size: 0.78rem;
  color: rgba(232, 234, 237, 0.65);
}
.sep-publish input {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  color: #e8eaed;
  padding: 0.45rem 0.55rem;
  font: inherit;
}
.sep-publish-stems {
  border: 0;
  margin: 0;
  padding: 0;
}
.sep-publish-stems legend {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(232, 234, 237, 0.85);
  margin-bottom: 0.45rem;
}
.sep-publish-stem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.55rem;
}
.sep-publish-hint {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(232, 234, 237, 0.55);
}
.sep-publish-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.sep-publish-status {
  font-size: 0.82rem;
  color: rgba(94, 234, 212, 0.9);
}
@media (max-width: 640px) {
  .sep-publish-row { grid-template-columns: 1fr; }
}
.sep-workspace,
.sep-console {
  --playhead: 0%;
  display: grid;
  gap: 0.75rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  overflow: visible;
  min-height: 0;
  box-shadow: none;
}
.sep-lanes {
  display: grid;
  gap: 0.4rem;
  max-height: min(66vh, 42rem);
  overflow: auto;
  scrollbar-gutter: stable;
  padding-right: 0.1rem;
  align-content: start;
}
.sep-ruler-row {
  display: grid;
  grid-template-columns: var(--sep-rail-w) minmax(0, 1fr);
  gap: var(--sep-lane-gap);
  align-items: end;
  min-height: 1.25rem;
  position: sticky;
  top: 0;
  z-index: 4;
  background: linear-gradient(180deg, var(--bg0) 70%, transparent);
  padding-bottom: 0.15rem;
}
.sep-ruler-gutter { min-height: 1px; }
.sep-ruler {
  position: relative;
  height: 1.25rem;
  border-radius: 8px 8px 0 0;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}
.sep-ruler-marks {
  position: absolute;
  inset: 0;
}
.sep-ruler-mark {
  position: absolute;
  top: 0.12rem;
  transform: translateX(-50%);
  font-size: 0.65rem;
  color: rgba(232, 234, 237, 0.35);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  white-space: nowrap;
}
.sep-ruler-mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.95rem;
  width: 1px;
  height: 0.3rem;
  background: rgba(255, 255, 255, 0.18);
}
.sep-ruler-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--playhead, 0%);
  width: 2px;
  margin-left: -1px;
  background: #f8fafc;
  box-shadow: 0 0 10px rgba(248, 250, 252, 0.45);
  pointer-events: none;
  z-index: 2;
}
.sep-tracks {
  display: grid;
  gap: 0.4rem;
  overflow: visible;
  max-height: none;
  padding: 0;
}
.sep-track {
  display: grid;
  grid-template-columns: var(--sep-rail-w) minmax(0, 1fr);
  gap: var(--sep-lane-gap);
  align-items: stretch;
  height: var(--sep-wave-h);
  min-height: var(--sep-wave-h);
  border: 0;
  transition: opacity 0.15s ease;
  background: transparent;
}
.sep-track:nth-child(odd) { background: transparent; }
.sep-track:hover { background: transparent; }
.sep-track.is-muted { opacity: 0.42; }
.sep-track.is-solo .sep-wave {
  box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.4);
}
.sep-channel {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  height: 100%;
  padding: 0 0.45rem 0 0;
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  overflow: hidden;
}
.sep-channel-accent {
  display: block;
  width: 4px;
  align-self: stretch;
  flex-shrink: 0;
  background: var(--stem-accent, #5eead4);
}
.sep-channel-color { display: none; }
.sep-channel-top { display: contents; }
.sep-track-label {
  min-width: 2.6rem;
  max-width: 4.2rem;
  flex: 0 1 4.2rem;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #f1f5f9;
}
.sep-stem-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.7rem;
  height: 1.7rem;
  margin: 0;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(232, 234, 237, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}
.sep-stem-dl:hover,
.sep-stem-dl:focus-visible {
  color: #5eead4;
  border-color: rgba(94, 234, 212, 0.45);
  background: rgba(94, 234, 212, 0.08);
  outline: none;
}
.sep-ms-row {
  display: flex;
  gap: 0.22rem;
  flex-shrink: 0;
}
.sep-ms {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(232, 234, 237, 0.55);
  font-size: 0.65rem;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}
.sep-ms.is-on {
  background: rgba(250, 204, 21, 0.18);
  color: #fde047;
  border-color: rgba(250, 204, 21, 0.45);
}
.sep-ms-solo.is-on {
  background: rgba(94, 234, 212, 0.16);
  color: #5eead4;
  border-color: rgba(94, 234, 212, 0.45);
}
.sep-channel-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 1 1 auto;
  min-width: 0;
}
.sep-vol-wrap {
  display: grid;
  align-items: center;
  flex: 1 1 auto;
  min-width: 2.5rem;
}
.sep-vol {
  width: 100%;
  height: 1.1rem;
  accent-color: var(--stem-accent, #5eead4);
  cursor: pointer;
}
.sep-vol-pct { display: none; }
.sep-pan-wrap {
  position: relative;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.sep-pan-side {
  position: absolute;
  bottom: -0.1rem;
  font-size: 0.52rem;
  color: rgba(232, 234, 237, 0.35);
  font-weight: 700;
  pointer-events: none;
  z-index: 1;
}
.sep-pan-side:first-child { left: 0; }
.sep-pan-side:last-child { right: 0; }
.sep-pan-dial {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 50% 50%, #141414 55%, #0a0a0a 56%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
  pointer-events: none;
}
.sep-pan-dial::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.16rem;
  width: 2px;
  height: 0.42rem;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--stem-accent, #5eead4);
  transform-origin: bottom center;
  transform: rotate(var(--pan-rot, 0deg));
}
.sep-pan {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.sep-wave {
  height: 100%;
  min-height: 0;
  margin: 0;
  border-radius: 10px;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--stem-accent, #14b8a6) 28%, #0a0a0a) 0%,
      color-mix(in srgb, var(--stem-accent, #0d9488) 42%, #111) 50%,
      color-mix(in srgb, var(--stem-accent, #14b8a6) 28%, #0a0a0a) 100%
    );
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  touch-action: none;
}
.sep-track .sep-wave {
  --stem-accent: #14b8a6;
}
.sep-track[data-stem="vocals"] .sep-wave { --stem-accent: #fb7185; }
.sep-track[data-stem="drums"] .sep-wave { --stem-accent: #fbbf24; }
.sep-track[data-stem="bass"] .sep-wave { --stem-accent: #38bdf8; }
.sep-track[data-stem="other"] .sep-wave { --stem-accent: #a3e635; }
.sep-track[data-stem="click"] .sep-wave { --stem-accent: #94a3b8; }
.sep-wave-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.95;
  mix-blend-mode: soft-light;
}
.sep-wave-fill { display: none; }
.sep-wave-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--playhead, 0%);
  width: 2px;
  margin-left: -1px;
  background: #f8fafc;
  box-shadow: 0 0 10px rgba(248, 250, 252, 0.55);
  pointer-events: none;
  z-index: 2;
}
.sep-wave-playhead::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #f8fafc;
}
.sep-chords {
  display: grid;
  gap: 0.85rem;
  padding: 0.85rem 0.15rem 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
}
.sep-chords-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}
.sep-chords-hint {
  margin: 0;
  color: rgba(232, 234, 237, 0.4);
  font-size: 0.8rem;
}
.sep-inst {
  display: inline-flex;
  padding: 0.15rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.sep-inst-btn {
  border: 0;
  background: transparent;
  color: rgba(232, 234, 237, 0.45);
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 650;
  cursor: pointer;
}
.sep-inst-btn.is-on {
  background: #f8fafc;
  color: #0f172a;
}
.sep-chord-now {
  position: relative;
  display: block;
  min-height: 8.5rem;
  overflow: hidden;
}
.sep-chord-rail {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.45rem 0.55rem;
  justify-content: flex-start;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  padding: 0.15rem 0.1rem 0.35rem;
  scrollbar-width: none;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
.sep-chord-rail::-webkit-scrollbar { display: none; }
.sep-chord-rail.is-exit {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 1;
}
.sep-chord-rail.is-exit-active {
  opacity: 0;
  transform: translateX(-1.35rem);
}
.sep-chord-rail.is-enter {
  opacity: 0;
  transform: translateX(1.35rem);
  position: relative;
  z-index: 2;
}
.sep-chord-rail.is-enter-active {
  opacity: 1;
  transform: translateX(0);
}
.sep-chord-arrow {
  align-self: center;
  color: rgba(232, 234, 237, 0.35);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
  flex: 0 0 auto;
  padding: 0 0.05rem;
}
.sep-chord-dot {
  align-self: center;
  color: rgba(232, 234, 237, 0.28);
  font-size: 1.1rem;
  line-height: 1;
  flex: 0 0 auto;
}
.sep-chord-scroller {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.75rem 0.15rem 0.55rem;
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.35) transparent;
}
.sep-chord-scroller::-webkit-scrollbar {
  height: 4px;
}
.sep-chord-scroller::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 999px;
}
.sep-chord-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  width: max-content;
  padding: 0 35%;
  align-items: center;
}
.sep-chord {
  position: relative;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  font-size: 0.92rem;
  font-weight: 650;
  cursor: pointer;
  transition: opacity 0.28s ease, transform 0.28s ease, border-color 0.28s ease,
    background 0.28s ease, color 0.28s ease, box-shadow 0.28s ease;
}
.sep-chord.is-far {
  opacity: 0.2;
  transform: scale(0.92);
}
.sep-chord.is-near {
  opacity: 0.55;
}
.sep-chord.is-upcoming {
  opacity: 0.82;
  border-color: rgba(251, 191, 36, 0.28);
  color: #fde68a;
  background: rgba(251, 191, 36, 0.06);
}
.sep-chord.is-active {
  opacity: 1;
  transform: scale(1.06);
  border-color: rgba(94, 234, 212, 0.65);
  color: #5eead4;
  background: rgba(94, 234, 212, 0.14);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.2);
}
.sep-chord.is-next {
  opacity: 1;
  transform: scale(1.03);
  border-color: rgba(251, 191, 36, 0.55);
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.15);
}
.sep-chord.is-next::after {
  content: "próx.";
  position: absolute;
  top: -0.55rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fbbf24;
  background: #0c0c0c;
  padding: 0 0.28rem;
  line-height: 1.2;
  white-space: nowrap;
}
.sep-chord-grid {
  display: none;
}
.sep-diag-card {
  position: relative;
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  padding: 0.65rem 0.5rem 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c0c0c;
  color: #e2e8f0;
  cursor: pointer;
  font: inherit;
  text-align: center;
  flex: 0 0 auto;
  transition: transform 0.28s ease, opacity 0.28s ease, border-color 0.28s ease,
    box-shadow 0.28s ease, background 0.28s ease;
}
.sep-diag-card.is-active,
.sep-diag-card.is-current {
  border-color: rgba(94, 234, 212, 0.45);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.15);
}
.sep-diag-card.is-current {
  min-width: 9.5rem;
  padding: 0.85rem 0.8rem;
  background: linear-gradient(180deg, #121212, #0a0a0a);
}
.sep-diag-card.is-next {
  min-width: 8.4rem;
  padding: 0.75rem 0.65rem;
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.12);
  background: linear-gradient(180deg, #14110a, #0a0a0a);
}
.sep-diag-card.is-next .sep-diag-badge {
  color: #fbbf24;
}
.sep-diag-card.is-next .sep-diag-name {
  color: #fde68a;
}
.sep-diag-card.is-upcoming {
  min-width: 7rem;
  opacity: 0.78;
  transform: scale(0.94);
  border-color: rgba(255, 255, 255, 0.1);
  background: #0a0a0a;
}
.sep-diag-card.is-up-3 { opacity: 0.7; transform: scale(0.92); }
.sep-diag-card.is-up-4 { opacity: 0.58; transform: scale(0.9); }
.sep-diag-card.is-up-5 { opacity: 0.48; transform: scale(0.88); }
.sep-diag-card.is-upcoming .sep-diag-badge {
  color: rgba(251, 191, 36, 0.7);
}
.sep-diag-card.is-upcoming .sep-diag-name {
  color: rgba(253, 230, 138, 0.85);
  font-size: 0.85rem;
}
.sep-diag-empty {
  color: rgba(232, 234, 237, 0.4);
  cursor: default;
  min-width: 8rem;
  min-height: 4rem;
  place-content: center;
}
.sep-diag-empty.is-next-empty {
  min-width: 6.5rem;
  opacity: 0.7;
}
.sep-diag-svg {
  width: 100%;
  display: grid;
  place-items: center;
  min-height: 3.2rem;
}
.sep-diag-card.is-upcoming .sep-diag-svg {
  min-height: 2.7rem;
}
.sep-diag-card.is-upcoming .cd-piano {
  max-width: 8.5rem;
}
.sep-diag-name {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.sep-diag-badge {
  position: absolute;
  top: 0.35rem;
  right: 0.4rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5eead4;
  opacity: 0.85;
}
.sep-diag-fallback {
  font-size: 1.25rem;
  font-weight: 700;
  color: #5eead4;
  padding: 1rem 0;
}
@media (max-width: 720px) {
  .sep-diag-card.is-current { min-width: 8.2rem; }
  .sep-diag-card.is-next { min-width: 7.2rem; }
  .sep-diag-card.is-upcoming { min-width: 6.2rem; }
  .sep-diag-card.is-up-4,
  .sep-diag-card.is-up-5 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sep-chord-rail,
  .sep-chord,
  .sep-diag-card {
    transition: none !important;
  }
}

.cd-svg { max-width: 100%; height: auto; display: block; }
.cd-piano { width: 100%; max-width: 11rem; }
.cd-guitar { width: 6.5rem; }
.cd-key-white {
  fill: #f8fafc;
  stroke: #94a3b8;
  stroke-width: 0.6;
}
.cd-key-white.is-on { fill: #5eead4; stroke: #2dd4bf; }
.cd-key-black {
  fill: #0f172a;
  stroke: #334155;
  stroke-width: 0.5;
}
.cd-key-black.is-on { fill: #14b8a6; stroke: #5eead4; }
.cd-fretline,
.cd-string {
  stroke: rgba(232, 234, 237, 0.35);
  stroke-width: 1;
}
.cd-nut { fill: #e2e8f0; }
.cd-barre { fill: #5eead4; opacity: 0.95; }
.cd-dot { fill: #5eead4; }
.cd-open { stroke: #5eead4; stroke-width: 1.5; }
.cd-mute { fill: rgba(232, 234, 237, 0.55); }
.cd-fret-num { fill: rgba(232, 234, 237, 0.55); }
.sep-chords-empty { margin: 0; color: rgba(232, 234, 237, 0.45); font-size: 0.88rem; }
.sep-transport {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  margin: 0;
  border-radius: 16px;
  background: rgba(12, 12, 12, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -10px 32px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}
.sep-transport-main { display: flex; gap: 0.4rem; align-items: center; }
.sep-btn {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  cursor: pointer;
}
.sep-btn-play {
  width: 2.85rem;
  height: 2.85rem;
  background: #f8fafc;
  color: #0f172a;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 0 0 4px rgba(248, 250, 252, 0.06);
}
.sep-btn.is-on {
  border-color: #5eead4;
  color: #5eead4;
}
.sep-seek {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  font-variant-numeric: tabular-nums;
  font-size: 0.8rem;
  color: rgba(232, 234, 237, 0.45);
}
.sep-seek input[type="range"] {
  width: 100%;
  accent-color: #5eead4;
  height: 1.1rem;
}
.sep-transport-side {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.sep-rate {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0.15rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.sep-rate-btn {
  border: 0;
  background: transparent;
  color: rgba(232, 234, 237, 0.45);
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
  min-width: 2.4rem;
}
.sep-rate-btn.is-on {
  background: #f8fafc;
  color: #0f172a;
}
.sep-view-toggles { display: flex; gap: 0.35rem; }
.sep-toggle {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(232, 234, 237, 0.55);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font-size: 0.8rem;
  cursor: pointer;
}
.sep-toggle.is-on {
  color: #5eead4;
  border-color: rgba(94, 234, 212, 0.4);
  background: rgba(94, 234, 212, 0.1);
}
@media (max-width: 1100px) {
  .sep-player { --sep-rail-w: 18.5rem; }
}
@media (max-width: 900px) {
  .sep-player { --sep-rail-w: 16.5rem; }
  .sep-ruler-row,
  .sep-track {
    grid-template-columns: var(--sep-rail-w) minmax(0, 1fr);
  }
  .sep-track-label {
    max-width: 3.2rem;
    flex-basis: 3.2rem;
  }
}
@media (max-width: 720px) {
  .page-sep-player .stage {
    width: calc(100% - 0.75rem);
  }
  .sep-drop {
    flex-direction: column;
    text-align: center;
  }
  .sep-drop-copy { text-align: center; }
  .sep-player { --sep-wave-h: auto; --sep-rail-w: 100%; }
  .sep-lanes { max-height: none; }
  .sep-ruler-row { display: none; }
  .sep-track {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    height: auto;
    min-height: 0;
  }
  .sep-channel {
    height: auto;
    min-height: 3.25rem;
    padding-right: 0.45rem;
  }
  .sep-wave {
    height: 3.6rem;
    min-height: 3.6rem;
  }
  .sep-transport {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  .sep-transport-main { justify-content: center; }
  .sep-transport-side { justify-content: center; }
}

/* —— Avaliações (página dedicada) —— */
.avaliacoes-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}
.avaliacoes-tab {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(244, 251, 255, 0.04);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.avaliacoes-tab:hover {
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.35);
}
.avaliacoes-tab.is-active {
  color: var(--ink);
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.12);
  font-weight: 600;
}

/* —— Comentários (moderados) —— */
.comments-section {
  margin: 0.5rem 0 3.5rem;
  display: grid;
  gap: 1.25rem;
}
.comments-head p { color: var(--muted); margin: 0.35rem 0 0; }
.comments-subhead {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.comments-list,
.comments-mine {
  display: grid;
  gap: 0.85rem;
}
.comment-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 18, 32, 0.55);
  display: grid;
  gap: 0.55rem;
}
.comment-card.is-mine {
  border-color: rgba(34, 211, 238, 0.28);
}
.comment-card[data-status="pending"] {
  border-color: rgba(251, 191, 36, 0.35);
}
.comment-card[data-status="rejected"] {
  border-color: rgba(255, 92, 122, 0.35);
}
.comment-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(34, 211, 238, 0.28);
  flex-shrink: 0;
}
.comment-stars {
  color: #fbbf24;
  letter-spacing: 0.04em;
  font-variant-emoji: text;
}
.comment-author { color: var(--ink); }
.comment-topic {
  font-size: 0.78rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(244, 251, 255, 0.05);
  color: var(--muted);
}
.comment-status {
  margin-left: auto;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cyan);
}
.home-comments {
  margin-top: 2.5rem;
}
.home-comments .home-hub-link {
  margin-top: 0.35rem;
}
.comment-body {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.45;
}
.comment-admin-reply {
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.22);
  font-size: 0.9rem;
  color: #c8f3fa;
}
.comment-edit summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 0.88rem;
}
.comment-edit summary:hover { color: var(--cyan); }
.comment-edit[open] summary { margin-bottom: 0.65rem; }
.comments-form {
  display: grid;
  gap: 0.85rem;
  max-width: 36rem;
}
.comments-form-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.comments-hint,
.comments-login,
.comments-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.comments-compose {
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.comments-admin-body {
  white-space: pre-wrap;
}
.comment-delete { margin: 0; }

/* —— Repertório —— */
.page-repertorio .stage {
  width: min(1680px, calc(100% - 1rem));
  gap: 0.95rem;
  margin-bottom: 2.5rem;
}
.page-repertorio .page-hero.hero-compact {
  margin-bottom: 0;
  padding-top: 0.55rem;
  padding-bottom: 0;
}
.page-repertorio .page-hero.hero-compact h1 {
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  margin-bottom: 0.15rem;
}
.page-repertorio .page-hero.hero-compact .lede {
  max-width: 48rem;
  font-size: 1rem;
}
.page-repertorio .rep-hero-actions {
  margin-top: 0.55rem;
}
.page-repertorio .rep-layout {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 18rem minmax(0, 1fr);
  align-items: start;
  margin-bottom: 1rem;
}
@media (max-width: 960px) {
  .page-repertorio .rep-layout {
    grid-template-columns: 1fr;
  }
}
.page-repertorio .panel {
  padding: clamp(0.95rem, 1.6vw, 1.35rem);
}
.page-repertorio .rep-item-panel {
  padding-bottom: 1rem;
}
.rep-sidebar {
  position: sticky;
  top: 5.5rem;
  max-height: calc(100vh - 6.5rem);
  overflow: auto;
  min-width: 0;
}
.rep-sidebar-head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}
.rep-sidebar-head .timbre-panel-title {
  font-size: 1.05rem;
  line-height: 1.2;
}
.rep-sidebar-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
}
.rep-sidebar-actions .btn {
  flex: 1 1 0;
  justify-content: center;
  white-space: nowrap;
  min-width: 0;
}
.rep-sidebar-empty {
  margin: 0;
  font-size: 0.9rem;
}
.rep-main {
  min-width: 0;
  width: 100%;
  display: grid;
  gap: 1rem;
}
.rep-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.rep-list-item {
  margin: 0;
}
.rep-list-link {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.rep-list-link:hover {
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.06);
}
.rep-list-desc {
  color: var(--muted);
  font-size: 0.9rem;
}
.rep-form-inline {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: end;
}
@media (max-width: 900px) {
  .rep-form-inline {
    grid-template-columns: 1fr;
  }
}
.rep-form {
  display: grid;
  gap: 0.85rem;
}
.rep-form-wide {
  gap: 1rem;
}
.rep-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem 1.15rem;
}
.rep-form-grid .rep-span-2 {
  grid-column: 1 / -1;
}
@media (max-width: 900px) {
  .rep-form-grid {
    grid-template-columns: 1fr;
  }
}
.rep-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.rep-add-lede {
  margin: -0.35rem 0 1rem;
  font-size: 0.95rem;
}
.rep-add-form {
  display: grid;
  gap: 1.15rem;
  max-width: 44rem;
  width: 100%;
}
.rep-add-step {
  display: grid;
  gap: 0.55rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(238, 246, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
  min-width: 0;
}
.rep-add-step-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
}
.rep-add-hint {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.rep-add-id-grid {
  grid-template-columns: 1.2fr 1fr;
}
.rep-add-preview {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.35rem;
}
.rep-add-preview-meta {
  max-width: 8rem;
}
.rep-add-more {
  border-radius: 12px;
  border: 1px dashed rgba(238, 246, 255, 0.14);
  padding: 0.65rem 0.85rem;
  min-width: 0;
}
.rep-add-more summary {
  cursor: pointer;
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.92rem;
  list-style: none;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
}
.rep-add-more summary::-webkit-details-marker {
  display: none;
}
.rep-add-more[open] summary {
  margin-bottom: 0.75rem;
}
.rep-song-catalog-item.is-highlight {
  outline: 2px solid rgba(34, 211, 238, 0.55);
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.06);
}
.rep-cc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: end;
}
.rep-cc-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}
.rep-cc-row input {
  min-width: 0;
  width: 100%;
}
.rep-cc-btn {
  white-space: nowrap;
  min-height: 2.65rem;
}
.rep-add-actions {
  position: sticky;
  bottom: 0.65rem;
  z-index: 5;
  margin-top: 0.25rem;
  padding: 0.65rem 0 0.15rem;
  background: linear-gradient(180deg, transparent, rgba(8, 12, 20, 0.92) 28%);
}
.rep-add-submit {
  min-height: 2.85rem;
  padding-inline: 1.25rem;
}
.rep-file {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  cursor: pointer;
  margin: 0;
  min-width: 0;
  width: 100%;
}
.rep-file input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.rep-file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.rep-file:hover .rep-file-btn {
  border-color: rgba(34, 211, 238, 0.4);
  color: var(--cyan);
}
.rep-file-name {
  color: var(--muted);
  font-size: 0.88rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}

/* Tablet + mobile: adicionar / editar música */
@media (max-width: 900px) {
  .page-repertorio .stage {
    width: min(1680px, calc(100% - 0.75rem));
    gap: 0.85rem;
  }
  .rep-add-form {
    max-width: none;
    gap: 0.95rem;
  }
  .rep-add-step {
    padding: 0.85rem 0.8rem;
  }
  .rep-add-id-grid {
    grid-template-columns: 1fr;
  }
  .rep-add-preview-meta {
    max-width: none;
  }
  .rep-cc-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .rep-cc-btn {
    width: 100%;
    justify-content: center;
  }
  .rep-form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .rep-form-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 2.75rem;
  }
  .rep-add-submit {
    width: 100%;
  }
  .rep-file {
    flex-direction: column;
    align-items: stretch;
  }
  .rep-file-btn {
    width: 100%;
  }
  .rep-file-name {
    white-space: normal;
  }
  .rep-share-row,
  .rep-team-add {
    grid-template-columns: 1fr;
  }
  .rep-share-row .btn,
  .rep-team-add .btn {
    width: 100%;
    justify-content: center;
  }
  .rep-item-head {
    flex-direction: column;
    gap: 0.65rem;
  }
  .rep-item-head-actions {
    width: 100%;
  }
  .rep-item-head-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .rep-sidebar {
    position: static;
    max-height: none;
  }
  .rep-sidebar-actions {
    flex-wrap: wrap;
  }
  .rep-sidebar-actions .btn {
    flex: 1 1 calc(50% - 0.4rem);
    min-width: 7.5rem;
  }
  .rep-manage-form {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 0.5rem;
  }
}

@media (max-width: 560px) {
  .page-repertorio .stage {
    width: calc(100% - 0.5rem);
    margin-bottom: 5rem;
  }
  .page-repertorio .panel {
    padding: 0.85rem 0.75rem;
  }
  .rep-add-more summary {
    font-size: 0.88rem;
    line-height: 1.35;
  }
  .rep-add-actions {
    bottom: 0;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    padding: 0.75rem 0.75rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: rgba(8, 12, 20, 0.96);
    border-top: 1px solid rgba(238, 246, 255, 0.08);
    backdrop-filter: blur(8px);
  }
}

.page-repertorio .field input,
.page-repertorio .field textarea,
.page-repertorio .field select,
.page-repertorio .rep-cc-row input,
.page-repertorio .rep-share-row input,
.page-repertorio .rep-team-add input {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  font-size: 16px; /* evita zoom automático no iOS */
  min-height: 2.65rem;
}
.page-repertorio .field textarea {
  min-height: 6rem;
  line-height: 1.45;
}
.rep-check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-top: 0.45rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.35;
  min-height: 2.5rem;
}
.rep-check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.rep-song-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.rep-reorder-hint {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.rep-song-row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.15rem;
  align-items: stretch;
  border-radius: 12px;
  border: 1px solid rgba(238, 246, 255, 0.1);
  background:
    linear-gradient(145deg, rgba(18, 28, 48, 0.92), rgba(10, 16, 28, 0.88));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.12s ease,
    transform 0.15s ease;
}
.rep-song-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: transparent;
  transition: background 0.15s ease;
}
.rep-song-row:hover {
  border-color: rgba(52, 211, 153, 0.28);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}
.rep-song-row.is-active {
  border-color: rgba(52, 211, 153, 0.45);
  background:
    linear-gradient(145deg, rgba(52, 211, 153, 0.14), rgba(12, 22, 36, 0.92) 48%),
    rgba(10, 16, 28, 0.9);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.12), 0 12px 28px rgba(0, 0, 0, 0.28);
}
.rep-song-row.is-active::before {
  background: linear-gradient(180deg, #6ee7b7, #34d399);
}
.rep-song-row.is-dragging {
  opacity: 0.5;
  transform: scale(0.985);
}
.rep-song-row.is-drag-over {
  border-color: rgba(52, 211, 153, 0.55);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.2);
}
.rep-song-row:has(.rep-song-link:only-child) {
  grid-template-columns: minmax(0, 1fr);
}
.rep-song-row:has(.rep-song-link:only-child) .rep-song-link {
  padding: 0.7rem 0.85rem;
}
.rep-drag-handle {
  appearance: none;
  border: 0;
  background: transparent;
  color: #6b7f99;
  cursor: grab;
  display: grid;
  place-items: center;
  align-self: stretch;
  width: 2rem;
  padding: 0;
  border-radius: 0;
  transition: color 0.12s ease, background 0.12s ease;
}
.rep-drag-handle svg {
  display: block;
  pointer-events: none;
}
.rep-drag-handle:active {
  cursor: grabbing;
}
.rep-drag-handle:hover {
  color: #86efac;
  background: rgba(52, 211, 153, 0.1);
}
.rep-song-row.is-active .rep-drag-handle {
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.08);
}
.rep-song-move {
  display: grid;
  gap: 0.2rem;
  padding: 0.35rem 0.4rem 0.35rem 0.1rem;
  align-content: center;
}
.rep-move-btn {
  appearance: none;
  border: 1px solid rgba(238, 246, 255, 0.1);
  background: rgba(238, 246, 255, 0.04);
  color: #9db0c7;
  width: 1.7rem;
  height: 1.35rem;
  border-radius: 7px;
  line-height: 0;
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
  transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.rep-move-btn svg {
  display: block;
  pointer-events: none;
}
.rep-move-btn:hover:not(:disabled) {
  color: #86efac;
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.12);
}
.rep-move-btn:disabled {
  opacity: 0.28;
  cursor: default;
}
.rep-song-link {
  display: grid;
  gap: 0.2rem;
  padding: 0.6rem 0.4rem 0.6rem 0.2rem;
  border-radius: 0;
  border: 0;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  background: transparent;
}
.rep-song-link:hover,
.rep-song-link.is-active {
  border: 0;
  background: transparent;
}
.rep-song-title {
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.rep-song-artist {
  font-size: 0.8rem;
  color: #9db0c7;
  line-height: 1.3;
}
.rep-song-row.is-active .rep-song-title {
  color: #f4fffa;
}
.rep-song-row.is-active .rep-song-artist {
  color: #b7d4c8;
}
.rep-song-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.15rem;
}
.rep-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  padding: 0.14rem 0.42rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1;
  border: 1px solid transparent;
}
.rep-flag svg {
  display: block;
  flex-shrink: 0;
}
.rep-flag-cifra {
  color: #86efac;
  background: rgba(52, 211, 153, 0.14);
  border-color: rgba(52, 211, 153, 0.28);
}
.rep-flag-pdf {
  color: #fda4af;
  background: rgba(251, 113, 133, 0.12);
  border-color: rgba(251, 113, 133, 0.28);
}
.rep-flag-audio {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.28);
}
.rep-flag-yt {
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.28);
}
.rep-add summary {
  cursor: pointer;
  color: var(--cyan);
  font-weight: 600;
}
.rep-add[open] summary {
  margin-bottom: 0.75rem;
}
.rep-item-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.rep-item-panel,
.rep-add-panel {
  min-width: 0;
}
.rep-tabs {
  display: grid;
  gap: 1rem;
}
.rep-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
}
.rep-tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}
.rep-tab.is-active,
.rep-tab:hover {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
}
.rep-tabpanel {
  display: none;
}
.rep-tabpanel.is-active {
  display: block;
}
.rep-cifra-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.rep-badge {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  border-radius: 8px;
  background: rgba(255, 90, 54, 0.15);
  border: 1px solid rgba(255, 90, 54, 0.35);
  font-size: 0.85rem;
  font-weight: 600;
}
.rep-source {
  font-size: 0.88rem;
  color: var(--cyan);
}
pre.cifra {
  margin: 0;
  padding: 1rem 1.1rem;
  overflow: auto;
  max-height: min(70vh, 48rem);
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.2;
  white-space: pre;
  color: #dce7f5;
}
.cifra-chord {
  color: var(--cyan);
  font-weight: 700;
}
.rep-pdf {
  width: 100%;
  min-height: 70vh;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #111;
}
.rep-pdf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.35rem;
}
.rep-audio {
  width: 100%;
}
.rep-yt {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.rep-yt-compact {
  max-width: 22rem;
  padding-top: 0;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 8px;
  border-color: color-mix(in srgb, var(--line) 70%, transparent);
  opacity: 0.96;
}
.rep-yt-quiet {
  margin: 0 0 0.75rem;
  max-width: 22rem;
}
.rep-yt-ico {
  flex: 0 0 auto;
  display: block;
  color: #ff4d4d;
}
.rep-tab .rep-yt-ico {
  display: inline-block;
  vertical-align: -0.15em;
  margin-right: 0.2rem;
}
.rep-yt-quiet > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, #ff4d4d 45%, transparent);
  background: color-mix(in srgb, #ff4d4d 14%, rgba(0, 0, 0, 0.25));
  color: #fecaca;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  user-select: none;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #ff4d4d 12%, transparent);
}
.rep-yt-quiet > summary::-webkit-details-marker {
  display: none;
}
.rep-yt-quiet > summary:hover {
  color: #fff;
  border-color: color-mix(in srgb, #ff4d4d 70%, transparent);
  background: color-mix(in srgb, #ff4d4d 24%, rgba(0, 0, 0, 0.2));
}
.rep-yt-quiet[open] > summary {
  margin-bottom: 0.55rem;
  color: #fff;
  border-color: color-mix(in srgb, #ff4d4d 75%, transparent);
  background: color-mix(in srgb, #ff4d4d 28%, rgba(0, 0, 0, 0.18));
}
.rep-yt-link {
  margin: 0.55rem 0 0;
  font-size: 0.85rem;
}
.rep-yt-link a {
  color: var(--muted);
}
.rep-yt-link a:hover {
  color: var(--ink);
}
.rep-yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.rep-notes {
  white-space: pre-wrap;
  color: var(--ink);
  line-height: 1.5;
}
.rep-cifra-input {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.88rem;
}
.rep-file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.rep-share-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  margin: 0.75rem 0;
}
.rep-share-row input {
  width: 100%;
  min-width: 0;
}
.rep-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.rep-team {
  margin-top: 1rem;
}
.rep-team-lede {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
}
.rep-team-add {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  margin: 0 0 1rem;
}
.rep-team-add input[type="email"] {
  width: 100%;
  min-width: 0;
}
.rep-team-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.rep-team-member {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.rep-team-member:last-child {
  border-bottom: 0;
}
.rep-team-avatar {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  background: color-mix(in srgb, var(--cyan) 22%, transparent);
}
.rep-team-avatar.is-fallback {
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #d7f7ff;
  border: 1px solid color-mix(in srgb, var(--cyan) 40%, transparent);
}
.rep-team-meta {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 0.1rem;
}
.rep-team-name {
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.25;
}
.rep-team-role {
  font-size: 0.78rem;
  color: var(--muted);
}
.rep-team-member.is-owner .rep-team-role {
  color: color-mix(in srgb, var(--cyan) 75%, #fff);
}
.rep-team-action {
  margin: 0;
  flex: 0 0 auto;
}
.rep-team-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  justify-content: flex-end;
}
.rep-comments {
  margin-top: 0;
}
.rep-subhead {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}
.rep-obs-list,
.rep-comment-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.rep-obs-list li {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 90, 54, 0.35);
  background: rgba(255, 90, 54, 0.08);
}
.rep-comment-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.rep-obs-list p,
.rep-comment-list p {
  margin: 0.35rem 0 0;
  white-space: pre-wrap;
}
.rep-comment-form {
  margin-top: 0.5rem;
}

/* —— Cifra board (tom, diagramas, edição) —— */
.cifra-board {
  position: relative;
  display: grid;
  gap: 0.75rem;
}
.cifra-board-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  justify-content: space-between;
}
.cifra-board-tom,
.cifra-board-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.cifra-board-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.cifra-board-key {
  min-width: 2.5rem;
  text-align: center;
  font-size: 1.05rem;
}
.cifra-board-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.cifra-board-ico {
  flex: 0 0 auto;
  display: block;
}
.cifra-board-btn:hover,
.cifra-board-btn.is-active {
  border-color: rgba(34, 211, 238, 0.4);
  color: var(--cyan);
}
.cifra-board-btn.primary {
  background: rgba(34, 211, 238, 0.14);
  border-color: rgba(34, 211, 238, 0.4);
}
.cifra-board-btn.ghost {
  background: transparent;
}
.cifra-board-btn.is-annotate {
  border-color: color-mix(in srgb, #ff7a45 50%, transparent);
  background: color-mix(in srgb, #ff7a45 14%, rgba(0, 0, 0, 0.2));
  color: #ffd0b8;
}
.cifra-board-btn.is-annotate .cifra-board-ico {
  color: #ff7a45;
}
.cifra-board-btn.is-annotate:hover,
.cifra-board-btn.is-annotate.is-active {
  border-color: color-mix(in srgb, #ff7a45 75%, transparent);
  background: color-mix(in srgb, #ff7a45 26%, rgba(0, 0, 0, 0.15));
  color: #fff;
}
.cifra-board-btn.is-chords {
  border-color: color-mix(in srgb, #38bdf8 50%, transparent);
  background: color-mix(in srgb, #38bdf8 14%, rgba(0, 0, 0, 0.2));
  color: #bae6fd;
}
.cifra-board-btn.is-chords .cifra-board-ico {
  color: #38bdf8;
}
.cifra-board-btn.is-chords:hover,
.cifra-board-btn.is-chords.is-active {
  border-color: color-mix(in srgb, #38bdf8 75%, transparent);
  background: color-mix(in srgb, #38bdf8 26%, rgba(0, 0, 0, 0.15));
  color: #fff;
}
.cifra-board-btn.is-lyrics {
  border-color: color-mix(in srgb, #a3e635 50%, transparent);
  background: color-mix(in srgb, #a3e635 12%, rgba(0, 0, 0, 0.2));
  color: #d9f99d;
}
.cifra-board-btn.is-lyrics .cifra-board-ico {
  color: #a3e635;
}
.cifra-board-btn.is-lyrics:hover,
.cifra-board-btn.is-lyrics.is-active {
  border-color: color-mix(in srgb, #a3e635 75%, transparent);
  background: color-mix(in srgb, #a3e635 24%, rgba(0, 0, 0, 0.15));
  color: #fff;
}
.cifra-board-hint {
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px dashed rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.06);
  color: var(--muted);
  font-size: 0.88rem;
}
.cifra-section-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  padding: 0.15rem 0 0.25rem;
}
.cifra-sec-chip {
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--sec, #ff7a45) 55%, transparent);
  background: color-mix(in srgb, var(--sec, #ff7a45) 18%, transparent);
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.2;
}
.cifra-sec-chip:hover {
  background: color-mix(in srgb, var(--sec, #ff7a45) 32%, transparent);
}
.cifra-sec-chip.is-custom {
  border-style: dashed;
  --sec: #94a3b8;
}
.cifra-section-tag {
  display: inline;
  margin: 0 0.3em 0 0;
  padding: 0.05em 0.4em;
  border-radius: 5px;
  font-weight: 800;
  font-size: 0.78em;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #0b1220;
  background: var(--sec, #ff7a45);
  vertical-align: baseline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.cifra-section-tag.is-editable {
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.cifra-section-tag.is-editable:hover {
  filter: brightness(1.08);
}
.cifra-line.cifra-in-section {
  /* faixa de seção + respiro antes do acorde/letra */
  box-shadow: inset 3px 0 0 var(--sec, transparent);
  padding-left: 0.75rem;
}
.cifra-line.cifra-section-head {
  margin-top: 0;
}
.cifra-board-diags,
.cifra-diag-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-bottom: 0.25rem;
}
.cifra-diag {
  width: 4.1rem;
  text-align: center;
  color: #d7e6f7;
}
.cifra-diag-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ff7a45;
  margin-bottom: 0.15rem;
}
.cifra-diag svg {
  display: block;
  margin: 0 auto;
  overflow: visible;
}
.cifra-diag svg line {
  stroke: rgba(238, 246, 255, 0.35);
  stroke-width: 1;
}
.cifra-diag-nut {
  fill: rgba(238, 246, 255, 0.85);
}
.cifra-diag-dot {
  fill: #ff7a45;
}
.cifra-diag-o {
  stroke: rgba(238, 246, 255, 0.75);
}
.cifra-diag-x,
.cifra-diag-base {
  fill: rgba(238, 246, 255, 0.7);
  font-size: 8px;
}
.cifra-diag-na {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 1rem 0;
}
.cifra-board-pre {
  margin: 0;
  padding: 1rem 1.1rem;
  overflow: auto;
  max-height: min(70vh, 48rem);
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  font-size: 1rem;
  line-height: 1.08;
  white-space: pre;
  color: #dce7f5;
}
.cifra-board-pre.is-editing {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.12);
  cursor: text;
}
.cifra-board-pre .cifra-chord {
  color: #ff7a45;
  font-weight: 700;
}
.cifra-board-pre .cifra-chord.is-editable {
  cursor: grab;
  border-radius: 3px;
  /* sem padding — padding deslocava a coluna visual vs. o texto-fonte */
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  touch-action: none;
  user-select: none;
}
.cifra-board-pre .cifra-chord.is-editable:hover {
  background: rgba(255, 122, 69, 0.18);
  outline: 1px solid rgba(255, 122, 69, 0.45);
}
.cifra-board-pre .cifra-chord.is-dragging-chord {
  opacity: 0.35;
  cursor: grabbing;
}
.cifra-board-pre.is-chord-dragging {
  cursor: grabbing;
}
.cifra-board-pre.is-chord-dragging .cifra-line {
  cursor: grabbing;
}
.cifra-chord-ghost {
  position: fixed;
  z-index: 1000;
  pointer-events: none;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(255, 122, 69, 0.95);
  color: #1a0d08;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.cifra-drop-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: #22d3ee;
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.8);
  pointer-events: none;
  z-index: 5;
}
.cifra-insert {
  position: absolute;
  z-index: 12;
  width: min(17.5rem, calc(100% - 1rem));
}
.cifra-insert-panel {
  display: grid;
  gap: 0.45rem;
  padding: 0.7rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 122, 69, 0.45);
  background: #0e1624;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.cifra-insert-meta {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}
.cifra-insert-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(0, 0, 0, 0.35);
  color: #ff7a45;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.cifra-insert-input:focus {
  outline: none;
  border-color: rgba(255, 122, 69, 0.7);
  box-shadow: 0 0 0 2px rgba(255, 122, 69, 0.15);
}
.cifra-insert-input.is-invalid {
  border-color: #f87171;
  animation: cifra-shake 0.28s ease;
}
@keyframes cifra-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  35% {
    transform: translateX(-3px);
  }
  70% {
    transform: translateX(3px);
  }
}
.cifra-insert-chips,
.cifra-insert-chips.cifra-insert-chips,
[data-cb-edit-chips] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.cifra-chip {
  appearance: none;
  border: 1px solid rgba(255, 122, 69, 0.35);
  background: rgba(255, 122, 69, 0.12);
  color: #ffb08a;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.2;
}
.cifra-chip:hover {
  background: rgba(255, 122, 69, 0.28);
  color: #fff;
}
.cifra-insert-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}
.cifra-insert-preview {
  position: absolute;
  top: -0.05em;
  transform: translateY(-100%);
  z-index: 6;
  padding: 0 0.15rem;
  border-radius: 3px;
  background: rgba(255, 122, 69, 0.92);
  color: #1a0d08;
  font-weight: 800;
  pointer-events: none;
  white-space: pre;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.cifra-insert-preview.is-empty {
  background: rgba(34, 211, 238, 0.85);
  width: 0.35rem;
  min-width: 0.35rem;
  padding: 0;
  color: transparent;
  overflow: hidden;
}
.cifra-line.cifra-insert-target {
  outline: 1px dashed rgba(34, 211, 238, 0.35);
  outline-offset: 2px;
  border-radius: 2px;
}
.cifra-nudge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.cifra-board-pop {
  position: absolute;
  z-index: 8;
  width: min(16rem, 90%);
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: #0c1422;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 0.55rem;
}
.cifra-board-pop label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.cifra-board-pop input {
  width: 100%;
  box-sizing: border-box;
}
.cifra-board-pop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.rep-play-board .cifra-board-pre {
  max-height: none;
  border: 0;
  background: transparent;
  padding: 0.25rem 0.1rem 1.5rem;
  font-size: 1.2rem;
  line-height: 1.05 !important;
}
.rep-play-board .cifra-line {
  line-height: 1.05;
}
.rep-play-board .cifra-section-tag {
  font-size: 0.72em;
  padding: 0.02em 0.35em;
  margin: 0 0.25em 0 0;
}
.rep-play-board .cifra-anno-mark {
  height: 0.2em;
  bottom: 0;
}
.rep-play-board .cifra-pin {
  top: -0.05em;
  min-width: 0.95rem;
  height: 0.95rem;
  font-size: 0.58rem;
  box-shadow: none;
}
.rep-play-board .cifra-board-diags,
.rep-play-board .cifra-diag-strip {
  gap: 0.25rem 0.35rem;
  max-height: 5.5rem;
  margin-bottom: 0.2rem;
  padding-bottom: 0;
}
.rep-play-board .cifra-board-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 0.25rem 0.1rem 0.4rem;
  background: linear-gradient(180deg, rgba(5, 7, 12, 0.96), rgba(5, 7, 12, 0.82));
}
.rep-play-board .cifra-pin.is-flash {
  outline: 2px solid #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--anno, #ff7a45) 45%, transparent);
}

.page-repertorio .cifra-board-diags,
.page-repertorio .cifra-diag-strip {
  gap: 0.35rem 0.45rem;
  max-height: 7.5rem;
  overflow: auto;
  padding-bottom: 0.15rem;
  margin-bottom: 0.35rem;
}
.page-repertorio .cifra-diag {
  width: 3.55rem;
}
.page-repertorio .cifra-diag svg {
  width: 48px;
  height: auto;
}
.page-repertorio .cifra-board-pre {
  max-height: min(78vh, 56rem);
  padding: 0.85rem 1rem;
  line-height: 1.08;
}
.page-repertorio .cifra-board-toolbar {
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}

.rep-cifra-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 17.5rem);
  gap: 1.1rem;
  align-items: start;
}
@media (max-width: 1100px) {
  .rep-cifra-split {
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 16rem);
  }
}
@media (max-width: 980px) {
  .rep-cifra-split {
    grid-template-columns: 1fr;
  }
}
.rep-cifra-main {
  min-width: 0;
}
.rep-comments-panel {
  position: sticky;
  top: 5.5rem;
  max-height: calc(100vh - 6.5rem);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
}
.rep-comments-panel-head {
  display: grid;
  gap: 0.15rem;
}
.rep-comments-scroll {
  min-height: 0;
  overflow: auto;
}
.rep-comment-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.rep-comment-card {
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.rep-comment-card.is-anchored {
  border-color: color-mix(in srgb, var(--anno, #ff7a45) 45%, var(--line));
  background: color-mix(in srgb, var(--anno, #ff7a45) 10%, rgba(255, 255, 255, 0.02));
  box-shadow: inset 3px 0 0 var(--anno, #ff7a45);
}
.rep-comment-card.is-obs:not(.is-anchored) {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.08);
}
.rep-comment-card.is-flash {
  outline: 2px solid var(--anno, var(--cyan));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--anno, var(--cyan)) 25%, transparent);
}
.rep-comment-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin-bottom: 0.25rem;
}
.rep-comment-remove {
  margin-left: auto;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.1rem 0.25rem;
  border-radius: 6px;
}
.rep-comment-remove:hover {
  color: #ff8f7a;
  background: rgba(255, 90, 54, 0.1);
}
.rep-comment-body {
  margin: 0.35rem 0 0;
  white-space: normal;
  line-height: 1.45;
}
.rep-mention {
  display: inline;
  padding: 0.05em 0.28em;
  border-radius: 6px;
  background: color-mix(in srgb, var(--cyan, #22d3ee) 18%, transparent);
  color: #7dd3fc;
  font-weight: 700;
}
.rep-mention-wrap {
  position: relative;
  display: block;
}
.rep-mention-menu {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 4px);
  z-index: 40;
  list-style: none;
  margin: 0;
  padding: 0.3rem;
  max-height: 12rem;
  overflow: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(12, 16, 24, 0.98);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.rep-mention-menu[hidden] {
  display: none !important;
}
.rep-mention-option {
  display: grid;
  gap: 0.1rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  cursor: pointer;
}
.rep-mention-option span {
  color: var(--muted);
  font-size: 0.8rem;
}
.rep-mention-option.is-active,
.rep-mention-option:hover {
  background: rgba(34, 211, 238, 0.12);
}
.rep-comment-card p {
  margin: 0.35rem 0 0;
  white-space: pre-wrap;
}
.rep-comment-card p.rep-comment-body {
  white-space: normal;
}
.rep-comment-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.rep-comment-tag.is-obs {
  border-color: rgba(34, 211, 238, 0.45);
  color: #67e8f9;
}
.cifra-pin-badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--anno, #ff7a45);
  color: #1a0d08;
  font-size: 0.72rem;
  font-weight: 800;
}
.cifra-line {
  /* inline: o \n do <pre> já quebra a linha.
     display:block + \n dobrava o espaço (muito maior que o Cifra Club). */
  position: relative;
  display: inline;
  line-height: inherit;
}
.cifra-anno-mark {
  position: absolute;
  left: 0;
  bottom: 0.02em;
  height: 0.28em;
  border-radius: 2px;
  background: color-mix(in srgb, var(--anno, #ff7a45) 55%, transparent);
  pointer-events: none;
  z-index: 1;
}
.cifra-anno-mark.cifra-anno-observation {
  background: color-mix(in srgb, var(--anno, #22d3ee) 65%, transparent);
}
.cifra-pin {
  position: absolute;
  top: -0.2em;
  left: 0;
  transform: translateX(-35%);
  z-index: 3;
  display: inline-grid;
  place-items: center;
  min-width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  padding: 0 0.18rem;
  border: 0;
  border-radius: 999px;
  background: var(--anno, #ff7a45);
  color: #1a0d08;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.cifra-pin.is-movable {
  cursor: grab;
  touch-action: none;
}
.cifra-pin.is-movable:active,
.cifra-pin.is-dragging-pin {
  cursor: grabbing;
}
.cifra-pin:hover {
  filter: brightness(1.08);
}
.cifra-pin-observation {
  background: var(--anno, #22d3ee);
  color: #042026;
}
.cifra-pin-ghost {
  position: fixed;
  z-index: 80;
  pointer-events: none;
  display: inline-grid;
  place-items: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  background: var(--anno, #ff7a45);
  color: #1a0d08;
  font-size: 0.7rem;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  opacity: 0.95;
  transform: translate(-50%, -50%);
}
.cifra-board-pre.is-pin-dragging {
  cursor: grabbing;
}
.cifra-pin.is-dragging-pin {
  opacity: 0.35;
}
.cifra-board-pre.is-annotating {
  cursor: crosshair;
  border-color: rgba(255, 122, 69, 0.45);
}
.cifra-lyrics-editor {
  display: grid;
  gap: 0.65rem;
}
.cifra-lyrics-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
}
.cifra-lyrics-help {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 36rem;
}
.cifra-lyrics-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.cifra-lyrics-textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: min(62vh, 36rem);
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(34, 211, 238, 0.45);
  background: rgba(0, 0, 0, 0.45);
  color: #dce7f5;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  font-size: 1rem;
  line-height: 1.25;
  resize: vertical;
  white-space: pre;
  overflow: auto;
  tab-size: 4;
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.12);
}
.cifra-lyrics-textarea:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.7);
}
.cifra-board-pop-meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.page-rep-play .rep-comments-panel {
  display: none;
}

/* —— Repertório Play (palco) —— */
body.page-rep-play {
  overflow: hidden;
  background: #05070c;
}
body.page-rep-play .noise,
body.page-rep-play .announce,
body.page-rep-play .top,
body.page-rep-play .foot {
  display: none !important;
}
body.page-rep-play .stage {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 0;
  min-height: 100dvh;
}
body.page-rep-play .flash {
  display: none !important;
}
.rep-play {
  --rep-play-bar: 3.6rem;
  --rep-play-dock: 4.4rem;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  height: 100dvh;
  max-height: 100dvh;
  background: radial-gradient(120% 80% at 50% -10%, #121a2a 0%, #05070c 55%);
  color: var(--ink);
}
.rep-play-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--rep-play-bar);
  padding: 0.45rem 0.75rem;
  padding-top: max(0.45rem, env(safe-area-inset-top));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 15, 0.92);
  backdrop-filter: blur(10px);
}
.rep-play-bar-left,
.rep-play-bar-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.rep-play-titles {
  min-width: 0;
}
.rep-play-set {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rep-play-song {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rep-play-artist {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rep-play-key {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 90, 54, 0.4);
  background: rgba(255, 90, 54, 0.12);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}
.rep-play-pos {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 0.88rem;
  white-space: nowrap;
}
.rep-play-exit,
.rep-play-icon,
.rep-play-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
}
.rep-play-exit {
  padding: 0.4rem 0.7rem;
  font-size: 0.88rem;
}
.rep-play-icon {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}
.rep-play-btn {
  padding: 0.45rem 0.7rem;
  font-size: 0.88rem;
  white-space: nowrap;
}
.rep-play-btn.is-active,
.rep-play-exit:hover,
.rep-play-icon:hover,
.rep-play-btn:hover {
  border-color: rgba(34, 211, 238, 0.45);
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
}
.rep-play-body {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
}
.rep-play-stage {
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.85rem 1rem 1.25rem;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}
.rep-play-view {
  display: none;
  min-height: 100%;
}
.rep-play-view.is-active {
  display: block;
}
.rep-play-cifra {
  margin: 0 auto;
  max-width: 56rem;
  padding: 0.5rem 0.25rem 2rem;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  font-size: 22px;
  line-height: 1.05;
  white-space: pre;
  overflow-x: auto;
  color: #e8f0fa;
  background: transparent;
  border: 0;
}
.rep-play-cifra .cifra-chord {
  color: #5eead4;
  font-weight: 700;
}
.rep-play-empty {
  margin: 2rem auto;
  text-align: center;
  color: var(--muted);
  max-width: 28rem;
}
.rep-play-pdf {
  width: 100%;
  height: calc(100dvh - var(--rep-play-bar) - var(--rep-play-dock) - 2rem);
  min-height: 60vh;
  border: 0;
  border-radius: 12px;
  background: #111;
}
.rep-play-notes {
  max-width: 42rem;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}
.rep-play-notes h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}
.rep-play-notes p {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.5;
}
.rep-play-notes ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.rep-play-notes li {
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 90, 54, 0.3);
  background: rgba(255, 90, 54, 0.08);
}
.rep-play-anno-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  border-color: color-mix(in srgb, var(--anno, #ff7a45) 40%, transparent);
  background: color-mix(in srgb, var(--anno, #ff7a45) 10%, rgba(0, 0, 0, 0.2));
  box-shadow: inset 3px 0 0 var(--anno, #ff7a45);
}
.rep-play-source {
  margin: 0;
}
.rep-play-source a {
  color: var(--cyan);
}
.rep-play-obs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 20, 0.92);
  max-height: 5.2rem;
  overflow: auto;
  scrollbar-width: thin;
}
.rep-play-obs[hidden] {
  display: none !important;
}
.rep-play-anno {
  appearance: none;
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: min(28rem, 85vw);
  padding: 0.28rem 0.55rem 0.28rem 0.35rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--anno, #ff7a45) 45%, transparent);
  background: color-mix(in srgb, var(--anno, #ff7a45) 14%, rgba(0, 0, 0, 0.35));
  color: inherit;
  font: inherit;
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.rep-play-anno.is-obs {
  border-radius: 10px;
}
.rep-play-anno.is-flash,
.rep-play-anno:hover {
  border-color: color-mix(in srgb, var(--anno, #ff7a45) 80%, #fff);
  background: color-mix(in srgb, var(--anno, #ff7a45) 24%, rgba(0, 0, 0, 0.3));
}
.rep-play-anno-pin,
.rep-play-anno-tag {
  display: inline-grid;
  place-items: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--anno, #ff7a45);
  color: #1a0d08;
  font-size: 0.68rem;
  font-weight: 800;
  flex: 0 0 auto;
}
.rep-play-anno-tag {
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.rep-play-anno-where {
  color: var(--muted);
  font-size: 0.72rem;
  white-space: nowrap;
  flex: 0 0 auto;
}
.rep-play-anno-body {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.rep-play-dock {
  display: grid;
  gap: 0.45rem;
  padding: 0.5rem 0.75rem;
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 15, 0.95);
  backdrop-filter: blur(10px);
}
.rep-play-dock-nav,
.rep-play-dock-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.rep-play-dock-nav {
  justify-content: space-between;
}
.rep-play-dock-nav .rep-play-btn {
  flex: 1 1 8rem;
  min-height: 2.75rem;
  font-size: 1rem;
}
.rep-play-modes {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-left: auto;
}
.rep-play-speed {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.8rem;
}
.rep-play-speed input {
  width: 5.5rem;
  accent-color: var(--cyan);
}
.rep-play-audio {
  width: 100%;
  height: 2.2rem;
}

/* Setlist sempre visível, discreto; ☰ amplia */
.rep-play-rail {
  width: 10.75rem;
  min-width: 0;
  z-index: 4;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(6, 9, 16, 0.72);
  transition: width 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.rep-play.is-drawer-open .rep-play-rail {
  width: min(18rem, 72vw);
  background: rgba(8, 12, 20, 0.96);
  box-shadow: 16px 0 40px rgba(0, 0, 0, 0.35);
}
.rep-play-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.55;
}
.rep-play-drawer-head strong {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.rep-play-drawer-head .rep-play-icon {
  width: 1.7rem;
  height: 1.7rem;
  font-size: 0.75rem;
  opacity: 0;
  pointer-events: none;
}
.rep-play.is-drawer-open .rep-play-drawer-head {
  opacity: 1;
}
.rep-play.is-drawer-open .rep-play-drawer-head .rep-play-icon {
  opacity: 1;
  pointer-events: auto;
}
.rep-play-setlist {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  overflow: auto;
  display: grid;
  gap: 0.15rem;
  align-content: start;
}
.rep-play-set-item {
  width: 100%;
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.4rem;
  align-items: start;
  text-align: left;
  padding: 0.4rem 0.45rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(232, 240, 250, 0.62);
  font: inherit;
  cursor: pointer;
  transition: color 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.rep-play-set-item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rep-play-set-item small {
  display: none;
  color: var(--muted);
  margin-top: 0.1rem;
  font-size: 0.68rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rep-play.is-drawer-open .rep-play-set-item small {
  display: block;
}
.rep-play.is-drawer-open .rep-play-set-item strong {
  font-size: 0.9rem;
  white-space: normal;
}
.rep-play-set-item:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}
.rep-play-set-item.is-active {
  color: var(--ink);
  border-color: rgba(34, 211, 238, 0.28);
  background: rgba(34, 211, 238, 0.08);
}
.rep-play-n {
  color: rgba(148, 163, 184, 0.75);
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
  padding-top: 0.12rem;
}
.rep-play-set-item.is-active .rep-play-n {
  color: var(--cyan);
  font-weight: 700;
}
.rep-play-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.rep-play-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 90, 54, 0.45);
  background: rgba(255, 90, 54, 0.12);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.rep-play-live[hidden] {
  display: none !important;
}
.rep-play-live-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #ff5a36;
  box-shadow: 0 0 0 0 rgba(255, 90, 54, 0.55);
  animation: rep-live-pulse 1.6s ease-out infinite;
}
@keyframes rep-live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 90, 54, 0.5);
  }
  70% {
    box-shadow: 0 0 0 0.45rem rgba(255, 90, 54, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 90, 54, 0);
  }
}
.rep-play-live-people {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  min-width: 0.8rem;
}
.rep-play-live-tools {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.rep-play-btn-live.is-active,
.rep-play.is-live .rep-play-btn-live {
  border-color: rgba(255, 90, 54, 0.55);
  color: #ffb39f;
}
.rep-play-follow,
.rep-play-bpm {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.rep-play-follow input {
  accent-color: #ff5a36;
}
.rep-play-bpm input {
  width: 3.2rem;
  padding: 0.2rem 0.3rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
  font-size: 0.8rem;
}
.rep-play.is-live-leader .rep-play-dock {
  box-shadow: inset 0 1px 0 rgba(255, 90, 54, 0.25);
}
@media (min-width: 900px) {
  .rep-play-dock {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
  .rep-play-dock-nav {
    width: 16rem;
  }
  .rep-play-audio {
    grid-column: 1 / -1;
  }
}
@media (max-width: 720px) {
  .rep-play-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }
  .rep-play-rail {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(6, 9, 16, 0.88);
  }
  .rep-play-drawer-head {
    display: none;
  }
  .rep-play-setlist {
    display: flex;
    flex-direction: row;
    gap: 0.3rem;
    padding: 0.4rem 0.55rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .rep-play-setlist li {
    flex: 0 0 auto;
  }
  .rep-play-set-item {
    width: auto;
    max-width: 9.5rem;
    grid-template-columns: auto 1fr;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
  }
  .rep-play-set-item strong {
    font-size: 0.72rem;
    max-width: 6.5rem;
  }
  .rep-play-set-item small {
    display: none !important;
  }
  .rep-play.is-drawer-open .rep-play-rail {
    position: absolute;
    inset: 0 auto 0 0;
    width: min(20rem, 88vw);
    height: 100%;
    z-index: 6;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.45);
  }
  .rep-play.is-drawer-open .rep-play-drawer-head {
    display: flex;
  }
  .rep-play.is-drawer-open .rep-play-setlist {
    display: grid;
    flex-direction: unset;
    overflow: auto;
  }
  .rep-play.is-drawer-open .rep-play-set-item {
    width: 100%;
    max-width: none;
    border-radius: 10px;
  }
  .rep-play.is-drawer-open .rep-play-set-item strong {
    max-width: none;
    white-space: normal;
    font-size: 0.9rem;
  }
  .rep-play.is-drawer-open .rep-play-set-item small {
    display: block !important;
  }
}
@media (max-width: 640px) {
  .rep-play-modes {
    margin-left: 0;
    width: 100%;
  }
  .rep-play-modes .rep-play-btn {
    flex: 1;
  }
  .rep-play-cifra {
    font-size: 18px;
  }
}

.rep-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.rep-item-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem;
}

.rep-manage {
  position: relative;
}

.rep-manage > summary {
  list-style: none;
  cursor: pointer;
}

.rep-manage > summary::-webkit-details-marker {
  display: none;
}

.rep-manage-form {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 20;
  min-width: 16rem;
  padding: 0.85rem;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.12));
  border-radius: 10px;
  background: var(--panel, #fff);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.rep-manage-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.rep-songs-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.rep-song-catalog {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rep-song-catalog-item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border, rgba(0, 0, 0, 0.08));
}

.rep-song-catalog-item:last-child {
  border-bottom: 0;
}

.rep-song-catalog-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.rep-song-catalog .rep-song-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.rep-song-catalog .rep-song-flags span {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* AmostralabTranspose */
/* AmostralabTranspose — now playing + console */
body.page-transpose .stage {
  width: min(1080px, calc(100% - 1.5rem));
}
.tx-form .tx-url-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  align-items: stretch;
}
.tx-console {
  margin-top: 0.35rem;
  width: 100%;
  max-width: none;
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.15rem, 2.5vw, 1.75rem);
}
.tx-now {
  display: grid;
  grid-template-columns: minmax(7.5rem, 10rem) minmax(0, 1fr);
  gap: 1.15rem 1.35rem;
  align-items: stretch;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}
.tx-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 90, 54, 0.35), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(34, 211, 238, 0.28), transparent 50%),
    #0a1220;
  border: 1px solid rgba(238, 246, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.tx-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tx-cover-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(238, 246, 255, 0.55);
}
.tx-cover-wrap.has-image .tx-cover-fallback {
  display: none;
}
.tx-now-body {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 0.55rem;
}
.tx-now-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.tx-console-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.tx-track-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.01em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.tx-track-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.tx-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.35rem;
}
.tx-stat {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(34, 211, 238, 0.2);
  min-width: 0;
}
.tx-stat em {
  font-style: normal;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tx-stat strong {
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  line-height: 1.1;
}
.tx-stat-muted {
  border-color: var(--line);
  grid-column: 1 / -1;
}
.tx-stat-muted strong {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 550;
}
@media (max-width: 700px) {
  .tx-now {
    grid-template-columns: 6.5rem minmax(0, 1fr);
    gap: 0.85rem;
  }
  .tx-chips {
    grid-template-columns: 1fr 1fr;
  }
  .tx-stat#txStatDur {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .tx-now {
    grid-template-columns: 1fr;
  }
  .tx-cover-wrap {
    width: min(100%, 12rem);
    justify-self: start;
  }
}
.tx-text-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 550;
  padding: 0.2rem 0;
  cursor: pointer;
  white-space: nowrap;
}
.tx-text-btn:hover { color: var(--ink); }

.tx-controls {
  display: grid;
  gap: 0.55rem;
}
.tx-fader {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr) 3.4rem auto;
  align-items: center;
  gap: 0.55rem 0.65rem;
  min-height: 2.6rem;
  padding: 0.35rem 0.45rem 0.35rem 0.35rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(238, 246, 255, 0.06);
}
.tx-fader-ico {
  appearance: none;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.08);
  color: var(--cyan);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.tx-fader-ico:hover {
  background: rgba(255, 90, 54, 0.16);
  color: var(--coral);
}
.tx-fader-ico:active { transform: scale(0.96); }
.tx-fader[data-ctrl="pitch"] .tx-fader-ico {
  background: rgba(255, 90, 54, 0.1);
  color: var(--coral-2);
}
.tx-fader[data-ctrl="speed"] .tx-fader-ico {
  background: rgba(56, 189, 248, 0.1);
  color: var(--cyan-2);
}
.tx-fader-track {
  min-width: 0;
  display: flex;
  align-items: center;
  height: 2.35rem;
}
.tx-fader-val {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  text-align: right;
  min-width: 0;
}
.tx-stepper {
  display: inline-flex;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
}
.tx-step {
  appearance: none;
  width: 1.85rem;
  height: 1.85rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.tx-step + .tx-step {
  border-left: 1px solid var(--line);
}
.tx-step:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

/* Modern range (filled track via --tx-pct) */
.tx-range,
.tx-seek {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 1.4rem;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.tx-range::-webkit-slider-runnable-track,
.tx-seek::-webkit-slider-runnable-track {
  height: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--coral) 0%,
    var(--coral) var(--tx-pct, 50%),
    rgba(238, 246, 255, 0.16) var(--tx-pct, 50%),
    rgba(238, 246, 255, 0.16) 100%
  );
}
.tx-seek::-webkit-slider-runnable-track {
  background: linear-gradient(
    to right,
    var(--cyan) 0%,
    var(--cyan) var(--tx-pct, 0%),
    rgba(238, 246, 255, 0.16) var(--tx-pct, 0%),
    rgba(238, 246, 255, 0.16) 100%
  );
}
.tx-range::-webkit-slider-thumb,
.tx-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: -0.32rem;
  border-radius: 50%;
  border: 2px solid #0a1220;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 90, 54, 0.22);
  transition: transform 0.12s ease;
}
.tx-seek::-webkit-slider-thumb {
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.22);
}
.tx-range:active::-webkit-slider-thumb,
.tx-seek:active::-webkit-slider-thumb {
  transform: scale(1.12);
}
.tx-range::-moz-range-track,
.tx-seek::-moz-range-track {
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(238, 246, 255, 0.16);
}
.tx-range::-moz-range-progress {
  height: 0.42rem;
  border-radius: 999px;
  background: var(--coral);
}
.tx-seek::-moz-range-progress {
  height: 0.42rem;
  border-radius: 999px;
  background: var(--cyan);
}
.tx-range::-moz-range-thumb,
.tx-seek::-moz-range-thumb {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  border: 2px solid #0a1220;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 90, 54, 0.22);
}
.tx-seek::-moz-range-thumb {
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.22);
}

.tx-loop {
  display: grid;
  gap: 0.55rem;
}
.tx-loop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.tx-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.tx-chip:hover { color: var(--ink); border-color: rgba(34, 211, 238, 0.4); }
.tx-chip.is-on {
  color: var(--ink);
  border-color: rgba(255, 90, 54, 0.55);
  background: rgba(255, 90, 54, 0.14);
}
.tx-loop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.tx-marker {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 0.4rem;
  align-items: center;
  padding: 0.45rem 0.5rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(238, 246, 255, 0.05);
}
.tx-marker-key {
  width: 1.45rem;
  height: 1.45rem;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.12);
}
.tx-loop-time {
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
  color: var(--ink);
}
.tx-mini {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.15rem 0.2rem;
}
.tx-mini:hover { color: var(--cyan); }
.tx-icon-btn {
  appearance: none;
  width: 1.85rem;
  height: 1.85rem;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  padding: 0;
}
.tx-icon-btn:hover {
  color: var(--ink);
  border-color: rgba(34, 211, 238, 0.35);
}
.tx-icon-btn-lg {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
}
.tx-transport {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.15rem;
}
.tx-play {
  appearance: none;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  border: 0;
  background: var(--coral);
  color: #120806;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  box-shadow: var(--glow-coral);
}
.tx-play:hover { filter: brightness(1.06); }
.tx-seek-wrap {
  flex: 1 1 12rem;
  min-width: 10rem;
  display: grid;
  gap: 0.15rem;
  align-items: center;
}
.tx-time {
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: right;
}
.tx-export {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(238, 246, 255, 0.1);
}
.tx-export-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
}
.tx-export-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tx-export-hint {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}
@media (max-width: 560px) {
  .tx-form .tx-url-row { grid-template-columns: 1fr; }
  .tx-fader {
    grid-template-columns: 2.2rem minmax(0, 1fr) 3.1rem;
    grid-template-areas:
      "ico track val"
      "ico stepper stepper";
    gap: 0.35rem 0.55rem;
  }
  .tx-fader-ico { grid-area: ico; }
  .tx-fader-track { grid-area: track; }
  .tx-fader-val { grid-area: val; }
  .tx-stepper { grid-area: stepper; justify-self: end; }
  .tx-loop-grid { grid-template-columns: 1fr; }
}

/* Compartilhar módulo */
.module-share {
  margin: 1.15rem 0 0;
}
.module-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.72rem 1.2rem;
  border: 1px solid rgba(255, 122, 69, 0.55);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 90, 54, 0.95), rgba(255, 122, 69, 0.88) 55%, rgba(34, 211, 238, 0.55));
  color: #fff8f5;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow:
    0 8px 28px rgba(255, 90, 54, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}
.module-share-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 12px 32px rgba(255, 90, 54, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}
.module-share-btn:active:not(:disabled) {
  transform: translateY(0);
}
.module-share-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}
.module-share-ico {
  flex-shrink: 0;
}
.module-share-label {
  line-height: 1;
}
.page-hero .module-share {
  margin-top: 1.25rem;
}
.sep-hero .module-share,
.hero-compact .module-share {
  margin-top: 1rem;
}

/* —— Estúdio de ensaio —— */
.page-ensaio .ensaio-lista-layout {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
  .page-ensaio .ensaio-lista-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  }
}
.ensaio-session-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.ensaio-session-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
}
.ensaio-session-row.is-archived {
  opacity: 0.65;
}
.ensaio-session-link {
  display: grid;
  gap: 0.2rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  flex: 1;
}
.ensaio-session-link:hover strong {
  text-decoration: underline;
}

/* —— Estúdio DAW (visual alinhado ao Separar / MultiTracks) —— */
.page-ensaio-daw {
  --bg0: #050505;
  --bg1: #0a0a0a;
  background: var(--bg0);
}
body.page-ensaio-daw {
  background: var(--bg0);
}
.page-ensaio-daw .top {
  background: rgba(5, 5, 5, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.page-ensaio-daw .stage {
  width: min(1600px, calc(100% - 1rem));
  margin-bottom: 0;
  gap: 0.65rem;
  max-width: none;
}
.page-ensaio-daw .foot {
  width: min(1600px, calc(100% - 1rem));
  opacity: 0.55;
}
.ens-player {
  --playhead: 0%;
}
.ens-stage {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  align-items: stretch;
}
@media (min-width: 980px) {
  .ens-stage {
    grid-template-columns: minmax(0, 1fr) 17.5rem;
  }
}
.ens-console {
  min-height: 0;
}
.ens-console .sep-lanes {
  max-height: min(62vh, 40rem);
}
.ens-empty {
  margin: 1.5rem 0 0;
  padding: 1.25rem;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: rgba(232, 234, 237, 0.45);
  font-size: 0.9rem;
  text-align: center;
}
.ens-wave {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0 0.75rem;
  cursor: default;
}
.ens-wave-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(5, 5, 5, 0.85);
  background: color-mix(in srgb, var(--stem-accent, #22d3ee) 85%, #fff);
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
}
.ens-wave-meta {
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  color: rgba(232, 234, 237, 0.55);
}
.ens-track-more {
  display: flex;
  gap: 0.2rem;
  flex-shrink: 0;
}
.ens-ico-btn {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(232, 234, 237, 0.55);
  font-size: 0.7rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.ens-ico-dl {
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.35);
  display: inline-grid;
  place-items: center;
  text-decoration: none;
}
.ens-ico-dl:hover {
  color: #67e8f9;
  border-color: rgba(34, 211, 238, 0.65);
  background: rgba(34, 211, 238, 0.1);
}

.ens-dl-group {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.ens-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.32rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.1);
  color: #67e8f9;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.ens-dl-btn:hover {
  border-color: rgba(34, 211, 238, 0.65);
  background: rgba(34, 211, 238, 0.18);
  color: #a5f3fc;
}
.ens-dl-btn-mix {
  border-color: rgba(255, 90, 54, 0.4);
  background: rgba(255, 90, 54, 0.12);
  color: var(--coral-2);
}
.ens-dl-btn-mix:hover {
  border-color: rgba(255, 90, 54, 0.65);
  background: rgba(255, 90, 54, 0.2);
  color: #ff9b78;
}

/* Compartilhar / copiar link no header do estúdio */
.ens-share-group {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.page-ensaio-daw .sep-player-meta > .sep-chip,
.page-ensaio-daw .ens-share-group > .ens-share-btn,
.page-ensaio-daw .ens-share-group > .ens-copy-link,
.page-ensaio-daw .ens-dl-group > .ens-dl-btn {
  box-sizing: border-box;
  min-height: 1.7rem;
  line-height: 1;
}
.page-ensaio-daw .ens-share-btn.module-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin: 0;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 90, 54, 0.4);
  background: rgba(255, 90, 54, 0.12);
  color: var(--coral-2);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  line-height: 1;
  box-shadow: none;
  white-space: nowrap;
  vertical-align: middle;
}
.page-ensaio-daw .ens-share-btn.module-share-btn:hover:not(:disabled) {
  transform: none;
  filter: none;
  border-color: rgba(255, 90, 54, 0.65);
  background: rgba(255, 90, 54, 0.2);
  color: #ff9b78;
  box-shadow: none;
}
.page-ensaio-daw .ens-share-btn .module-share-ico,
.page-ensaio-daw .ens-copy-link svg {
  display: block;
  flex-shrink: 0;
}
.page-ensaio-daw .ens-share-btn .module-share-label,
.page-ensaio-daw .ens-copy-link [data-copy-label] {
  line-height: 1;
}
.ens-copy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin: 0;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(232, 234, 237, 0.85);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  vertical-align: middle;
}
.ens-copy-link:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.ens-copy-link:disabled {
  opacity: 0.7;
  cursor: wait;
}
.ensaio-session-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.ensaio-session-actions form {
  margin: 0;
  display: inline-flex;
  align-items: center;
}
.ensaio-session-actions .module-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin: 0;
  padding: 0.28rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 122, 69, 0.4);
  background: rgba(255, 90, 54, 0.12);
  color: var(--coral-2, #ff7a45);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1;
  box-shadow: none;
  white-space: nowrap;
}
.ensaio-session-actions .module-share-btn:hover:not(:disabled) {
  transform: none;
  filter: none;
  box-shadow: none;
  border-color: rgba(255, 122, 69, 0.65);
  background: rgba(255, 90, 54, 0.2);
}
.ensaio-session-actions .module-share-ico {
  display: block;
  flex-shrink: 0;
}
.ensaio-session-actions .module-share-label {
  line-height: 1;
}
.ens-dl-more {
  position: relative;
}
.ens-dl-more > summary {
  list-style: none;
  cursor: pointer;
  width: 1.6rem;
  height: 1.6rem;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(232, 234, 237, 0.65);
  font-size: 0.75rem;
}
.ens-dl-more > summary::-webkit-details-marker {
  display: none;
}
.ens-dl-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.3rem);
  z-index: 8;
  min-width: 11rem;
  display: grid;
  gap: 0.15rem;
  padding: 0.35rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0c0c0c;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}
.ens-dl-menu a {
  color: rgba(232, 234, 237, 0.85);
  text-decoration: none;
  font-size: 0.78rem;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
}
.ens-dl-menu a:hover {
  background: rgba(34, 211, 238, 0.12);
  color: #67e8f9;
}

.ens-rail {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.55rem;
  border-radius: 14px;
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 0;
}
.ens-rail-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
  padding: 0.2rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.ens-rail-tab {
  border: 0;
  background: transparent;
  color: rgba(232, 234, 237, 0.45);
  border-radius: 8px;
  padding: 0.45rem 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
}
.ens-rail-tab svg {
  flex-shrink: 0;
  opacity: 0.85;
}
.ens-rail-tab.is-on {
  background: #f8fafc;
  color: #0f172a;
}
.ens-rail-tab.is-on svg {
  opacity: 1;
}

.ens-device {
  display: grid;
  gap: 0.4rem;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background:
    linear-gradient(145deg, rgba(34, 211, 238, 0.08), transparent 55%),
    rgba(0, 0, 0, 0.28);
}
.ens-device-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.ens-device-ico {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 7px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.28);
  flex-shrink: 0;
}
.ens-device-label {
  flex: 1;
  min-width: 0;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(232, 234, 237, 0.72);
}
.ens-device-refresh {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 7px;
  border: 1px solid rgba(255, 90, 54, 0.35);
  background: rgba(255, 90, 54, 0.1);
  color: var(--coral-2);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.ens-device-refresh:hover:not(:disabled) {
  background: rgba(255, 90, 54, 0.2);
  border-color: rgba(255, 90, 54, 0.55);
  color: #ff8f66;
}
.ens-device-refresh:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.ens-device-select-wrap {
  display: block;
}
.ens-device-select {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 8, 15, 0.85);
  color: #eef6ff;
  padding: 0.48rem 0.55rem;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}
.ens-device-select:focus {
  outline: 2px solid rgba(34, 211, 238, 0.45);
  outline-offset: 1px;
}
.ens-device-select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.ens-device-status {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(232, 234, 237, 0.45);
}
.ens-device-status.is-ok {
  color: rgba(34, 211, 238, 0.9);
}
.ens-device-status.is-warn {
  color: rgba(255, 122, 69, 0.95);
}

.ens-rec-btn,
.ens-stop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.ens-rec-btn svg,
.ens-stop-btn svg {
  flex-shrink: 0;
}
.ens-rail-panel {
  display: grid;
  gap: 0.55rem;
  min-height: 0;
}
.ens-rail-title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(232, 234, 237, 0.7);
}
.ens-field {
  display: grid;
  gap: 0.25rem;
  font-size: 0.72rem;
  color: rgba(232, 234, 237, 0.5);
}
.ens-field input,
.ens-note-form textarea,
.ens-note-row input {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: #e8eaed;
  padding: 0.45rem 0.55rem;
  font: inherit;
  font-size: 0.85rem;
}
.ens-vu {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: #12161e;
  border: 1px solid #2c3440;
  overflow: hidden;
}
.ens-vu-seg {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #22d3ee, #fbbf24 72%, #ff5a36);
  transition: width 0.05s linear;
}
.ens-vu-seg.is-hot {
  filter: saturate(1.25);
}
.ens-vu-seg.is-clip {
  background: #ef4444;
}
.ens-vu-meta {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin: 0;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  color: rgba(232, 234, 237, 0.5);
}
.ens-clip {
  color: #fda4af;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.ens-rec-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}
.ens-rec-btn,
.ens-stop-btn {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.65rem 0.5rem;
  cursor: pointer;
}
.ens-rec-btn {
  background: rgba(255, 90, 54, 0.16);
  border-color: rgba(255, 90, 54, 0.45);
  color: #ff7a45;
}
.ens-rec-btn.is-live {
  background: #ff5a36;
  color: #05080f;
  box-shadow: 0 0 18px rgba(255, 90, 54, 0.35);
  animation: ens-rec-pulse 1.1s ease-in-out infinite;
}
.ens-rec-btn:disabled,
.ens-stop-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
@keyframes ens-rec-pulse {
  0%,
  100% {
    box-shadow: 0 0 12px rgba(255, 90, 54, 0.25);
  }
  50% {
    box-shadow: 0 0 22px rgba(255, 90, 54, 0.55);
  }
}
.ens-hint {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(232, 234, 237, 0.45);
  line-height: 1.35;
}
.ens-ref-form {
  display: grid;
  gap: 0.55rem;
}
.ens-drop {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 1.1rem 0.75rem 1rem;
  border-radius: 12px;
  border: 1.5px dashed rgba(34, 211, 238, 0.35);
  background:
    linear-gradient(160deg, rgba(34, 211, 238, 0.07), transparent 55%),
    rgba(0, 0, 0, 0.28);
  cursor: pointer;
  text-align: center;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}
.ens-drop:hover,
.ens-drop:focus-visible {
  border-color: rgba(34, 211, 238, 0.65);
  background:
    linear-gradient(160deg, rgba(34, 211, 238, 0.12), transparent 55%),
    rgba(0, 0, 0, 0.35);
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}
.ens-drop.is-drag {
  border-color: var(--coral);
  border-style: solid;
  background:
    linear-gradient(160deg, rgba(255, 90, 54, 0.16), transparent 55%),
    rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 24px rgba(255, 90, 54, 0.18);
  transform: scale(1.01);
}
.ens-drop.has-file {
  border-style: solid;
  border-color: rgba(34, 211, 238, 0.5);
}
.ens-drop-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}
.ens-drop-ico {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
  margin-bottom: 0.15rem;
}
.ens-drop.is-drag .ens-drop-ico {
  color: var(--coral-2);
  background: rgba(255, 90, 54, 0.14);
  border-color: rgba(255, 90, 54, 0.4);
}
.ens-drop.has-file .ens-drop-ico {
  color: #0f172a;
  background: var(--cyan);
  border-color: transparent;
}
.ens-drop-title {
  font-size: 0.86rem;
  font-weight: 750;
  color: #eef6ff;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ens-drop-sub {
  font-size: 0.72rem;
  color: rgba(232, 234, 237, 0.5);
  line-height: 1.35;
}
.ens-drop-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(34, 211, 238, 0.4);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(255, 90, 54, 0.12));
  color: #eef6ff;
  font-weight: 750;
  font-size: 0.84rem;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  transition: filter 0.15s, opacity 0.15s, border-color 0.15s;
}
.ens-drop-send:hover:not(:disabled) {
  filter: brightness(1.08);
  border-color: rgba(34, 211, 238, 0.7);
}
.ens-drop-send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.ens-drop-send.is-busy {
  opacity: 0.7;
  cursor: wait;
}
.ens-drop-send svg {
  flex-shrink: 0;
  color: var(--cyan);
}
.ens-notes-list {
  display: grid;
  gap: 0.45rem;
  max-height: 28vh;
  overflow: auto;
}
.ens-note-card {
  padding: 0.55rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.ens-note-card header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
}
.ens-note-card p {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(232, 234, 237, 0.85);
  line-height: 1.4;
}
.ens-note-time {
  color: #5eead4;
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
}
.ens-note-form {
  display: grid;
  gap: 0.4rem;
}
.ens-note-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.4rem;
  align-items: center;
}
.ens-transport-hint {
  font-size: 0.72rem;
  color: rgba(232, 234, 237, 0.4);
}
@media (max-width: 979px) {
  .ens-rail {
    order: -1;
  }
  .ens-console .sep-lanes {
    max-height: min(48vh, 28rem);
  }
}


