/* /public/css/locutores-portfolio.css */

:root {
  --portfolio-max-width: 1440px;
  --portfolio-gutter-x: 20px;

  --vp-brown: #8d4925;
  --vp-brown-dark: #6f351b;
  --vp-brown-soft: #c57d56;
  --vp-ink: #3f2c20;
  --vp-muted: #806653;
  --vp-line: #ead9ce;
  --vp-soft: #f7f1ed;
  --vp-card: #ffffff;
  --vp-shadow: 0 14px 34px rgba(75, 42, 24, .08);
}

* {
  box-sizing: border-box;
}

html,
body,
button,
input,
select,
textarea {
  font-family: Arial, sans-serif;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: #f6f3f0;
  color: var(--vp-ink);
}

button,
input,
select {
  box-sizing: border-box;
}

.portfolio-page {
  width: 100%;
  min-width: 0;
  padding-bottom: 40px;
}

.page-header,
.portfolio-explorer,
.portfolio-cards,
.portfolio-state {
  width: min(100%, var(--portfolio-max-width));
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--portfolio-gutter-x);
  padding-left: var(--portfolio-gutter-x);
}

/* ===== Cabeçalho ===== */
.page-header {
  padding-top: 4px;
  padding-bottom: 14px;
}

.page-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-heading__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ead5c8;
  border-radius: 13px;
  background: linear-gradient(145deg, #f5e8df, #efe0d5);
  color: var(--vp-brown);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.page-title {
  margin: 0;
  color: var(--vp-brown);
  font-size: 1.6rem;
  line-height: 1.15;
  font-weight: 800;
}

.page-subtitle {
  margin: 5px 0 0;
  color: var(--vp-muted);
  font-size: .9rem;
  line-height: 1.45;
}

/* ===== Filtros ===== */
.filter-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--vp-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 28px rgba(75, 42, 24, .05);
}

.filter-groups-row {
  display: grid;
  grid-template-columns: minmax(360px, .85fr) minmax(650px, 1.45fr);
  gap: 18px;
  align-items: end;
  min-width: 0;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.filter-group__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--vp-muted);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .28px;
  text-transform: uppercase;
}

.filter-group__label i {
  color: var(--vp-brown-soft);
}

.voice-filters,
.time-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  min-width: 0;
  overflow-x: auto;
  padding: 1px 1px 3px;
  scrollbar-width: none;
}

.voice-filters::-webkit-scrollbar,
.time-filters::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid #e5d8cf;
  border-radius: 999px;
  background: #fff;
  color: #654936;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform .12s ease,
    box-shadow .12s ease,
    background .12s ease,
    color .12s ease,
    border-color .12s ease;
}

.filter-btn:hover {
  transform: translateY(-1px);
  border-color: #d5b8a5;
  box-shadow: 0 7px 15px rgba(75, 42, 24, .07);
}

.filter-btn.active {
  border-color: var(--vp-brown);
  background: var(--vp-brown);
  color: #fff;
  box-shadow: 0 8px 18px rgba(141, 73, 37, .18);
}

.time-filters .st-on:not(.active) {
  border-color: #bbebcc;
  background: #ecfdf3;
  color: #166534;
}

.time-filters .st-10:not(.active) {
  border-color: #f1df97;
  background: #fff8dc;
  color: #8a5b0a;
}

.time-filters .st-30:not(.active) {
  border-color: #cfd8f6;
  background: #eef3ff;
  color: #4053a1;
}

.time-filters .st-oc:not(.active) {
  border-color: #e9d2c2;
  background: #f6ece5;
  color: var(--vp-brown);
}

.time-filters .st-off:not(.active) {
  border-color: #f2cccc;
  background: #fff0f0;
  color: #9d2d2d;
}

.search-and-sort {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 190px;
  gap: 10px;
  align-items: end;
  padding-top: 13px;
  border-top: 1px solid #eee2da;
}

.search-box {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #ddcec3;
  border-radius: 12px;
  background: #fff;
  color: #a17d64;
}

.search-box:focus-within {
  border-color: var(--vp-brown-soft);
  box-shadow: 0 0 0 3px rgba(141, 73, 37, .12);
}

