/* ==========================================================================
   CONSOLIDATED PROFILE TAB STYLES (frendrs)
   Consolidates Albums, Instantes (Momentos), Círculos (Grupos), Cast & WeMove.
   ========================================================================== */

.profile-tab-panel,
.album-modal {
  /* Variable mapping for design tokens to keep styling identical to frendrs2 */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --color-background: #FFFFFF;
  --color-surface: #FFFFFF;
  --color-surface-muted: rgba(0, 0, 0, 0.03);
  --color-text: #000000;
  --color-text-muted: #808080;
  --color-border: rgba(128, 128, 128, 0.15);
  --color-border-soft: rgba(128, 128, 128, 0.08);
  --color-primary: #000000;
  --color-primary-strong: #000000;
  --color-danger: #ff3b30;
  --radius-pill: 9999px;
  --font-weight-bold: 800;
  --font-weight-semibold: 700;
  --font-size-lg: 1.15rem;
  --line-height-tight: 1.2;
}

/* Garante que [hidden] sempre vença qualquer display dos componentes */
.profile-tab-panel[hidden] {
  display: none !important;
}

/* ==========================================================================
   1. ALBUM TAB STYLES
   ========================================================================== */
.album-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  gap: var(--space-1);
  padding: var(--space-2) 0;
  overflow: visible;
  /* Não cortar o scroll horizontal do row */
}

.album-section-row {
  display: grid;
  grid-template-columns: repeat(4, clamp(15rem, 85vw, 20rem));
  gap: var(--space-2);
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  /* Habilita drag lateral e vertical no mobile */
  padding: var(--space-1) var(--space-1) var(--space-3) var(--space-1);
  /* Respiro nas bordas */
  cursor: grab;
}

.album-section-row:active {
  cursor: grabbing;
}

.album-section-row::-webkit-scrollbar {
  display: none;
}

.album-card {
  display: flex;
  width: clamp(15rem, 85vw, 20rem);
  min-width: 0;
  flex-direction: column;
}

.album-card-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  /* Proporção padrão 3:4 */
  flex: 0 0 auto;
  background-size: cover;
  background-position: center;
  border-radius: 0.75rem;
  /* Quadrado com cantos arredondados sutil */
  overflow: hidden;
  border: 1px solid rgba(128, 128, 128, 0.12);
}

.album-card-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 0.15rem;
  background: var(--color-surface-muted);
}

.album-card-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Organic varying rectangle layout filling the grid */
.album-card-mosaic img:nth-child(1) {
  grid-area: 1 / 1 / 4 / 3;
}

.album-card-mosaic img:nth-child(2) {
  grid-area: 1 / 3 / 3 / 5;
}

.album-card-mosaic img:nth-child(3) {
  grid-area: 3 / 3 / 4 / 4;
}

.album-card-mosaic img:nth-child(4) {
  grid-area: 3 / 4 / 4 / 5;
}

.album-card-mosaic img:nth-child(5) {
  grid-area: 4 / 1 / 5 / 2;
}

.album-card-mosaic img:nth-child(6) {
  grid-area: 4 / 2 / 5 / 3;
}

.album-card-mosaic img:nth-child(7) {
  grid-area: 4 / 3 / 5 / 4;
}

.album-card-mosaic img:nth-child(8) {
  grid-area: 4 / 4 / 5 / 5;
}

.album-card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
  z-index: 1;
}

.album-card-cover .album-card-stats {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.album-card-cover .album-card-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.album-card-cover .album-card-stat svg {
  width: 0.85rem;
  height: 0.85rem;
  stroke: currentColor;
}

.album-card-meta {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.album-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.album-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: var(--space-2);
}

.album-card-heading .album-card-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.album-card-location {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.2rem;
  color: var(--color-text-muted);
  font-size: 0.7rem;
  font-weight: 500;
}

.album-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: auto;
  font-size: 0.5rem;
}

.album-card-location svg {
  width: 0.75rem;
  height: 0.75rem;
  flex-shrink: 0;
}

