:root {
  --bg: #0d1020;
  --panel: #151a2f;
  --panel-2: #1c2442;
  --text: #f6f7fb;
  --muted: #aeb6d6;
  --primary: #ff2e63;
  --primary-2: #ff7a18;
  --line: rgba(255,255,255,.12);
  --shadow: 0 20px 50px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255,46,99,.20), transparent 30rem),
    radial-gradient(circle at top right, rgba(255,122,24,.16), transparent 26rem),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(13,16,32,.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 900;
  letter-spacing: -.03em;
  font-size: 1.15rem;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .8rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 24px rgba(255,46,99,.32);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--muted);
  font-weight: 700;
}
.top-nav a { padding: .6rem .75rem; border-radius: .8rem; }
.top-nav a:hover { background: rgba(255,255,255,.08); color: var(--text); }

main { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 2rem;
  align-items: end;
  padding: clamp(2.2rem, 6vw, 5rem) 0 2rem;
}

.eyebrow {
  color: #ffd08a;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 900;
  margin: 0 0 .7rem;
}

h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2rem, 6vw, 4.6rem); line-height: .95; letter-spacing: -.06em; margin-bottom: 1rem; }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); letter-spacing: -.04em; }
h3 { letter-spacing: -.03em; }
.hero-text { color: var(--muted); font-size: 1.08rem; line-height: 1.65; max-width: 65ch; }

.search-box,
.audio-card,
.single-card,
.login-card,
.admin-form.wide,
.table-wrap,
.empty-state,
.share-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 1.5rem;
}

.search-box { padding: 1.2rem; }
.search-box label { display: block; color: var(--muted); font-weight: 800; margin-bottom: .7rem; }
.search-row { display: flex; gap: .6rem; }
.search-row input,
.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.08);
  color: var(--text);
  border-radius: .95rem;
  padding: .9rem 1rem;
  outline: none;
}
.search-row input:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus { border-color: rgba(255,46,99,.65); }
.search-row button,
.btn-primary,
.btn-secondary,
.big-play {
  border: 0;
  border-radius: .95rem;
  padding: .9rem 1rem;
  font-weight: 900;
  white-space: nowrap;
}
.search-row button,
.btn-primary,
.big-play {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 26px rgba(255,46,99,.24);
}
.btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,.09);
  border: 1px solid var(--line);
}

.content-wrap { padding: 1rem 0 4rem; }
.section-head,
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0 1.3rem;
}
.section-head span { color: var(--muted); font-weight: 800; }

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

.audio-card {
  position: relative;
  overflow: hidden;
  padding: 1.1rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.audio-card:before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 150px;
  height: 150px;
  background: rgba(255,46,99,.14);
  border-radius: 999px;
  filter: blur(2px);
}
.instant-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 6px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: white;
  font-size: 2rem;
  background: radial-gradient(circle at 35% 25%, #ff9a9e, var(--primary) 48%, #9a0036 100%);
  box-shadow: inset 0 -10px 18px rgba(0,0,0,.28), 0 18px 30px rgba(255,46,99,.26);
  margin-bottom: 1rem;
  transition: transform .15s ease, filter .15s ease;
}
.instant-btn:hover { transform: translateY(-2px) scale(1.02); filter: brightness(1.08); }
.instant-btn.playing { animation: pulse .8s infinite alternate; }
@keyframes pulse { from { transform: scale(1); } to { transform: scale(1.06); } }
.audio-card h3 { margin-bottom: .45rem; font-size: 1.02rem; }
.audio-card h3 a:hover { color: #ffd08a; }
.audio-card p { color: var(--muted); line-height: 1.45; font-size: .92rem; }
.card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem;
  margin-top: auto;
}
.card-actions a,
.link-button {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.08);
  color: var(--text);
  padding: .45rem .58rem;
  border-radius: .7rem;
  font-size: .84rem;
  font-weight: 800;
}
.link-button { border-style: solid; }
.card-actions a:hover,
.link-button:hover { background: rgba(255,255,255,.14); }

