/* ============================================================
   VINILVERSO — identidade visual
   Fundo: cera escura e quente (nao preto puro).
   Acento: dourado de foil de label + oxblood como secundario.
   Assinatura: numeros de catalogo e matriz sempre em fonte MONO,
   como se estivessem gravados no deadwax.
   ============================================================ */

:root {
  --wax:        #17120f;  /* fundo */
  --wax-2:      #1f1915;  /* superficie */
  --wax-3:      #2a221c;  /* superficie elevada */
  --sleeve:     #362b23;  /* bordas */
  --gold:       #d8a24a;  /* acento principal */
  --gold-soft:  #e7c98a;
  --oxblood:    #a8432f;  /* acento secundario */
  --ink:        #f0e7d8;  /* texto */
  --ink-soft:   #b6a892;  /* texto secundario */
  --ink-mute:   #8a7d6b;  /* texto terciario */
  --ok:         #7fa86a;
  --danger:     #c0563f;
  --radius:     10px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
  --nav-bg:    rgba(15, 11, 9, 0.85);
  --body-grad-top: #241c16;
  --overlay:   rgba(10, 7, 5, 0.62);
}

/* ---------- tema claro ---------- */
:root[data-theme="light"] {
  --wax:        #f3ecdd;
  --wax-2:      #fbf7ee;
  --wax-3:      #efe6d4;
  --sleeve:     #ddd0b8;
  --gold:       #bd8a2b;
  --gold-soft:  #8a5e12;
  --oxblood:    #a8432f;
  --ink:        #2a2018;
  --ink-soft:   #6b5d49;
  --ink-mute:   #928574;
  --nav-bg:     rgba(251, 247, 238, 0.9);
  --body-grad-top: #f8f2e6;
  --overlay:    rgba(60, 45, 30, 0.35);
}
:root[data-theme="light"] .alert.err  { background:#f8e2da; color:#8a2f1c; border-color:#e6b3a4; }
:root[data-theme="light"] .alert.info { background:#f6eccf; color:#7a5a10; border-color:#e2cf97; }
:root[data-theme="light"] .alert.ok   { background:#e6f0d8; color:#3f5a1f; border-color:#c4d9a8; }

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 50% -10%, var(--body-grad-top) 0%, var(--wax) 60%);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--gold-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- layout ---------- */

.nav {
  display: flex; align-items: center; gap: 20px;
  padding: 14px 22px;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--sleeve);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
}
.brand {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--ink); display: flex; align-items: center; gap: 10px;
}
.brand .disc {
  width: 22px; height: 22px; border-radius: 50%;
  background:
    radial-gradient(circle, var(--gold) 0 3px, transparent 3px),
    repeating-radial-gradient(circle, #0000 0 1.5px, #00000055 1.5px 2.2px),
    #0d0a08;
}
.nav .spacer { flex: 1; }
.nav a { color: var(--ink-soft); font-size: 15px; }
.nav a.active { color: var(--gold); }

.container { max-width: 900px; margin: 0 auto; padding: 26px 20px 80px; }
.narrow { max-width: 440px; }

/* ---------- tipografia ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; color: var(--ink); margin: 0 0 8px; }
h1 { font-size: 30px; }
h2 { font-size: 22px; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 4px;
}
.muted { color: var(--ink-soft); }
.mono { font-family: var(--font-mono); }

/* codigos gravados (catalogo, matriz) */
.code {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--gold-soft); letter-spacing: 0.5px;
}

/* ---------- cards / superficies ---------- */

.card {
  background: var(--wax-2);
  border: 1px solid var(--sleeve);
  border-radius: var(--radius);
  padding: 22px;
}
.card + .card { margin-top: 16px; }

/* ---------- formularios ---------- */

label.field { display: block; margin-bottom: 14px; }
label.field span { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 5px; }
input, textarea {
  width: 100%; padding: 11px 13px;
  background: var(--wax); color: var(--ink);
  border: 1px solid var(--sleeve); border-radius: 8px;
  font-family: var(--font-body); font-size: 15px;
}
input:focus, textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
textarea { resize: vertical; min-height: 70px; }
.row { display: flex; gap: 12px; }
.row > * { flex: 1; }

/* ---------- botoes ---------- */

button {
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  padding: 11px 18px; border-radius: 8px; cursor: pointer;
  border: 1px solid transparent; background: var(--gold); color: #23180a;
  transition: filter 0.15s;
}
button:hover { filter: brightness(1.08); }
button.ghost { background: transparent; border-color: var(--sleeve); color: var(--ink); }
button.ghost:hover { border-color: var(--gold); }
button.link { background: none; border: none; color: var(--gold-soft); padding: 4px; }
button.danger { background: transparent; border-color: var(--danger); color: var(--danger); }
button:disabled { opacity: 0.5; cursor: default; filter: none; }
.btn-sm { padding: 6px 12px; font-size: 13px; }

/* ---------- avisos ---------- */