.album-card-location span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.album-card-caption {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.2;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.album-card-date {
  flex: 0 0 auto;
  font-size: 0.65rem;
  color: var(--color-text-muted);
  opacity: 0.7;
  white-space: nowrap;
}

/* ==========================================================================
   ALBUM MODAL
   ========================================================================== */
.album-modal {
  --album-modal-panel-padding-x: 0.5rem;
  --album-modal-panel-padding-y: 0;
  --album-modal-rail-width: 4.75rem;
  --album-modal-photo-width: clamp(24rem, 42vw, 32rem);
  --album-modal-info-width: clamp(22rem, 30vw, 26rem);
  --album-modal-gap: 0;
  --album-modal-panel-width: min(94vw,
      calc(var(--album-modal-rail-width) + var(--album-modal-photo-width) + var(--album-modal-info-width) + (var(--album-modal-panel-padding-x) * 2)));

  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  /* Higher than header and bottom nav */
}

.album-modal.open {
  display: flex;
}

.album-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 60%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.album-modal-panel {
  position: relative;
  z-index: 201;
  width: clamp(20rem, 94vw, 28rem);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-surface);
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 2rem rgb(0 0 0 / 35%);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Header */
.album-modal-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  /* Aproxima o título do autor */
  width: 100%;
}

.album-modal-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.album-modal-title-group {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.album-modal-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.album-modal-close {
  z-index: 2;
  display: inline-grid;
  flex: 0 0 1.75rem;
  width: 1.75rem;
  min-width: 1.75rem;
  height: 1.75rem;
  min-height: 1.75rem;
  padding: 0;
  aspect-ratio: 1 / 1;
  place-items: center;
  background: transparent;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  font-size: 0;
  font-weight: 400;
  line-height: 1;
  transition: opacity 160ms ease, transform 160ms ease;
}



.album-modal-close:active {
  transform: scale(0.96);
}

/* Card da Foto 3:4 */
.album-modal-photo-card {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--color-surface-muted);
}

.album-modal-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-modal-gallery-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.album-modal-stats {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.album-modal-stat-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.album-modal-stat-item svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
}

.album-modal-report-mini {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.2s, opacity 0.2s;
}



.album-modal-report-mini svg {
  width: 1rem;
  height: 1rem;
}

/* Main media */
/* Nav */

.album-modal-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-grid;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  min-width: 2.5rem;
  height: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
  aspect-ratio: 1 / 1;
  place-items: center;
  background: rgb(255 255 255 / 86%);
  border: 0.0625rem solid var(--color-border-soft);
  border-radius: 50%;
  color: var(--color-text);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background-color 160ms ease,
    color 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

.album-modal-nav:active {
  transform: translateY(-50%) scale(0.96);
}

.album-modal-nav[disabled] {
  cursor: default;
  opacity: 0.35;
  pointer-events: none;
}

.album-modal-nav svg {
  width: 1.25rem;
  height: 1.25rem;
}

.album-modal-nav-prev {
  left: 0.25rem;
}

.album-modal-nav-next {
  right: 0.25rem;
}

/* Info panel */
.album-modal-info {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.album-modal-info-header {
  display: flex;
  flex-direction: column;
}

.album-modal-meta-line {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
}

.album-modal-by {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.album-modal-user {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.album-modal-title {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

.album-modal-caption {
  margin: 0.25rem 0;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1;
  overflow-wrap: anywhere;
}

.album-modal-location-text {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 0.25rem;
  overflow: hidden;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.album-modal-location-name,
.album-modal-location-separator,
.album-modal-location-date {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.album-modal-location-separator {
  display: none;
}

.album-modal-location-date {
  flex: 0 0 auto;
}

.album-modal-gallery {
  width: 100%;
}

.album-modal-gallery-title {
  margin: 0;
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
}

.album-modal-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.album-modal-thumb {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--color-surface-muted);
  border: 0.125rem solid transparent;
  border-radius: 0.5rem;
  cursor: pointer;
}



.album-modal-thumb.is-active {
  border-color: var(--color-primary);
}

.album-modal-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 64rem) {
  .album-modal-panel {
    width: clamp(20rem, 94vw, 24rem);
  }
}

@media (max-width: 40rem) {
  .album-modal-panel {
    width: 94vw;
  }
}

/* Removed redundant media query as panel now handles responsiveness elegantly */

/* ==========================================================================
   2. INSTANTES (MOMENTOS) TAB STYLES
   ========================================================================== */
.momentos-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4) 0;
}

.momento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 0.0625rem solid var(--color-border);
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: var(--color-surface);
  margin-bottom: 0.5rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease;
}.momento-card-rail {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 0.65rem 1rem;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.65); /* Beautiful white frosted glass strip under the photo */
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 0.0625rem solid var(--color-border);
}



