.social-profile { max-width: 1024px; margin: 24px auto 64px; padding: 0 20px; min-height: 50vh; }
.social-profile [hidden] { display: none !important; }
.profile-hero { border: 1px solid #e6e3e4; border-radius: 22px; overflow: hidden; }
.profile-cover { height: clamp(105px, 20vw, 175px); background: radial-gradient(ellipse at 12% -10%, #c4fa39, transparent 72%), #f1f3e9; }
.profile-identity { display: flex; gap: 18px; align-items: flex-end; padding: 0 24px 18px; }
.profile-avatar { display: grid; place-items: center; position: relative; isolation: isolate; flex: 0 0 112px; aspect-ratio: 1; margin-top: -38px; border: 5px solid white; border-radius: 50%; overflow: hidden; background: #e9efdc; color: #263016; font-size: 33px; font-weight: 750; }
.profile-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: white; }
.profile-heading { flex: 1; min-width: 0; padding-top: 12px; }
.profile-heading h1 { font: 800 clamp(25px, 4vw, 36px)/1.1 var(--font-title, sans-serif); overflow-wrap: anywhere; }
.profile-heading p, .profile-post-content { white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-heading p, .profile-muted { color: #605c61; }
.profile-heading p { margin-top: 6px; }
.profile-tools, .profile-menu, .profile-feed-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.profile-tools button, .profile-feed-actions a, .profile-card button { border: 1px solid #e2dfe1; border-radius: 999px; padding: 7px 13px; font-size: 14px; font-weight: 650; cursor: pointer; }
.profile-tools button:hover, .profile-feed-actions a:hover, .profile-card button:hover { background: #f3f2f3; }
.profile-menu { padding: 10px 20px; }
.profile-menu a { padding: 8px 13px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.profile-menu a[aria-current] { background: #ebf6d7; color: #294208; }
.profile-feed { width: min(100%, 660px); margin: 24px auto 0; }
.profile-composer, .profile-card { display: grid; gap: 10px; padding: 18px; border: 1px solid #e6e3e4; border-radius: 18px; background: white; }
.profile-composer label, .profile-card strong { font-weight: 700; }
.profile-composer textarea, .profile-edit :is(input, textarea) { width: 100%; padding: 10px 12px; border: 1px solid #dcd9db; border-radius: 11px; }
.profile-composer textarea { min-height: 74px; resize: vertical; }
.profile-composer button, .profile-edit [type="submit"] { justify-self: end; border-radius: 999px; padding: 8px 16px; background: var(--ticketboa-lime); font-weight: 700; cursor: pointer; }
.profile-composer button:disabled, .profile-edit button:disabled { opacity: .5; cursor: default; }
.profile-feed-actions { margin: 0 0 14px; }
.profile-composer + .profile-feed-actions { margin-top: 12px; }
.profile-card { --card-padding: 18px; padding: var(--card-padding); margin-bottom: 12px; }
.profile-card button { justify-self: start; }
.profile-card a { text-decoration: underline; text-underline-offset: 3px; }
.profile-card .profile-post-content { margin: 0; }
.profile-muted, .profile-status { font-size: 14px; }
.profile-status { margin-bottom: 14px; padding: 12px; border-radius: 10px; background: #f5f4f4; }
.profile-status[data-error] { color: #952828; }
.profile-edit { margin: auto; width: min(460px, calc(100% - 32px)); max-height: 85dvh; overflow: auto; border-radius: 20px; padding: 24px; background: white; }
.profile-edit::backdrop { background: #0006; }
.profile-edit form, .profile-edit label { display: grid; gap: 10px; }
.profile-edit-heading { display: flex; justify-content: space-between; align-items: center; }
.profile-edit h2 { font-size: 20px; font-weight: 750; }
.profile-edit p { font-size: 13px; color: #605c61; }
.profile-edit [data-close] { cursor: pointer; font-size: 24px; }
@media (max-width: 600px) {
  .social-profile { padding: 0 14px; }
  .profile-identity { display: grid; gap: 8px; padding-inline: 16px; }
  .profile-avatar { width: 88px; margin-top: -30px; }
  .profile-menu { padding-inline: 10px; }
}
.profile-identity {position:relative;}
.profile-photo-edit {border:2px solid white;background:#c4fa39;border-radius:50%;width:30px;height:30px;position:absolute;top:48px;left:110px;cursor:pointer;z-index:2;}
.profile-new-post {padding:10px 16px;border-radius:999px;background:#c4fa39;font-weight:700;margin-bottom:12px;cursor:pointer;}
.profile-skeleton {display:grid;gap:15px;}
.profile-skeleton div {height:90px;border-radius:18px;background:linear-gradient(100deg,#efeeee 20%,#fafafa 45%,#efeeee 70%);background-size:200% 100%;animation:profile-loading 1.3s linear infinite;}
.profile-skeleton div:first-child {height:220px;}
@keyframes profile-loading {to{background-position:-200% 0;}}
@media(prefers-reduced-motion:reduce){.profile-skeleton div{animation:none;}}
@media(max-width:600px){.profile-photo-edit{top:35px;left:78px;}}
.profile-layout, .profile-skeleton > section {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 205px;
  gap: 18px;
}
.profile-layout { margin-top: 18px; align-items: start; }
.profile-layout .profile-menu, .profile-overview {
  display: grid; gap: 4px; background: white; border: 1px solid #e6e3e4;
  border-radius: 16px; padding: 10px; min-width: 0;
}
.profile-layout .profile-menu a { border-radius: 9px; }
.profile-layout .profile-feed { width: 100%; margin: 0; min-width: 0; }
.profile-overview h2 { font-size: 15px; font-weight: 750; padding: 6px 8px; }
.profile-overview a { display: flex; justify-content: space-between; gap: 8px; border-radius: 8px; padding: 7px 8px; font-size: 14px; }
.profile-overview a:hover { background: #f4f3f3; }
.profile-post-start { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px; margin-bottom: 12px; border: 1px solid #e6e3e4; border-radius: 18px; }
.profile-post-start button { margin: 0; }
.profile-post-prompt { flex: 1; text-align: start; background: #f5f4f4; padding: 10px 12px; border-radius: 11px; color: #605c61; cursor: pointer; }
.profile-composer { margin-bottom: 12px; }
.profile-skeleton { gap: 18px; }
.profile-skeleton > div:first-child { height: clamp(230px, 30vw, 280px); }
.profile-skeleton > section div:first-child { height: 175px; }
.profile-skeleton > section div:nth-child(2) { height: 240px; }
@media(max-width:800px) {
  .profile-layout, .profile-skeleton > section { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .profile-layout .profile-menu { display: flex; padding: 6px; }
  .profile-skeleton > section div:first-child { height: 48px; }
  .profile-skeleton > section div:last-child { display: none; }
}
.profile-entry-header { display:flex; align-items:center; gap:10px; min-width:0; }
.profile-entry-author { display:grid; gap:1px; flex:1; min-width:0; overflow-wrap:anywhere; }
.profile-entry-avatar { position:relative; display:grid; place-items:center; flex:0 0 40px; height:40px; border-radius:50%; overflow:hidden; background:#e9efdc; color:#263016; font-weight:750; }
.profile-entry-avatar img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.profile-entry-menu { position:relative; align-self:start; flex:none; }
.profile-entry-menu summary { display:grid; place-items:center; width:36px; height:36px; border-radius:50%; cursor:pointer; list-style:none; }
.profile-entry-menu summary::-webkit-details-marker { display:none; }
.profile-entry-menu summary:hover, .profile-entry-menu[open] summary { background:#f3f2f3; }
.profile-entry-menu > div { position:absolute; z-index:2; inset:calc(100% + 4px) 0 auto auto; padding:4px; border:1px solid #e6e3e4; border-radius:10px; background:white; box-shadow:0 6px 18px #0001; }
.profile-entry-menu button { border:0; border-radius:7px; white-space:nowrap; }
.profile-feed-actions:empty, .profile-feed-actions:not(:has(a:not([hidden]))) { display: none; }
.profile-post-start { gap: 10px; }
.profile-post-start .profile-post-prompt { min-width: 0; border-radius: 999px; }
.profile-post-start .profile-new-post { flex: none; font-size: 13px; }
.profile-feed > [data-timeline] > .profile-card:last-child { margin-bottom: 0; }
@media(max-width:480px) {
  .profile-post-start .profile-new-post { margin-inline-start: auto; }
  .profile-post-prompt { flex-basis: calc(100% - 56px); }
}
.profile-post-start { display: flex; flex-wrap: nowrap; align-items: flex-start; }
.profile-post-editor { flex: 1; min-width: 0; }
.profile-post-editor .profile-post-prompt { display: block; width: 100%; min-height: 40px; }
.profile-post-editor .profile-composer { border: 0; margin: 0; padding: 0; gap: 10px; }
.profile-post-editor textarea { min-height: 108px; background: #f7f6f6; }
.profile-composer-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.profile-composer-actions [data-cancel-post] { background: #f4f3f3; }
.profile-layout, .profile-skeleton > section { grid-template-columns: minmax(0, 1fr) 250px; }
.profile-rail { display: grid; gap: 12px; min-width: 0; }
.profile-rail .profile-overview { display: grid; }
.profile-people summary { display: flex; justify-content: space-between; cursor: pointer; padding: 7px 8px; font-size: 14px; }
.profile-people p { margin: 4px 8px 8px; }
.profile-people a { align-items: center; justify-content: flex-start; overflow-wrap: anywhere; }
.profile-person-avatar { display: grid; place-items: center; position: relative; flex: 0 0 30px; height: 30px; border-radius: 50%; overflow: hidden; background: #e9efdc; font-weight: 700; }
.profile-person-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile-follow-button { border-radius: 999px; padding: 8px 16px; background: var(--ticketboa-lime); font-size: 14px; font-weight: 700; cursor: pointer; }
.profile-follow-button[aria-pressed="true"] { background: #eef1eb; }
@media(max-width:800px) {
  .profile-layout, .profile-skeleton > section { grid-template-columns: minmax(0, 1fr); }
  .profile-skeleton > section div:nth-child(2) { display: none; }
}
.profile-verified { display:inline-block; width:24px; height:24px; margin-inline-start:6px; vertical-align:middle; }
.profile-entry-author .profile-verified { width:17px; height:17px; vertical-align:-3px; }

.profile-event-preview { display:grid; grid-template-columns:104px minmax(0,1fr); gap:12px; align-items:center; padding:8px; border:1px solid #e6e3e4; border-radius:14px; }
.profile-event-preview-cover { aspect-ratio:1; border-radius:9px; overflow:hidden; background:linear-gradient(145deg,#edf7d7,#d7e5bd); }
.profile-event-preview-cover img { display:block; width:100%; height:100%; object-fit:cover; }
.profile-event-preview-info { display:grid; gap:4px; overflow-wrap:anywhere; }
.profile-event-preview .profile-event-preview-link { justify-self:start; padding:5px 10px; border-radius:999px; background:var(--ticketboa-lime); color:#171717; font-size:13px; font-weight:700; text-decoration:none; }
@media(max-width:480px) {
  .profile-event-preview { grid-template-columns:72px minmax(0,1fr); gap:8px; }
}
.profile-reactions { display:flex; gap:8px; flex-wrap:wrap; padding-top:4px; }
.profile-reactions button { border:0; border-radius:8px; padding:6px 10px; color:#514e50; }
.profile-reactions button[aria-pressed="true"] { background:#eaf5d7; color:#35441d; }

.review-post .profile-entry-author > strong { font-weight:500; }
.review-post .profile-entry-author a { font-weight:700; }
.review-post .review-stars { justify-content:center; gap:7px; margin:18px 0 14px; font-size:clamp(25px,5vw,36px); }
.review-post .review-star-filled { color:#649b12; }
.review-post .profile-event-preview { margin-top:14px; }
.review-post .profile-event-preview-link { background:#eaf4da; }

.review-post { padding:clamp(16px,3vw,24px); }
.review-post .profile-entry-author { gap:4px; line-height:1.35; }
.review-post .profile-entry-author .profile-verified { width:15px; height:15px; margin-left:4px; vertical-align:-2px; }
.review-verb { color:#646760; }
.review-post .review-stars { width:fit-content; margin:20px auto 16px; padding:8px 14px; border-radius:999px; background:#f1f8e4; font-size:clamp(22px,4vw,30px); }
.review-post .review-star-filled { color:#507812; }
.review-post .review-star-empty { color:#ccd8bb; }
.review-post .profile-post-content { margin:0; line-height:1.55; }
.review-post .profile-event-preview { background:#f8f9f5; margin-top:16px; }
.review-post .profile-event-preview-link { background:var(--ticketboa-lime,#c1ff32); }

.review-post { padding:16px; }
.review-post .profile-entry-author { gap:2px; }
.review-post .review-stars { margin:2px 0 0; padding:0; background:transparent; gap:3px; font-size:14px; }
.review-post .review-star-filled { color:#6b941d; }
.review-post .profile-post-content { margin:10px 0 0; }
.review-post .profile-event-preview { margin-top:10px; background:transparent; grid-template-columns:64px minmax(0,1fr); }

.review-form :is(fieldset) { min-width:0; padding:0; border:0; margin:0; }
.review-rating-input { display:flex; gap:4px; }
.review-rating-input label, .review-event-choices label { position:relative; cursor:pointer; }
.review-form input[type=radio] { position:absolute; opacity:0; width:1px; height:1px; }
.review-rating-input span { display:grid; place-items:center; width:38px; height:40px; font-size:26px; color:#639018; }
.review-rating-input label:has(:checked) ~ label span { color:#ccd2c4; }
.review-form label:has(:focus-visible) { outline:2px solid #639018; outline-offset:2px; }
.review-event-picker legend { margin-bottom:8px; font-size:13px; font-weight:600; }
.review-event-choices { display:flex; gap:8px; overflow-x:auto; padding:3px; }
.review-event-choices label { display:flex; align-items:center; gap:8px; flex:none; max-width:200px; padding:7px 10px; border:1px solid #ddd; border-radius:12px; font-size:13px; }
.review-event-choices label:has(:checked) { border-color:#739b32; background:#f0f7e3; }
.review-event-choices img { width:36px; height:36px; object-fit:cover; border-radius:6px; }
.review-form-actions { display:flex; justify-content:flex-end; gap:8px; flex-wrap:wrap; }
.review-form-actions button { margin:0; }
.review-form [role=status]:empty { display:none; }

.profile-event-list { display:grid; gap:12px; }
.profile-event-list-card .profile-event-preview-info button { justify-self:start; margin-top:4px; }

.profile-cover { position:relative; }
.profile-cover img { width:100%; height:100%; object-fit:cover; object-position:center; }
.profile-cover:has(img:not([hidden])) { height:clamp(132px,26vw,270px); }
.profile-cover [data-edit-cover] {
  position:absolute; top:12px; right:12px; padding:8px 14px;
  background:#fff; color:#171717; border:1px solid #e1e1e1;
  border-radius:999px; font-size:13px; font-weight:700;
}

.reviews-empty { display:grid; justify-items:start; gap:5px; padding:20px; }
.reviews-empty[hidden] { display:none; }
.reviews-empty strong { font-size:16px; }
.reviews-empty p { margin:0; font-size:14px; line-height:1.5; }
.reviews-empty .review-submit { margin-top:8px; padding:8px 16px; font-size:13px; font-weight:700; background:var(--ticketboa-lime,#c1ff32); }

.profile-overview[hidden] { display:none; }

.profile-social-heading { margin-top:14px; font-size:14px; font-weight:700; }
.profile-social-links { display:grid; justify-items:start; gap:8px; margin:8px 0 12px; }
.profile-social-links a { display:inline-flex; align-items:center; gap:6px; color:#55525a; font-size:14px; text-decoration:none; }
.profile-social-links svg { flex:none; }
.profile-social-links a:hover,.profile-social-links a:focus-visible { text-decoration:underline; text-underline-offset:2px; }

@media (max-width:600px) {
  .profile-hero > .profile-menu {
    flex-wrap:nowrap;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .profile-hero > .profile-menu::-webkit-scrollbar { display:none; }
  .profile-hero > .profile-menu a { flex:none; white-space:nowrap; }
}


.profile-heading [data-username] { margin-top:4px; font-size:14px; color:#605c61; }

.profile-public-actions { display:flex; align-items:center; gap:8px; }
.profile-public-actions .profile-copy-link {
  display:grid; place-items:center; flex:0 0 38px; width:38px; height:38px; padding:0;
  border:1px solid #e4e1e3; border-radius:50%; background:white; color:#363338; cursor:pointer;
}
.profile-copy-link:hover { background:#f5f5f5; }
.profile-copy-link svg { display:block; }
@media(max-width:600px) {
  .profile-public-actions .profile-follow-button { flex:1; }
}


.profile-event-list { gap:14px; }
.profile-event-list .profile-event-list-card {
  grid-template-columns:clamp(64px,11vw,88px) minmax(0,1fr) auto;
  gap:clamp(9px,2vw,18px);
  padding:clamp(10px,2vw,16px);
  border-radius:16px;
}
.profile-event-list-card .profile-event-preview-info > strong { font-size:clamp(14px,2.2vw,18px); line-height:1.25; }
.profile-event-card-actions { display:flex; justify-content:flex-end; align-items:center; flex-wrap:wrap; gap:6px; }
.profile-event-card-actions .profile-event-preview-link { padding:7px 12px; white-space:nowrap; }
@media(max-width:420px) {
  .profile-event-list .profile-event-list-card { grid-template-columns:66px minmax(0,1fr) auto; }
  .profile-event-card-actions .profile-event-preview-link { padding:6px 8px; font-size:12px; }
}

@media(max-width:420px) { .profile-event-card-actions { flex-direction:column; align-items:flex-end; } }

.profile-event-search { box-sizing:border-box; width:100%; min-width:0; padding:10px 14px; border:1px solid #e4e1e3; border-radius:999px; background:transparent; font-size:16px; }
.profile-event-search:focus-visible { outline:2px solid #789641; outline-offset:1px; }

.profile-event-toolbar { display:flex; align-items:center; gap:8px; margin-bottom:12px; padding:0 12px; border:1px solid #e4e1e3; border-radius:999px; color:#605c61; }
.profile-event-toolbar > svg { flex:none; }
.profile-event-toolbar:focus-within { border-color:#789641; }
.profile-event-toolbar .profile-event-search { border:0; padding:9px 0; outline:none; }

:is(.profile-feed-listing,.profile-feed-event):has(.profile-event-card-actions) { grid-template-columns:104px minmax(0,1fr) auto; }
@media(max-width:600px) {
  :is(.profile-feed-listing,.profile-feed-event):has(.profile-event-card-actions) {
    grid-template-columns:clamp(56px,14vw,72px) minmax(0,1fr) auto;
    min-height:112px;
    padding:12px;
    gap:10px;
    border-radius:16px;
    background:transparent;
  }
  :is(.profile-feed-listing,.profile-feed-event) .profile-event-preview-info {
    font-size:13px; line-height:1.35; gap:4px;
  }
  :is(.profile-feed-listing,.profile-feed-event) .profile-event-card-actions .profile-event-preview-link {
    display:inline-flex; align-items:center; min-height:36px;
    padding:6px 9px; font-size:12px; line-height:1.2;
  }
}
@media(max-width:360px) {
  :is(.profile-feed-listing,.profile-feed-event):has(.profile-event-card-actions) {
    grid-template-columns:56px minmax(0,1fr);
  }
  :is(.profile-feed-listing,.profile-feed-event) > .profile-event-card-actions { grid-column:2; }
}

@media(max-width:800px) {
  .social-profile:not(:has(.profile-menu a[href="#sobre"][aria-current])) .profile-people:has([data-friends]) { display:none; }
}

.profile-editor-media { display:grid; gap:8px; }
.profile-editor-cover,.profile-editor-photo { display:grid; place-items:center; position:relative; isolation:isolate; overflow:hidden; background:#eef2e7; }
.profile-editor-cover { height:clamp(100px,24vw,175px); border-radius:12px; }
.profile-editor-photo { width:92px; height:92px; border:3px solid #fff; border-radius:50%; margin:-35px 0 0 12px; }
.profile-editor-media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-1; }
.profile-editor-media button { color:#fff; background:#171717d9; border-radius:999px; padding:7px 9px; font-size:12px; }
.profile-public-actions:not(:has(> :not([hidden]))) { display:none; }
