/* Páginas novas: termos, privacidade, admin, retrospectiva, amigos */
.page-wrap { padding: 4px 16px 32px; }
@media (min-width: 960px) {
  .page-wrap, .topbar { max-width: 760px; margin-left: auto; margin-right: auto; }
  .topbar { margin-top: 10px; }
}

/* público (termos/privacidade) sem barra de navegação */
.public-page .app { padding-bottom: 24px; }
.legal { font-size: 14px; line-height: 1.65; color: #ddd; }
.legal h2 { font-size: 16px; color: #fff; margin: 22px 0 6px; }
.legal p { margin-bottom: 10px; }
.legal ul { padding-left: 20px; margin-bottom: 10px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--lime); text-decoration: underline; }
.legal-date { font-size: 12px; color: var(--muted); }

/* admin */
.adm-tabs { margin-bottom: 12px; gap: 20px; }
.adm-card { border: 1px solid #3a3a3a; border-radius: 12px; padding: 14px; margin-bottom: 12px; background: #202020; }
.adm-top { display: flex; align-items: center; gap: 10px; font-size: 12px; margin-bottom: 8px; }
.adm-kind { background: var(--purple); padding: 2px 10px; border-radius: 999px; font-weight: 700; }
.adm-count { color: #ff8a8a; font-weight: 700; }
.adm-top .dim { margin-left: auto; }
.adm-reason { font-size: 14px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.adm-reason i { color: #ff6b6b; }
.adm-card blockquote { margin: 10px 0; padding: 10px 12px; border-left: 3px solid #555; background: #181818; border-radius: 6px; font-size: 13px; color: #ddd; white-space: pre-wrap; word-break: break-word; }
.adm-details { font-size: 12px; color: #bbb; padding-left: 18px; margin-bottom: 8px; }
.adm-meta { font-size: 12px; color: var(--muted); }
.adm-meta a { color: var(--lime); }
.adm-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.adm-done { margin-top: 10px; font-size: 12px; color: var(--lime); }
.adm-ban { display: flex; align-items: center; gap: 10px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.adm-ban div { flex: 1; } .adm-ban b { display: block; } .adm-ban small { font-size: 12px; color: var(--muted); }

/* retrospectiva */
.retro-years { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; }
.chip-y { padding: 6px 16px; border-radius: 999px; border: 1px solid #555; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.chip-y.on { background: var(--lime); color: #111; border-color: var(--lime); }
.rc { border-radius: 20px; padding: 24px 20px; margin-bottom: 14px; text-align: center; background: linear-gradient(160deg, #3b1a6e, #1d1d1d 70%); position: relative; overflow: hidden; }
.rc small { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); font-weight: 700; margin-bottom: 8px; }
.rc h2 { font-size: 28px; line-height: 1.15; margin-bottom: 8px; }
.rc h3 { font-size: 24px; margin-bottom: 6px; }
.rc p { font-size: 14px; color: #ddd; line-height: 1.5; }
.rc-hero { padding: 34px 20px; background: linear-gradient(160deg, #7c3aed, #3b0764 55%, #1a1a1a); }
.rc-hero .btn { margin-top: 16px; }
.rc-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--lime); margin-bottom: 12px; }
.rc-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: #1f1f1f; }
.rc-numbers b { display: block; font-size: 40px; font-weight: 800; line-height: 1.1; }
.rc-numbers b.yellow { color: var(--score-yellow); } .rc-numbers b.red { color: var(--score-red); }
.rc-numbers span { font-size: 12px; color: var(--muted); }
.rc-artist { background: linear-gradient(160deg, #0f766e, #1d1d1d 70%); }
.rc-artist img { width: 150px; height: 150px; border-radius: 16px; object-fit: cover; margin: 6px auto 12px; display: block; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.rc-artist a:hover { color: var(--lime); }
.rc-top { text-align: left; background: #1f1f1f; }
.rc-top small { text-align: center; }
.rc-top ol { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.rc-top li { display: flex; align-items: center; gap: 12px; }
.rc-top .n { width: 20px; font-weight: 800; font-size: 18px; color: #888; text-align: center; }
.rc-top img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; display: block; }
.rc-top .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rc-top .t b, .rc-top .t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-top .t small { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 400; margin: 0; }
.rc-persona { background: linear-gradient(160deg, #be185d, #1d1d1d 70%); }
.rc-persona > i { font-size: 34px; margin-bottom: 10px; color: #fff; }
.rc-facts { text-align: left; background: #1f1f1f; display: flex; flex-direction: column; gap: 14px; }
.rc-facts > div { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.rc-facts > div > i { color: var(--lime); margin-top: 3px; width: 18px; text-align: center; }
.rc-months { display: flex !important; align-items: flex-end !important; gap: 4px !important; height: 90px; padding-top: 6px; }
.rc-months span { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.rc-months i { display: block; width: 100%; min-height: 2px; background: var(--purple); border-radius: 4px 4px 0 0; }
.rc-months small { color: #888; margin: 0; letter-spacing: 0; font-size: 10px; }
.rc-share { background: linear-gradient(160deg, #4d7c0f, #1d1d1d 70%); }
.rc-share .btn { margin-top: 14px; }
@media (min-width: 960px) { .rc-numbers { grid-template-columns: repeat(4, 1fr); } }

/* amigos */
.inv-card { border-radius: 18px; padding: 22px 18px; text-align: center; background: linear-gradient(160deg, #6d28d9, #1d1d1d 80%); margin-bottom: 22px; }
.inv-ico { font-size: 30px; color: var(--lime); margin-bottom: 8px; }
.inv-card h2 { font-size: 20px; margin-bottom: 6px; }
.inv-card p { font-size: 13px; color: #ddd; line-height: 1.5; }
.inv-link { display: flex; gap: 8px; margin: 14px 0 10px; }
.inv-link input { flex: 1; min-width: 0; height: 34px; border-radius: 999px; border: 1px solid #555; background: rgba(0,0,0,.3); color: #fff; padding: 0 14px; font-size: 12px; }
.inv-link .btn { height: 34px; }
.inv-btns { display: flex; gap: 8px; justify-content: center; }
.inv-btns .btn { flex: 1; max-width: 180px; }
.inv-count { margin-top: 12px; color: var(--lime) !important; font-weight: 700; }
.friends h2 { font-size: 18px; margin-bottom: 10px; }
.fr-search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 10px; background: var(--surface); color: var(--muted); margin-bottom: 6px; }
.fr-search input { flex: 1; background: transparent; border: none; outline: none; color: #fff; font-size: 14px; }
.fr-title { font-size: 14px; margin: 18px 0 2px; }
.fr-sub, .fr-empty { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.fr-empty { padding: 12px 0; }
.fr-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.fr-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fr-who b, .fr-who small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fr-who b { font-size: 14px; } .fr-who small { font-size: 11.5px; color: var(--muted); }
.avatar-44 { width: 44px; height: 44px; }
.rc-avatar { display: block; margin: 0 auto 12px; }
.rc-top .t small { text-align: left; }