.momento-card-badge {
  display: inline-grid;
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
  place-items: center;
  color: var(--color-surface); /* White icon */
  background: var(--color-text); /* Solid dark contrast background */
  border-radius: 0.4rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.momento-card-badge svg {
  width: 1.15rem;
  height: 1.15rem;
}



.momento-card-rail-item {
  display: flex;
  align-items: center;
  min-width: 0;
  flex-direction: column;
  gap: 0.1rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1;
}



.momento-card-rail-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.25rem 0.55rem;
  background: rgba(128, 128, 128, 0.12);
  border: 1px solid rgba(128, 128, 128, 0.18);
  border-radius: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.62rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

.momento-card-rail-header svg {
  width: 0.7rem;
  height: 0.7rem;
}

.momento-card-rail-item svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.momento-card-rail-item span {
  max-width: 100%;
  overflow: hidden;
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.momento-card-rail-item small {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.62rem;
  font-weight: var(--font-weight-semibold);
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.8;
}

.momento-card-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.momento-card-media {
  width: 100%;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-bottom: 0.0625rem solid var(--color-border);
}

.momento-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3);
}

.momento-card-byline {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.momento-card-byline strong {
  color: var(--color-text);
}

.momento-card-body p {
  font-size: 0.82rem;
  line-height: 1.25;
  color: var(--color-text);
  margin: 0;
  font-weight: 500;
}

.momento-card-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* ==========================================================================
   3. CÍRCULOS (GRUPOS) TAB STYLES
   ========================================================================== */
.circulos-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4) 0;
}

.circulos-section-header h3 {
  margin: 0;
  font-size: var(--font-size-lg);
  line-height: var(--line-height-tight);
  font-weight: 800;
}

.circulos-section-header p {
  margin: var(--space-1) 0 0;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.circulos-nav {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.circulos-nav .circulos-filter {
  background: none;
  border: 0.0625rem solid rgba(128, 128, 128, 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  min-height: auto;
  color: var(--color-text-muted);
  transition: all 0.2s ease;
}

.circulos-nav .circulos-filter[aria-pressed="true"] {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.circulos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: var(--space-4);
}

.circulo-card {
  padding: var(--space-4);
  border: 0.0625rem solid var(--color-border);
  border-radius: 0.75rem;
  background-color: var(--color-surface);
}

.circulo-card h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  font-weight: 800;
}

.circulo-card-meta {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.circulo-card[hidden] {
  display: none !important;
}

/* ==========================================================================
   4. CAST TAB STYLES
   ========================================================================== */
.cast-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4) 0;
}

.cast-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 0.0625rem solid var(--color-border);
  border-radius: 0.75rem;
  background-color: var(--color-surface);
}

.cast-card-pinned {
  grid-template-columns: 4rem 1fr;
  padding: 0;
  gap: 0;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-background) 0%, var(--color-surface-muted) 100%);
  border-color: var(--color-border);
}

.cast-pinned-rail {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-2);
  width: 4rem;
  color: #ffffff;
  background-color: #000000;
  border-right: 0.0625rem solid var(--color-border);
}

.cast-pinned-rail svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cast-card-body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cast-card-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
}

.cast-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.cast-card-heading h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.cast-card-heading span {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.cast-card-heading .cast-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background-color: var(--color-surface-muted);
  padding: 0.2rem 0.5rem;
  border-radius: 2rem;
  color: var(--color-text);
}

.cast-card-info audio {
  width: 100%;
  height: 2rem;
  border-radius: 2rem;
}

.cast-card-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.cast-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.cast-card-meta svg {
  width: 0.85rem;
  height: 0.85rem;
  stroke: currentColor;
}

.cast-card-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
}