#vpSearch {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--vp-ink);
  font-size: .82rem;
}

.sort-box {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sort-box > span {
  color: var(--vp-muted);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .25px;
  text-transform: uppercase;
}

#vpSort {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid #ddcec3;
  border-radius: 12px;
  outline: 0;
  background: #fff;
  color: var(--vp-ink);
  font-size: .78rem;
  font-weight: 700;
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 4px 12px;
  color: var(--vp-muted);
  font-size: .78rem;
}

.results-bar__count strong {
  color: var(--vp-brown);
  font-size: .82rem;
}

.results-bar__note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.results-bar__note i {
  color: var(--vp-brown-soft);
}

/* ===== Estado da lista ===== */
.portfolio-state {
  padding-top: 8px;
  padding-bottom: 12px;
  color: var(--vp-muted);
  font-size: .85rem;
  font-weight: 800;
}

.portfolio-hidden {
  display: none !important;
}

/* ===== Lista em faixas ===== */
.portfolio-cards {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.voice-card {
  --status-accent: var(--vp-brown);
  --status-soft: #f7f1ed;

  position: relative;
  min-width: 0;
  min-height: 88px;
  display: grid;
  grid-template-columns:
    minmax(210px, .9fr)
    minmax(155px, .56fr)
    minmax(175px, .68fr)
    minmax(300px, 1.25fr)
    minmax(118px, .44fr)
    minmax(145px, .55fr);
  align-items: center;
  gap: 14px;
  overflow: hidden;
  padding: 11px 13px 11px 17px;
  border: 1px solid rgba(141, 73, 37, .11);
  border-left: 7px solid var(--status-accent);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(75, 42, 24, .06), inset 0 3px 0 var(--status-accent);
  transition: none;
}

.voice-card::before {
  content: "";
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 7px;
  width: 3px;
  border-radius: 999px;
  background: var(--status-accent);
  opacity: .22;
}

.voice-card:hover {
  /* Mantém exatamente o mesmo visual da faixa ao passar o mouse. */
  transform: none;
  border-top-color: rgba(141, 73, 37, .11);
  border-right-color: rgba(141, 73, 37, .11);
  border-bottom-color: rgba(141, 73, 37, .11);
  border-left-color: var(--status-accent);
  background: #fff;
  box-shadow: 0 8px 22px rgba(75, 42, 24, .06), inset 0 3px 0 var(--status-accent);
}

.voice-card__top {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.voice-avatar {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: block;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 15px;
  object-fit: cover;
  background: #f3ede8;
  box-shadow: 0 5px 14px rgba(75, 42, 24, .11);
}

.voice-identity {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 6px;
}

.voice-identity__headline {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.voice-name {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--vp-ink);
  font-size: .96rem;
  line-height: 1.22;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.voice-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  overflow: hidden;
  color: #8b715e;
  font-size: .69rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.voice-location i {
  color: var(--vp-brown-soft);
}

.top10-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
  padding: 4px 7px;
  border: 1px solid #dfbd63;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff8dc, #f6e8b4);
  color: #74510a;
  font-size: .61rem;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}

.top10-badge i {
  color: #b9810c;
}

.top10-badge strong {
  padding-left: 4px;
  border-left: 1px solid rgba(116,81,10,.22);
  font-size: .59rem;
}

.voice-card__status {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.voice-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: none;
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid #ddd;
  border-radius: 999px;
  overflow: visible;
  font-size: .67rem;
  line-height: 1.15;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.voice-status__dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 999px;
  background: currentColor;
}

.voice-status__label--mobile {
  display: none;
}

.voice-card__styles {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.voice-style-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 5px 8px;
  overflow: hidden;
  border: 1px solid #e6d7cc;
  border-radius: 999px;
  background: #faf6f3;
  color: #745846;
  font-size: .61rem;
  line-height: 1;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.voice-card__demo {
  min-width: 0;
  display: flex;
  align-items: center;
}

.voice-card__demo-label {
  display: none;
  align-items: center;
  gap: 5px;
  margin: 0 0 5px 4px;
  color: #8b715e;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .22px;
  text-transform: uppercase;
}

.voice-card__demo-label i {
  color: var(--vp-brown-soft);
}

/* ===== Demonstrativo principal ===== */
.demo-label {
  display: none;
}

.demo-player {
  min-width: 0;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 5px 3px 4px;
  border: 1px solid #eadbd1;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #faf5f1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 4px 12px rgba(75, 42, 24, .045);
}

.demo-player__play {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--vp-brown);
  color: #fff;
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease;
}

.demo-player__play:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.demo-player__track {
  min-width: 65px;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

.demo-player__progress {
  width: 100%;
  height: 4px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  outline: none;
  background:
    linear-gradient(
      to right,
      var(--vp-brown) 0%,
      var(--vp-brown) var(--vp-progress, 0%),
      #e9ddd5 var(--vp-progress, 0%),
      #e9ddd5 100%
    );
  cursor: pointer;
}

.demo-player__progress::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--vp-brown);
  box-shadow: 0 1px 5px rgba(75, 42, 24, .28);
}

.demo-player__progress::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--vp-brown);
  box-shadow: 0 1px 5px rgba(75, 42, 24, .28);
}

