/* Supa unified private account/profile. Scoped so event and admin pages remain unchanged. */
html body.supa-event-theme .sx.sx-narrow[data-supa-account-slider] {max-width:710px;margin-left:auto;margin-right:auto;padding-bottom:36px}
html body .su-merged-profile,html body .su-merged-links,html body .su-merged-history {background:#fff!important;color:#162f3b!important;border:1px solid #dae5ea!important;border-radius:24px!important;box-shadow:0 8px 28px rgba(13,36,54,.07)!important}
html body .su-merged-profile {padding:clamp(20px,4vw,30px)!important}
.su-merged-identity {display:flex;align-items:center;gap:18px;min-width:0}
html body .su-merged-identity .sx-avatar {width:100px;height:100px;min-width:100px;border-radius:24px;box-shadow:0 6px 14px #0928401c}
.su-merged-identity-text {min-width:0;flex:1}
.su-merged-role {font-size:.76rem;font-weight:750;letter-spacing:.03em;color:#4b6773}
html body .su-merged-identity h1 {font-size:clamp(1.35rem,5vw,1.9rem)!important;line-height:1.12!important;color:#102f40!important;margin:3px 0 5px!important;overflow-wrap:anywhere}
.su-merged-handle {font-size:.92rem;color:#526974;overflow-wrap:anywhere}
html body .sx .su-merged-edit {margin-top:12px;min-height:39px!important;padding:7px 13px!important;font-size:.87rem!important}
.su-merged-edit .sx-icon {height:17px;width:17px}
.su-merged-actions {display:flex;flex-wrap:wrap;gap:9px;align-items:center;padding-top:17px;margin-top:16px;border-top:1px solid #e1e9ec}
html body .sx .su-merged-actions .sx-button {min-height:40px;flex:1 0 auto;font-size:.83rem;padding:9px 13px;white-space:nowrap}
html body .sx .su-merged-actions .su-merged-action-primary {background:linear-gradient(110deg,#07589a,#5137be);border-color:transparent;color:#fff!important}
.su-merged-share-status {font-size:.8rem;font-weight:700;color:#167052;min-height:0;margin:6px 0 0!important}
.su-merged-share-status:empty{display:none}
.su-merged-bio {color:#274650!important;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 4px!important}
.su-merged-socials {display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:12px 0}
html body .sx .su-merged-socials .sx-social {color:#185b6a!important;text-decoration:none}
html body .su-merged-links {padding:10px 23px 18px!important}
html body .sx .su-merged-links .sx-row {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 6px;min-height:57px;color:#133c42!important;border-bottom:1px solid #e9eef0;font-size:.98rem;font-weight:700}
.su-merged-links .sx-row span {display:inline-flex;gap:12px;align-items:center}
.su-merged-links .sx-row .sx-icon {width:21px;height:21px}
.su-merged-links-footer {margin-top:12px;padding-top:12px;border-top:1px solid #e3e9ec}
.su-merged-legal {display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}
html body .sx .su-merged-legal a {font-size:.8rem;font-weight:650;color:#416773!important}
.su-merged-logout {margin:18px 0 0}
html body .sx .su-merged-logout .sx-button {min-width:126px}
html body .su-merged-history {padding:clamp(18px,4vw,26px)!important}
.su-merged-section-heading {display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:15px}
html body .su-merged-section-heading h2 {font-size:1.17rem;font-weight:800;color:#153343;margin:0 0 4px;line-height:1.24;overflow-wrap:anywhere}
.su-merged-section-heading p {font-size:.8rem;color:#526b79;margin:0}
html body .sx .su-merged-section-heading>a {font-size:.8rem;font-weight:800;white-space:nowrap;color:#17619d!important}
.su-merged-item {display:flex;gap:13px;align-items:flex-start;padding:13px 0;border-top:1px solid #e7eef2}
.su-merged-thumb {width:88px;min-width:88px;height:82px;display:grid;place-items:center;border-radius:12px;overflow:hidden;background:linear-gradient(135deg,#056fa3,#5140bb);color:#fff!important;text-decoration:none}
.su-merged-thumb img{width:100%;height:100%;object-fit:cover}
.su-merged-thumb span{color:white;font-size:1.6rem;font-weight:900}
.su-merged-item-body{flex:1;min-width:0}
.su-merged-item-body strong{display:block;font-size:.95rem;color:#163849;line-height:1.3;overflow-wrap:anywhere}
.su-merged-item-body>span{display:block;font-size:.78rem;color:#617481;margin:6px 0}
.su-merged-inline-links{display:flex;flex-wrap:wrap;gap:12px;align-items:center;font-size:.79rem;font-weight:800}
html body .sx .su-merged-inline-links a {color:#11648b!important}
.su-merged-ticket-icon{display:grid;place-items:center;background:#e5f3ff;color:#1463a0;border-radius:13px;width:48px;height:48px;flex:none}
.su-merged-pill{color:#2f6572;background:#e8f4f5;border-radius:999px;padding:4px 10px;font-size:.72rem;letter-spacing:.015em}
.su-merged-bottom-link{display:inline-block;font-weight:800;margin-top:13px;font-size:.87rem}
.su-merged-empty{padding:15px;border-radius:14px;background:#f3f8fb;font-size:.87rem;color:#476474!important}
@media(max-width:550px){
  html body .su-merged-identity .sx-avatar{width:82px;height:82px;min-width:82px;border-radius:22px}
  .su-merged-identity {gap:13px;align-items:flex-start}
  html body .sx .su-merged-actions .sx-button{flex:1 1 calc(50% - 9px)}
  .su-merged-thumb{height:74px;width:74px;min-width:74px}
  .su-merged-section-heading h2{max-width:80%}
  html body .su-merged-profile,html body .su-merged-links,html body .su-merged-history{border-radius:19px!important}
  html body .su-merged-links{padding:8px 17px 18px!important}
}
@media(max-width:350px){
  html body .su-merged-identity .sx-avatar{width:68px;height:68px;min-width:68px}
  html body .sx .su-merged-actions .sx-button{font-size:.77rem;min-width:0;padding:8px}
  .su-merged-section-heading{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.su-merged-profile,.su-merged-links,.su-merged-history{animation:none!important}}

/* Account pages retain the compact S/avatar header on phones even when the public theme hides other non-home headers. */
@media(max-width:991.98px){
  html body.supa-event-theme.su-account-unified-page > nav.su-site-header {display:block!important;visibility:visible!important;transform:none!important;opacity:1!important;pointer-events:auto!important}
  html body.supa-event-theme.su-account-unified-page > nav.su-site-header .navbar-brand {max-width:none}
}

/* 24 Nov: separate My Account and My Profile designs */
html body .su-merged-profile{margin-bottom:14px!important}
html body .su-merged-links{margin-top:0!important}
html body .sx .su-merged-links .sx-row{min-height:61px}
html body .su-social-profile{max-width:760px;margin:0 auto;padding-bottom:95px}
html body .su-social-profile .su-profile-card{padding:clamp(19px,4vw,29px)!important;background:#fff!important;color:#102c39!important;border:1px solid #dce6eb!important;box-shadow:0 12px 30px rgba(15,40,60,.06)!important;border-radius:25px!important}
.su-profile-main{display:flex;align-items:center;gap:18px}
html body .su-profile-card .su-profile-photo{width:96px;height:96px;min-width:96px;border-radius:23px;overflow:hidden;display:grid;place-items:center;background:#d9f2f0}
html body .su-profile-card .su-profile-photo img{width:100%;height:100%;object-fit:cover}
html body .su-profile-card .su-profile-photo svg{height:47px;width:47px}
.su-profile-name{min-width:0;flex:1}
html body .su-profile-name h1{font-size:clamp(1.55rem,5vw,2rem)!important;font-weight:800!important;color:#11354b!important;line-height:1.17;margin:0 0 6px;overflow-wrap:anywhere}
.su-profile-name p{font-size:.96rem;color:#526f79;margin:0;overflow-wrap:anywhere}
.su-profile-stat-row{display:flex;gap:clamp(22px,5vw,48px);align-items:center;margin:22px 0 18px}
.su-profile-stat-row strong{display:block;font-size:1.22rem;color:#172b3c}
.su-profile-stat-row small{font-size:.78rem;color:#657784}
.su-profile-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-items:stretch}
html body .sx .su-profile-actions .sx-button{min-height:42px!important;min-width:0;width:100%;padding:9px 8px;display:inline-flex;align-items:center;justify-content:center;text-align:center;font-weight:750;font-size:clamp(.72rem,2.9vw,.83rem);line-height:1.2;white-space:nowrap}
.su-profile-follow{display:flex;min-width:0;width:100%;margin:0}
.su-profile-follow .sx-button{width:100%}
.su-profile-bio{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:.92rem;color:#294555;margin:17px 0 12px;padding:15px;border-radius:14px;background:#f3f8fa}
.su-profile-add-bio{font-size:.85rem;color:#677e8e;margin:14px 0}
.su-profile-social{display:flex;gap:10px;margin-top:15px;flex-wrap:wrap}
html body .sx .su-profile-social .sx-social{color:#166276!important}
.su-profile-roles{border-top:1px solid #e5edf2;margin-top:16px;padding-top:17px;display:flex;gap:10px;flex-wrap:wrap}
html body .sx .su-profile-roles .sx-button{min-height:42px}
.su-profile-event-area{margin-top:24px}
.su-profile-section-title h2{font-size:1.18rem!important;color:#173b4f!important;font-weight:800;margin-bottom:15px}
.su-profile-no-events,.su-profile-staff-note{background:#fff!important;color:#496675!important;padding:22px!important}
.su-profile-pagination{display:flex;gap:20px;margin:18px 0}
.su-edit-photo{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin-bottom:18px}
.su-photo-preview{position:relative;display:block;width:175px;height:175px;flex:0 0 175px;overflow:hidden;border-radius:24px;background:#e2f3fa;touch-action:none;cursor:grab;border:3px solid #e3edf4}
.su-photo-preview:active{cursor:grabbing}
.su-photo-preview .sx-avatar{width:100%!important;height:100%!important;border:0!important;display:grid;place-items:center}
.su-photo-preview .sx-avatar img{width:100%;height:100%;object-fit:cover}
.su-photo-preview.has-new-photo .sx-avatar{display:none}
.su-photo-preview>img{position:absolute;max-width:none;user-select:none;pointer-events:none}
.su-photo-controls{flex:1;min-width:175px}
.su-photo-controls>label{display:block;font-weight:800;font-size:.85rem;color:#193e51;margin-bottom:8px}
.su-photo-controls input[type=file]{display:block;width:100%;max-width:320px;font-size:.82rem}
.su-photo-controls input[type=range]{display:block;width:100%;margin-top:8px;max-width:270px;accent-color:#1f5cbe}
.su-photo-help{color:#637984;font-size:.77rem;line-height:1.5;margin:9px 0}
.su-photo-controls button{margin-top:8px;font-size:.8rem!important;min-height:34px!important}
[data-supa-photo-zoom-wrap][hidden],[data-supa-photo-reset][hidden],.su-photo-preview>img[hidden]{display:none!important}
@media(max-width:425px){html body .su-profile-card .su-profile-photo{width:76px;height:76px;min-width:76px}.su-profile-main{gap:12px}.su-profile-stat-row{gap:24px}.su-profile-actions{gap:7px}html body .sx .su-profile-actions .sx-button{padding-inline:5px;font-size:.75rem}.su-photo-preview{width:155px;height:155px;flex-basis:155px}}

/* Keep all four social network slots visible until official Supa URLs are configured. */
.su-social-placeholder{opacity:.45;cursor:default;display:inline-flex;align-items:center;justify-content:center;min-height:38px;min-width:38px;border-radius:50%;background:#f3f8fa}
.su-social-placeholder .sx-icon{width:19px;height:19px}