.cast-card-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   5. WEMOVE TAB STYLES
   ========================================================================== */
.wemove-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4) 0;
}

.move-card {
  content-visibility: auto;
  contain: layout paint style;
  contain-intrinsic-size: auto 20rem;
  display: grid;
  grid-template-columns: 4rem 1fr;
  height: 20rem;
  overflow: hidden;
  position: relative;
  background: var(--color-surface);
  border: 0.0625rem solid var(--color-border);
  border-radius: 1rem;
}

.move-card-rail {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: var(--space-3);
  width: 4rem;
  padding: var(--space-3) var(--space-2);
  color: #ffffff;
  background-color: #000000;
}

.move-card-rail-header {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding-bottom: var(--space-2);
  border-bottom: 0.0625rem dashed rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

.move-card-badge {
  display: inline-grid;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  place-items: center;
  color: #000000;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  background: #ffffff;
  border-radius: 0.5rem;
  /* Unificado rounded square */
}

.move-card-badge svg {
  width: 1.25rem;
  height: 1.25rem;
}

.move-card-rail-item {
  display: flex;
  align-items: center;
  min-width: 0;
  flex-direction: column;
  gap: 0.15rem;
  color: #ffffff;
  text-align: center;
  line-height: 1;
}

.move-card-rail-item svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.move-card-rail-item span {
  max-width: 100%;
  overflow: hidden;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.move-card-rail-item small {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.62rem;
  font-weight: var(--font-weight-semibold);
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.8;
}

.move-card-content {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
}

.move-card-media {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.move-card-map {
  background:
    linear-gradient(90deg, rgb(0 0 0 / 4%) 0.0625rem, transparent 0.0625rem),
    linear-gradient(0deg, rgb(0 0 0 / 4%) 0.0625rem, transparent 0.0625rem),
    linear-gradient(145deg, #f6f6f6 0%, #efefef 54%, #ffffff 100%);
  background-size: 2.5rem 2.5rem, 2.5rem 2.5rem, 100% 100%;
}

.move-map-road {
  position: absolute;
  display: block;
  background: rgb(255 255 255 / 78%);
  border: 0.0625rem solid rgb(0 0 0 / 5%);
  box-shadow: 0 0.25rem 1rem rgb(0 0 0 / 4%);
}

.move-map-road-main {
  top: 48%;
  left: -8%;
  width: 118%;
  height: 1.85rem;
  border-radius: var(--radius-pill);
  transform: rotate(-15deg);
}

.move-map-road-cross {
  top: -14%;
  left: 62%;
  width: 1.75rem;
  height: 132%;
  border-radius: var(--radius-pill);
  transform: rotate(21deg);
}

.move-map-road-soft {
  top: 20%;
  left: -10%;
  width: 76%;
  height: 1.1rem;
  border-radius: var(--radius-pill);
  opacity: 0.72;
  transform: rotate(27deg);
}

.move-map-route {
  position: absolute;
  inset: 8% 4%;
  width: 92%;
  height: 84%;
}

.move-map-route-shadow,
.move-map-route-line {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.move-map-route-shadow {
  stroke: rgb(255 255 255 / 88%);
  stroke-width: 0.7rem;
}

.move-map-route-line {
  stroke: #000000;
  stroke-dasharray: 0.15rem 0.55rem;
  stroke-width: 0.24rem;
}

.move-map-pin {
  position: absolute;
  display: block;
  width: 0.8rem;
  height: 0.8rem;
  background: #000000;
  border: 0.15rem solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0.35rem 1rem rgb(0 0 0 / 18%);
}

.move-map-pin-start {
  right: 83%;
  bottom: 21%;
}

.move-map-pin-end {
  top: 30%;
  right: 8%;
}

.move-map-chip {
  position: absolute;
  right: var(--space-3);
  bottom: var(--space-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.5rem;
  padding: 0 var(--space-2);
  color: #ffffff;
  background: #000000;
  border-radius: var(--radius-pill);
  box-shadow: 0 0.4rem 1.1rem rgb(0 0 0 / 14%);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.move-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3);
}

.move-card-byline {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--color-text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: lowercase;
}

.move-card-byline strong {
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 700;
}

.move-card-body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--color-text);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.25;
  -webkit-box-orient: vertical;
}

.move-card-meta {
  display: flex;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.move-card-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   6. CITAÇÕES TAB STYLES
   ========================================================================== */
.citacoes-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4) 0;
}

/* Card Fixado (com rail lateral) */
.citacao-card-pinned {
  display: grid;
  grid-template-columns: 4rem 1fr;
  border: 0.0625rem solid var(--color-border);
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: var(--color-surface);
}

.citacao-pinned-rail {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: var(--space-3);
  width: 4rem;
  padding: var(--space-3) var(--space-2);
  color: #ffffff;
  background-color: #000000;
}

.citacao-pinned-rail-header {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

.citacao-pinned-mark {
  display: inline-grid;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  place-items: center;
  background: #ffffff;
  border-radius: 0.5rem;
}

.citacao-pinned-mark-icon {
  width: 1.25rem;
  height: 1.25rem;
  filter: invert(1);
}

.citacao-pinned-rail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1;
  text-align: center;
  font-size: 0.65rem;
}

.citacao-pinned-rail-item svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.citacao-pinned-rail-item span {
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Card Regular */
.citacao-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 0.0625rem solid var(--color-border);
  border-radius: 0.75rem;
  background-color: var(--color-surface);
  transition: border-color 0.15s ease;
}

.citacao-card-pinned .citacao-card-mark,
.citacao-card-pinned .citacao-card-content {
  padding: var(--space-4) var(--space-3);
}

.citacao-card-mark {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
}

.citacao-icon {
  width: 1.75rem;
  height: 1.75rem;
  opacity: 0.15;
}

.citacao-card-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
  flex: 1;
}

.citacao-text {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
}

.citacao-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.citacao-card-author {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.citacao-card-stats {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.citacao-card-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--color-text-muted);
  font-size: 0.7rem;
  font-weight: 600;
}

.citacao-card-stat svg {
  width: 0.85rem;
  height: 0.85rem;
  flex: 0 0 auto;
  stroke: currentColor;
}

.citacao-card-stat small {
  font-size: 0.6rem;
  font-weight: 500;
  opacity: 0.7;
}
/* ==========================================================================
   Componentes: Navegação Horizontal (Tabs)
   ========================================================================== */
.profile-tabs {
  display: flex;
  gap: 1rem;
  padding: 0.25rem 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  /* Firefox */
  border-bottom: 0.0625rem solid rgba(128, 128, 128, 0.12);
  /* Vidro fosco sticky */
  position: sticky;
  top: var(--app-header-height, 2.95rem);
  z-index: 40;
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  backdrop-filter: blur(12px) saturate(180%);
  transition: background-color 0.18s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.18s ease;
  border-radius: 0 0 0.25rem 0.25rem;
}

.profile-tabs::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.nav-item {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 0.1875rem solid transparent;
}

.nav-item.active {
  border-bottom: 0.0625rem solid var(--text-secondary);
  /* Linha ativa no topo solicitada pelo usuário */
}

/* ==========================================================================
   Componentes: Conteúdo do Perfil
   ========================================================================== */
.profile-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* 1. Capa de Perfil & Carrossel */
.profile-cover-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  background-color: var(--text-secondary);
  overflow: hidden;
}