.demo-player__time {
  min-width: 68px;
  color: #7d6758;
  font-size: .62rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.demo-player audio {
  display: none;
}

.demo-player__download {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2cfc2;
  border-radius: 999px;
  background: #fff;
  color: var(--vp-brown);
  text-decoration: none;
  transition: transform .12s ease, background .12s ease, color .12s ease;
}

.demo-player__download:hover {
  transform: translateY(-1px);
  background: var(--vp-brown);
  color: #fff;
}

.demo-empty {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #dccdc3;
  border-radius: 999px;
  background: #faf7f4;
  color: #947866;
  font-size: .7rem;
  font-weight: 800;
}

/* ===== Confiança e ação ===== */
.voice-trust {
  min-width: 0;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.rating-row {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
}

.stars {
  display: inline-flex;
  gap: 2px;
  white-space: nowrap;
}

.stars i {
  color: #f6b60a;
  font-size: .72rem;
}

.rating-average {
  color: #5c4637;
  font-size: .7rem;
  font-weight: 900;
}

.rating-count,
.voice-new {
  color: #907665;
  font-size: .64rem;
  white-space: nowrap;
}

.voice-new {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border: 1px solid #eadfd7;
  border-radius: 999px;
  background: #f7f1ed;
  font-weight: 800;
}

.voice-card__actions {
  min-width: 0;
}

.profile-btn {
  width: 100%;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid var(--vp-brown);
  border-radius: 10px;
  background: var(--vp-brown);
  color: #fff;
  font-size: .71rem;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.profile-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 8px 16px rgba(141, 73, 37, .16);
}

.cards-empty {
  grid-column: 1 / -1;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px dashed #d8c7bb;
  border-radius: 18px;
  background: rgba(255, 255, 255, .75);
  color: var(--vp-muted);
  text-align: center;
}

.cards-empty i {
  color: var(--vp-brown-soft);
  font-size: 1.6rem;
}


/* ===== Modal ===== */
.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}

.portfolio-modal.open {
  display: block;
}

.portfolio-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 22, 14, .48);
  backdrop-filter: blur(2px);
}

.portfolio-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  padding: 18px;
  overflow: auto;
  border: 1px solid rgba(141, 73, 37, .15);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 75px rgba(0, 0, 0, .26);
}

.portfolio-modal__close {
  position: sticky;
  top: 0;
  z-index: 3;
  float: right;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #ead7ca;
  border-radius: 11px;
  background: #fff;
  color: var(--vp-brown);
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(75, 42, 24, .08);
}

.modal-content {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 14px;
  clear: both;
}

.modal-box {
  min-width: 0;
  padding: 15px;
  border: 1px solid #eadfd7;
  border-radius: 16px;
  background: #fff;
}

.modal-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}

.modal-avatar {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border: 1px solid #ead7ca;
  border-radius: 17px;
  object-fit: cover;
  background: #f5efea;
}