.single-audio { padding: 2rem 0 4rem; }
.back-link { color: var(--muted); display: inline-flex; margin-bottom: 1rem; font-weight: 800; }
.single-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
  padding: clamp(1rem, 3vw, 2rem);
}
.cover-wrap {
  aspect-ratio: 1 / 1;
  border-radius: 1.2rem;
  overflow: hidden;
  background: var(--panel-2);
}
.cover-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.single-info h1 { font-size: clamp(2rem, 5vw, 4rem); }
.description { color: var(--muted); line-height: 1.7; }
.big-play { display: inline-flex; align-items: center; gap: .7rem; margin: 1rem 0; }
.single-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1rem 0 1rem; }
.stats { color: var(--muted); display: flex; gap: .8rem; font-weight: 800; margin-top: 1rem; }

.empty-state { text-align: center; padding: 3rem 1rem; }
.empty-state p { color: var(--muted); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%) translateY(20px);
  background: #fff;
  color: #111;
  padding: .85rem 1rem;
  border-radius: .9rem;
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  font-weight: 900;
  z-index: 30;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
}

/* Admin */
.admin-main { padding: 1.5rem 0 4rem; }
.login-card { width: min(460px, 100%); margin: 3rem auto; padding: 1.4rem; }
.admin-form { display: grid; gap: 1rem; }
.admin-form label { display: grid; gap: .45rem; color: var(--muted); font-weight: 800; }
.admin-form small { color: var(--muted); font-weight: 600; }
.admin-form.wide { padding: 1.2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.preview-img { max-width: 180px; border-radius: 1rem; border: 1px solid var(--line); margin-top: .5rem; }
.alert { padding: .9rem 1rem; border-radius: .9rem; margin-bottom: 1rem; font-weight: 800; }
.alert.success { background: rgba(39, 174, 96, .18); border: 1px solid rgba(39, 174, 96, .35); }
.alert.error { background: rgba(255, 46, 99, .18); border: 1px solid rgba(255, 46, 99, .35); }
.table-wrap { overflow-x: auto; padding: .8rem; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.admin-table th,
.admin-table td { padding: .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.admin-table th { color: var(--muted); font-size: .88rem; }
.admin-table small { color: var(--muted); }
.pill { display: inline-flex; padding: .25rem .55rem; border-radius: 99px; font-size: .8rem; font-weight: 900; }
.pill.on { color: #b7ffd5; background: rgba(39,174,96,.18); }
.pill.off { color: #ffd1d1; background: rgba(255,46,99,.18); }
.row-actions { display: flex; gap: .55rem; align-items: center; flex-wrap: wrap; }
.row-actions a,
.row-actions button {
  color: var(--text);
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
  padding: .45rem .6rem;
  border-radius: .7rem;
  font-weight: 800;
}
.row-actions form { display: inline; margin: 0; }

@media (max-width: 760px) {
  .hero, .single-card, .form-grid { grid-template-columns: 1fr; }
  .site-header { align-items: flex-start; }
  .top-nav { font-size: .9rem; gap: .2rem; }
  .search-row { flex-direction: column; }
  .section-head, .admin-toolbar { align-items: flex-start; flex-direction: column; }
  .single-card { gap: 1rem; }
  h1 { line-height: 1.02; }
  .share-icons { grid-template-columns: 1fr 1fr; }
}

/* Imagem clicável */
.cover-wrap.cover-play {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: #fff;
  text-align: inherit;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.cover-wrap.cover-play:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0,0,0,.08), rgba(0,0,0,.34));
  opacity: 0;
  transition: opacity .18s ease;
}
.cover-wrap.cover-play:hover:after,
.cover-wrap.cover-play.playing:after {
  opacity: 1;
}
.cover-play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border: 5px solid rgba(255,255,255,.18);
  box-shadow: 0 14px 35px rgba(255,46,99,.35);
  font-weight: 900;
  font-size: 1.65rem;
  opacity: .92;
  transition: transform .18s ease, opacity .18s ease, filter .18s ease;
}
.cover-wrap.cover-play:hover .cover-play-icon {
  transform: translate(-50%, -50%) scale(1.06);
  filter: brightness(1.08);
  opacity: 1;
}
.cover-wrap.cover-play.playing .cover-play-icon {
  animation: pulse .8s infinite alternate;
}

/* Painel premium de compartilhamento */
.share-panel {
  position: relative;
  padding: 1rem;
  margin-top: .35rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
    radial-gradient(circle at top right, rgba(255,122,24,.16), transparent 10rem),
    radial-gradient(circle at bottom left, rgba(255,46,99,.16), transparent 12rem);
}
.share-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 45%, rgba(255,255,255,.04));
}
.share-panel-head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: .9rem;
}
.share-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: .42rem .72rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.share-panel-text {
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.55;
  margin: 0;
}
.share-icons {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
.share-icon {
  position: relative;
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 56px;
  padding: .9rem 1rem;
  border-radius: 1rem;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: 0 12px 30px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, filter .18s ease;
  overflow: hidden;
}
.share-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15), transparent 55%);
  pointer-events: none;
}
.share-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  filter: brightness(1.04);
}
.share-icon svg {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px;
  display: block;
  position: relative;
  z-index: 1;
}
.share-icon span {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-weight: 900;
  font-size: .95rem;
  letter-spacing: -.01em;
}
button.share-icon {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}
.share-discord { background: linear-gradient(135deg, #6d78ff, #5865f2); }
.share-telegram { background: linear-gradient(135deg, #34b7f1, #229ed9); }
.share-x { background: linear-gradient(135deg, #161616, #000000); }
.share-whatsapp { background: linear-gradient(135deg, #38e27b, #25d366); }
.share-facebook { background: linear-gradient(135deg, #2f8cff, #1877f2); }
.share-pinterest { background: linear-gradient(135deg, #ff3357, #e60023); }

/* checkbox/painel admin anteriores */
.checkbox-line {
  display: inline-flex !important;
  grid-template-columns: auto 1fr !important;
  align-items: center;
  gap: .55rem !important;
  margin-top: .5rem;
  color: var(--text) !important;
  font-weight: 900 !important;
}
.checkbox-line input[type="checkbox"] {
  width: auto;
  min-width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--primary);
}
.image-default-option {
  padding: .65rem .75rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  border-radius: .8rem;
}


/* =========================================================
   Estilo PortalPower: Compartilhar + ícones quadrados
   Referência: artigo do PortalPower com WhatsApp, Telegram,
   Facebook, X e Pinterest na mesma linha.
   ========================================================= */
.share-row-portalpower {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin: 8px 0 10px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.share-row-portalpower::before,
.share-row-portalpower::after {
  content: none !important;
  display: none !important;
}
.share-label-portalpower {
  display: inline-flex !important;
  align-items: center !important;
  height: 36px !important;
  margin: 0 4px 0 0 !important;
  padding: 0 !important;
  color: #ffffff !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 14px !important;
  line-height: 36px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.share-icons-portalpower {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin: 0 !important;
  padding: 0 !important;
}
.share-icons-portalpower .share-icon {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 7px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  color: #fff !important;
  text-decoration: none !important;
  overflow: hidden !important;
  box-shadow: none !important;
  background-image: none !important;
  backdrop-filter: none !important;
  transition: transform .14s ease, filter .14s ease !important;
}
.share-icons-portalpower .share-icon::before,
.share-icons-portalpower .share-icon::after {
  content: none !important;
  display: none !important;
}
.share-icons-portalpower .share-icon:hover {
  transform: translateY(-1px) !important;
  filter: brightness(1.08) !important;
  box-shadow: none !important;
}
.share-icons-portalpower .share-icon svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 18px !important;
}
.share-icons-portalpower .share-icon span {
  display: none !important;
}
.share-icons-portalpower .share-whatsapp { background: #25d366 !important; }
.share-icons-portalpower .share-telegram { background: #229ed9 !important; }
.share-icons-portalpower .share-facebook { background: #1877f2 !important; }
.share-icons-portalpower .share-x { background: #000000 !important; }
.share-icons-portalpower .share-pinterest { background: #e60023 !important; }

@media (max-width: 640px) {
  .share-row-portalpower {
    gap: 7px !important;
  }
  .share-label-portalpower {
    width: 100% !important;
    height: auto !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
  }
}


/* Patch: anúncios/HTML acima e abaixo do bloco do áudio */
.audio-ad {
  width: 100%;
  margin: 1rem 0;
  text-align: center;
  overflow: visible;
}

.audio-ad-top {
  margin-top: 0;
  margin-bottom: 1.2rem;
}

.audio-ad-bottom {
  margin-top: 1.2rem;
  margin-bottom: 0;
}

.audio-ad iframe,
.audio-ad ins,
.audio-ad img,
.audio-ad video {
  max-width: 100%;
}

.audio-ad .adsbygoogle {
  display: block;
  max-width: 100%;
}

.ads-form textarea {
  min-height: 220px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .92rem;
  line-height: 1.5;
  resize: vertical;
}

.admin-help {
  color: var(--muted);
  margin: .25rem 0 0;
  max-width: 760px;
  line-height: 1.55;
}

.ads-note {
  padding: .9rem 1rem;
  border-radius: .95rem;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.55;
}

.ads-note code {
  color: #fff;
  background: rgba(0,0,0,.25);
  border-radius: .35rem;
  padding: .1rem .35rem;
}


/* Patch: anúncios na home + campo de Analytics */
.audio-ad {
  width: 100%;
  margin: 1rem 0;
  text-align: center;
  overflow: visible;
}

.audio-ad-top {
  margin-top: 0;
  margin-bottom: 1.2rem;
}

.audio-ad-bottom {
  margin-top: 1.2rem;
  margin-bottom: 0;
}

.audio-ad iframe,
.audio-ad ins,
.audio-ad img,
.audio-ad video {
  max-width: 100%;
}

.audio-ad .adsbygoogle {
  display: block;
  max-width: 100%;
}

.ads-form textarea {
  min-height: 220px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .92rem;
  line-height: 1.5;
  resize: vertical;
}

.admin-help {
  color: var(--muted);
  margin: .25rem 0 0;
  max-width: 760px;
  line-height: 1.55;
}

.ads-note {
  padding: .9rem 1rem;
  border-radius: .95rem;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.55;
}

.ads-note code {
  color: #fff;
  background: rgba(0,0,0,.25);
  border-radius: .35rem;
  padding: .1rem .35rem;
}


/* Patch: opção para ocultar anúncios por áudio */
.admin-option-box {
  display: grid;
  gap: .45rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  border-radius: 1rem;
}

.admin-option-box small {
  color: var(--muted);
  line-height: 1.45;
}

.no-ads-label {
  display: inline-flex;
  margin-top: .25rem;
  color: #ffd08a !important;
  font-weight: 900;
}


/* Patch: breadcrumbs visíveis + BreadcrumbList para SEO */
.breadcrumbs {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 800;
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  max-width: 100%;
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  color: rgba(255,255,255,.38);
  font-weight: 900;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color .15s ease;
}

.breadcrumbs a:hover {
  color: #ffd08a;
}

.breadcrumbs span[aria-current="page"] {
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(52vw, 620px);
}

@media (max-width: 640px) {
  .breadcrumbs {
    font-size: .85rem;
  }

  .breadcrumbs span[aria-current="page"] {
    max-width: 76vw;
  }
}


/* Correção visual do breadcrumb: sem lista numerada */
.breadcrumbs-inline {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: .45rem !important;
  width: 100% !important;
  margin: 0 0 1rem !important;
  padding: 0 !important;
  text-align: left !important;
  color: var(--muted) !important;
  font-size: .92rem !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}

.breadcrumbs-inline a {
  color: var(--muted) !important;
  text-decoration: none !important;
}

.breadcrumbs-inline a:hover {
  color: #ffd08a !important;
}

.breadcrumbs-inline .breadcrumb-sep {
  color: rgba(255,255,255,.42) !important;
  font-weight: 900 !important;
}

.breadcrumbs-inline span[aria-current="page"] {
  color: #fff !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  max-width: min(62vw, 650px) !important;
}

@media (max-width: 640px) {
  .breadcrumbs-inline {
    font-size: .85rem !important;
  }

  .breadcrumbs-inline span[aria-current="page"] {
    max-width: 82vw !important;
  }
}


/* Patch: SEO da Home no painel */
.seo-form textarea {
  resize: vertical;
  line-height: 1.55;
}

.seo-preview-img {
  width: min(320px, 100%);
  max-width: 320px;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.seo-preview-box {
  display: grid;
  gap: .35rem;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: .95rem;
  background: rgba(255,255,255,.06);
  color: var(--muted);
  line-height: 1.5;
}

.seo-preview-box strong {
  color: #fff;
}

.seo-preview-box span {
  color: #ffd08a;
  font-weight: 900;
}

/* Patch: painel do sitemap */
.sitemap-panel {
  display: grid;
  gap: 1rem;
}

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

.sitemap-info-grid a {
  color: #ffd08a;
  font-weight: 900;
  word-break: break-all;
}

@media (max-width: 760px) {
  .sitemap-info-grid {
    grid-template-columns: 1fr;
  }
}


/* Ajuste visual do breadcrumb: letra menor e mais respiro */
.breadcrumbs-inline {
  margin: .55rem 0 1.25rem !important;
  padding: .35rem 0 .55rem !important;
  font-size: .82rem !important;
  line-height: 1.55 !important;
  gap: .35rem !important;
}

.breadcrumbs-inline a,
.breadcrumbs-inline span[aria-current="page"] {
  line-height: 1.55 !important;
}

.breadcrumbs-inline .breadcrumb-sep {
  margin: 0 .08rem !important;
}

.breadcrumbs-inline span[aria-current="page"] {
  white-space: normal !important;
  max-width: 100% !important;
  word-break: break-word !important;
}

.single-audio {
  padding-top: .5rem !important;
}

.single-card {
  margin-top: .15rem !important;
}

@media (max-width: 640px) {
  .breadcrumbs-inline {
    font-size: .76rem !important;
    line-height: 1.5 !important;
    margin: .45rem 0 1rem !important;
    padding: .25rem 0 .45rem !important;
  }
}

/* Correção: botão central da capa não pode perder o translate quando entra em playing */
.cover-wrap.cover-play .cover-play-icon {
  transform: translate(-50%, -50%);
  transform-origin: center center;
  will-change: transform;
}

.cover-wrap.cover-play.playing .cover-play-icon,
.cover-wrap.cover-play.playing:hover .cover-play-icon {
  transform: translate(-50%, -50%) !important;
  animation: coverPulseCentered .8s infinite alternate !important;
}

@keyframes coverPulseCentered {
  from {
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    transform: translate(-50%, -50%) scale(1.06);
  }
}

/* Home: pequenos reforços para recentes e Top 10 */
.home-section + .home-section {
  margin-top: 2.4rem;
}

.top-audio-card {
  border-color: rgba(255, 208, 138, .28);
}

.rank-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 .5rem;
  border-radius: 999px;
  color: #111;
  background: linear-gradient(135deg, #ffd08a, #ffb347);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  font-weight: 950;
  font-size: .9rem;
}

.top-play-count {
  color: #ffd08a !important;
  font-weight: 900;
  margin: -.15rem 0 .75rem;
}

@media (max-width: 640px) {
  .home-section + .home-section {
    margin-top: 1.8rem;
  }
}


/* Patch premium: painel mais leve, selects escuros e formulário menos “estourado” */
.admin-main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.admin-toolbar {
  align-items: flex-end;
  margin: 1.35rem 0 1.15rem;
}

.admin-toolbar h1 {
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  line-height: 1;
  letter-spacing: -.055em;
  margin-bottom: .35rem;
}

.admin-toolbar .eyebrow {
  margin-bottom: .45rem;
}

.admin-form.wide {
  padding: clamp(1rem, 2.2vw, 1.35rem);
  border-radius: 1.35rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)),
    radial-gradient(circle at top right, rgba(255,46,99,.08), transparent 22rem);
}

.admin-form label {
  gap: .42rem;
  color: #c4cced;
  font-weight: 760;
  letter-spacing: -.01em;
}

.admin-form small,
.admin-help,
.media-note {
  color: #aeb6d6 !important;
  font-weight: 520 !important;
  line-height: 1.45;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  min-height: 52px;
  border: 1px solid rgba(255,255,255,.13);
  background-color: rgba(255,255,255,.075);
  color: #f6f7fb;
  border-radius: 1rem;
  padding: .86rem 1rem;
  font-weight: 560 !important;
  letter-spacing: -.01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.admin-form textarea {
  min-height: 136px;
  line-height: 1.58;
  resize: vertical;
}

.admin-form input::placeholder,
.admin-form textarea::placeholder {
  color: rgba(246,247,251,.48);
  font-weight: 520;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
  border-color: rgba(255,46,99,.76);
  background-color: rgba(255,255,255,.095);
  box-shadow: 0 0 0 4px rgba(255,46,99,.13), inset 0 1px 0 rgba(255,255,255,.06);
}

/* Select/dropdown escuro */
.admin-form select,
.admin-sort-form select {
  color-scheme: dark;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.8rem;
  background-image:
    linear-gradient(45deg, transparent 50%, #ffd08a 50%),
    linear-gradient(135deg, #ffd08a 50%, transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.075));
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%,
    0 0;
  background-size:
    6px 6px,
    6px 6px,
    100% 100%;
  background-repeat: no-repeat;
}

.admin-form select option,
.admin-sort-form select option {
  background: #171b2f;
  color: #f6f7fb;
  font-weight: 560;
}

.admin-form select option:checked,
.admin-sort-form select option:checked {
  background: #ff2e63;
  color: #fff;
}

.admin-option-box {
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  border-color: rgba(255,255,255,.12);
  border-radius: 1.05rem;
}

.checkbox-line {
  font-weight: 720 !important;
}

.checkbox-line input[type="checkbox"] {
  width: 1.05rem !important;
  min-width: 1.05rem !important;
  height: 1.05rem !important;
  margin: 0 .15rem 0 0;
}

.image-default-option {
  background: rgba(255,255,255,.045) !important;
  border-color: rgba(255,255,255,.11) !important;
}

.preview-img {
  max-width: 210px;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 14px 32px rgba(0,0,0,.22);
}

/* Biblioteca de mídia mais premium */
.image-library-grid {
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)) !important;
  gap: .8rem !important;
  max-height: 360px !important;
  padding: .8rem !important;
  border-radius: 1.1rem !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025)) !important;
}

.image-choice img {
  border-radius: .9rem !important;
  border: 2px solid rgba(255,255,255,.08) !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.image-choice input:checked + img {
  border-color: #ffd08a !important;
  box-shadow: 0 0 0 4px rgba(255,208,138,.16), 0 12px 24px rgba(0,0,0,.22);
}

/* Tabela/painel mais refinado */
.admin-table th {
  color: #b9c2e5;
  font-weight: 850;
  letter-spacing: -.01em;
}

.admin-table td {
  font-weight: 560;
}

.admin-table td strong {
  font-weight: 800;
}

.row-actions a,
.row-actions button,
.btn-secondary {
  font-weight: 780;
}

.btn-primary,
.search-row button,
.big-play {
  font-weight: 840;
}

/* Home/cards: evita aparência pesada demais */
.audio-card h3 {
  font-weight: 820;
}

.audio-card p,
.description,
.hero-text {
  font-weight: 480;
}

@media (max-width: 760px) {
  .admin-toolbar h1 {
    font-size: clamp(1.75rem, 9vw, 2.65rem);
  }

  .admin-form input,
  .admin-form textarea,
  .admin-form select {
    min-height: 50px;
  }
}



/* Mobile: duas colunas sempre equilibradas, sem último card sozinho */
@media (max-width: 760px) {
  .audio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .7rem !important;
    align-items: stretch !important;
  }

  .audio-grid > .audio-card:last-child:nth-child(odd) {
    display: none !important;
  }

  .audio-card {
    min-width: 0 !important;
  }

  .audio-card h3,
  .audio-card .audio-card-title {
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 340px) {
  .audio-grid {
    grid-template-columns: 1fr !important;
  }

  .audio-grid > .audio-card:last-child:nth-child(odd) {
    display: flex !important;
  }
}


/* Ajustes extras de harmonia da home e categoria */
@media (max-width: 760px) {
  .hero.hero-fixed .hero-search-banner img {
    max-height: 260px !important;
    transform: scale(1.10) !important;
    transform-origin: center bottom !important;
  }
}

@media (max-width: 520px) {
  .hero.hero-fixed .hero-search-banner img {
    max-height: 235px !important;
    transform: scale(1.13) !important;
  }
}


/* Fallback: banner sem corte e busca menor */
.hero.hero-fixed .hero-search-banner,
.hero.hero-fixed .hero-search-side {
  overflow: visible !important;
}

.hero.hero-fixed .hero-search-banner img {
  object-fit: contain !important;
  transform: none !important;
}

@media (min-width: 981px) {
  .hero.hero-fixed .home-search-box {
    width: min(100%, 465px) !important;
    max-width: 465px !important;
    margin-inline: auto !important;
  }
}

@media (max-width: 520px) {
  .hero.hero-fixed .hero-search-banner img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    transform: none !important;
  }
}