.profile-cover-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  cursor: grab;
}

.profile-cover-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.profile-cover-track.active-drag {
  cursor: grabbing;
  scroll-behavior: auto; /* disable smooth scroll during active drag to avoid lag */
}

.profile-cover-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-indicator {
  position: absolute;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.3);
  padding: 0.25rem 0.375rem;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  backdrop-filter: blur(0.25rem);
}

.carousel-indicator .indicator-dot {
  width: 0.3125rem;
  height: 0.3125rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  transition: width 0.2s, background-color 0.2s;
}

.carousel-indicator .indicator-dot.active {
  width: 0.75rem;
  height: 0.25rem;
  border-radius: 0.125rem;
  background-color: #FFFFFF;
}

/* 2. Avatar e Botões de Ação */
.avatar-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-inline: 0.5rem;
  position: relative;
  height: clamp(2rem, 10vw, 2.75rem);
  /* Altura controlada para acomodar a sobreposição */
}

.profile-avatar {
  background-color: #000000;
  color: #FFFFFF;
  width: clamp(4.25rem, 17vw, 5.25rem);
  height: clamp(4.25rem, 17vw, 5.25rem);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-size: clamp(1.75rem, 7vw, 2.2rem);
  border-radius: 1.25rem;
  /* Quadrado com cantos arredondados elegante e sutil */
  position: absolute;
  bottom: 0;
  left: 0.5rem;
  z-index: 10;
  border: 1px solid #fff;
}