.modal-name {
  margin: 0 0 6px;
  color: var(--vp-brown);
  font-size: 1.05rem;
  font-weight: 900;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid #ead7ca;
  border-radius: 999px;
  background: #fff8f4;
  color: #765946;
  font-size: .7rem;
  font-weight: 800;
}

.modal-title-small {
  margin: 0 0 9px;
  color: var(--vp-brown);
  font-size: .9rem;
  font-weight: 900;
}

.modal-bio {
  margin: 10px 0 0;
  color: #4f4036;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.modal-profile-list,
.modal-review-list,
.modal-demo-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
}

.modal-profile-list li {
  color: #4f4036;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.modal-profile-list strong {
  color: #4f4036;
  font-weight: 800;
}

.modal-profile-list .restriction,
.modal-profile-list .restriction strong {
  color: #a73434;
}

.modal-demo-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border: 1px solid #eadfd7;
  border-radius: 13px;
  background: #faf7f4;
}

.modal-demo-name {
  color: #765946;
  font-size: .76rem;
  font-weight: 900;
}

.modal-demo-player {
  display: flex;
  align-items: center;
  gap: 9px;
}

.modal-demo-player audio {
  width: 100%;
  min-width: 0;
  height: 35px;
}

.modal-demo-audio-wrap {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.modal-demo-duration {
  display: inline-flex;
  align-self: flex-start;
  color: #765946;
  font-size: .72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.modal-demo-audio-wrap audio {
  width: 100%;
  min-width: 0;
  height: 35px;
}

.modal-demo-download {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2cfc2;
  border-radius: 999px;
  background: #fff;
  color: var(--vp-brown);
  text-decoration: none;
}

.modal-review-summary {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
}

.modal-review-item {
  padding: 10px;
  border: 1px solid #eadfd7;
  border-radius: 12px;
  background: #faf7f4;
}

.modal-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
  color: #765946;
  font-size: .75rem;
  font-weight: 900;
}

.modal-review-comment {
  margin-top: 6px;
  color: #4f4036;
  font-size: .8rem;
  line-height: 1.45;
}

.modal-empty {
  color: #907665;
  font-size: .8rem;
}

/* ===== Alinhamento dentro do SPA ===== */
.content-area .page-header,
.content-area .portfolio-explorer,
.content-area .portfolio-cards,
.content-area .portfolio-state,
#conteudo-dinamico .page-header,
#conteudo-dinamico .portfolio-explorer,
#conteudo-dinamico .portfolio-cards,
#conteudo-dinamico .portfolio-state {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  padding-right: 0;
  padding-left: 0;
}

