:root {
  --ink: #21132d;
  --muted: #746c7a;
  --plum: #592850;
  --rose: #de7896;
  --rose-light: #f6d0dc;
  --surface: #fffdfd;
  --line: #ece6eb;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--sans); }
button, input { font: inherit; }
button { cursor: pointer; }

.site-header { height: 76px; display: flex; align-items: center; gap: 50px; padding: 0 4.2vw; background: rgba(255, 253, 253, .98); position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 0 rgba(45, 27, 49, .05); }
.brand { color: var(--ink); font-size: 24px; font-weight: 700; letter-spacing: -1.3px; text-decoration: none; white-space: nowrap; }
.brand b { color: var(--rose); font-weight: 500; }
.main-nav { display: flex; align-self: stretch; align-items: center; gap: 34px; margin-left: auto; }
.main-nav a { position: relative; height: 100%; display: grid; place-items: center; color: var(--ink); font-size: 14px; text-decoration: none; }
.main-nav a { order: 30; }
.main-nav a[href="#top"], .main-nav a[href="index.html#top"] { order: 1; }
.main-nav a[href="#rankings"], .main-nav a[href="index.html#rankings"], .main-nav a[href="todos-doramas.html"] { order: 2; }
.main-nav a[href="#where-to-watch"], .main-nav a[href="streamers.html"] { order: 3; }
.main-nav a[href="#discover"], .main-nav a[href="index.html#discover"] { order: 4; }
.main-nav a[href="comunidades.php"] { order: 5; }
.main-nav a[href="parcerias.php"] { order: 6; }
.main-nav a.active::after { content: ""; position: absolute; bottom: 14px; left: 0; right: 0; height: 2px; background: var(--rose); }
.header-actions { position: relative; display: flex; align-items: center; gap: 22px; margin-left: 25px; }
.icon-button, .profile-button { border: 0; background: none; color: var(--ink); padding: 0; width: 24px; height: 24px; display: grid; place-items: center; }
.icon-button svg, .profile-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.heart-action { color: #8e496a; }
.heart-action svg { fill: currentColor; stroke: currentColor; }
.profile-button { width: 29px; height: 29px; color: #fff; border-radius: 50%; background: #35162f; }
.profile-button svg { width: 22px; height: 22px; stroke-width: 1.4; }
.profile-account-menu { width: 210px; position: absolute; top: calc(100% + 18px); right: 0; z-index: 30; padding: 8px; border: 1px solid #eadde5; border-radius: 13px; background: #fff; box-shadow: 0 14px 35px rgba(48, 20, 43, .16); }
.profile-account-menu::before { content: ""; width: 11px; height: 11px; position: absolute; top: -6px; right: 9px; border-top: 1px solid #eadde5; border-left: 1px solid #eadde5; background: #fff; transform: rotate(45deg); }
.profile-account-menu > div { display: grid; gap: 2px; padding: 9px 10px 11px; border-bottom: 1px solid #f0e7ec; }
.profile-account-menu small { color: var(--rose); font-size: 8px; font-weight: 700; letter-spacing: .8px; }
.profile-account-menu strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.profile-account-menu > a, .profile-account-menu > button { width: 100%; min-height: 39px; display: flex; align-items: center; border: 0; border-radius: 8px; padding: 0 10px; color: var(--ink); background: transparent; font-size: 11px; font-weight: 700; text-align: left; text-decoration: none; }
.profile-account-menu > a:hover, .profile-account-menu > button:hover { color: var(--plum); background: #f8edf3; }
.profile-account-menu > button { color: #9b3d59; }

.hero { min-height: 530px; position: relative; overflow: hidden; border-radius: 0 0 23px 23px; isolation: isolate; color: #fff; background: #472b45 url("assets/hero-templo-asiatico.jpg") center 28% / cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(42, 18, 42, .92) 0%, rgba(53, 28, 50, .7) 36%, rgba(48, 25, 44, .12) 72%), linear-gradient(0deg, rgba(41, 18, 36, .68), transparent 48%); }
.hero-copy { position: absolute; top: 63px; left: 4.6vw; }
.eyebrow { display: none; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(45px, 5.2vw, 75px); line-height: .96; font-weight: 600; letter-spacing: -2.6px; }
.hero h1 em { color: #f1a8bb; font-style: italic; }
.hero-description { margin: 20px 0 0; font-size: 17px; line-height: 1.43; color: rgba(255,255,255,.91); }
.hero-note { position: absolute; right: 5.5vw; top: 80px; text-align: center; font-family: var(--serif); font-size: 20px; font-style: italic; line-height: 1.28; transform: rotate(-5deg); }
.hero-note span { color: #f4a9be; }
.hero-search-wrap { position: absolute; left: 21.7%; right: 21.7%; bottom: 34px; }
.search-box { height: 54px; padding: 0 9px 0 19px; border-radius: 32px; background: rgba(255, 255, 255, .97); display: flex; align-items: center; gap: 15px; box-shadow: 0 8px 25px rgba(30, 9, 24, .2); }
.search-box > svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; flex: none; }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: none; font-size: 16px; }
.search-box input::placeholder { color: #928c9a; }
.search-box button { width: 41px; height: 41px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: #e586a0; }
.search-box button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.quick-searches { display: flex; justify-content: center; gap: 11px; margin-top: 13px; }
.quick-searches button { border: 0; border-radius: 20px; padding: 9px 20px; color: #31182e; background: #f4c4d2; font-size: 12px; font-weight: 600; transition: transform .2s, background .2s; }
.quick-searches button:hover { transform: translateY(-2px); background: #ffd9e4; }
.hero-side-label { position: absolute; right: 4.6vw; bottom: 21px; color: rgba(255,255,255,.85); font-size: 10px; letter-spacing: 2px; line-height: 1.6; }
.hero-side-label i { display: block; width: 35px; height: 1px; margin-top: 5px; background: #ec8ca8; }

.content-section, .platforms-section { padding: 52px 3vw 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; max-width: 1210px; margin: 0 auto 20px; }
.title-line { display: flex; align-items: center; gap: 12px; }
.title-line h2 { margin: 0; color: #1e1832; font: 600 clamp(25px, 2.4vw, 34px)/1.1 var(--serif); letter-spacing: -.9px; }
.section-heading p { margin: 3px 0 0 43px; color: var(--muted); font-size: 15px; }
.section-symbol { width: 32px; color: var(--rose); font-size: 32px; line-height: 1; text-align: center; }
.section-symbol.fire { transform: rotate(-18deg); font-size: 31px; }
.section-symbol.tv { color: #5a2359; font-size: 35px; }
.section-symbol.smile { color: #df6a89; font-size: 37px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding: 0 7px 6px; border: 0; color: var(--ink); background: none; font-size: 13px; font-weight: 600; }
.text-link span { font-size: 23px; font-weight: 400; line-height: 10px; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.drama-grid { max-width: 1210px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }.drama-grid:not(.expanded) .drama-card:nth-child(n+7) { display: none; }
.drama-card { min-width: 0; aspect-ratio: .68; overflow: hidden; position: relative; border-radius: 11px; color: #fff; background: #302537; isolation: isolate; box-shadow: 0 3px 10px rgba(49, 20, 46, .1); }
.drama-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(25, 13, 29, .85) 100%); }
.drama-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.drama-card:hover img { transform: scale(1.05); }
.rank { position: absolute; top: 11px; left: 11px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e28aa2; color: #fff; font-weight: 700; font-size: 15px; }
.drama-card:nth-child(2) .rank { background: #efb0c3; color: #32152f; }.drama-card:nth-child(3) .rank { background: #c86478; }.drama-card:nth-child(4) .rank { background: #7b4d78; }.drama-card:nth-child(5) .rank { background: #efb0c3; color: #32152f; }.drama-card:nth-child(6) .rank { background: #c7a8d0; color: #32152f; }
.drama-info { position: absolute; left: 15px; right: 9px; bottom: 11px; }
.drama-info h3 { margin: 0 0 12px; font: 500 clamp(16px, 1.35vw, 20px)/1.02 var(--serif); }
.drama-meta { display: flex; align-items: center; justify-content: space-between; gap: 3px; font-size: 10px; white-space: nowrap; }
.drama-meta span:first-child { overflow: hidden; text-overflow: ellipsis; }.favorite { width: 21px; height: 21px; flex: none; padding: 0; border: 0; color: #fff; background: none; font-size: 22px; line-height: 1; }.favorite.saved { color: #f38eaa; }
.rate-button { display: block; max-width: 100%; overflow: hidden; margin-top: 5px; padding: 0; border: 0; color: rgba(255,255,255,.8); background: none; font-size: 9px; text-align: left; text-overflow: ellipsis; white-space: nowrap; }.rate-button span { color: #f5b1c4; }.rate-button:hover { color: #fff; }
.empty-state { max-width: 1210px; margin: 30px auto; padding: 35px; border: 1px dashed #d9cdd8; border-radius: 12px; color: var(--muted); text-align: center; }

.catalog-page { max-width: 1270px; min-height: calc(100vh - 76px); margin: 0 auto; padding: 44px 30px 80px; }.catalog-back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; color: #7e456e; font-size: 13px; font-weight: 700; text-decoration: none; }.catalog-back-link span { font-size: 21px; line-height: 10px; }.catalog-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 8px; }.catalog-heading h1 { margin: 0; color: #1e1832; font: 600 clamp(34px, 4vw, 54px)/1 var(--serif); letter-spacing: -1.7px; }.catalog-heading p { margin: 10px 0 0 43px; color: var(--muted); font-size: 16px; }.catalog-filters { max-width: 1210px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 28px auto 24px; }.catalog-filters label { min-width: 0; height: 48px; position: relative; display: flex; align-items: center; overflow: hidden; border: 1px solid #e5d9e1; border-radius: 24px; color: var(--ink); background: #fff; box-shadow: 0 3px 12px rgba(49, 20, 46, .045); transition: border-color .2s, box-shadow .2s, transform .2s; }.catalog-filters label:nth-of-type(1) { flex: 0 1 255px; }.catalog-filters label:nth-of-type(2) { flex: 0 1 190px; }.catalog-filters label:nth-of-type(3) { flex: 0 1 275px; }.catalog-filters label:hover { border-color: #ddb8c5; transform: translateY(-1px); }.catalog-filters label:focus-within { border-color: #dc91aa; box-shadow: 0 0 0 3px rgba(220, 145, 170, .13); }.catalog-filters label::after { content: ""; width: 7px; height: 7px; position: absolute; right: 17px; top: 18px; border-right: 1.5px solid #704263; border-bottom: 1.5px solid #704263; transform: rotate(45deg); pointer-events: none; }.catalog-filters label > span { height: 100%; display: flex; align-items: center; flex: none; padding: 0 12px 0 17px; border-right: 1px solid #eee3e8; color: #ad5875; background: #fff7fa; font-size: 10px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }.catalog-filters select { min-width: 0; height: 100%; flex: 1; padding: 0 38px 0 12px; appearance: none; border: 0; outline: 0; color: var(--ink); background: transparent; font: 600 13px var(--sans); cursor: pointer; }.catalog-clear-filters { height: 48px; padding: 0 20px; border: 0; border-radius: 24px; color: #fff; background: var(--plum); box-shadow: 0 4px 12px rgba(89, 40, 80, .16); font-size: 12px; font-weight: 700; white-space: nowrap; transition: transform .2s, background .2s, box-shadow .2s; }.catalog-clear-filters:hover { transform: translateY(-2px); background: #713565; box-shadow: 0 7px 16px rgba(89, 40, 80, .21); }.catalog-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 7px; margin: 35px auto 0; }.pagination-button { min-width: 37px; height: 37px; padding: 0 11px; border: 1px solid #e4d8e2; border-radius: 9px; color: var(--plum); background: #fff; font-size: 12px; font-weight: 600; }.pagination-button:hover:not(:disabled), .pagination-button.active { border-color: var(--plum); color: #fff; background: var(--plum); }.pagination-button:disabled { cursor: not-allowed; opacity: .45; }
@media (max-width: 900px) { .catalog-filters label { flex: 1 1 calc(50% - 5px) !important; }.catalog-clear-filters { flex: 1 1 100%; } }
@media (max-width: 600px) { .catalog-page { padding: 35px 18px 60px; }.catalog-heading p { margin-left: 0; }.catalog-filters { display: grid; grid-template-columns: 1fr; gap: 9px; }.catalog-filters label, .catalog-clear-filters { width: 100%; }.catalog-filters label { flex: none !important; } }

.results-page { padding-top: 36px; }
.results-hero { max-width: 1210px; margin: 0 auto 28px; padding: 30px; border: 1px solid #f0e4ea; border-radius: 20px; background: linear-gradient(135deg, #fff8fa, #fff 62%); box-shadow: 0 8px 28px rgba(64, 30, 58, .06); }
.results-hero .catalog-heading { margin-bottom: 24px; }
.results-search { width: min(100%, 850px); height: 54px; display: flex; align-items: center; gap: 13px; padding: 0 7px 0 18px; border: 1px solid #dfcfd8; border-radius: 28px; background: #fff; box-shadow: 0 5px 16px rgba(49, 20, 46, .06); }
.results-search:focus-within { border-color: #dc91aa; box-shadow: 0 0 0 3px rgba(220, 145, 170, .13); }
.results-search > svg { width: 21px; height: 21px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2; }
.results-search input { min-width: 0; height: 100%; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 15px; }
.results-search input::placeholder { color: #938a96; }
.results-search button { height: 40px; padding: 0 22px; border: 0; border-radius: 22px; color: #fff; background: var(--plum); font-size: 13px; font-weight: 700; transition: transform .2s, background .2s; }
.results-search button:hover { transform: translateY(-1px); background: #713565; }
.results-loading { max-width: 1210px; margin: 40px auto; color: var(--muted); text-align: center; }
.pagination-ellipsis { min-width: 24px; color: var(--muted); text-align: center; }

.credits-page { max-width: 960px; }
.credits-card { margin-top: 34px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, #fff, #fff8fb); box-shadow: 0 7px 24px rgba(49, 20, 46, .06); }
.credits-card h2 { margin: 0 0 8px; font: 600 27px/1.15 var(--serif); }
.credits-card > p { color: var(--muted); line-height: 1.6; }
.credits-card dl { display: grid; gap: 0; margin: 24px 0; border-top: 1px solid var(--line); }
.credits-card dl div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.credits-card dt { color: var(--plum); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.credits-card dd { margin: 0; color: #554b59; font-size: 14px; line-height: 1.55; }
.credits-card a { color: #8a4668; font-weight: 600; }
.credits-card .credits-license-note { margin-bottom: 0; font-size: 12px; }

@media (max-width: 600px) {
  .results-page { padding-top: 26px; }
  .results-hero { padding: 22px 18px; border-radius: 15px; }
  .results-hero .catalog-heading { margin-bottom: 18px; }
  .results-search { height: auto; min-height: 51px; flex-wrap: wrap; padding: 8px 8px 8px 15px; }
  .results-search input { min-width: calc(100% - 42px); min-height: 35px; font-size: 13px; }
  .results-search button { width: 100%; }
  .credits-card { padding: 22px 18px; }
  .credits-card dl div { grid-template-columns: 1fr; gap: 5px; }
}
.user-rating-badge { position: absolute; top: 12px; right: 10px; padding: 6px 9px; border-radius: 20px; color: #32152f; background: #fff4f7; box-shadow: 0 2px 8px rgba(31, 14, 31, .16); font-size: 10px; font-weight: 700; }
.favorites-empty h2 { margin: 0 0 8px; color: var(--ink); font: 600 25px/1.2 var(--serif); }.favorites-empty p { margin: 0 0 20px; }.favorites-login-link { width: auto; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; text-decoration: none; }
#favorites-grid { margin-top: 28px; }

.platforms-section { max-width: 1210px; margin: 32px auto 0; padding: 28px 14px 27px; border-radius: 15px; background: linear-gradient(105deg, #f5edf5, #faf2f3); }
.platforms-section .section-heading { padding: 0 0; }.platform-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }.platform-grid:not(.expanded) .platform-card:nth-child(n+6) { display: none; }.platform-grid.expanded { grid-template-columns: repeat(7, 1fr); }
.platform-card { min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 0; border-radius: 15px; color: #fff; text-align: center; text-decoration: none; transition: transform .2s, box-shadow .2s; }.platform-card:hover { transform: translateY(-4px); box-shadow: 0 8px 17px rgba(54, 27, 53, .13); }
.platform-card strong { margin: 6px 0 5px; font-size: 16px; }.platform-card small { min-height: 26px; font-size: 10px; line-height: 1.35; }.platform-mark { min-height: 29px; display: grid; place-items: center; line-height: 1; }.platform-mark img { display: block; width: 78px; height: 29px; object-fit: contain; }.viki { color: #fff; background: #4f2d60; }.netflix { color: #fff; background: #ae1830; }.prime { color: #082e51; background: #bfe2f2; }.disney { color: #fff; background: #3f4d9a; }.max { color: #fff; background: #2a254f; }.apple { color: #fff; background: #22242b; }.kocowa { color: #fff; background: #1689b6; }

.moods-section { padding-top: 36px; }.mood-grid { max-width: 1210px; margin: 0 auto; display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; }.mood-card { min-height: 111px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: #fff; transition: border-color .2s, transform .2s, background .2s; }.mood-card:hover, .mood-card.selected { border-color: #e8a0b7; background: #fff6f9; transform: translateY(-3px); }.mood-card span { color: #e77b98; font-size: 33px; line-height: 1; }.mood-card:nth-child(2) span { color: #eab43d; }.mood-card:nth-child(3) span { color: #aab8e5; }.mood-card:nth-child(4) span { color: #a2a1dc; }.mood-card:nth-child(5) span { color: #ac897b; }.mood-card:nth-child(6) span { color: #e1aa51; }.mood-card:nth-child(7) span { color: #e890ad; }.mood-card:nth-child(8) span { color: #ec7796; }.mood-card:nth-child(9) span { color: #e7b12b; }.mood-card small { font-size: 12px; line-height: 1.1; }

.editorial-banner { max-width: 1210px; min-height: 170px; display: flex; align-items: center; justify-content: space-between; margin: 44px auto 62px; padding: 28px 6%; overflow: hidden; position: relative; border-radius: 13px; color: #fff; background: linear-gradient(90deg, rgba(71, 48, 73, .9), rgba(139, 98, 125, .3)), url("https://images.unsplash.com/photo-1528360983277-13d401cdc186?auto=format&fit=crop&w=1800&q=85") center / cover; }.editorial-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43, 25, 52, .6), transparent 75%); }.banner-copy, .banner-brand { position: relative; }.banner-copy h2 { margin: 0; font: 600 31px/1.05 var(--serif); letter-spacing: -.7px; }.banner-copy p { margin: 13px 0 0; font-size: 15px; }.banner-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }.banner-brand strong { font-size: 17px; }.banner-brand strong span { color: #f4b2c4; font-weight: 400; }.banner-brand small { font-size: 9px; letter-spacing: 1.5px; line-height: 1.5; }.banner-brand i { display: block; width: 43px; height: 2px; background: #e5b132; }
.site-footer { display: flex; align-items: center; justify-content: space-between; padding: 30px 5%; color: #fff; background: #2a1930; }.site-footer .brand { color: #fff; font-size: 19px; }.site-footer p, .site-footer small { color: #d4bdcf; font-size: 12px; }.site-footer small a { color: inherit; }.toast { position: fixed; left: 50%; bottom: 25px; z-index: 150; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 30px; color: #fff; background: #32172f; box-shadow: 0 5px 20px rgba(0,0,0,.2); opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .25s, transform .25s; font-size: 13px; }.toast.show { opacity: 1; transform: translate(-50%, 0); }
.footer-socials { display: flex; align-items: center; justify-content: center; gap: 10px; }
.footer-social-link { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; background: rgba(255,255,255,.06); transition: transform .2s, border-color .2s, background .2s; }
.footer-social-link:hover { transform: translateY(-3px); border-color: #f3a8bd; background: rgba(243,168,189,.15); }
.footer-social-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-social-link .social-fill { fill: currentColor; stroke: none; }
.modal-open { overflow: hidden; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(32, 18, 35, .68);
  backdrop-filter: blur(7px);
}
.modal {
  width: min(100%, 560px);
  max-height: calc(100vh - 48px);
  position: relative;
  overflow-y: auto;
  padding: 39px 43px;
  border-radius: 24px;
  color: var(--ink);
  background: #fffdfd;
  box-shadow: 0 24px 70px rgba(28, 12, 29, .32);
}
.modal-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  position: absolute;
  top: 15px;
  right: 15px;
  border: 0;
  border-radius: 50%;
  color: #857b89;
  background: #f4edf2;
  font-size: 26px;
  line-height: 1;
}
.modal-close:hover { color: var(--ink); background: #eedfe8; }
.auth-brand { margin: 4px 0 27px; color: var(--ink); font-size: 23px; font-weight: 700; letter-spacing: -1.2px; }
.auth-brand b { color: var(--rose); font-weight: 500; }
.modal h2 { margin: 0; font: 600 37px/1.12 var(--serif); letter-spacing: -1.2px; }
.modal-intro { margin: 8px 0 24px; color: var(--muted); line-height: 1.5; }
.auth-tabs { display: flex; gap: 30px; margin-bottom: 26px; border-bottom: 1px solid #e8dfe6; }
.auth-tab { position: relative; padding: 9px 0 13px; border: 0; color: #817886; background: transparent; font-size: 16px; font-weight: 600; }
.auth-tab.active { color: var(--plum); }
.auth-tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--rose); }
.auth-form { display: grid; gap: 16px; }
.auth-form label, .comment-form label { display: grid; gap: 8px; color: #4d4351; font-size: 13px; font-weight: 700; }
.auth-form input, .auth-form select, .comment-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid #e2d9e0;
  border-radius: 12px;
  outline: 0;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
  font-weight: 500;
}
.auth-form input:focus, .auth-form select:focus, .comment-form textarea:focus { border-color: #d886a2; box-shadow: 0 0 0 3px rgba(216, 134, 162, .13); }
.auth-form select { appearance: none; padding-right: 42px; background-image: linear-gradient(45deg, transparent 50%, #7d6d78 50%), linear-gradient(135deg, #7d6d78 50%, transparent 50%); background-position: calc(100% - 20px) 23px, calc(100% - 15px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
.auth-form input[type="file"] { min-height: 0; padding: 11px 13px; font-size: 12px; }
.form-two-columns { display: grid; grid-template-columns: minmax(180px, .9fr) minmax(0, 1.1fr); gap: 13px; }
.primary-button, .secondary-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 11px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.primary-button { width: 100%; color: #fff; background: var(--plum); box-shadow: 0 5px 14px rgba(89, 40, 80, .16); }
.primary-button:hover { transform: translateY(-1px); background: #713565; box-shadow: 0 8px 18px rgba(89, 40, 80, .22); }
.secondary-button { width: 100%; color: var(--plum); background: #f3e1eb; }
.secondary-button:hover { background: #ead2df; }
.form-link { justify-self: center; border: 0; color: #845071; background: transparent; font-size: 12px; font-weight: 600; }
.recover-copy { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.profile-modal { width: min(100%, 475px); text-align: center; }
.profile-avatar { width: 74px; height: 74px; display: grid; place-items: center; margin: 4px auto 17px; border-radius: 50%; color: #fff; background-color: #672658; font-size: 35px; }
.profile-modal h2 { font-size: 36px; }
.profile-summary { display: flex; justify-content: center; gap: 52px; margin: 31px 0; }
.profile-summary span { display: grid; gap: 3px; color: var(--muted); font-size: 13px; }
.profile-summary strong { color: var(--ink); font: 600 28px/1 var(--serif); }
.drama-modal { width: min(100%, 670px); }
.drama-modal-head { display: grid; grid-template-columns: 105px 1fr; align-items: center; gap: 20px; padding-right: 25px; }
.drama-modal-head img { width: 105px; height: 145px; object-fit: cover; border-radius: 10px; }
.drama-modal-head h2 { font-size: 31px; }
.modal-kicker { margin: 0 0 5px; color: var(--rose); font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.drama-modal-head div > p:last-child, .drama-modal-details { color: var(--muted); font-size: 13px; line-height: 1.5; }
.drama-modal-details { margin: 19px 0; }
.rating-area, .ending-area, .comments-area { padding-top: 17px; border-top: 1px solid var(--line); }
.rating-area h3, .ending-area h3, .comments-area h3 { margin: 0 0 11px; font-size: 15px; }
.rating-area h3 small { color: var(--muted); font-weight: 500; }
.rating-stars { display: flex; flex-wrap: wrap; gap: 4px; }
.rating-star { padding: 1px; border: 0; color: #d8cbd4; background: transparent; font-size: 24px; }
.rating-star.active { color: #e99f38; }
.ending-counts { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 12px; }
.ending-vote { display: flex; gap: 8px; margin-bottom: 16px; }
.ending-vote button { padding: 8px 13px; border: 1px solid #e2d7df; border-radius: 20px; color: var(--ink); background: #fff; }
.ending-vote button.selected { border-color: var(--rose); background: #fff0f5; }
.comment-form { display: grid; gap: 10px; margin: 18px 0; }
.comment-form textarea { min-height: 90px; padding-top: 13px; resize: vertical; }
.comment-item { padding: 13px 0; border-top: 1px solid var(--line); }
.comment-item strong { font-size: 13px; }
.comment-item time { margin-left: 8px; color: var(--muted); font-size: 10px; }
.comment-item p, .no-comments, .rating-login-hint { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.auth-form-feedback { margin: 0; color: #b42346; font-size: 12px; line-height: 1.4; }
.auth-form-feedback.success { color: #347051; }
.streamers-page { max-width: 1210px; min-height: calc(100vh - 210px); margin: 0 auto; padding: 58px 3vw 75px; }.streamers-page .back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; color: #7e456e; font-size: 13px; font-weight: 700; text-decoration: none; }.streamers-page .back-link span { font-size: 21px; line-height: 10px; }.streamers-page h1 { margin: 0; color: #1e1832; font: 600 clamp(34px, 4vw, 54px)/1 var(--serif); letter-spacing: -1.7px; }.streamers-page .page-intro { max-width: 620px; margin: 12px 0 34px; color: var(--muted); font-size: 16px; line-height: 1.5; }.streamers-page .platform-grid { grid-template-columns: repeat(4, 1fr); gap: 15px; }.streamers-page .platform-grid .platform-card { min-height: 190px; }.streamers-page .platform-grid:not(.expanded) .platform-card:nth-child(n+6) { display: flex; }
.partners-page { max-width: 1210px; min-height: calc(100vh - 210px); margin: 0 auto; padding: 58px 3vw 80px; }
.partners-back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; color: #7e456e; font-size: 13px; font-weight: 700; text-decoration: none; }
.partners-back-link span { font-size: 21px; line-height: 1; }
.partners-heading { max-width: 720px; margin-bottom: 36px; }
.eyebrow-label { margin: 0 0 10px; color: var(--rose); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.partners-heading h1 { margin: 0; color: #1e1832; font: 600 clamp(36px, 4.5vw, 58px)/1 var(--serif); letter-spacing: -1.8px; }
.partners-heading > p:last-child { margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.partnership-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partnership-card { min-height: 285px; display: flex; flex-direction: column; align-items: flex-start; padding: 25px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: linear-gradient(145deg, #fff, #fff8fb); box-shadow: 0 4px 16px rgba(49, 20, 46, .06); text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.partnership-card:hover { transform: translateY(-4px); border-color: #e7b2c2; box-shadow: 0 10px 25px rgba(49, 20, 46, .11); }
.partnership-logo { width: 100%; height: 66px; display: grid; place-items: center; margin-bottom: 20px; padding: 12px; border-radius: 11px; background: #f5edf3; }
.partnership-logo img { display: block; max-width: 150px; max-height: 42px; object-fit: contain; }
.partnership-wordmark { color: var(--plum); font: 700 27px/1 var(--serif); letter-spacing: -.7px; }
.partnership-card small { color: var(--rose); font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.partnership-card h2 { margin: 7px 0 8px; font: 600 24px/1.1 var(--serif); }
.partnership-card p { flex: 1; margin: 0 0 20px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.partnership-card strong { color: var(--plum); font-size: 12px; }
.partnership-card strong span { display: inline-block; margin-left: 4px; transition: transform .2s; }
.partnership-card:hover strong span { transform: translateX(4px); }
.partner-products { margin-top: 58px; padding-top: 43px; border-top: 1px solid var(--line); }
.partner-products-heading { max-width: 720px; margin-bottom: 27px; }
.partner-products-heading h2 { margin: 0; color: #1e1832; font: 600 clamp(30px, 3.6vw, 45px)/1.08 var(--serif); letter-spacing: -1.2px; }
.partner-products-heading > p:last-child { margin: 11px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.product-partnership-card { min-height: 520px; }
.product-partnership-image { height: auto; aspect-ratio: 1 / 1; overflow: hidden; padding: 0; background: #f8f2f5; }
.product-partnership-image img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; transition: transform .3s; }
.product-partnership-card:hover .product-partnership-image img { transform: scale(1.035); }
.partner-affiliate-note { margin: 17px 2px 0; color: #958891; font-size: 10px; line-height: 1.5; }

@media (max-width: 900px) { .partnership-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .partners-page { padding: 35px 18px 60px; }.partnership-grid { grid-template-columns: 1fr; }.partnership-card { min-height: 250px; }.partner-products { margin-top: 40px; padding-top: 32px; }.product-partnership-card { min-height: 0; } }

.profile-avatar { overflow: hidden; background-position: center; background-size: cover; }
.profile-page-link { min-height: 44px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; text-decoration: none; }
.register-avatar-field > small, .username-availability { min-height: 14px; color: var(--muted); font-size: 10px; font-weight: 500; }
.username-availability.available { color: #397653; }
.username-availability.unavailable { color: #a43e57; }
.register-avatar-field .file-picker { width: 100%; }

@media (max-width: 900px) { .site-header { gap: 18px; padding: 0 20px; }.main-nav { gap: 15px; }.main-nav a { font-size: 12px; }.header-actions { gap: 12px; margin-left: 5px; }.hero-search-wrap { left: 8%; right: 8%; }.drama-grid { grid-template-columns: repeat(3, 1fr); }.platform-grid, .platform-grid.expanded { grid-template-columns: repeat(3, 1fr); }.mood-grid { grid-template-columns: repeat(5, 1fr); }.editorial-banner { margin-left: 20px; margin-right: 20px; } }
@media (max-width: 600px) { .site-header { height: 65px; }.brand { font-size: 19px; }.main-nav { display: none; }.header-actions { margin-left: auto; }.hero { min-height: 590px; border-radius: 0 0 15px 15px; background-position: center 32%; }.hero::before { background: linear-gradient(90deg, rgba(42, 18, 42, .94), rgba(53, 28, 50, .58) 90%), linear-gradient(0deg, rgba(41, 18, 36, .8), transparent 60%); }.hero-copy { top: 42px; left: 24px; right: 20px; }.hero h1 { font-size: 46px; }.hero-description { font-size: 15px; }.hero-note { display: none; }.hero-search-wrap { left: 18px; right: 18px; bottom: 30px; }.search-box { height: 51px; padding-left: 14px; gap: 9px; }.search-box input { font-size: 14px; }.quick-searches { justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }.quick-searches button { white-space: nowrap; padding: 8px 14px; }.hero-side-label { display: none; }.content-section, .platforms-section { padding-left: 18px; padding-right: 18px; }.section-heading { align-items: flex-start; }.section-heading p { margin-left: 43px; font-size: 12px; }.text-link { padding-top: 8px; font-size: 11px; }.title-line h2 { font-size: 26px; }.drama-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }.platforms-section { margin-left: 10px; margin-right: 10px; }.platform-grid, .platform-grid.expanded { grid-template-columns: repeat(2, 1fr); gap: 8px; }.platform-card { min-height: 150px; }.mood-grid { grid-template-columns: repeat(3, 1fr); gap: 7px; }.mood-card { min-height: 95px; gap: 9px; }.mood-card span { font-size: 27px; }.mood-card small { font-size: 10px; }.editorial-banner { min-height: 220px; align-items: flex-start; justify-content: flex-end; flex-direction: column; gap: 24px; margin: 35px 18px 45px; padding: 26px; }.banner-copy h2 { font-size: 28px; }.banner-brand { align-self: flex-end; }.site-footer { flex-direction: column; gap: 12px; align-items: flex-start; }.modal { padding: 28px 20px; }.form-two-columns { grid-template-columns: 1fr; }.drama-modal-head h2 { font-size: 22px; }.drama-modal-head img { width: 74px; height: 103px; } }
/* Dados editoriais e votação da comunidade */
.drama-modal-details { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.rating-area h3 small { color: var(--muted); font: 500 11px var(--sans); }
.rating-stars { gap: 3px; flex-wrap: wrap; align-items: center; }
.rating-star { font-size: 27px; }
.rating-star:disabled { cursor: not-allowed; opacity: .72; }
.rating-login-hint { margin: 9px 0 0; color: var(--muted); font-size: 11px; }
.ending-area { margin-top: 22px; padding-top: 19px; border-top: 1px solid var(--line); }
.ending-area h3 { margin: 0 0 5px; font: 600 18px/1.1 var(--serif); }
.ending-area p { margin: 0 0 11px; color: var(--muted); font-size: 12px; }
.ending-counts { display: flex; flex-wrap: wrap; gap: 18px; }
.ending-counts strong { color: var(--ink); }
.ending-vote { display: flex; gap: 9px; }
.ending-vote button { min-width: 105px; padding: 9px 12px; border: 1px solid #e3dbe3; border-radius: 9px; color: var(--ink); background: #fff; font-size: 12px; }
.ending-vote button strong { color: var(--rose); }
.ending-vote button span { margin-left: 4px; color: var(--muted); }
.ending-vote button.selected { border-color: var(--rose); background: #fff4f7; box-shadow: 0 0 0 2px rgba(220, 145, 170, .12); }
.ending-vote button:disabled { cursor: not-allowed; opacity: .78; }
.ending-emoji { margin-right: 3px; font-size: 16px; }

/* Página individual do dorama */
.drama-page-body { min-height: 100vh; background: #fffafa; }
.drama-page-nav { display: flex; gap: 25px; margin-left: auto; }
.drama-page-nav a { color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.drama-page-nav a:hover { color: var(--plum); }
.drama-page { width: min(100% - 40px, 980px); margin: 0 auto; padding: 42px 0 80px; }
.drama-back-link { display: inline-block; margin-bottom: 25px; color: var(--rose); font-size: 13px; font-weight: 700; text-decoration: none; }
.drama-page-status { color: var(--muted); font-size: 14px; }
.drama-page-status.error { color: #a64662; }
.drama-detail { padding: 36px; border: 1px solid #eee3ea; border-radius: 20px; background: #fff; box-shadow: 0 15px 50px rgba(61, 24, 54, .08); }
.drama-detail-hero { display: flex; gap: 30px; align-items: center; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.drama-detail-hero img { width: 210px; height: 290px; flex: none; object-fit: cover; border-radius: 12px; }
.drama-detail-heading h1 { margin: 0; font: 600 clamp(32px, 5vw, 52px)/1.05 var(--serif); letter-spacing: -1.5px; }
.drama-original-title { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.drama-average { margin: 22px 0 0; color: #b17a30; font-size: 16px; font-weight: 700; }
.drama-information, .drama-community, .detail-comments { margin-top: 32px; }
.drama-information h2, .drama-community h2, .detail-comments h2 { margin: 0 0 18px; font: 600 26px var(--serif); }
.drama-synopsis { margin: -4px 0 22px; color: #5f5663; font-size: 15px; line-height: 1.7; }
.drama-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; }
.drama-facts div { padding: 15px; border-radius: 10px; background: #fbf4f8; }
.drama-facts dt { margin-bottom: 7px; color: var(--rose); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.drama-facts dd { margin: 0; color: #4f4453; font-size: 13px; line-height: 1.45; }
.detail-rating-panel, .detail-ending-panel { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fffdfd; }
.detail-rating-panel h3, .detail-ending-panel h3 { margin: 0 0 12px; font: 600 20px var(--serif); }
.detail-rating-panel h3 small { color: var(--muted); font: 500 11px var(--sans); }
.detail-rating-stars { display: flex; gap: 4px; }
.detail-rating-star { padding: 0; border: 0; color: #d8c8d3; background: none; font-size: 31px; line-height: 1; cursor: pointer; }
.detail-rating-star:hover, .detail-rating-star.active { color: #d89143; }
.detail-feedback { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.detail-login-prompt { color: var(--muted); font-size: 13px; }
.detail-ending-panel { margin-top: 14px; }
.detail-ending-counts { display: flex; flex-wrap: wrap; gap: 22px; margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.detail-ending-counts strong { color: var(--ink); }
.detail-ending-actions { display: flex; gap: 10px; }
.detail-ending-actions button { padding: 10px 16px; border: 1px solid #e3dbe3; border-radius: 9px; color: var(--ink); background: #fff; cursor: pointer; font-size: 13px; }
.detail-ending-actions button.selected { border-color: var(--rose); background: #fff4f7; box-shadow: 0 0 0 2px rgba(220, 145, 170, .12); }
.detail-comments { padding-top: 26px; border-top: 1px solid var(--line); }
.detail-comment-form { display: grid; gap: 9px; margin-bottom: 25px; }
.detail-comment-form label { color: #4b4050; font-size: 12px; font-weight: 600; }
.detail-comment-form textarea { width: 100%; border: 1px solid #e3dbe3; border-radius: 9px; outline: none; resize: vertical; padding: 12px 13px; color: var(--ink); font: 14px var(--sans); }
.detail-comment-form .primary-button { justify-self: start; padding: 0 18px; }
.detail-comment { padding: 15px 0; border-bottom: 1px solid #f0eaf0; }
.detail-comment strong { font-size: 13px; }
.detail-comment time { margin-left: 8px; color: #9b909e; font-size: 11px; }
.detail-comment p { margin: 7px 0 0; color: #5f5663; font-size: 13px; line-height: 1.5; }
.drama-card[tabindex] { cursor: pointer; }
.drama-title-link { color: inherit; text-decoration: none; }
.rate-button { text-decoration: none; }

@media (max-width: 650px) {
  .drama-page-nav { gap: 13px; }
  .drama-page { width: min(100% - 28px, 980px); padding-top: 28px; }
  .drama-detail { padding: 22px 18px; }
  .drama-detail-hero { gap: 16px; align-items: flex-start; }
  .drama-detail-hero img { width: 105px; height: 150px; }
  .drama-detail-heading h1 { font-size: 30px; }
  .drama-facts { grid-template-columns: 1fr; }
  .detail-rating-stars { gap: 1px; }
  .detail-rating-star { font-size: 26px; }
}

/* Comunidades */
.communities-page-body { min-height: 100vh; background: #fffafa; }
.communities-page { width: 100%; max-width: 1210px; min-height: 65vh; margin: 0 auto; padding: 54px 3vw 90px; }
.communities-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; padding: 38px 42px; border-radius: 22px; color: #fff; background: radial-gradient(circle at 85% 15%, rgba(232, 168, 189, .35), transparent 30%), linear-gradient(125deg, #3b203c, #693456 72%, #8a4d69); box-shadow: 0 20px 55px rgba(69, 29, 57, .16); }
.communities-hero .eyebrow-label, .community-detail-card .eyebrow-label { margin: 0 0 9px; color: #eab0c2; }
.communities-hero h1 { margin: 0; font: 600 clamp(40px, 6vw, 66px)/1 var(--serif); letter-spacing: -2px; }
.communities-hero p:last-child { max-width: 630px; margin: 17px 0 0; color: #eadfe8; font-size: 15px; line-height: 1.65; }
.community-create-toggle, .community-login-link { width: auto; max-width: 100%; min-width: 170px; min-height: 47px; display: inline-flex; align-items: center; justify-content: center; align-self: flex-end; flex: none; padding: 0 22px; color: var(--plum); background: #fff; line-height: 1; text-align: center; text-decoration: none; white-space: nowrap; }
.community-create-toggle:hover, .community-login-link:hover { color: #fff; }
.community-create-form { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px 24px; margin: 26px 0 0; padding: 28px 32px; border: 1px solid #eadfe6; border-radius: 18px; background: #fff; box-shadow: 0 14px 40px rgba(61, 24, 54, .08); }
.community-form-heading { grid-column: 1 / -1; display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 8px; }
.community-form-heading .eyebrow-label { margin: 0 0 4px; }
.community-form-heading h2 { margin: 0; font: 600 28px var(--serif); }
.community-form-close { border: 0; color: #8c7585; background: transparent; font-size: 28px; line-height: 1; }
.community-create-form label { align-self: end; color: #4f4351; font-size: 12px; font-weight: 700; }
.community-create-form label[for="community-description"] { grid-column: 2; grid-row: 2; }
.community-create-form input, .community-create-form textarea, .community-comment-form textarea { width: 100%; border: 1px solid #dfd3dc; border-radius: 10px; outline: none; padding: 12px 14px; color: var(--ink); background: #fffdfd; font: 14px/1.5 var(--sans); }
.community-create-form input:focus, .community-create-form textarea:focus, .community-comment-form textarea:focus, .community-search:focus-within { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(220, 145, 170, .14); }
.community-create-form input { grid-column: 1; }
.community-create-form textarea { grid-column: 2; grid-row: 3 / span 2; resize: vertical; }
.community-form-footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 5px; }
.community-form-footer small { color: var(--muted); }
.community-form-footer .primary-button { width: auto; padding: 0 24px; }
.communities-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 48px 0 22px; }
.communities-section-heading h2 { margin: 0 0 6px; font: 600 29px var(--serif); }
.communities-section-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.community-search { width: min(100%, 285px); height: 43px; display: flex; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid #e3d9e0; border-radius: 10px; color: var(--muted); background: #fff; }
.community-search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 13px; }
.communities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.community-card { overflow: hidden; border: 1px solid #eee4ea; border-radius: 15px; background: #fff; box-shadow: 0 10px 32px rgba(61, 24, 54, .05); transition: transform .2s, box-shadow .2s; }
.community-card:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(61, 24, 54, .1); }
.community-card-link { min-height: 150px; display: flex; gap: 17px; padding: 22px 22px 18px; color: inherit; text-decoration: none; }
.community-avatar, .community-detail-avatar { display: grid; place-items: center; flex: none; border-radius: 18px; color: #fff; background: linear-gradient(145deg, #cb7f9d, #663553); font: 600 31px var(--serif); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.community-avatar { width: 66px; height: 66px; }
.community-card-copy { min-width: 0; display: flex; flex-direction: column; }
.community-card-topline { margin-bottom: 5px; color: var(--rose); font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.community-card-copy strong { overflow: hidden; color: var(--ink); font: 600 21px/1.2 var(--serif); text-overflow: ellipsis; white-space: nowrap; }
.community-card-copy > span:last-child { display: -webkit-box; overflow: hidden; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.community-card-meta { display: flex; gap: 18px; padding: 13px 22px; border-top: 1px solid #f2ebef; color: #8b7c88; background: #fffdfd; font-size: 11px; }
.community-empty, .community-loading { padding: 55px 20px; color: var(--muted); text-align: center; }
.community-back-link { display: inline-flex; gap: 8px; margin-bottom: 24px; color: var(--rose); font-size: 13px; font-weight: 700; text-decoration: none; }
.community-detail-card { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; padding: 36px; border-radius: 20px; color: #fff; background: radial-gradient(circle at 90% 10%, rgba(232, 168, 189, .32), transparent 30%), linear-gradient(125deg, #3b203c, #693456 72%, #8a4d69); box-shadow: 0 20px 55px rgba(69, 29, 57, .16); }
.community-detail-avatar { width: 105px; height: 105px; border-radius: 25px; font-size: 50px; }
.community-detail-copy h1 { margin: 0; font: 600 clamp(34px, 5vw, 52px)/1.08 var(--serif); letter-spacing: -1.4px; }
.community-detail-copy > p:not(.eyebrow-label) { max-width: 650px; margin: 13px 0 0; color: #eadfe8; font-size: 14px; line-height: 1.65; }
.community-detail-meta { display: flex; gap: 24px; margin-top: 17px; color: #d5c3d0; font-size: 12px; }
.community-detail-meta strong { color: #fff; }
.community-detail-action { align-self: center; }
.community-join-button { width: auto; min-width: 145px; padding: 0 20px; text-decoration: none; }
.community-member-badge { display: inline-flex; min-height: 43px; align-items: center; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 9px; color: #fff; background: rgba(255, 255, 255, .1); font-size: 12px; font-weight: 700; }
.community-conversation { margin-top: 24px; padding: 30px 34px; border: 1px solid #eee4ea; border-radius: 18px; background: #fff; box-shadow: 0 12px 38px rgba(61, 24, 54, .06); }
.community-conversation-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.community-conversation-heading .eyebrow-label { margin: 0 0 4px; }
.community-conversation-heading h2 { margin: 0; font: 600 28px var(--serif); }
.community-conversation-heading > span { color: var(--muted); font-size: 12px; }
.community-comment-form { display: grid; gap: 10px; margin: 24px 0 12px; padding: 20px; border-radius: 12px; background: #fbf4f8; }
.community-comment-form label { color: #4f4351; font-size: 12px; font-weight: 700; }
.community-comment-form textarea { resize: vertical; background: #fff; }
.community-comment-form .primary-button { width: auto; justify-self: start; padding: 0 22px; }
.community-comment-actions { display: flex; align-items: center; gap: 10px; }
.community-image-picker { min-height: 42px; color: var(--plum) !important; background: #fff; }
.community-access-message { margin: 23px 0 4px; padding: 15px 17px; border-radius: 10px; color: #6e5e6b; background: #fbf4f8; font-size: 13px; }
.community-comments-list { margin-top: 18px; }
.community-comment-thread { border-bottom: 1px solid #f0e9ee; }
.community-comment-thread:last-child { border-bottom: 0; }
.community-comment { display: grid; grid-template-columns: 40px 1fr; gap: 13px; padding: 17px 0; }
.community-comment-content { min-width: 0; }
.community-comment-avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #8d526f; font: 600 17px var(--serif); }
.community-comment header { display: flex; align-items: baseline; gap: 9px; }
.community-comment strong { color: var(--ink); font-size: 13px; }
.community-comment time { color: #9b909e; font-size: 10px; }
.community-comment p { margin: 7px 0 0; color: #5f5663; font-size: 13px; line-height: 1.55; white-space: pre-wrap; }
.community-comment-image { width: 100%; max-width: 760px; max-height: 680px; display: block; margin-top: 11px; border-radius: 12px; object-fit: contain; background: #f7f1f4; }
.community-reply-button { margin-top: 9px; padding: 0; border: 0; color: #a04f70; background: none; font-size: 11px; font-weight: 700; }
.community-reply-button:hover { color: var(--plum); text-decoration: underline; }
.community-replies { margin-left: 52px; padding-left: 18px; border-left: 2px solid #f0dce5; }
.community-replies .community-comment-thread { border-bottom-color: #f4edf1; }
.community-replies .community-comment { padding-top: 14px; }
.community-replies .community-comment-avatar { width: 34px; height: 34px; font-size: 15px; }
.community-replies .community-comment-image { max-width: 580px; max-height: 500px; }
.community-inline-reply-form { display: grid; gap: 8px; margin: 13px 0 5px; padding: 14px; border: 1px solid #ebdbe3; border-radius: 11px; background: #fcf5f8; }
.community-inline-reply-form label { color: #6b5965; font-size: 11px; }
.community-inline-reply-form label strong { color: var(--plum); }
.community-inline-reply-form textarea { width: 100%; resize: vertical; border: 1px solid #dfd3dc; border-radius: 9px; outline: none; padding: 10px 12px; color: var(--ink); background: #fff; font: 13px/1.5 var(--sans); }
.community-inline-reply-form textarea:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(220, 145, 170, .14); }

/* Perfis pessoais e amizades */
.profile-button.has-avatar { background-position: center; background-size: cover; box-shadow: 0 0 0 2px #f0ccd9; }
.profile-button.has-avatar svg { display: none; }
.profile-page-body { background: #fbf7f9; }
.social-profile-page { width: min(1160px, calc(100% - 40px)); min-height: 70vh; margin: 0 auto; padding: 38px 0 80px; }
.profile-page-message { padding: 70px 20px; color: var(--muted); text-align: center; }
.profile-page-message.error { color: #9c3650; }
.user-profile-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; margin-top: 23px; padding: 38px 42px; border-radius: 22px; color: #fff; background: radial-gradient(circle at 88% 12%, rgba(240, 163, 190, .28), transparent 31%), linear-gradient(125deg, #342039, #663352 70%, #8f526d); box-shadow: 0 18px 48px rgba(62, 26, 54, .16); }
.user-avatar { display: grid; place-items: center; overflow: hidden; flex: none; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #d17d9d, #673454); font: 600 24px var(--serif); }
.user-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.user-avatar-large { width: 116px; height: 116px; border: 4px solid rgba(255, 255, 255, .75); font-size: 49px; box-shadow: 0 8px 30px rgba(24, 8, 23, .2); }
.user-avatar-small { width: 43px; height: 43px; font-size: 17px; }
.eyebrow-label { margin: 0 0 5px; color: var(--rose); font-size: 10px; font-weight: 700; letter-spacing: .8px; }
.user-profile-hero .eyebrow-label { color: #f2adc3; }
.user-profile-heading h1 { margin: 0; font: 600 clamp(34px, 5vw, 52px)/1.08 var(--serif); letter-spacing: -1.3px; }
.user-profile-heading > p:not(.eyebrow-label) { margin: 8px 0 0; color: #e2d5df; font-size: 13px; }
.user-profile-stats { display: flex; gap: 26px; margin-top: 18px; color: #dac7d5; font-size: 12px; }
.user-profile-stats strong { color: #fff; font-size: 17px; }
.user-profile-action { min-width: 190px; }
.user-profile-action .primary-button, .user-profile-action .secondary-button { width: 100%; padding: 0 18px; }
.profile-action-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.friend-status { display: inline-flex; align-items: center; gap: 7px; padding: 11px 16px; border: 1px solid rgba(255, 255, 255, .34); border-radius: 22px; color: #fff; font-size: 12px; font-weight: 700; }
.friend-profile-actions { display: grid; gap: 9px; }
.friend-profile-actions .friend-status { justify-content: center; }
.profile-chat { overflow: hidden; margin: 22px 0 25px; border: 1px solid #e8dce4; border-radius: 18px; background: #fff; box-shadow: 0 13px 38px rgba(58, 23, 51, .07); }
.profile-chat > header { display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; padding: 17px 21px; border-bottom: 1px solid #eee6eb; background: #fdf9fb; }
.profile-chat > header h2 { margin: 0; font: 600 21px/1.2 var(--serif); }
.chat-friend-label { color: #7b6572; font-size: 10px; font-weight: 700; }
.chat-messages { height: min(46vh, 430px); min-height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 9px; padding: 22px; background: linear-gradient(180deg, #fff, #fdfafd); scroll-behavior: smooth; }
.chat-empty { margin: auto; color: var(--muted); font-size: 12px; text-align: center; }
.chat-message { max-width: min(76%, 560px); padding: 10px 13px 7px; border-radius: 14px; }
.chat-message.theirs { align-self: flex-start; border-bottom-left-radius: 4px; color: #473a43; background: #f1e9ee; }
.chat-message.mine { align-self: flex-end; border-bottom-right-radius: 4px; color: #fff; background: linear-gradient(135deg, #74375f, #57264f); }
.chat-message p { margin: 0; font-size: 13px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-message footer { display: flex; justify-content: flex-end; gap: 7px; margin-top: 4px; color: inherit; font-size: 8px; opacity: .7; }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; padding: 14px 17px; border-top: 1px solid #eee6eb; background: #fff; }
.chat-form textarea { width: 100%; min-height: 43px; max-height: 130px; resize: vertical; border: 1px solid #dfd2db; border-radius: 12px; outline: none; padding: 11px 13px; color: var(--ink); background: #fff; font: 13px/1.45 var(--sans); }
.chat-form textarea:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(220, 145, 170, .13); }
.chat-form .primary-button { min-width: 92px; padding: 0 18px; }
.unread-badge { min-width: 17px; height: 17px; display: inline-grid; place-items: center; margin-left: 3px; border-radius: 9px; color: #fff; background: var(--rose); font: 700 8px var(--sans); vertical-align: middle; }
.profile-avatar-form { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; margin: 14px 0 0; padding: 15px 20px; border: 1px solid #eadde4; border-radius: 13px; background: #fff; }
.profile-avatar-form > div { display: grid; gap: 3px; }
.profile-avatar-form strong { font-size: 13px; }
.profile-avatar-form span { color: var(--muted); font-size: 10px; }
.profile-avatar-form .secondary-button { width: auto; min-height: 38px; padding: 0 18px; }
.profile-privacy-form { display: grid; grid-template-columns: minmax(0, 1fr) 150px auto; gap: 12px; align-items: center; margin: 10px 0 0; padding: 15px 20px; border: 1px solid #eadde4; border-radius: 13px; background: #fff; }
.profile-privacy-form > div { display: grid; gap: 3px; }
.profile-privacy-form strong { font-size: 13px; }
.profile-privacy-form span { color: var(--muted); font-size: 10px; }
.profile-privacy-form select { min-height: 38px; border: 1px solid #decfd9; border-radius: 9px; outline: 0; padding: 0 11px; color: var(--plum); background: #fff; font: 700 11px var(--sans); }
.profile-privacy-form select:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(220, 145, 170, .12); }
.profile-privacy-form .secondary-button { width: auto; min-height: 38px; padding: 0 18px; }
.file-picker { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 15px; border: 1px solid #decfd9; border-radius: 9px; color: var(--plum); background: #fff; font-size: 11px; font-weight: 700; cursor: pointer; }
.file-picker input { width: 1px; height: 1px; position: absolute; overflow: hidden; opacity: 0; }
.people-finder { display: grid; grid-template-columns: 1fr minmax(300px, 430px); gap: 22px; align-items: center; margin: 25px 0; padding: 24px 27px; border: 1px solid #eee2e9; border-radius: 17px; background: #fff; box-shadow: 0 10px 30px rgba(60, 25, 52, .05); }
.people-finder h2, .profile-feed-heading h2, .profile-panel-title h2 { margin: 0; font: 600 25px/1.2 var(--serif); }
.people-finder > div > p:last-child { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.people-search { height: 44px; display: flex; overflow: hidden; border: 1px solid #ded2db; border-radius: 24px; background: #fff; }
.people-search input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 0 17px; color: var(--ink); background: transparent; font-size: 12px; }
.people-search button { border: 0; padding: 0 19px; color: #fff; background: var(--plum); font-size: 12px; font-weight: 700; }
.people-results { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 11px; padding-top: 17px; border-top: 1px solid #f0e8ed; }
.people-results > .profile-list-empty { grid-column: 1 / -1; }
.people-results .person-row { min-width: 0; padding: 11px; border: 1px solid #eee3e9; border-radius: 12px; background: #fff; }
.people-results .person-row { grid-template-columns: minmax(0, 1fr) auto; }
.people-results .person-row:last-child { border-bottom: 1px solid #eee3e9; }
.people-results .person-row > button, .people-results .person-row > a { white-space: nowrap; }
.people-pagination { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 12px; }
.people-pagination:empty { display: none; }
.people-pagination button { min-height: 34px; border: 0; border-radius: 18px; padding: 0 14px; color: var(--plum); background: #f5e7ee; font-size: 10px; font-weight: 700; cursor: pointer; }
.people-pagination button:disabled { cursor: not-allowed; opacity: .45; }
.people-pagination span { color: var(--muted); font-size: 10px; }
.profile-layout { display: grid; grid-template-columns: minmax(270px, 330px) 1fr; gap: 22px; align-items: start; }
.profile-layout.read-only { grid-template-columns: 1fr; }
.profile-sidebar { display: grid; gap: 17px; }
.profile-panel, .profile-feed { border: 1px solid #eee3e9; border-radius: 17px; background: #fff; box-shadow: 0 10px 32px rgba(61, 24, 54, .045); }
.profile-panel { overflow: hidden; padding: 21px; }
.profile-panel-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.profile-panel-title h2 { font-size: 20px; }
.profile-panel-title > span { min-width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: var(--plum); background: #f4e5ed; font-size: 10px; font-weight: 700; }
.person-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 11px 0; border-bottom: 1px solid #f2ebef; }
.person-row:last-child { border-bottom: 0; }
.person-row > div:not(.request-actions) { min-width: 0; display: grid; gap: 2px; }
.person-row strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.person-row span { color: var(--muted); font-size: 10px; }
.person-row > a, .person-row > button, .request-actions button { border: 0; padding: 7px 9px; border-radius: 7px; color: var(--plum); background: #f5e7ee; font-size: 9px; font-weight: 700; text-decoration: none; }
.person-row > button:disabled { color: #968b93; background: #f2eef0; }
.people-results .person-profile-link { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 11px; align-items: center; padding: 0; border-radius: 0; color: var(--ink); background: transparent; text-decoration: none; }
.people-results .person-profile-link:hover strong { color: var(--rose); }
.person-profile-copy { min-width: 0; display: grid; gap: 2px; }
.person-profile-copy small { color: #9a7188; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .35px; }
.request-actions { display: flex; gap: 4px; }
.request-actions button:last-child { color: #776d74; background: #f2eef0; }
.profile-list-empty { margin: 15px 0 4px; color: var(--muted); font-size: 11px; text-align: center; }
.profile-feed { overflow: hidden; }
.profile-feed-heading { padding: 24px 27px 17px; border-bottom: 1px solid #f0e8ed; }
.profile-composer { display: grid; gap: 11px; margin: 20px 25px; padding: 15px; border: 1px solid #eadce4; border-radius: 13px; background: #fdf9fb; }
.profile-composer textarea { width: 100%; resize: vertical; border: 0; outline: 0; color: var(--ink); background: transparent; font: 13px/1.55 var(--sans); }
.profile-composer > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.profile-composer .primary-button { min-height: 38px; padding: 0 21px; }
.profile-posts { padding: 0 25px 20px; }
.profile-post { padding: 22px 0; border-bottom: 1px solid #efe7ec; }
.profile-post:last-child { border-bottom: 0; }
.profile-post header { display: flex; gap: 11px; align-items: center; }
.profile-post header > div { display: grid; gap: 2px; }
.profile-post header strong { font-size: 13px; }
.profile-post time { color: #998e95; font-size: 9px; }
.profile-post > p { margin: 15px 2px; color: #4d424a; font-size: 13px; line-height: 1.65; white-space: pre-wrap; }
.profile-post-image { width: 100%; max-height: 620px; display: block; margin-top: 14px; border-radius: 13px; object-fit: contain; background: #f5f0f3; }
.profile-post-engagement { display: flex; align-items: center; gap: 11px; margin-top: 14px; }
.profile-post-engagement small { color: var(--muted); font-size: 9px; }
.profile-like-button { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 18px; padding: 7px 11px; color: #7d6e77; background: #f7f0f4; font: 600 10px var(--sans); cursor: pointer; }
.profile-like-button span { color: #b69baa; font-size: 14px; line-height: 1; }
.profile-like-button.liked { color: var(--plum); background: #f4e1eb; }
.profile-like-button.liked span { color: var(--rose); }
.profile-like-button:disabled { cursor: default; opacity: .68; }
.profile-post-comments { margin-top: 19px; padding-top: 14px; border-top: 1px solid #f1e8ed; }
.profile-comments-title { margin-bottom: 10px; color: #8c7c86; font-size: 10px; font-weight: 700; }
.profile-comments-list { display: grid; gap: 8px; }
.profile-post-comment { padding: 10px 12px; border-radius: 12px; background: #faf6f8; }
.profile-comment-author { display: flex; align-items: center; gap: 8px; }
.profile-comment-author > div { min-width: 0; display: grid; gap: 1px; }
.profile-comment-author a { overflow: hidden; color: var(--plum); font-size: 11px; font-weight: 700; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.profile-comment-author a:hover { text-decoration: underline; }
.profile-comment-author time { color: #a0959c; font-size: 8px; }
.user-avatar-comment { width: 31px; height: 31px; font-size: 12px; }
.profile-post-comment > p { margin: 7px 0 0 39px; color: #50454c; font-size: 12px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-comment-form { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-top: 11px; }
.profile-comment-form textarea { width: 100%; min-height: 37px; max-height: 110px; resize: vertical; border: 1px solid #e2d5dd; border-radius: 19px; outline: 0; padding: 9px 13px; color: var(--ink); background: #fff; font: 11px/1.45 var(--sans); }
.profile-comment-form textarea:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(220, 145, 170, .12); }
.profile-comment-form button { min-height: 35px; border: 0; border-radius: 18px; padding: 0 14px; color: #fff; background: var(--plum); font-size: 10px; font-weight: 700; cursor: pointer; }
.profile-comment-form button:disabled { cursor: wait; opacity: .65; }
.profile-empty { display: grid; place-items: center; gap: 7px; padding: 55px 20px; color: var(--muted); text-align: center; }
.profile-empty span { color: var(--rose); font-size: 34px; }
.profile-empty p { margin: 0; font-size: 12px; }
.profile-private-message { max-width: 620px; margin: 50px auto; padding: 45px; border: 1px solid #ebdfe6; border-radius: 20px; background: #fff; text-align: center; }
.profile-private-message h1 { margin: 0; font: 600 34px var(--serif); }
.profile-private-message p { margin: 11px 0 23px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.profile-private-message.compact { margin: 22px 25px; padding: 36px 25px; box-shadow: none; }
.profile-private-message.compact > span { font-size: 26px; }
.profile-private-message.compact h3 { margin: 9px 0 0; font: 600 22px var(--serif); }
.profile-private-message.compact p { margin-bottom: 0; }
.profile-inline-button { min-height: 44px; display: inline-flex; align-items: center; padding: 0 20px; text-decoration: none; }

@media (max-width: 760px) {
  .social-profile-page { width: min(100% - 28px, 1160px); padding-top: 24px; }
  .user-profile-hero { grid-template-columns: 1fr; gap: 18px; padding: 28px 23px; text-align: center; }
  .user-avatar-large { width: 88px; height: 88px; justify-self: center; font-size: 38px; }
  .user-profile-stats { justify-content: center; }
  .user-profile-action { width: 100%; }
  .profile-avatar-form, .profile-privacy-form, .people-finder, .profile-layout { grid-template-columns: 1fr; }
  .profile-avatar-form, .profile-privacy-form { align-items: stretch; }
  .people-results { grid-template-columns: 1fr; }
  .profile-layout { display: flex; flex-direction: column; }
  .profile-sidebar, .profile-feed { width: 100%; }
  .profile-chat > header { grid-template-columns: auto 1fr; }
  .chat-friend-label { display: none; }
  .chat-messages { height: 390px; padding: 16px 12px; }
  .chat-message { max-width: 88%; }
  .chat-form { grid-template-columns: 1fr; }
  .chat-form .primary-button { width: 100%; }
  .profile-posts { padding-inline: 17px; }
  .profile-comment-form { grid-template-columns: auto minmax(0, 1fr); }
  .profile-comment-form button { grid-column: 2; justify-self: end; }
}
.community-inline-reply-form > div { display: flex; align-items: center; gap: 12px; }
.community-inline-reply-form .primary-button { width: auto; min-height: 38px; padding: 0 16px; font-size: 12px; }
.community-reply-cancel { border: 0; color: var(--muted); background: none; font-size: 11px; font-weight: 700; }
.community-no-comments { margin: 0; padding: 26px 0 8px; color: var(--muted); font-size: 13px; text-align: center; }

@media (max-width: 1000px) {
  .community-detail-card { grid-template-columns: auto 1fr; }
  .community-detail-action { grid-column: 2; }
}

@media (max-width: 700px) {
  .communities-page { width: 100%; padding: 28px 18px 65px; }
  .communities-hero { align-items: flex-start; flex-direction: column; padding: 29px 24px; }
  .communities-hero h1 { font-size: 45px; }
  .community-create-toggle, .community-login-link { width: 100%; align-self: stretch; }
  .community-create-form { grid-template-columns: 1fr; padding: 24px 20px; }
  .community-create-form label[for="community-description"], .community-create-form input, .community-create-form textarea { grid-column: 1; grid-row: auto; }
  .communities-section-heading { align-items: stretch; flex-direction: column; gap: 16px; margin-top: 38px; }
  .community-search { width: 100%; }
  .communities-grid { grid-template-columns: 1fr; }
  .community-detail-card { grid-template-columns: 1fr; padding: 28px 23px; }
  .community-detail-avatar { width: 78px; height: 78px; font-size: 38px; }
  .community-detail-action { grid-column: 1; }
  .community-detail-meta { align-items: flex-start; flex-direction: column; gap: 5px; }
  .community-conversation { padding: 25px 20px; }
  .community-conversation-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .community-comment-actions, .community-inline-reply-form > div { align-items: stretch; flex-direction: column; }
  .community-comment-actions .primary-button, .community-inline-reply-form .primary-button, .community-image-picker { width: 100%; justify-content: center; }
  .community-replies { margin-left: 18px; padding-left: 11px; }
  .community-replies .community-replies { margin-left: 8px; }
}

/* Pessoas */
.people-page-body { min-height: 100vh; background: #fbf7f9; }
.people-page { width: min(1210px, calc(100% - 48px)); min-height: 70vh; margin: 0 auto; padding: 42px 0 80px; }
.people-hero { display: grid; grid-template-columns: 1fr auto; gap: 35px; align-items: end; padding: 36px 40px; border-radius: 22px; color: #fff; background: radial-gradient(circle at 88% 12%, rgba(240, 163, 190, .3), transparent 31%), linear-gradient(125deg, #342039, #663352 70%, #8f526d); box-shadow: 0 18px 48px rgba(62, 26, 54, .15); }
.people-hero .eyebrow-label { color: #f2adc3; }
.people-hero h1 { margin: 0; font: 600 clamp(40px, 6vw, 62px)/1 var(--serif); letter-spacing: -1.7px; }
.people-hero > div:first-child > p:last-child { max-width: 690px; margin: 14px 0 0; color: #e8dae4; font-size: 14px; line-height: 1.6; }
.people-total { min-width: 145px; display: grid; padding: 17px 20px; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: rgba(255,255,255,.08); text-align: center; }
.people-total strong { font: 600 30px/1 var(--serif); }
.people-total span { margin-top: 5px; color: #e5d4df; font-size: 10px; }
.people-toolbar { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(220px, 310px); gap: 14px; margin: 24px 0 18px; padding: 19px; border: 1px solid #eadfe6; border-radius: 15px; background: #fff; box-shadow: 0 9px 28px rgba(61, 24, 54, .05); }
.people-search-field, .people-filter-field { height: 47px; display: flex; align-items: center; overflow: hidden; border: 1px solid #dfd2db; border-radius: 10px; background: #fff; }
.people-search-field:focus-within, .people-filter-field:focus-within { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(220,145,170,.12); }
.people-search-field > span, .people-filter-field > span { height: 100%; display: flex; align-items: center; flex: none; padding: 0 14px; color: var(--plum); background: #fbf4f8; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.people-search-field input, .people-filter-field select { min-width: 0; height: 100%; flex: 1; border: 0; outline: 0; padding: 0 14px; color: var(--ink); background: #fff; font: 12px var(--sans); }
.people-filter-field select { cursor: pointer; }
.people-pending-summary { width: 100%; margin: 0 0 18px; border: 1px solid #ecc9d6; border-radius: 12px; padding: 13px 18px; color: #713251; background: #fff1f6; font-size: 12px; font-weight: 700; text-align: left; cursor: pointer; }
.people-pending-summary:hover { border-color: var(--rose); background: #fde8f0; }
.people-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.people-card { min-width: 0; display: flex; flex-direction: column; padding: 22px; border: 1px solid #ece1e7; border-radius: 17px; background: #fff; box-shadow: 0 10px 30px rgba(61,24,54,.055); transition: transform .2s, box-shadow .2s; }
.people-card:hover { transform: translateY(-2px); box-shadow: 0 15px 36px rgba(61,24,54,.09); }
.people-card-profile { min-width: 0; display: flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; }
.people-card-avatar { width: 65px; height: 65px; display: grid; place-items: center; overflow: hidden; flex: none; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #d17d9d, #673454); font: 600 28px var(--serif); }
.people-card-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.people-card-profile > div { min-width: 0; }
.people-card h2 { overflow: hidden; margin: 0; color: var(--ink); font: 600 21px/1.2 var(--serif); text-overflow: ellipsis; white-space: nowrap; }
.people-card-profile p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.people-card-stats { margin: 18px 0; padding: 11px 0; border-top: 1px solid #f1e9ed; border-bottom: 1px solid #f1e9ed; color: var(--muted); font-size: 10px; }
.people-card-stats strong { color: var(--ink); font-size: 13px; }
.people-card-actions { min-height: 36px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.people-primary-action, .people-decline-action, .people-view-profile, .people-pending-button, .people-friend-label { min-height: 35px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 18px; padding: 0 14px; font-size: 10px; font-weight: 700; text-decoration: none; }
.people-primary-action { color: #fff; background: var(--plum); }
.people-primary-action:hover { background: #743660; }
.people-decline-action, .people-view-profile { color: var(--plum); background: #f5e8ee; }
.people-pending-button { color: #8d7f87; background: #f2eef0; }
.people-friend-label { color: #397356; background: #eaf6ef; }
.people-loading, .people-error, .people-empty { padding: 55px 20px; color: var(--muted); text-align: center; }
.people-error { color: #9c3650; }
.profile-request-notification { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin: 0 0 18px; border: 1px solid #edc7d5; border-radius: 14px; padding: 14px 17px; color: var(--ink); background: #fff0f5; text-align: left; cursor: pointer; }
.profile-request-notification > span:first-child { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--rose); font-size: 13px; font-weight: 700; }
.profile-request-notification > span:nth-child(2) { display: grid; gap: 2px; }
.profile-request-notification strong { font-size: 12px; }
.profile-request-notification small { color: #806d79; font-size: 10px; }
.profile-request-notification b { color: var(--plum); font-size: 10px; }

@media (max-width: 920px) {
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .people-page { width: min(100% - 28px, 1210px); padding-top: 25px; }
  .people-hero { grid-template-columns: 1fr; padding: 29px 23px; }
  .people-total { min-width: 0; grid-template-columns: auto 1fr; gap: 7px; align-items: baseline; justify-content: start; text-align: left; }
  .people-toolbar, .people-grid { grid-template-columns: 1fr; }
  .people-toolbar { padding: 13px; }
  .profile-request-notification { grid-template-columns: auto 1fr; }
  .profile-request-notification b { grid-column: 2; }
}

@media (max-width: 1150px) {
  .site-header { gap: 22px; padding-inline: 22px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 12px; }
}

@media (max-width: 850px) {
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
}

/* Navegação mobile compartilhada por todas as páginas */
.mobile-menu-toggle { display: none; }

@media (max-width: 850px) {
  body.mobile-menu-open { overflow: hidden; }
  .site-header { isolation: isolate; }
  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
    display: grid;
    flex: none;
    align-content: center;
    justify-items: center;
    gap: 5px;
    margin-left: auto;
    padding: 0;
    border: 1px solid #eadde5;
    border-radius: 12px;
    color: var(--plum);
    background: #fff7fa;
    box-shadow: 0 4px 12px rgba(60, 29, 54, .08);
  }
  .mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .22s ease, opacity .18s ease;
  }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-actions { gap: 12px; margin-left: 0; }
  .site-header .main-nav {
    width: min(360px, calc(100vw - 24px));
    max-height: calc(100vh - 100px);
    position: absolute;
    top: calc(100% + 10px);
    right: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    overflow-y: auto;
    margin: 0;
    padding: 11px;
    border: 1px solid #eadde5;
    border-radius: 18px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background: rgba(255, 253, 253, .99);
    box-shadow: 0 20px 50px rgba(40, 18, 38, .22);
    transform: translateY(-9px) scale(.98);
    transform-origin: top right;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .site-header.mobile-menu-open .main-nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .site-header .main-nav a {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: none;
    padding: 0 16px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 600;
  }
  .site-header .main-nav a::before {
    content: "\2192";
    order: 2;
    color: #bd6f89;
    font-size: 17px;
    font-weight: 400;
  }
  .site-header .main-nav a:hover,
  .site-header .main-nav a:focus-visible { color: var(--plum); background: #faedf2; outline: none; }
  .site-header .main-nav a.active { color: var(--plum); background: #f8e7ee; }
  .site-header .main-nav a.active::after {
    width: 3px;
    top: 12px;
    right: auto;
    bottom: 12px;
    left: 5px;
    height: auto;
    border-radius: 3px;
  }
  .site-header.mobile-menu-open::before {
    content: "";
    position: fixed;
    inset: 76px 0 0;
    z-index: 1;
    background: rgba(33, 19, 45, .3);
    backdrop-filter: blur(2px);
  }
}

@media (max-width: 600px) {
  .site-header { gap: 9px; padding-inline: 14px; }
  .site-header.mobile-menu-open::before { inset-block-start: 65px; }
  .mobile-menu-toggle { width: 38px; height: 38px; border-radius: 11px; }
  .header-actions { gap: 9px; }
}

@media (max-width: 360px) {
  .site-header { gap: 6px; padding-inline: 10px; }
  .site-header .brand { font-size: 17px; }
  .mobile-menu-toggle { width: 36px; height: 36px; }
  .header-actions { gap: 7px; }
}

/* Redefinição de senha */
.password-reset-page { min-height: 100vh; color: var(--ink); background: radial-gradient(circle at 78% 18%, rgba(231,151,180,.25), transparent 28%), linear-gradient(135deg, #2d1831, #6d3c5b 58%, #b8738e); }
.password-reset-shell { min-height: 100vh; display: grid; place-items: center; padding: 28px; }
.password-reset-card { width: min(100%, 610px); padding: 43px 48px; border-radius: 24px; background: #fffdfd; box-shadow: 0 25px 70px rgba(29,12,29,.3); }
.password-reset-brand { display: inline-block; margin-bottom: 35px; color: var(--ink); text-decoration: none; }
.password-reset-brand b { color: var(--rose); font-weight: 500; }
.password-reset-card h1 { margin: 0 0 12px; font: 600 clamp(34px, 6vw, 48px)/1.08 var(--serif); letter-spacing: -1.2px; }
.password-reset-card > p:not(.eyebrow-label) { color: var(--muted); font-size: 13px; }
.password-reset-card .auth-form { margin-top: 25px; }
.password-reset-error { margin: 20px 0; padding: 13px 15px; border-radius: 10px; color: #91344d !important; background: #fcebf0; line-height: 1.5; }
.password-reset-success { display: grid; gap: 10px; margin-top: 25px; padding: 20px; border-radius: 13px; color: #355e48; background: #edf8f1; }
.password-reset-success strong { font: 600 23px var(--serif); }
.password-reset-success p { margin: 0 0 7px; font-size: 13px; }
.password-reset-back { display: block; margin-top: 22px; color: #8a4d6e; font-size: 12px; font-weight: 700; text-align: center; text-decoration: none; }

@media (max-width: 600px) {
  .password-reset-shell { padding: 15px; }
  .password-reset-card { padding: 32px 23px; border-radius: 19px; }
}