.profile-actions {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
  align-items: center;
  padding-bottom: 0.125rem;
}

.btn-action {
  background-color: var(--bg-color);
  color: var(--text-primary);
  border: 0.0625rem solid rgba(128, 128, 128, 0.3);
  border-radius: 2rem;
  padding: 0.25rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: 'Darker Grotesque', sans-serif;
  cursor: pointer;
  line-height: 1.2;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* 3. Detalhes do Perfil (Nome, Bio) */
.profile-details {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.profile-name {
  font-weight: 800;
  font-size: clamp(1.35rem, 6vw, 1.65rem);
  line-height: 1.1;
  color: var(--text-primary);
}

.profile-handle {
  font-size: clamp(0.8rem, 3vw, 0.9rem);
  color: var(--text-secondary);
  font-weight: 500;
}

/* 3.1 Métricas do Perfil (Seguidores, Seguindo, Publicações) */
.profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  /* Espaço horizontal entre as métricas (12px) */
  margin-top: 0.35rem;
  /* Margem sutil abaixo do handle */
  margin-bottom: 0.5rem;
  /* Margem antes da bio */
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 0.1875rem;
  /* Espaço sutil entre o número e o texto (3px) */
  font-size: 0.75rem;
  /* Tamanho de fonte delicado compatível com metadados (12px) */
  line-height: 1;
}

.stat-value {
  font-weight: 800;
  color: var(--text-primary);
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-last-seen {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  /* Joga para o extremo direito se houver espaço */
  color: var(--text-muted, #9ca3af);
  font-size: 0.7rem;
  font-weight: 500;
}

.profile-bio {
  font-size: clamp(0.85rem, 3.2vw, 0.95rem);
  color: var(--text-primary);
  line-height: 1.1;
  font-weight: 500;
  margin: 0.25rem 0;
}

/* 4. Metadados do Perfil */
.profile-metadata {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1;
}

.meta-item svg {
  color: var(--text-secondary);
  opacity: 0.8;
  width: 0.75rem;
  height: 0.75rem;
  /* Correção óptica de alinhamento visual (puxa 1px para baixo) */
  transform: translateY(0.0625rem);
}

/* ==========================================================================
   Componentes: Conteúdo das Abas (Bento Grid Layout)
   ========================================================================== */
.tab-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense;
  /* Preenche buracos automaticamente */
  gap: 0.5rem;
  padding: 1rem 0.25rem;
  margin-bottom: 2rem;
}

.bento-card {
  background-color: var(--surface-color);
  border: 0.0625rem solid rgba(128, 128, 128, 0.15);
  border-radius: 0.75rem;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.bento-card.span-2 {
  grid-column: span 2;
}

.bento-card.photo-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  grid-row: span 2;
  border: 0.0625rem solid rgba(128, 128, 128, 0.15);
}

.bento-card.photo-card>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1rem;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.8) 100%);
  color: #FFFFFF;
}

.photo-card-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
}

.photo-card-text {
  flex: 1;
}

.photo-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.15rem;
  line-height: 1.1;
  color: #FFFFFF;
}

.photo-card-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}

.photo-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #FFFFFF;
  color: #000000;
  border: none;
  border-radius: 2rem;
  padding: 0.5rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
  flex-shrink: 0;
}

.photo-card-btn:active {
  transform: scale(0.95);
  opacity: 0.9;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.card-icon {
  color: var(--text-secondary);
  opacity: 0.8;
  width: 0.75rem;
  height: 0.75rem;
  transform: translateY(0.0625rem);
  /* Correção óptica de alinhamento visual */
}

.group-title {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  line-height: 1;
}

/* Rótulos e Valores dos Widgets Bento */
.widget-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.15rem;
}