@media (max-width: 1260px) {
  .filter-groups-row {
    grid-template-columns: 1fr;
  }

  .voice-filters,
  .time-filters {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .voice-card {
    grid-template-columns:
      minmax(195px, .86fr)
      minmax(145px, .52fr)
      minmax(155px, .62fr)
      minmax(255px, 1.12fr)
      minmax(105px, .42fr)
      minmax(128px, .5fr);
    gap: 11px;
  }

  .demo-player__time {
    min-width: 60px;
  }
}

@media (max-width: 1100px) {
  .voice-card__styles {
    display: none;
  }

  .voice-card {
    grid-template-columns:
      minmax(205px, .9fr)
      minmax(145px, .54fr)
      minmax(280px, 1.2fr)
      minmax(110px, .44fr)
      minmax(132px, .52fr);
  }
}

@media (max-width: 980px) {
  .voice-card {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "identity status"
      "demo demo"
      "trust action";
    gap: 9px 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .voice-card__top {
    grid-area: identity;
  }

  .voice-card__status {
    grid-area: status;
    justify-content: flex-end;
  }

  .voice-card__demo {
    grid-area: demo;
  }

  .voice-trust {
    grid-area: trust;
    justify-content: flex-start;
  }

  .rating-row {
    justify-content: flex-start;
  }

  .voice-card__actions {
    grid-area: action;
    width: 160px;
  }
}

@media (max-width: 820px) {
  .search-and-sort {
    grid-template-columns: 1fr;
  }

  .results-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .results-bar__note {
    white-space: normal;
  }


  .modal-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  :root {
    --portfolio-gutter-x: 10px;
  }

  .page-heading {
    align-items: flex-start;
  }

  .page-title {
    font-size: 1.35rem;
  }

  .page-subtitle {
    font-size: .82rem;
  }

  .filter-panel {
    padding: 13px;
  }

  /* No celular, cada locutor continua em formato de faixa, mas só com o essencial. */
  .portfolio-cards {
    gap: 7px;
  }

  .voice-card {
    grid-template-columns: 44px minmax(0, 1fr) 34px 94px;
    grid-template-rows: auto auto;
    grid-template-areas:
      "avatar identity demo action"
      "avatar status   demo action";
    gap: 3px 7px;
    min-height: 62px;
    padding: 8px 8px 8px 10px;
    border-left-width: 6px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(75, 42, 24, .055), inset 0 2px 0 var(--status-accent);
  }

  .voice-card::before {
    top: 7px;
    bottom: 7px;
    left: 6px;
    width: 2px;
  }

  .voice-card:hover {
    transform: none;
  }

  /* Permite que foto e identidade ocupem células próprias da faixa. */
  .voice-card__top {
    display: contents;
  }

  .voice-avatar {
    grid-area: avatar;
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    align-self: center;
    border-radius: 11px;
  }

  .voice-identity {
    grid-area: identity;
    align-self: end;
    gap: 0;
  }

  .voice-identity__headline {
    flex-wrap: nowrap;
    gap: 4px;
  }

  .voice-name {
    font-size: .76rem;
    line-height: 1.12;
  }

  .voice-location {
    display: none;
  }

  .top10-badge {
    flex: 0 0 auto;
    padding: 3px 5px;
    gap: 3px;
    font-size: .49rem;
  }

  .top10-badge strong {
    display: none;
  }

  .voice-card__status {
    grid-area: status;
    align-self: start;
    justify-content: flex-start;
  }

  .voice-status {
    width: fit-content;
    max-width: 100%;
    flex: 0 1 auto;
    gap: 4px;
    padding: 3px 6px;
    overflow: hidden;
    font-size: .54rem;
    line-height: 1;
  }

  .voice-status__dot {
    width: 5px;
    height: 5px;
    flex-basis: 5px;
  }

  .voice-status__label--desktop {
    display: none;
  }

  .voice-status__label--mobile {
    display: inline;
  }

  .voice-card__demo {
    grid-area: demo;
    align-self: center;
  }

  .voice-card__demo-label,
  .demo-player__track,
  .demo-player__time,
  .demo-player__download {
    display: none;
  }

  .demo-player {
    min-height: 0;
    gap: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .demo-player__play {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }

  .demo-empty {
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    overflow: hidden;
    border-radius: 999px;
    font-size: 0;
  }

  .demo-empty i {
    font-size: .8rem;
  }

  .voice-trust {
    display: none;
  }

  .voice-card__actions {
    grid-area: action;
    width: 94px;
    align-self: center;
  }

  .profile-btn {
    min-height: 34px;
    gap: 3px;
    padding: 6px 7px;
    border-radius: 8px;
    font-size: .58rem;
  }

  .profile-btn i {
    display: none;
  }

  .portfolio-modal__dialog {
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
    margin: 8px auto;
    padding: 12px;
    border-radius: 16px;
  }
}

@media (max-width: 380px) {
  .voice-card {
    grid-template-columns: 41px minmax(0, 1fr) 32px 87px;
    gap: 3px 6px;
    padding-right: 7px;
  }

  .voice-avatar {
    width: 41px;
    height: 41px;
    flex-basis: 41px;
  }

  .demo-player__play,
  .demo-empty {
    width: 32px;
    height: 32px;
    min-height: 32px;
    flex-basis: 32px;
  }

  .voice-card__actions {
    width: 87px;
  }

  .profile-btn {
    min-height: 32px;
    padding-right: 5px;
    padding-left: 5px;
    font-size: .54rem;
  }
}