.alert { padding: 11px 14px; border-radius: 8px; font-size: 14px; margin-bottom: 14px; }
.alert.err { background: #3a1c15; color: #f0b6a6; border: 1px solid #5c2a1e; }
.alert.info { background: #2a2416; color: var(--gold-soft); border: 1px solid #4a3d1f; }
.alert.ok { background: #1f2a18; color: #c4e0b0; border: 1px solid #35471f; }

/* ---------- perfil ---------- */

.profile-head { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.avatar {
  width: 96px; height: 96px; border-radius: 50%;
  border: 3px solid var(--gold); object-fit: cover;
  background: var(--wax-3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 34px; color: var(--gold);
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.chip {
  font-family: var(--font-mono); font-size: 12px;
  padding: 3px 9px; border-radius: 20px;
  background: var(--wax-3); color: var(--ink-soft); border: 1px solid var(--sleeve);
}

/* ---------- acervo (record cards) ---------- */

.acervo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px; margin-top: 12px;
}
.record {
  background: var(--wax-3); border: 1px solid var(--sleeve);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
}
.record .cover {
  aspect-ratio: 1; background: #0d0a08; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.record .cover img { width: 100%; height: 100%; object-fit: cover; }
.record .cover .groove {
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle, var(--oxblood) 0 14%, transparent 15%),
    repeating-radial-gradient(circle, #1a1512 0 2px, #000 2px 3.4px);
}
.record .body { padding: 13px 14px 15px; }
.record .body .title { font-weight: 600; font-size: 15px; line-height: 1.3; }
.record .body .artist { color: var(--ink-soft); font-size: 14px; margin-bottom: 8px; }
.record .press {
  display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 12px;
  border-top: 1px dashed var(--sleeve); padding-top: 9px; margin-top: 4px;
}
.record .press .lbl { color: var(--ink-mute); }
.record .press .val { font-family: var(--font-mono); color: var(--gold-soft); }

/* ---------- listas de gente ---------- */

.people { display: flex; flex-direction: column; gap: 10px; }
.person { display: flex; align-items: center; gap: 12px; }
.person .avatar { width: 44px; height: 44px; font-size: 18px; border-width: 2px; }
.person .grow { flex: 1; }

/* ---------- picker do discogs ---------- */

.result {
  display: flex; gap: 12px; padding: 10px; border-radius: 8px;
  border: 1px solid var(--sleeve); background: var(--wax-3); cursor: pointer; align-items: center;
}
.result:hover { border-color: var(--gold); }
.result img, .result .ph {
  width: 54px; height: 54px; border-radius: 6px; object-fit: cover;
  background: #0d0a08; flex-shrink: 0;
}
.result .meta { flex: 1; min-width: 0; }
.result .meta .t { font-size: 14px; font-weight: 500; }

.tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.tabs button { background: var(--wax-3); color: var(--ink-soft); border: 1px solid var(--sleeve); }
.tabs button.active { background: var(--gold); color: #23180a; border-color: var(--gold); }

.empty { text-align: center; color: var(--ink-mute); padding: 30px 10px; }

/* nav: desktop mostra os links; celular mostra o hamburguer */
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-mobile { display: none; align-items: center; gap: 10px; }
.hamburger {
  background: transparent; border: 1px solid var(--sleeve); color: var(--ink);
  width: 38px; height: 38px; padding: 0; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
}
.hamburger:hover { border-color: var(--gold); filter: none; }
.nav-drawer {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--wax-2); border-bottom: 1px solid var(--sleeve);
  flex-direction: column; padding: 6px 16px 14px; gap: 2px;
  box-shadow: 0 14px 28px rgba(0,0,0,.45);
  max-height: calc(100dvh - 60px); overflow-y: auto;
}
/* fundo escurecido atras da gaveta */
.nav-scrim { position: fixed; inset: 0; background: var(--overlay); border: none; }
body.no-scroll { overflow: hidden; }
.nav-drawer a, .nav-drawer .link {
  padding: 13px 2px; font-size: 16px; text-align: left;
  border-bottom: 1px solid var(--sleeve); color: var(--ink-soft);
}
.nav-drawer .link:last-child { border-bottom: none; color: var(--danger); }

/* ---------- responsivo (tablet) ---------- */
@media (max-width: 900px) {
  .container { padding: 22px 16px 70px; }
  .acervo-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

/* ---------- responsivo (celular) ---------- */
@media (max-width: 720px) {
  .nav { gap: 10px; padding: 11px 14px; position: sticky; }
  .nav-links { display: none; }
  .nav-mobile { display: flex; }
  .nav-drawer { display: flex; }
  .brand { font-size: 19px; }

  .container { padding: 18px 14px 60px; }
  h1 { font-size: 24px; }
  h2 { font-size: 19px; }
  .card { padding: 16px 14px; border-radius: 12px; }
  .row { flex-direction: column; gap: 0; }

  /* alvos de toque maiores e sem zoom involuntario no iOS (fonte >= 16px) */
  input, textarea, select { font-size: 16px; padding: 12px; }
  button { padding: 12px 16px; font-size: 15px; }
  .btn-sm { padding: 9px 13px; font-size: 14px; }
  .link, .link-title { padding: 4px 0; }

  /* perfil */
  .profile-head { gap: 14px; }
  .profile-head .avatar { width: 66px; height: 66px; font-size: 26px; }
  .profile-head > div:last-child { width: 100%; }
  .profile-head > div:last-child button { width: 100%; }

  /* acervo: 1 disco por linha, capa menor ao lado do texto */
  .acervo-grid { grid-template-columns: 1fr; gap: 12px; }
  .record { display: flex; align-items: stretch; }
  .record .cover { width: 108px; flex-shrink: 0; aspect-ratio: 1; }
  .record .body { padding: 11px 12px; flex: 1; min-width: 0; }
  .record .press { font-size: 12px; }

  /* capas compactas do perfil */
  .cover-strip { grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 6px; }

  /* generos e chips */
  .genre-chip { padding: 9px 14px; font-size: 14px; }
  .chips { gap: 6px; }

  /* abas ocupam a largura toda */
  .tabs { gap: 6px; }
  .tabs button { flex: 1; min-width: 0; padding: 11px 8px; }

  /* busca / campos lado a lado viram empilhados */
  .card > div[style*="display: flex"] > input { min-width: 0; }

  /* posts */
  .fp-imgs img { max-width: 100%; max-height: 300px; }
  .fp-imgs { flex-direction: column; }
  .composer-foot { gap: 8px; }
  .composer-foot button { flex: 1; }

  /* chat ocupa a tela e o campo fica acessivel */
  .chat-wrap { height: calc(100dvh - 250px); min-height: 300px; }
  .bubble { max-width: 86%; font-size: 15px; }
  .chat-input input { flex: 1; min-width: 0; }

  /* pessoas */
  .person .avatar { width: 40px; height: 40px; font-size: 16px; }

  /* modal de ajuda */
  .modal { width: 94vw; max-height: 86vh; padding: 18px 16px; }
}

@media (max-width: 380px) {
  .brand { font-size: 17px; }
  .record .cover { width: 88px; }
  .cover-strip { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- alternador de tema ---------- */
.theme-toggle {
  background: transparent; border: 1px solid var(--sleeve); color: var(--ink);
  width: 34px; height: 34px; padding: 0; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 16px;
}
.theme-toggle:hover { border-color: var(--gold); filter: none; }

/* ---------- chip clicavel (link de amigos) ---------- */
a.chip { cursor: pointer; text-decoration: none; }
a.chip:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- feed de atividades ---------- */
.feed { display: flex; flex-direction: column; gap: 2px; }
.feed-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid var(--sleeve);
}
.avatar.mini { width: 30px; height: 30px; font-size: 14px; border-width: 2px; flex-shrink: 0; }
.feed-item:last-child { border-bottom: none; }
.feed-item .fi-icon {
  flex-shrink: 0; width: 20px; text-align: center; color: var(--gold);
}
.feed-item .fi-text { flex: 1; font-size: 14px; }
.feed-item .fi-time { font-size: 12px; color: var(--ink-mute); font-family: var(--font-mono); white-space: nowrap; }

/* ---------- modal / popup ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: var(--overlay);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; z-index: 100;
}
.modal {
  background: var(--wax-2); border: 1px solid var(--sleeve);
  border-radius: 12px; max-width: 540px; width: 100%;
  max-height: 88vh; overflow-y: auto; padding: 24px;
}
.modal-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.modal-head h2 { margin: 0; flex: 1; }
.modal-close {
  background: transparent; border: 1px solid var(--sleeve); color: var(--ink);
  width: 30px; height: 30px; padding: 0; border-radius: 7px; font-size: 15px; line-height: 1;
}
.modal-close:hover { border-color: var(--gold); filter: none; }
.help-illus { width: 100%; height: auto; display: block; margin: 6px 0 16px; }

/* ---------- botao de ajuda ---------- */
.help-btn {
  background: transparent; border: 1px solid var(--sleeve); color: var(--ink-soft);
  border-radius: 999px; padding: 3px 11px; font-size: 13px; display: inline-flex; align-items: center; gap: 5px;
}
.help-btn:hover { border-color: var(--gold); color: var(--gold); filter: none; }

.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.section-head h2 { margin: 0; }

/* ---------- generos ---------- */
.genre-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.genre-chip {
  background: var(--wax-3); border: 1px solid var(--sleeve); color: var(--ink-soft);
  border-radius: 999px; padding: 6px 13px; font-size: 13px;
}
.genre-chip:hover { border-color: var(--gold); filter: none; }
.genre-chip.on { background: var(--gold); color: #23180a; border-color: var(--gold); }

/* ---------- acervo compacto (capas mini) ---------- */
.cover-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; margin-top: 12px; }
.cover-mini { aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: #0d0a08; border: 1px solid var(--sleeve); display: block; }
.cover-mini img { width: 100%; height: 100%; object-fit: cover; }
.groove-sm { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.groove-sm::after {
  content: ''; width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--oxblood) 0 16%, transparent 17%),
              repeating-radial-gradient(circle, #1a1512 0 2px, #000 2px 3.2px);
}
.link-title {
  background: none; border: none; color: var(--ink); font-family: var(--font-display);
  font-size: 22px; cursor: pointer; padding: 0; text-align: left;
}
.link-title:hover { color: var(--gold); filter: none; text-decoration: underline; }

/* ---------- composer + post no feed ---------- */
.composer .composer-foot { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.composer .count { font-size: 12px; color: var(--ink-mute); font-family: var(--font-mono); }
.post-thumb { position: relative; display: inline-block; }
.post-thumb img { max-height: 120px; border-radius: 8px; border: 1px solid var(--sleeve); }
.post-thumb .rm {
  position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; padding: 0;
  border-radius: 50%; font-size: 12px; line-height: 1; background: rgba(0,0,0,.65); color: #fff; border: none;
}
.feed-post { padding: 14px 0; border-bottom: 1px solid var(--sleeve); }
.feed-post:last-child { border-bottom: none; }
.fp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.fp-head .grow { flex: 1; }
.fp-head .fp-time { font-size: 12px; color: var(--ink-mute); font-family: var(--font-mono); }
.fp-text { font-size: 15px; white-space: pre-wrap; }
.fp-imgs { display: flex; gap: 8px; margin-top: 10px; }
.fp-imgs img { max-width: 48%; max-height: 260px; border-radius: 8px; border: 1px solid var(--sleeve); }

/* ---------- chat ---------- */
.chat-wrap { display: flex; flex-direction: column; height: calc(100vh - 200px); min-height: 340px; }
.chat-msgs { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 4px 2px; }
.bubble { max-width: 76%; padding: 8px 12px; border-radius: 14px; font-size: 14px; }
.bubble.me { align-self: flex-end; background: var(--gold); color: #23180a; border-bottom-right-radius: 4px; }
.bubble.them { align-self: flex-start; background: var(--wax-3); border: 1px solid var(--sleeve); border-bottom-left-radius: 4px; }
.bubble .bt { font-size: 10px; opacity: .6; margin-top: 3px; font-family: var(--font-mono); }
.chat-input { display: flex; gap: 8px; margin-top: 10px; }
.pin-star { color: var(--gold); }

/* ---------- linhas de busca e de botoes (responsivas) ---------- */
.searchbar { display: flex; gap: 10px; margin-bottom: 14px; }
.searchbar input { flex: 1; min-width: 0; }
.searchbar button { flex-shrink: 0; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-row button { flex: 1; min-width: 140px; }

@media (max-width: 720px) {
  .searchbar { flex-wrap: wrap; }
  .searchbar input { flex: 1 1 100%; }
  .searchbar button { flex: 1; }
  .btn-row button { min-width: 120px; }
}

/* ---------- ajustes finos para telas de toque ---------- */
html { -webkit-text-size-adjust: 100%; }
img { max-width: 100%; }
input[type="file"] { max-width: 100%; font-size: 14px; padding: 8px; }

@media (max-width: 720px) {
  /* respeita a barra inferior do iPhone */
  .container { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .nav { padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
  /* upload de foto empilha embaixo do avatar */
  .field input[type="file"] { width: 100%; }
}

/* chip de status "ja sao amigos" */
.chip-ok { color: var(--gold); border-color: var(--gold); }

/* ---------- popover de ajuda ---------- */
.help-wrap { position: relative; flex-shrink: 0; }
.popover {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  width: 320px; max-width: calc(100vw - 32px);
  background: var(--wax-2); border: 1px solid var(--sleeve);
  border-radius: 10px; padding: 14px 15px;
  box-shadow: 0 14px 32px rgba(0,0,0,.4);
}
.popover::before {
  content: ''; position: absolute; top: -6px; right: 18px;
  width: 10px; height: 10px; background: var(--wax-2);
  border-left: 1px solid var(--sleeve); border-top: 1px solid var(--sleeve);
  transform: rotate(45deg);
}
.pop-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pop-head strong { flex: 1; font-family: var(--font-display); font-size: 15px; }
.pop-close {
  background: transparent; border: none; color: var(--ink-mute);
  width: 22px; height: 22px; padding: 0; font-size: 13px; line-height: 1;
}
.pop-close:hover { color: var(--gold); filter: none; }
.pop-item { margin-bottom: 11px; }
.pop-label {
  display: inline-block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .5px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 3px;
}
.pop-item p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.pop-item code {
  font-family: var(--font-mono); font-size: 12.5px;
  background: var(--wax-3); border: 1px solid var(--sleeve);
  border-radius: 4px; padding: 1px 5px; color: var(--gold-soft);
}
.pop-note {
  margin: 0; padding-top: 9px; border-top: 1px solid var(--sleeve);
  font-size: 12.5px; line-height: 1.45; color: var(--ink-mute);
}

@media (max-width: 720px) {
  .section-head { flex-wrap: wrap; }
  .help-wrap { width: 100%; }
  .help-btn { width: 100%; justify-content: center; }
  .popover { right: auto; left: 0; width: 100%; }
  .popover::before { right: auto; left: 50%; }
}

/* ---------- checkbox de opcao (venda, filtros) ---------- */
.check-row {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 12px 14px; margin: 6px 0 4px;
  background: var(--wax-3); border: 1px solid var(--sleeve);
  border-radius: 9px; cursor: pointer;
}
.check-row:hover { border-color: var(--gold); }
.check-row input[type="checkbox"] {
  width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0;
  accent-color: var(--gold); cursor: pointer;
}
.check-row span { display: flex; flex-direction: column; gap: 3px; }
.check-row strong { font-size: 14.5px; font-weight: 600; }
.check-row small { font-size: 12.5px; color: var(--ink-mute); line-height: 1.4; }
.check-row.compact { padding: 9px 12px; margin-bottom: 14px; }

/* ---------- selo "a venda" e dono do disco ---------- */
.sale-tag {
  display: inline-block; margin: 6px 0 2px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .6px;
  text-transform: uppercase; color: #1e3a22;
  background: #8fbf6f; border-radius: 4px; padding: 2px 7px;
}
.owner-line { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }
.card-actions { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }

/* ---------- login com google / separador ---------- */
.google-area { margin-top: 16px; }
.or-line { display: flex; align-items: center; gap: 12px; margin: 4px 0 14px; }
.or-line::before, .or-line::after {
  content: ''; flex: 1; height: 1px; background: var(--sleeve);
}
.or-line span { font-size: 12px; color: var(--ink-mute); font-family: var(--font-mono); }
.gbtn { display: flex; justify-content: center; }

/* ---------- recuperacao de senha ---------- */
.reset-box {
  margin-top: 12px; padding: 14px; border-radius: 9px;
  background: var(--wax-3); border: 1px solid var(--sleeve);
}
.reset-link {
  display: inline-block; margin-top: 4px; padding: 10px 16px;
  background: var(--gold); color: #23180a; border-radius: 8px;
  font-weight: 600; font-size: 14px;
}
.reset-link:hover { filter: brightness(1.08); text-decoration: none; }
.pw-block { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--sleeve); }

/* ---------- wishlist ---------- */
.wish-results { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.wish-result {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--sleeve);
}
.wish-result:last-child { border-bottom: none; }
.wr-cover, .wc-cover {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: 5px; overflow: hidden;
  background: #0d0a08; border: 1px solid var(--sleeve);
}
.wr-cover img, .wc-cover img { width: 100%; height: 100%; object-fit: cover; }
.wr-info { flex: 1; min-width: 0; }
.wr-artist { font-size: 12.5px; color: var(--gold-soft); text-transform: uppercase; letter-spacing: .4px; }
.wr-title { font-family: var(--font-display); font-size: 16px; line-height: 1.3; }
.wr-year { font-family: var(--font-mono); font-size: 12px; color: var(--ink-mute); margin-top: 2px; }

.wish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 12px; }
.wish-card {
  display: flex; gap: 11px; padding: 11px;
  background: var(--wax-3); border: 1px solid var(--sleeve); border-radius: 9px;
}
.wc-cover { width: 64px; height: 64px; }
.wc-body { flex: 1; min-width: 0; }
.wc-title { font-family: var(--font-display); font-size: 15.5px; line-height: 1.3; margin-top: 1px; }

.manual-add { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--sleeve); }
.manual-add summary { cursor: pointer; font-size: 14px; color: var(--ink-soft); }
.manual-add summary:hover { color: var(--gold); }

@media (max-width: 720px) {
  .wish-grid { grid-template-columns: 1fr; }
  .wish-result { flex-wrap: wrap; }
  .wish-result .btn-sm { width: 100%; }
}

/* ---------- resultados compactos da busca de discos ---------- */
.disc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-top: 12px; }
.disc-card {
  display: flex; gap: 12px; padding: 12px;
  background: var(--wax-3); border: 1px solid var(--sleeve); border-radius: 9px;
}
.dc-cover {
  width: 76px; height: 76px; flex-shrink: 0; border-radius: 6px; overflow: hidden;
  background: #0d0a08; border: 1px solid var(--sleeve);
}
.dc-cover img { width: 100%; height: 100%; object-fit: cover; }
.dc-body { flex: 1; min-width: 0; }
.dc-title { font-family: var(--font-display); font-size: 16px; line-height: 1.3; }
.dc-artist { font-size: 13px; color: var(--gold-soft); margin-top: 1px; }
.dc-owner { font-size: 12.5px; color: var(--ink-soft); margin-top: 7px; }
.dc-local { color: var(--ink-mute); font-size: 12px; }
.disc-card .sale-tag { margin: 6px 0 0; }

@media (max-width: 720px) {
  .disc-grid { grid-template-columns: 1fr; }
}

/* ---------- atividades do feed (com capa) ---------- */
.feed { gap: 0; }
.act { padding: 14px 0; border-bottom: 1px solid var(--sleeve); }
.act:first-child { padding-top: 4px; }
.act:last-child { border-bottom: none; padding-bottom: 4px; }
.act-head { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.act-line { flex: 1; font-size: 14px; color: var(--ink-soft); min-width: 0; }
.act-line strong, .act-line a { color: var(--ink); }
.act-time {
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--ink-mute); flex-shrink: 0;
}

.act-disc {
  display: flex; gap: 13px; align-items: center;
  padding: 11px; border-radius: 10px;
  background: var(--wax-3); border: 1px solid var(--sleeve);
}
.act-disc:hover { border-color: var(--gold); }
.sleeve-art {
  width: 84px; height: 84px; flex-shrink: 0; border-radius: 6px; overflow: hidden;
  background: #0d0a08; border: 1px solid var(--sleeve);
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.sleeve-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sleeve-info { flex: 1; min-width: 0; }
.sleeve-name { font-family: var(--font-display); font-size: 17px; line-height: 1.25; }
.sleeve-band { font-size: 13.5px; color: var(--gold-soft); margin-top: 3px; }
.sleeve-year { font-family: var(--font-mono); font-size: 12px; color: var(--ink-mute); margin-top: 4px; }

.act-friend {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 10px;
  background: var(--wax-3); border: 1px solid var(--sleeve);
}
.act-friend a { font-size: 14.5px; }

@media (max-width: 720px) {
  .sleeve-art { width: 68px; height: 68px; }
  .sleeve-name { font-size: 15.5px; }
  .act-line { font-size: 13.5px; }
}

/* rodape: links legais + marcador de versao da interface */
.ui-version {
  text-align: center; font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-mute); opacity: .6; padding: 8px 0 22px; margin: 0;
}

.rodape {
  display: flex; align-items: center; justify-content: center; gap: 9px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-mute); opacity: .65; padding: 18px 16px 26px;
}
.rodape a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.rodape a:hover { color: var(--ink); border-bottom-color: currentColor; }

/* aviso de pagina desatualizada (cache do navegador) */
.stale-bar {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  background: var(--gold); color: #23180a; padding: 11px 16px;
  font-size: 14px; font-weight: 600; text-align: center;
}
.stale-bar button { background: #23180a; color: var(--gold); border: none; }

/* ---------- curtir / comentar ---------- */
.social { margin-top: 10px; }
.social-actions { display: flex; gap: 6px; }
.sb {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid transparent; color: var(--ink-mute);
  padding: 6px 11px; border-radius: 8px; font-size: 13px;
}
.sb:hover { background: var(--wax-3); border-color: var(--sleeve); color: var(--ink); filter: none; }
.sb.on { color: var(--gold); }
.sb svg { flex-shrink: 0; }

.comments {
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--sleeve);
  display: flex; flex-direction: column; gap: 10px;
}
.comment { display: flex; gap: 9px; align-items: flex-start; }
.c-body { flex: 1; min-width: 0; }
.c-head { display: flex; align-items: center; gap: 8px; }
.c-head a { font-size: 13.5px; font-weight: 600; }
.c-time { font-family: var(--font-mono); font-size: 11px; color: var(--ink-mute); }
.c-del {
  background: none; border: none; color: var(--ink-mute);
  padding: 0 4px; font-size: 11px; line-height: 1; margin-left: auto;
}
.c-del:hover { color: var(--danger); filter: none; }
.c-text { font-size: 14px; margin-top: 2px; white-space: pre-wrap; word-break: break-word; }
.c-form { display: flex; gap: 8px; }
.c-form input { flex: 1; min-width: 0; padding: 9px 12px; font-size: 14px; }

@media (max-width: 720px) {
  .sb { padding: 8px 10px; font-size: 13.5px; }
  .c-form input { font-size: 16px; }
}

/* ---------- sino de notificacoes ---------- */
.bell {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px; color: var(--ink-soft);
}
.bell:hover { color: var(--gold); background: var(--wax-3); text-decoration: none; }
.bell-dot {
  position: absolute; top: 1px; right: 0;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--oxblood); color: #fff;
  border-radius: 9px; font-size: 10.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); border: 2px solid var(--nav-bg);
}

/* ---------- tela de notificacoes ---------- */
.notif-list { display: flex; flex-direction: column; }
.notif {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 13px 12px; border-bottom: 1px solid var(--sleeve);
  border-radius: 8px;
}
.notif:last-child { border-bottom: none; }
.notif.unread { background: var(--wax-3); }
.n-body { flex: 1; min-width: 0; }
.n-line { font-size: 14px; color: var(--ink-soft); }
.n-line a { font-weight: 600; }
.n-time { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-mute); margin-left: 6px; }
.n-subject {
  display: flex; align-items: center; gap: 9px; margin-top: 7px;
  font-family: var(--font-display); font-size: 15px;
}
.n-thumb {
  width: 40px; height: 40px; border-radius: 5px; object-fit: cover;
  border: 1px solid var(--sleeve); flex-shrink: 0;
}
.n-comment {
  margin-top: 7px; padding: 8px 11px; border-left: 2px solid var(--gold);
  background: var(--wax); border-radius: 0 7px 7px 0;
  font-size: 14px; color: var(--ink); font-style: italic;
}

@media (max-width: 720px) {
  .bell { width: 34px; height: 34px; }
  .n-subject { font-size: 14.5px; }
}

/* ---------- barra de ordenacao ---------- */
.sortbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.sort-label { font-size: 13px; color: var(--ink-mute); flex-shrink: 0; }
.sortbar select {
  background: var(--wax); color: var(--ink);
  border: 1px solid var(--sleeve); border-radius: 8px;
  padding: 8px 11px; font-family: var(--font-body); font-size: 14px;
}
.sortbar select:focus { outline: 2px solid var(--gold); border-color: transparent; }

@media (max-width: 720px) {
  .sortbar { flex-wrap: wrap; gap: 7px; }
  .sortbar select { flex: 1; min-width: 0; font-size: 16px; }
}

/* ---------- acervo: card compacto ---------- */
.dm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 14px; margin-top: 12px; }
.dm {
  display: block; background: var(--wax-3); border: 1px solid var(--sleeve);
  border-radius: 10px; overflow: hidden; color: var(--ink);
}
.dm:hover { border-color: var(--gold); text-decoration: none; transform: translateY(-2px); }
.dm { transition: transform .12s ease, border-color .12s ease; }
.dm-cover { position: relative; aspect-ratio: 1; background: #0d0a08; }
.dm-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dm-pin {
  position: absolute; top: 7px; left: 7px; color: var(--gold);
  background: rgba(0,0,0,.6); border-radius: 50%;
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.dm-sale {
  position: absolute; bottom: 7px; right: 7px;
  background: #8fbf6f; color: #1e3a22; border-radius: 4px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .5px;
  text-transform: uppercase; padding: 2px 6px;
}
.dm-body { padding: 10px 11px 12px; }
.dm-title { font-family: var(--font-display); font-size: 15px; line-height: 1.25; }
.dm-band { font-size: 12.5px; color: var(--gold-soft); margin-top: 3px; }
.dm-year { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-mute); margin-top: 4px; }

/* ---------- tela do disco ---------- */
.dp-top { display: flex; gap: 22px; align-items: flex-start; }
.dp-cover {
  width: 210px; flex-shrink: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  background: #0d0a08; border: 1px solid var(--sleeve); box-shadow: 0 10px 26px rgba(0,0,0,.35);
}
.dp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dp-head { flex: 1; min-width: 0; }
.dp-band { font-size: 16px; color: var(--gold-soft); margin: 0; }

.ficha { margin: 10px 0 0; display: flex; flex-direction: column; }
.ficha-row {
  display: flex; gap: 14px; padding: 9px 0;
  border-bottom: 1px solid var(--sleeve);
}
.ficha-row:last-child { border-bottom: none; }
.ficha dt { width: 165px; flex-shrink: 0; color: var(--ink-mute); font-size: 13.5px; }
.ficha dd { margin: 0; flex: 1; min-width: 0; font-size: 14.5px; word-break: break-word; }
.ficha dd.mono { font-family: var(--font-mono); font-size: 13px; color: var(--gold-soft); }

@media (max-width: 720px) {
  .dm-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 11px; }
  .dp-top { flex-direction: column; gap: 16px; }
  .dp-cover { width: 100%; max-width: 260px; margin: 0 auto; }
  .ficha-row { flex-direction: column; gap: 2px; padding: 8px 0; }
  .ficha dt { width: auto; font-size: 12.5px; }
}

@media (max-width: 380px) {
  .dm-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .dm-title { font-size: 14px; }
}

/* ---------- painel "quem tem a venda" ---------- */
.avenda { }
.av-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.av-head strong { flex: 1; font-family: var(--font-display); font-size: 17px; }
.av-list { display: flex; flex-direction: column; gap: 2px; }
.av-item {
  display: flex; align-items: center; gap: 13px;
  padding: 11px 0; border-bottom: 1px solid var(--sleeve);
}
.av-item:last-child { border-bottom: none; }
.av-cover {
  width: 62px; height: 62px; flex-shrink: 0; border-radius: 6px; overflow: hidden;
  background: #0d0a08; border: 1px solid var(--sleeve); display: block;
}
.av-cover img { width: 100%; height: 100%; object-fit: cover; }
.av-info { flex: 1; min-width: 0; }
.av-title { font-family: var(--font-display); font-size: 16px; color: var(--ink); }
.av-title:hover { color: var(--gold); }
.av-press { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-mute); margin-top: 3px; }
.av-exact {
  display: inline-block; margin-top: 5px;
  background: var(--gold); color: #23180a; border-radius: 4px;
  font-size: 10.5px; font-family: var(--font-mono); text-transform: uppercase;
  letter-spacing: .4px; padding: 2px 7px;
}
.av-owner { font-size: 13px; color: var(--ink-soft); margin-top: 5px; }

@media (max-width: 720px) {
  .av-item { flex-wrap: wrap; }
  .av-item .btn-sm { width: 100%; }
}

/* ================= perfil ================= */
.container.wide { max-width: 1180px; }

.prof-card {
  background: var(--wax-2); border: 1px solid var(--sleeve);
  border-radius: 14px; overflow: hidden; margin-bottom: 18px;
}
.prof-cover { height: 210px; background: #0d0a08; }
.prof-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prof-cover-vazia {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(72deg, #241a14 0 9px, #17100c 9px 15px, #2e211a 15px 23px, #1b1310 23px 31px),
    var(--wax);
}

.prof-main { display: flex; gap: 20px; padding: 0 26px 22px; align-items: flex-start; }
.prof-avatar { margin-top: -56px; position: relative; flex-shrink: 0; text-align: center; }
.avatar.grande {
  width: 132px; height: 132px; font-size: 46px;
  border: 4px solid var(--gold); box-shadow: 0 8px 22px rgba(0,0,0,.4);
}
.prof-badge {
  display: inline-block; margin-top: -14px; position: relative;
  background: var(--gold); color: #23180a; border-radius: 999px;
  padding: 2px 12px; font-size: 11px; font-family: var(--font-mono);
}
.prof-id { flex: 1; min-width: 0; padding-top: 16px; }
.prof-id h1 { margin: 0 0 4px; font-size: 30px; }
.prof-local {
  display: flex; align-items: center; gap: 6px;
  margin: 0; color: var(--ink-mute); font-size: 14px;
}
.prof-id .chips { margin-top: 12px; }

.prof-right { padding-top: 16px; display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.prof-acao { }
.prof-stats { display: flex; gap: 26px; }
.stat { text-align: center; }
.stat-topo { display: flex; align-items: center; gap: 7px; color: var(--gold); }
.stat-topo strong { font-size: 21px; color: var(--ink); font-family: var(--font-display); }
.stat-rotulo { font-size: 12px; color: var(--ink-mute); margin-top: 2px; }

/* colunas */
.prof-grid { display: grid; grid-template-columns: 1fr 330px; gap: 18px; align-items: start; }
.prof-col, .prof-side { display: flex; flex-direction: column; gap: 18px; }

.prof-tabs-card { padding: 0 !important; }
.prof-tabs { display: flex; gap: 4px; padding: 0 8px; overflow-x: auto; }
.prof-tabs button {
  background: none; border: none; border-bottom: 2px solid transparent;
  color: var(--ink-mute); padding: 15px 14px; font-size: 14.5px; border-radius: 0;
  white-space: nowrap;
}
.prof-tabs button:hover { color: var(--ink); filter: none; }
.prof-tabs button.active { color: var(--gold); border-bottom-color: var(--gold); }

.prof-sec-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.prof-sec-head h2 { margin: 0; flex: 1; }
.prof-sec-head a { font-size: 13.5px; }
.prof-vermais { display: flex; justify-content: center; margin-top: 16px; }

/* barra lateral */
.side-titulo { font-family: var(--font-display); font-size: 17px; margin: 0 0 12px; }
.side-bio { margin: 0; font-size: 14px; line-height: 1.6; white-space: pre-wrap; }
.side-capas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }

.artistas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.artista { text-align: center; min-width: 0; }
.art-foto {
  width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: #0d0a08; border: 1px solid var(--sleeve);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-family: var(--font-display); font-size: 20px;
}
.art-foto img { width: 100%; height: 100%; object-fit: cover; }
.art-nome {
  font-size: 11.5px; margin-top: 6px; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.art-qtd { font-size: 10.5px; color: var(--ink-mute); font-family: var(--font-mono); }
.art-todos { margin-top: 14px; }
.art-todos summary { cursor: pointer; font-size: 13px; color: var(--ink-soft); text-align: center; }
.art-todos summary:hover { color: var(--gold); }
.art-lista { margin-top: 10px; display: flex; flex-direction: column; }
.art-linha {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 7px 0; border-bottom: 1px solid var(--sleeve); font-size: 13.5px;
}
.art-linha:last-child { border-bottom: none; }
.art-linha-qtd { font-family: var(--font-mono); color: var(--ink-mute); }

.edit-capa {
  position: relative;   /* segura o fundo padrao, que e posicionado de forma absoluta */
  height: 130px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--sleeve); background: #0d0a08; margin-bottom: 12px;
}
.edit-capa img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- perfil no tablet ---- */
@media (max-width: 1000px) {
  .prof-grid { grid-template-columns: 1fr; }
  .prof-side { flex-direction: row; flex-wrap: wrap; }
  .prof-side > .card { flex: 1 1 300px; }
}

/* ---- perfil no celular ---- */
@media (max-width: 720px) {
  .prof-cover { height: 130px; }
  .prof-main { flex-direction: column; align-items: center; text-align: center; gap: 0; padding: 0 16px 20px; }
  .prof-avatar { margin-top: -46px; }
  .avatar.grande { width: 104px; height: 104px; font-size: 38px; border-width: 3px; }
  .prof-id { padding-top: 10px; width: 100%; }
  .prof-id h1 { font-size: 24px; }
  .prof-local { justify-content: center; }
  .prof-id .chips { justify-content: center; }
  .prof-right { width: 100%; align-items: stretch; padding-top: 16px; gap: 16px; }
  .prof-acao button { width: 100%; }
  .prof-stats { justify-content: space-between; gap: 8px; }
  .stat-topo { justify-content: center; }
  .stat-topo strong { font-size: 18px; }
  .prof-side { flex-direction: column; }
  .prof-side > .card { flex: 1 1 auto; }
  .side-capas { grid-template-columns: repeat(5, 1fr); }
  .prof-tabs button { padding: 13px 11px; font-size: 14px; }
}

/* indicadores clicaveis do perfil (discos e amigos) */
.stat-link { display: block; border-radius: 9px; padding: 4px 8px; margin: -4px -8px; }
.stat-link:hover { background: var(--wax-3); text-decoration: none; }
.stat-link:hover .stat-topo strong { color: var(--gold); }
.stat-link:hover .stat-rotulo { color: var(--ink-soft); }

/* ================= grupos ================= */
.grupos { display: flex; flex-direction: column; }
.grupo {
  display: flex; align-items: center; gap: 13px;
  padding: 11px 0; border-bottom: 1px solid var(--sleeve);
}
.grupo:last-child { border-bottom: none; }
.gp-uf {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 10px;
  background: var(--wax-3); border: 1px solid var(--sleeve); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 15px; font-weight: 700;
}
.gp-uf:hover { border-color: var(--gold); text-decoration: none; }
.gp-uf.grande { width: 66px; height: 66px; font-size: 22px; }
.gp-info { flex: 1; min-width: 0; }
.gp-nome { font-family: var(--font-display); font-size: 16.5px; color: var(--ink); }
.gp-nome:hover { color: var(--gold); }
.gp-num { font-size: 12.5px; color: var(--ink-mute); margin-top: 2px; }
.gp-head { display: flex; align-items: center; gap: 16px; }

/* topicos */
.novo-topico {
  padding: 16px; margin-bottom: 16px; border-radius: 10px;
  background: var(--wax-3); border: 1px solid var(--sleeve);
}
.novo-topico select {
  width: 100%; padding: 11px 13px; background: var(--wax); color: var(--ink);
  border: 1px solid var(--sleeve); border-radius: 8px;
  font-family: var(--font-body); font-size: 15px;
}
.topicos { display: flex; flex-direction: column; }
.topico {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 10px; border-bottom: 1px solid var(--sleeve);
  border-radius: 8px; color: var(--ink);
}
.topico:last-child { border-bottom: none; }
.topico:hover { background: var(--wax-3); text-decoration: none; }
.tp-info { flex: 1; min-width: 0; }
.tp-titulo { font-family: var(--font-display); font-size: 16px; line-height: 1.3; }
.tp-meta {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--ink-mute); margin-top: 5px;
}
.tp-tempo { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-mute); flex-shrink: 0; }
.tp {
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: .5px; padding: 2px 8px; border-radius: 4px;
}
.tp-venda { background: #8fbf6f; color: #1e3a22; }
.tp-musica { background: var(--gold); color: #23180a; }
.tp-geral { background: var(--wax-3); color: var(--ink-soft); border: 1px solid var(--sleeve); }

.tp-cab { display: flex; align-items: center; gap: 10px; }
.tp-autor { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.tp-corpo { margin: 14px 0 0; white-space: pre-wrap; line-height: 1.65; }

.respostas { display: flex; flex-direction: column; gap: 14px; }
.resposta { display: flex; gap: 11px; align-items: flex-start; }
.rp-body { flex: 1; min-width: 0; }
.rp-head { display: flex; align-items: center; gap: 9px; }
.rp-head a { font-size: 13.5px; font-weight: 600; }
.rp-texto { margin-top: 3px; font-size: 14.5px; white-space: pre-wrap; word-break: break-word; }
.rp-form { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--sleeve); }
.rp-form textarea { margin-bottom: 10px; }

@media (max-width: 720px) {
  .grupo { flex-wrap: wrap; }
  .gp-head { flex-direction: column; align-items: flex-start; }
  .gp-head > div:last-child { width: 100%; }
  .gp-head > div:last-child button { width: 100%; }
  .topico { padding: 12px 6px; }
  .tp-tempo { display: none; }
}

/* seletor de estado usa o mesmo visual dos campos */
.field select {
  width: 100%; padding: 11px 13px;
  background: var(--wax); color: var(--ink);
  border: 1px solid var(--sleeve); border-radius: 8px;
  font-family: var(--font-body); font-size: 15px;
}
.field select:focus { outline: 2px solid var(--gold); border-color: transparent; }

/* ---------- capa e cabecalho do grupo ---------- */
.gr-capa {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--sleeve); margin-bottom: 18px; background: #0d0a08;
  min-height: 230px; display: flex; align-items: flex-end;
}
.gr-capa-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gr-capa-vazia {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 78% 42%, #3a2a1c 0 16%, transparent 17%),
    repeating-radial-gradient(circle at 78% 42%, #1c1410 0 3px, #120d0a 3px 6px),
    linear-gradient(115deg, #2a1d14 0%, #17100c 60%, #241a12 100%);
}
.gr-capa-sombra {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,7,5,.92) 0%, rgba(10,7,5,.78) 45%, rgba(10,7,5,.35) 100%);
}
.gr-capa-conteudo {
  position: relative; display: flex; align-items: flex-end; gap: 20px;
  padding: 24px 26px; width: 100%;
}
.gr-selo {
  width: 108px; height: 108px; flex-shrink: 0; border-radius: 12px;
  background: var(--wax-2); border: 1px solid var(--sleeve);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 34px; color: var(--gold);
  box-shadow: 0 10px 26px rgba(0,0,0,.45);
}
.gr-texto { flex: 1; min-width: 0; color: #f3ece0; }
.gr-texto h1 { margin: 0 0 6px; font-size: 32px; color: #fff; }
.gr-linha { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: #d9cdbb; flex-wrap: wrap; }
.gr-linha strong { color: #fff; }
.gr-sep { opacity: .5; }
.gr-desc { margin: 10px 0 0; font-size: 14px; color: #cbbda9; max-width: 620px; line-height: 1.55; }
.gr-acoes { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; flex-shrink: 0; }
.gr-acoes .ghost { background: rgba(255,255,255,.08); color: #f3ece0; border-color: rgba(255,255,255,.25); }
.gr-acoes .ghost:hover { border-color: var(--gold); color: var(--gold); }

/* numeros do grupo na lateral */
.gr-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding-top: 14px; border-top: 1px solid var(--sleeve); text-align: center;
}
.gr-stats strong { display: block; font-family: var(--font-display); font-size: 19px; }
.gr-stats span { font-size: 10.5px; color: var(--ink-mute); }

/* topicos: coluna da direita */
.tp-lado { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.tp-ultimo { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink-mute); }

/* eventos */
.eventos { display: flex; flex-direction: column; }
.evento {
  display: flex; align-items: center; gap: 14px; padding: 12px 8px;
  border-bottom: 1px solid var(--sleeve); border-radius: 8px; color: var(--ink);
}
.evento:last-child { border-bottom: none; }
.evento:hover { background: var(--wax-3); text-decoration: none; }
.ev-data {
  width: 54px; height: 58px; flex-shrink: 0; border-radius: 9px;
  background: var(--wax-3); border: 1px solid var(--sleeve);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ev-dia { font-family: var(--font-display); font-size: 21px; color: var(--gold); line-height: 1; }
.ev-mes { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; color: var(--ink-mute); }
.ev-info { flex: 1; min-width: 0; }

/* membros: online */
.mb-foto { position: relative; flex-shrink: 0; }
.pontinho {
  position: absolute; right: 0; bottom: 2px; width: 11px; height: 11px;
  background: #6fbf73; border-radius: 50%; border: 2px solid var(--wax-2);
}
.online { color: #6fbf73; }
.mb-admin {
  margin-left: 7px; background: var(--gold); color: #23180a;
  border-radius: 4px; padding: 1px 7px; font-size: 10px; font-family: var(--font-mono);
}

.tp-troca { background: #7fa8d0; color: #10233a; }
.tp-evento { background: #c58fbf; color: #33163a; }

@media (max-width: 900px) {
  .gr-capa { min-height: 0; }
  .gr-capa-conteudo { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 16px; }
  .gr-capa-sombra { background: linear-gradient(180deg, rgba(10,7,5,.6) 0%, rgba(10,7,5,.92) 60%); }
  .gr-selo { width: 74px; height: 74px; font-size: 24px; }
  .gr-texto h1 { font-size: 24px; }
  .gr-acoes { flex-direction: row; flex-wrap: wrap; width: 100%; align-items: stretch; }
  .gr-acoes button { flex: 1; }
  .tp-lado { display: none; }
  .gr-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ---------- lista de grupos: topo ---------- */
.gl-hero {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--sleeve); margin-bottom: 18px; min-height: 178px;
  display: flex; align-items: center;
}
.gl-hero-fundo {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12,8,6,.96) 0%, rgba(12,8,6,.82) 52%, rgba(12,8,6,.45) 100%),
    repeating-linear-gradient(84deg, #3a2b1e 0 7px, #241a12 7px 12px, #4a3626 12px 19px, #1d150f 19px 26px);
}
.gl-hero-texto { position: relative; padding: 26px 30px; color: #f3ece0; }
.gl-hero-texto .eyebrow { color: var(--gold); }
.gl-hero-texto h1 { margin: 2px 0 10px; color: #fff; font-size: 33px; }
.gl-hero-texto p { margin: 0; color: #cdbfaa; font-size: 14.5px; line-height: 1.6; }

.gl-topo { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 14px; }
.gl-meu .grupo { border-bottom: none; padding: 6px 0 0; }
.gl-num { display: flex; flex-direction: column; justify-content: center; }
.gl-num-topo { display: flex; align-items: center; gap: 9px; color: var(--gold); }
.gl-num-topo strong { font-family: var(--font-display); font-size: 27px; color: var(--ink); }
.gl-num-rotulo { font-size: 13.5px; margin-top: 6px; }
.gl-num-detalhe { font-size: 11.5px; color: var(--ink-mute); margin-top: 2px; }

/* barra de busca e ordenacao */
.gl-barra { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.gl-busca { position: relative; flex: 1; min-width: 200px; display: flex; align-items: center; }
.gl-busca svg { position: absolute; left: 12px; color: var(--ink-mute); pointer-events: none; }
.gl-busca input { padding-left: 36px; }
.gl-ordem { display: flex; align-items: center; gap: 9px; }
.gl-ordem select {
  background: var(--wax); color: var(--ink); border: 1px solid var(--sleeve);
  border-radius: 8px; padding: 9px 11px; font-family: var(--font-body); font-size: 14px;
}
.gl-modo { display: flex; gap: 4px; }
.gl-modo button {
  background: var(--wax-3); border: 1px solid var(--sleeve); color: var(--ink-mute);
  width: 36px; height: 36px; padding: 0; border-radius: 8px; font-size: 14px;
}
.gl-modo button.on { background: var(--gold); color: #23180a; border-color: var(--gold); }

/* grade de estados */
.gl-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; margin-top: 12px; }
.gl-card {
  background: var(--wax-3); border: 1px solid var(--sleeve); border-radius: 11px;
  padding: 15px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.gl-card:hover { border-color: var(--gold); }
.gl-card .gp-uf.grande { width: 54px; height: 54px; font-size: 18px; margin-bottom: 6px; }
.gl-card-acao { margin-top: 8px; width: 100%; }
.gl-card-acao button, .gl-card-acao .chip { width: 100%; justify-content: center; display: inline-flex; }
.seta { opacity: .6; margin-left: 2px; }

/* como funciona */
.passos { display: flex; flex-direction: column; gap: 14px; }
.passo { display: flex; gap: 12px; align-items: flex-start; }
.passo-n {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  background: var(--wax-3); border: 1px solid var(--gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px;
}
.passo strong { display: block; font-size: 14px; margin-bottom: 2px; }
.passo span { font-size: 12.5px; color: var(--ink-mute); line-height: 1.5; }

.motivos { display: flex; flex-direction: column; gap: 14px; }
.motivo strong { display: block; font-size: 14px; margin-bottom: 2px; }
.motivo span { font-size: 12.5px; color: var(--ink-mute); line-height: 1.5; }

@media (max-width: 1000px) {
  .gl-topo { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .gl-hero { min-height: 0; }
  .gl-hero-fundo { background: linear-gradient(180deg, rgba(12,8,6,.86) 0%, rgba(12,8,6,.96) 100%),
    repeating-linear-gradient(84deg, #3a2b1e 0 7px, #241a12 7px 12px, #4a3626 12px 19px, #1d150f 19px 26px); }
  .gl-hero-texto { padding: 20px 16px; }
  .gl-hero-texto h1 { font-size: 25px; }
  .gl-topo { grid-template-columns: 1fr; }
  .gl-ordem { width: 100%; }
  .gl-ordem select { flex: 1; }
}

/* ================= acervo ================= */
.ac-topo { display: flex; gap: 20px; align-items: flex-end; flex-wrap: wrap; }
.ac-titulo-area { flex: 1; min-width: 240px; }
.ac-indicadores { display: flex; gap: 12px; flex-wrap: wrap; }
.ac-ind { padding: 14px 18px !important; min-width: 132px; }
.ac-ind-topo { display: flex; align-items: center; gap: 9px; color: var(--gold); }
.ac-ind-topo strong { font-family: var(--font-display); font-size: 24px; color: var(--ink); }
.ac-ind-rotulo { font-size: 13px; margin-top: 5px; }
.ac-ind-detalhe { font-size: 11.5px; color: var(--ink-mute); margin-top: 1px; }
.ac-ind.destaque { background: var(--wax-3); border-color: var(--gold); }
.ac-ind.destaque .ac-ind-topo strong { color: var(--gold); font-size: 21px; }

/* filtros */
.ac-filtros { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin: 4px 0 14px; }
.ac-filtros label { display: flex; flex-direction: column; gap: 4px; }
.ac-filtros label span { font-size: 12px; color: var(--ink-mute); }
.ac-filtros select {
  background: var(--wax); color: var(--ink); border: 1px solid var(--sleeve);
  border-radius: 8px; padding: 9px 11px; font-family: var(--font-body); font-size: 14px;
}
.ac-filtros .gl-modo { margin-left: auto; align-self: flex-end; }

/* grade de capas */
.ac-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 15px; margin-top: 6px; }
.ac-card { position: relative; }
.ac-capa {
  display: block; position: relative; aspect-ratio: 1; border-radius: 9px; overflow: hidden;
  background: #0d0a08; border: 1px solid var(--sleeve);
}
.ac-capa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac-capa:hover { border-color: var(--gold); }
.ac-fav {
  position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; padding: 0;
  border-radius: 50%; background: rgba(20,14,10,.72); color: #efe3d2;
  border: none; display: flex; align-items: center; justify-content: center;
}
.ac-fav:hover { background: rgba(20,14,10,.9); color: var(--gold); filter: none; }
.ac-fav.on { color: var(--gold); }
.ac-body { padding: 9px 2px 0; }
.ac-titulo {
  font-family: var(--font-display); font-size: 14.5px; line-height: 1.3; color: var(--ink);
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ac-titulo:hover { color: var(--gold); }
.ac-banda {
  font-size: 12.5px; color: var(--ink-mute); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ac-rodape { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 7px; }
.ac-ano { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-mute); }
.ac-preco {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--gold);
  background: var(--wax-3); border: 1px solid var(--sleeve);
  border-radius: 5px; padding: 2px 7px; white-space: nowrap;
}

/* lista */
.ac-lista { display: flex; flex-direction: column; }
.ac-linha {
  display: flex; align-items: center; gap: 13px; padding: 10px 8px;
  border-bottom: 1px solid var(--sleeve); border-radius: 8px; color: var(--ink);
}
.ac-linha:last-child { border-bottom: none; }
.ac-linha:hover { background: var(--wax-3); text-decoration: none; }
.ac-linha-capa {
  width: 50px; height: 50px; flex-shrink: 0; border-radius: 6px; overflow: hidden;
  background: #0d0a08; border: 1px solid var(--sleeve);
}
.ac-linha-capa img { width: 100%; height: 100%; object-fit: cover; }
.ac-linha-info { flex: 1; min-width: 0; }

/* valor e ranking na lateral */
.ac-valor { font-family: var(--font-display); font-size: 30px; color: var(--gold); }
.rank { display: flex; flex-direction: column; gap: 11px; }
.rank-linha { display: flex; align-items: center; gap: 10px; }
.rank-n { font-family: var(--font-mono); font-size: 12px; color: var(--ink-mute); width: 12px; }
.rank-foto {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; overflow: hidden;
  background: #0d0a08; border: 1px solid var(--sleeve);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-family: var(--font-display); font-size: 14px;
}
.rank-foto img { width: 100%; height: 100%; object-fit: cover; }
.rank-nome { flex: 1; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-qtd { font-size: 11.5px; color: var(--ink-mute); font-family: var(--font-mono); white-space: nowrap; }

@media (max-width: 900px) {
  .ac-topo { flex-direction: column; align-items: stretch; }
  .ac-indicadores { display: grid; grid-template-columns: 1fr 1fr; }
  .ac-ind { min-width: 0; }
}
@media (max-width: 720px) {
  .ac-grade { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 11px; }
  .ac-filtros { display: grid; grid-template-columns: 1fr 1fr; }
  .ac-filtros select { width: 100%; }
  .ac-filtros .gl-modo { grid-column: 1 / -1; margin-left: 0; justify-content: center; }
}

/* ================================================================
   AJUSTE FINAL PARA CELULAR
   Regras das telas novas (grupos, tópicos, acervo, perfil, notificações).
   Vem por último de propósito, para vencer as regras anteriores.
   ================================================================ */

/* evita que texto colado sem espaço (links, matrizes) estoure a largura */
.tp-corpo, .rp-texto, .c-text, .n-comment, .side-bio, .gr-desc,
.ac-titulo, .ac-banda, .fp-text { overflow-wrap: anywhere; }

@media (max-width: 900px) {
  /* barra de busca + botão empilham antes de ficarem apertados */
  .gl-barra { flex-direction: column; align-items: stretch; }
  .gl-barra .btn-sm { width: 100%; }
  .gl-ordem { width: 100%; }
  .gl-ordem select { flex: 1; min-width: 0; }
}

@media (max-width: 720px) {

  /* ---- acervo ---- */
  .ac-topo { gap: 14px; }
  .ac-indicadores { grid-template-columns: 1fr 1fr; gap: 9px; }
  .ac-ind { padding: 12px 13px !important; }
  .ac-ind-topo strong { font-size: 20px; }
  .ac-ind.destaque .ac-ind-topo strong { font-size: 17px; }
  .ac-ind-rotulo { font-size: 12.5px; }
  .ac-ind-detalhe { font-size: 11px; }
  .ac-valor { font-size: 25px; }
  .ac-linha { gap: 10px; padding: 9px 4px; }
  .ac-linha-capa { width: 44px; height: 44px; }
  .ac-linha .ac-ano { display: none; }
  .ac-card .ac-titulo { font-size: 13.5px; }
  .ac-fav { width: 34px; height: 34px; }

  /* ---- ranking e artistas ---- */
  .rank-nome { font-size: 13.5px; }
  .artistas { grid-template-columns: repeat(4, 1fr); gap: 7px; }
  .art-nome { font-size: 10.5px; }

  /* ---- lista de grupos ---- */
  .gl-num { padding: 13px 14px !important; }
  .gl-num-topo strong { font-size: 23px; }
  .gl-grade { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gl-card { padding: 12px 10px; }
  .gl-card .gp-uf.grande { width: 46px; height: 46px; font-size: 16px; }
  .passo span, .motivo span { font-size: 12px; }

  /* ---- página do grupo ---- */
  .gr-selo { width: 62px; height: 62px; font-size: 20px; }
  .gr-texto h1 { font-size: 22px; }
  .gr-desc { font-size: 13px; }
  .gr-acoes { gap: 7px; }
  .gr-acoes .btn-sm, .gr-acoes .chip { flex: 1 1 45%; text-align: center; justify-content: center; }
  .gr-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* ---- tópicos e eventos ---- */
  .topico { gap: 10px; padding: 11px 4px; }
  .tp-titulo { font-size: 15px; }
  .tp-meta { font-size: 12px; gap: 5px; }
  .novo-topico { padding: 13px; }
  .evento { gap: 11px; padding: 11px 4px; }
  .ev-data { width: 46px; height: 50px; }
  .ev-dia { font-size: 18px; }
  .respostas { gap: 12px; }
  .rp-texto { font-size: 14px; }
  .rp-form textarea { font-size: 16px; }

  /* ---- notificações ---- */
  .notif { padding: 11px 8px; gap: 9px; }
  .n-line { font-size: 13.5px; }
  .n-time { display: block; margin-left: 0; margin-top: 2px; }
  .n-subject { font-size: 14px; gap: 8px; }
  .n-thumb { width: 34px; height: 34px; }
  .n-comment { font-size: 13.5px; }

  /* ---- curtidas e comentários ---- */
  .social-actions { gap: 2px; }
  .comment { gap: 8px; }
  .c-text { font-size: 13.5px; }

  /* ---- perfil ---- */
  .prof-stats { flex-wrap: wrap; row-gap: 14px; }
  .prof-stats .stat { flex: 1 1 40%; }
  .side-capas { grid-template-columns: repeat(5, 1fr); gap: 5px; }

  /* ---- busca de discos (Explorar) ---- */
  .disc-card { gap: 10px; padding: 10px; }
  .dc-cover { width: 64px; height: 64px; }
  .dc-title { font-size: 15px; }
}

@media (max-width: 380px) {
  .ac-indicadores { grid-template-columns: 1fr; }
  .ac-grade { grid-template-columns: 1fr 1fr; }
  .gl-grade { grid-template-columns: 1fr; }
  .ac-filtros { grid-template-columns: 1fr; }
  .gr-acoes .btn-sm, .gr-acoes .chip { flex: 1 1 100%; }
  .artistas { grid-template-columns: repeat(3, 1fr); }
  .prof-stats .stat { flex: 1 1 45%; }
}

@media (max-width: 720px) {
  /* linhas de pessoas com botões (pedidos de entrada, amigos, membros):
     em tela estreita os botões passam para a linha de baixo em vez de espremer o nome */
  .person { flex-wrap: wrap; row-gap: 8px; }
  .person .grow { flex: 1 1 60%; min-width: 0; }
  .person .btn-sm { flex: 1 1 auto; }
  .person > .chip { flex-shrink: 0; }
}

@media (max-width: 380px) {
  .person .btn-sm { flex: 1 1 100%; }
}

/* ---------- painel de gerenciar grupo ---------- */
.ger-bloco { padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--sleeve); }
.ger-bloco:first-of-type { padding-top: 0; margin-top: 0; border-top: none; }
.mod-lista { display: flex; flex-direction: column; }
.mod-linha {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 0; border-bottom: 1px solid var(--sleeve);
}
.mod-linha:last-child { border-bottom: none; }
.mod-info { flex: 1; min-width: 0; }
.mod-info .tp-titulo { color: var(--ink); display: block; }
.mod-info .tp-titulo:hover { color: var(--gold); }

@media (max-width: 720px) {
  .mod-linha { flex-wrap: wrap; row-gap: 8px; }
  .mod-info { flex: 1 1 60%; }
  .mod-linha .btn-sm { flex: 1 1 auto; }
}

/* ---------- fotos do exemplar e avaliacao de estado ---------- */
.fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px; }
.foto-slot { display: flex; flex-direction: column; }
.foto-rotulo {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .6px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
}
.foto-caixa {
  aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  background: #0d0a08; border: 1px solid var(--sleeve);
}
.foto-caixa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-vazia {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: var(--ink-mute); font-size: 13px;
  background: repeating-linear-gradient(45deg, #17110d 0 8px, #1d1611 8px 16px);
}
.foto-acoes { display: flex; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.foto-botao { cursor: pointer; display: inline-flex; align-items: center; }

.aval-conf { font-size: 10.5px; font-family: var(--font-mono); }
.aval-conf.alta { color: #6fbf73; }
.aval-conf.media { color: var(--gold); }
.aval-conf.baixa { color: var(--danger); }

@media (max-width: 720px) {
  .fotos { grid-template-columns: 1fr; gap: 18px; }
  .foto-caixa { max-width: 320px; }
  .aval { max-width: 320px; }
}

/* ---------- resumo do estado: capa e disco separados ---------- */

@media (max-width: 720px) {
  .resumo-notas { gap: 22px; }
  .resumo-item strong { font-size: 23px; }
}

/* ---------- acervo: ajustes finos de celular ---------- */

/* o botao de filtros so existe no celular; no desktop os filtros ficam sempre visiveis */
.filtros-toggle { display: none; }

@media (max-width: 900px) {
  /* Resumo antes da lista: no celular a lateral cai depois de dezenas de capas,
     e o valor investido / top artistas ficariam enterrados no fim da pagina */
  .acervo-layout { display: flex; flex-direction: column; }
  .acervo-layout .prof-side { order: -1; }
}

@media (max-width: 720px) {
  /* filtros recolhidos: quatro seletores abertos empurravam as capas para fora da tela */
  .filtros-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--wax-3); border: 1px solid var(--sleeve); color: var(--ink);
    padding: 10px 14px; border-radius: 9px; font-size: 14px; margin-bottom: 12px;
  }
  .filtros-toggle:hover { border-color: var(--gold); filter: none; }
  .filtros-conta {
    background: var(--gold); color: #23180a; border-radius: 999px;
    min-width: 19px; height: 19px; display: inline-flex; align-items: center;
    justify-content: center; font-size: 11px; font-family: var(--font-mono);
  }
  .ac-filtros { display: none; }
  .ac-filtros.aberto { display: grid; grid-template-columns: 1fr 1fr; }

  /* a lateral vira uma faixa compacta acima da lista */
  .acervo-layout .prof-side { flex-direction: row; flex-wrap: wrap; gap: 11px; }
  .acervo-layout .prof-side > .card { flex: 1 1 100%; }
}

@media (max-width: 380px) {
  /* dois por linha continua cabendo; empilhar tudo deixava a tela longa demais */
  .ac-indicadores { grid-template-columns: 1fr 1fr; }
  .ac-filtros.aberto { grid-template-columns: 1fr 1fr; }
  .ac-ind { padding: 10px 11px !important; }
  .ac-ind-topo strong { font-size: 18px; }
  .ac-ind.destaque .ac-ind-topo strong { font-size: 15px; }
  .ac-ind-rotulo { font-size: 12px; }
}

/* ================================================================
   TRAVA CONTRA ESTOURO DE LARGURA
   Itens de grade e de flex nascem com min-width automatico: eles se
   recusam a encolher abaixo do proprio conteudo. Um <select> com uma
   opcao longa ("Adicionados recentemente") empurra a coluna inteira
   para fora da tela, e o card aparece cortado no celular.
   ================================================================ */
.prof-grid, .prof-col, .prof-side,
.ac-topo, .ac-indicadores, .ac-filtros, .ac-grade, .ac-lista,
.gl-barra, .gl-busca, .gl-ordem, .gl-topo, .gl-grade,
.dm-grid, .disc-grid, .wish-grid, .fotos, .grupos, .topicos {
  min-width: 0;
}
.prof-grid > *, .prof-col > *, .prof-side > *,
.ac-topo > *, .ac-indicadores > *, .ac-filtros > *, .ac-grade > *,
.gl-barra > *, .gl-topo > *, .gl-grade > *, .fotos > * {
  min-width: 0;
}

/* campos nunca podem ser mais largos que o espaco disponivel */
input, select, textarea { max-width: 100%; box-sizing: border-box; }
.ac-filtros select, .gl-ordem select, .field select { width: 100%; }

/* imagens e midia tambem seguram a largura */
img, video, canvas { max-width: 100%; }

/* rede de seguranca: se algo escapar, a pagina nao rola para o lado */
html, body { overflow-x: hidden; }

/* ---------- dica discreta de tamanho de imagem ---------- */
.field .dica {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 400;
  color: var(--ink-mute); margin-left: 7px; text-transform: none; letter-spacing: 0;
}

/* ---------- nota curta sob cada foto ---------- */
.foto-nota {
  display: flex; align-items: baseline; gap: 7px; margin-top: 8px;
  font-size: 12px; color: var(--ink-mute);
}
.foto-nota strong { font-family: var(--font-display); font-size: 17px; color: var(--gold); }

/* ---------- card unico do estado avaliado ---------- */
.estado {
  margin-top: 18px; padding: 15px 16px; border-radius: 10px;
  background: var(--wax-3); border: 1px solid var(--gold);
}
.est-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.est-titulo {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .5px;
  text-transform: uppercase; color: var(--ink-mute);
}
.est-notacao {
  font-family: var(--font-mono); font-size: 13px; color: var(--gold);
  background: var(--wax); border: 1px solid var(--sleeve);
  border-radius: 5px; padding: 2px 9px; white-space: nowrap;
}
.est-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.est-item { min-width: 0; }
.est-topo { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.est-rotulo { font-size: 12.5px; color: var(--ink-mute); }
.aval-conf { font-size: 10.5px; font-family: var(--font-mono); }
.aval-conf.alta { color: #6fbf73; }
.aval-conf.media { color: var(--gold); }
.aval-conf.baixa { color: var(--danger); }
.est-nota { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; flex-wrap: wrap; }
.est-nota strong { font-family: var(--font-display); font-size: 26px; color: var(--gold); line-height: 1.1; }
.est-nota span { font-size: 12.5px; color: var(--ink-soft); }
.est-obs { margin: 5px 0 0; font-size: 12.5px; color: var(--ink-mute); line-height: 1.5; }
.est-vazio { margin: 4px 0 0; font-size: 13px; color: var(--ink-mute); font-style: italic; }
.est-aviso {
  margin: 14px 0 0; padding-top: 11px; border-top: 1px solid var(--sleeve);
  font-size: 12px; color: var(--ink-mute); line-height: 1.55;
}

@media (max-width: 720px) {
  .est-grade { grid-template-columns: 1fr; gap: 14px; }
  .est-nota strong { font-size: 23px; }
  .est-cab { flex-wrap: wrap; }
}

/* ================= mensagens em duas colunas ================= */
.msg-layout { display: grid; grid-template-columns: 320px 1fr; gap: 16px; align-items: start; }
.msg-lista { padding: 16px !important; }
.msg-conversa { padding: 0 !important; display: flex; flex-direction: column; min-height: 520px; }

/* lista de conversas */
.conversas { display: flex; flex-direction: column; gap: 4px; }
.conversa {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  background: transparent; border: 1px solid transparent; color: var(--ink);
  padding: 10px; border-radius: 10px;
}
.conversa:hover { background: var(--wax-3); filter: none; }
.conversa.ativa { background: var(--wax-3); border-color: var(--gold); }
.cv-info { flex: 1; min-width: 0; }
.cv-topo { display: flex; align-items: baseline; gap: 8px; }
.cv-nome { flex: 1; min-width: 0; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-hora { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-mute); white-space: nowrap; }
.cv-baixo { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.cv-previa {
  flex: 1; min-width: 0; font-size: 12.5px; color: var(--ink-mute);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cv-nao-lidas {
  background: var(--gold); color: #23180a; border-radius: 999px;
  min-width: 19px; height: 19px; padding: 0 6px; font-size: 11px;
  font-family: var(--font-mono); display: flex; align-items: center; justify-content: center;
}

/* cabecalho da conversa */
.msg-cabecalho {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--sleeve);
}
.msg-voltar {
  display: none; background: transparent; border: none; color: var(--ink);
  font-size: 20px; padding: 0 6px 0 0;
}
.msg-quem { flex: 1; min-width: 0; }
.msg-nome { font-family: var(--font-display); font-size: 18px; }
.msg-status { font-size: 12px; color: var(--ink-mute); }
.msg-status.on { color: #6fbf73; }

/* corpo */
.msg-corpo {
  flex: 1; overflow-y: auto; padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
  max-height: calc(100vh - 330px); min-height: 260px;
}
.msg-linha { display: flex; align-items: flex-end; gap: 8px; }
.msg-linha.minha { justify-content: flex-end; }
.msg-img { display: block; max-width: 100%; border-radius: 8px; margin-bottom: 6px; }
.msg-linha .bubble { max-width: 78%; }

.msg-vazio {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: var(--ink-mute); padding: 60px 20px; text-align: center;
}
.msg-vazio-disco {
  width: 74px; height: 74px; border-radius: 50%;
  background: radial-gradient(circle, var(--oxblood) 0 15%, transparent 16%),
              repeating-radial-gradient(circle, #241a14 0 3px, #17100c 3px 6px);
  border: 1px solid var(--sleeve);
}
.msg-vazio p { margin: 0; font-size: 14px; }

/* anexo e campo de escrita */
.msg-anexo { position: relative; display: inline-block; margin: 0 18px; }
.msg-anexo img { max-height: 110px; border-radius: 8px; border: 1px solid var(--sleeve); }
.msg-anexo .rm {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; padding: 0;
  border-radius: 50%; background: rgba(0,0,0,.7); color: #fff; border: none; font-size: 12px;
}
.msg-escrever {
  display: flex; align-items: center; gap: 9px;
  padding: 13px 18px; border-top: 1px solid var(--sleeve);
}
.msg-escrever input[type="text"], .msg-escrever input:not([type]) { flex: 1; min-width: 0; }
.msg-anexar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex-shrink: 0; cursor: pointer;
  border: 1px solid var(--sleeve); border-radius: 9px; color: var(--ink-soft);
}
.msg-anexar:hover { border-color: var(--gold); color: var(--gold); }

@media (max-width: 900px) {
  .msg-layout { grid-template-columns: 1fr; }
  /* no celular mostra uma coisa de cada vez */
  .msg-layout.com-aberta .msg-lista { display: none; }
  .msg-layout:not(.com-aberta) .msg-conversa { display: none; }
  .msg-voltar { display: block; }
  .msg-conversa { min-height: 0; }
  .msg-corpo { max-height: calc(100dvh - 300px); }
}

/* ================= explorar: aba pessoas ================= */
.exp-barra { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.exp-barra .gl-busca { flex: 1; min-width: 200px; }
.exp-barra .btn-sm { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; }

.exp-filtros { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 14px; }
.exp-filtros label { display: flex; flex-direction: column; gap: 4px; }
.exp-filtros label span { font-size: 12px; color: var(--ink-mute); }
.exp-filtros select {
  background: var(--wax); color: var(--ink); border: 1px solid var(--sleeve);
  border-radius: 8px; padding: 9px 11px; font-family: var(--font-body); font-size: 14px;
}
.exp-check { flex-direction: row !important; align-items: center; gap: 8px !important; padding-bottom: 9px; }
.exp-check input { width: 17px; height: 17px; accent-color: var(--gold); }
.exp-check span { font-size: 13.5px !important; color: var(--ink) !important; }

.exp-layout { display: grid; grid-template-columns: 340px 1fr; gap: 16px; align-items: start; }
.exp-lista { padding: 12px !important; max-height: 640px; overflow-y: auto; }
.exp-status { font-size: 12.5px; color: var(--ink-mute); margin-top: 1px; }
.exp-status.on { color: #6fbf73; }
.exp-generos { font-size: 12px; color: var(--gold-soft); margin-top: 4px; }
.exp-num { font-size: 12px; color: var(--ink-mute); margin-top: 3px; }
.exp-num strong { color: var(--ink); }

/* painel da direita */
.exp-painel { padding: 20px !important; }
.pp-topo { display: flex; gap: 16px; align-items: center; }
.avatar.grande-media { width: 84px; height: 84px; font-size: 30px; border-width: 3px; }
.pp-quem { flex: 1; min-width: 0; }
.pp-quem h2 { margin: 0 0 2px; font-size: 23px; }
.pp-local { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--ink-mute); margin-top: 4px; }

.pp-bloco { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--sleeve); }
.pp-titulo { font-family: var(--font-display); font-size: 16px; margin: 0 0 11px; }
.chip-genero { background: var(--gold); color: #23180a; border-color: var(--gold); }
.pp-stats { display: flex; gap: 28px; flex-wrap: wrap; }

.pp-discos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.pp-disco { display: block; color: var(--ink); min-width: 0; }
.pp-capa {
  aspect-ratio: 1; border-radius: 7px; overflow: hidden;
  background: #0d0a08; border: 1px solid var(--sleeve);
}
.pp-capa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-disco:hover .pp-capa { border-color: var(--gold); }
.pp-disco:hover { text-decoration: none; }
.pp-disco-nome {
  font-size: 11.5px; margin-top: 5px; line-height: 1.25;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.pp-disco-banda {
  font-size: 10.5px; color: var(--ink-mute);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pp-acoes { display: flex; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--sleeve); flex-wrap: wrap; }
.pp-acoes .btn-sm { display: inline-flex; align-items: center; }

@media (max-width: 900px) {
  .exp-layout { grid-template-columns: 1fr; }
  .exp-lista { max-height: none; }
  .pp-discos { grid-template-columns: repeat(5, 1fr); gap: 7px; }
}
@media (max-width: 720px) {
  .exp-filtros { display: grid; grid-template-columns: 1fr 1fr; }
  .exp-filtros select { width: 100%; }
  .exp-check { grid-column: 1 / -1; padding-bottom: 0; }
  .pp-topo { flex-direction: column; text-align: center; }
  .pp-local { justify-content: center; }
  .pp-stats { gap: 18px; }
  .pp-acoes .btn-sm { flex: 1; justify-content: center; }
}

/* ---------- preco pedido e estado declarado ---------- */
.preco-pedido {
  font-family: var(--font-mono); font-size: 13px; color: #1e3a22;
  background: #8fbf6f; border-radius: 5px; padding: 3px 9px; white-space: nowrap;
}
.dc-linha-venda { display: flex; align-items: center; gap: 7px; margin-top: 6px; flex-wrap: wrap; }
.dc-nota {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-mute);
  border: 1px solid var(--sleeve); border-radius: 4px; padding: 1px 6px;
}

/* ---------- importar do Discogs ---------- */
.imp-previa { margin-top: 14px; padding: 14px; border-radius: 10px; background: var(--wax-3); border: 1px solid var(--sleeve); }
.imp-previa p { margin: 0 0 12px; font-size: 14px; }
.imp-amostra { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin-bottom: 14px; }
.imp-disco { min-width: 0; }
.imp-nome {
  font-size: 10.5px; margin-top: 4px; color: var(--ink-mute); line-height: 1.25;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* ---------- leitor de codigo de barras ---------- */
.modal.camera { width: 460px; }
.camera-caixa {
  position: relative; border-radius: 10px; overflow: hidden;
  background: #000; aspect-ratio: 4/3; margin-bottom: 12px;
}
.camera-caixa video { width: 100%; height: 100%; object-fit: cover; display: block; }
.camera-mira {
  position: absolute; left: 12%; right: 12%; top: 38%; height: 24%;
  border: 2px solid var(--gold); border-radius: 8px;
  box-shadow: 0 0 0 2000px rgba(0,0,0,.35);
}

/* ---------- denunciar e bloquear ---------- */
.acoes-mod { display: flex; gap: 14px; align-items: center; margin-top: 8px; }
.denuncia-link { font-size: 12.5px; color: var(--ink-mute); }
.denuncia-link:hover { color: var(--danger); }
.denuncia-ok { font-size: 12.5px; color: #6fbf73; }
.mod-linha.resolvida { opacity: .55; }
.mod-motivo { margin: 6px 0 0; font-size: 13px; font-style: italic; color: var(--ink-soft); }

@media (max-width: 720px) {
  .imp-amostra { grid-template-columns: repeat(4, 1fr); }
  .modal.camera { width: 94vw; }
}

/* ---------- blocos internos de formulario ---------- */
.bloco-form {
  padding: 14px 15px; margin-bottom: 14px; border-radius: 10px;
  background: var(--wax-3); border: 1px solid var(--sleeve);
}
.bloco-titulo { font-family: var(--font-display); font-size: 15.5px; margin: 0 0 4px; }
.bloco-dica { margin: 0 0 10px; font-size: 12.5px; color: var(--ink-mute); line-height: 1.5; }
.bloco-form .row { margin-bottom: 0; }
.bloco-form .field:last-child { margin-bottom: 0; }
.bloco-form .row + .bloco-dica { margin: 10px 0 0; }

/* etiqueta de tipo/quantidade na grade do acervo */
.ac-formato {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-mute);
  border: 1px solid var(--sleeve); border-radius: 4px; padding: 1px 6px; white-space: nowrap;
}

/* ---------- primeiros passos ---------- */
.passos-card { border-color: var(--gold); }
.passos-cab { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.passos-cab > div { flex: 1; min-width: 0; }
.passos-barra {
  height: 5px; border-radius: 999px; background: var(--wax-3);
  border: 1px solid var(--sleeve); overflow: hidden; margin-bottom: 4px;
}
.passos-preenchido { height: 100%; background: var(--gold); transition: width .3s ease; }
.passos-lista { display: flex; flex-direction: column; }
.passo-item {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 0; border-bottom: 1px solid var(--sleeve);
}
.passo-item:last-child { border-bottom: none; padding-bottom: 2px; }
.passo-marca {
  width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%;
  border: 1.5px solid var(--sleeve); color: #23180a;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.passo-item.feito .passo-marca { background: var(--gold); border-color: var(--gold); }
.passo-texto { flex: 1; min-width: 0; }
.passo-texto strong { display: block; font-size: 14.5px; }
.passo-texto span { font-size: 12.5px; color: var(--ink-mute); line-height: 1.5; }
.passo-item.feito .passo-texto strong { color: var(--ink-mute); text-decoration: line-through; }
.passo-item.feito .passo-texto span { display: none; }

@media (max-width: 720px) {
  .passo-item { flex-wrap: wrap; row-gap: 9px; }
  .passo-texto { flex: 1 1 calc(100% - 37px); }
  .passo-item .btn-sm { width: 100%; }
}

/* ---- token do Discogs: selo de "ativo" ---- */
.tag-ok {
  display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 20px;
  background: color-mix(in srgb, var(--gold) 22%, transparent);
  color: var(--gold); font-size: 10.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; vertical-align: middle;
}

/* ---- andamento da importacao do Discogs ---- */
.imp-andamento { margin-top: 14px; }
.imp-barra {
  height: 7px; border-radius: 20px; overflow: hidden;
  background: color-mix(in srgb, var(--ink-mute) 22%, transparent);
}
.imp-barra-cheia {
  height: 100%; border-radius: 20px; background: var(--gold);
  transition: width .45s ease;
}

/* ---- acao destrutiva (excluir conta) ---- */
.link.perigo { color: var(--danger); }
button.perigo {
  background: var(--danger); border-color: var(--danger); color: #fff;
}
button.perigo:hover:not(:disabled) { filter: brightness(1.08); }

/* ---- atalho de moderacao na tela de grupos (so admin) ---- */
.atalho-mod {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px; text-decoration: none; color: inherit;
  border-left: 3px solid var(--gold);
  transition: border-color .18s ease, transform .18s ease;
}
.atalho-mod:hover { transform: translateY(-1px); border-left-color: var(--oxblood); }
.atalho-mod .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.atalho-mod strong { font-size: 15px; }
.atalho-icone {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: 9px; color: var(--gold);
  background: color-mix(in srgb, var(--gold) 14%, transparent);
}
.atalho-texto { font-size: 13px; color: var(--ink-mute); }
.atalho-selo {
  flex: none; min-width: 22px; height: 22px; padding: 0 7px;
  display: grid; place-items: center; border-radius: 20px;
  background: var(--oxblood); color: #fff; font-size: 12px; font-weight: 700;
}
.atalho-mod .seta { color: var(--ink-mute); font-size: 20px; flex: none; }

/* ---- notificacao de denuncia (admin) ---- */
.notif-mod { border-left: 3px solid var(--oxblood); padding-left: 11px; }
.n-acao {
  display: inline-block; margin-top: 6px; font-size: 12.5px;
  color: var(--gold); text-decoration: none;
}
.n-acao:hover { text-decoration: underline; }

/* ---- campo de senha com o botao de mostrar/ocultar ---- */
.campo-senha { position: relative; display: block; }
.campo-senha input { width: 100%; padding-right: 44px; }
.olho {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
  background: none; border: none; border-radius: 7px; cursor: pointer;
  color: var(--ink-mute); box-shadow: none;
}
.olho:hover { color: var(--ink); background: color-mix(in srgb, var(--ink-mute) 14%, transparent); }
.olho:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }

/* aviso que aparece so quando o que foi digitado nao serve */
.campo-dica {
  display: block; margin-top: 5px; margin-bottom: 0; font-size: 12.5px;
  line-height: 1.45; color: var(--danger); font-weight: 500;
}