/* Card 1: Básicos */
.basics-widget {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.metric-row {
  display: flex;
  gap: 1.25rem;
}

.metric-item {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.metric-value {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
}

.metric-unit {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.location-widget {
  border-top: 0.0625rem solid rgba(128, 128, 128, 0.1);
  padding-top: 0.35rem;
}

.location-widget .widget-value {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.location-widget .widget-sub-value {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

/* Card 2: Conexão */
.connection-widget {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.connection-item {
  display: flex;
  flex-direction: column;
}

.connection-value {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
}

/* Card 3: Carreira & Idiomas */
.career-widget {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.career-column,
.languages-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.career-value {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
}

.career-institution {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.2;
  display: block;
  margin-top: 0.15rem;
}

.career-year {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-secondary);
  opacity: 0.7;
  display: block;
  margin-top: 0.05rem;
}

.languages-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.language-badge {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.1rem;
}

.badge-sub {
  font-size: 0.45em;
  vertical-align: super;
  font-weight: 700;
  margin-left: 0.125rem;
  color: #808080;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   4. ABOUT WIDGET - SOBRE MIM
   ========================================================================== */
.about-widget {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.about-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}

/* ==========================================================================
   5. MOMENT WIDGET - MEU MOMENTO
   ========================================================================== */
.moment-widget {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.moment-badges {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.1rem;
}

.moment-badge {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  padding-left: 0.35rem;
  border-left: 0.1rem solid rgba(128, 128, 128, 0.2);
  padding-top: 0.1rem;
}

/* ==========================================================================
   6. LIFESTYLE WIDGET - MEU JEITO
   ========================================================================== */
.lifestyle-widget {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.lifestyle-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lifestyle-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.lifestyle-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}

/* ==========================================================================
   7. ENTERTAINMENT WIDGET - MÚSICA & SÉRIE
   ========================================================================== */
.entertainment-widget {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.entertainment-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.entertainment-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.1rem;
}

.entertainment-item {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  padding-left: 0.35rem;
  border-left: 0.1rem solid rgba(128, 128, 128, 0.2);
  padding-top: 0.1rem;
}

/* ==========================================================================
   8. LIVED WIDGET - JÁ MOREI
   ========================================================================== */
.lived-widget {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lived-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.1rem;
}

.lived-location {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  padding-left: 0.35rem;
  border-left: 0.1rem solid rgba(128, 128, 128, 0.2);
  padding-top: 0.1rem;
}

/* ==========================================================================
   9. TRAVEL WIDGET - QUERO VISITAR
   ========================================================================== */
.travel-widget {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.travel-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.1rem;
}

.travel-location {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  padding-left: 0.35rem;
  border-left: 0.1rem solid rgba(128, 128, 128, 0.2);
  padding-top: 0.1rem;
}

/* Card Especial: Conectar Prompt (Invertido e com Destaque Tipográfico) */
.connect-prompt-card {
  margin-top: 0.25rem;
  background-color: var(--text-primary);
  /* Fundo Preto Puro */
  border: 0.0625rem solid rgba(255, 255, 255, 0.15);
  /* Borda sutil branca */
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.prompt-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.prompt-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  transition: opacity 0.3s ease;
}

.prompt-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.01em;
}

.prompt-subtitle {
  font-size: 1.3rem;
  font-weight: 500;
  color: #ffffff;
}

.btn-connect {
  background-color: #ffffff;
  /* Botão Branco */
  color: #000000;
  /* Texto Preto */
  border: none;
  border-radius: 2rem;
  padding: 0.45rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.btn-connect:active {
  transform: scale(0.98);
}

/* Estado Conectando */
.btn-connect.connecting {
  background-color: #e6e6e6;
  cursor: default;
}

/* Estado Conectado */
.btn-connect.connected {
  background-color: rgba(255, 255, 255, 0.1);
  /* Transparente com borda sutil */
  color: rgba(255, 255, 255, 0.6);
  border: 0.0625rem solid rgba(255, 255, 255, 0.2);
  cursor: default;
  transform: none;
}
