/* Visual-only profile treatment. Existing renderers and access gates own content. */
.site-main .tg-profiles{--tg-card-line:#e8e2ec;--tg-card-ink:#2c2633;--tg-card-muted:#82758c;--tg-card-accent:#b4086a;max-width:1140px!important;margin-inline:auto;color:var(--tg-card-ink)}
.site-main .tg-profiles .tg-profile-header{padding:12px 0 22px;margin:12px 0 0;border-bottom:0;gap:24px;align-items:center}
.site-main .tg-profiles .tg-profile-header h2{font-size:30px!important;letter-spacing:-.6px;line-height:1.25;margin-bottom:8px}
.site-main .tg-profiles .tg-profile-header>.tg-tango-photo,.site-main .tg-profiles .tg-profile-header>.tg-avatar-placeholder{width:94px;height:94px;flex:0 0 94px;border-radius:50%}
.site-main .tg-profiles .tg-profile-header .tg-profile-avatar{width:94px;height:94px;border-radius:50%;object-fit:cover}
.site-main .tg-profiles .tg-profile-added{font-size:12px;color:var(--tg-card-muted);line-height:1.8}
.site-main .tg-profiles .tg-profile-summary{padding:10px 0 20px;gap:20px;font-size:12px;color:var(--tg-card-muted);border:0}
.site-main .tg-profiles .tg-profile-summary strong{font-weight:650}
.site-main .tg-profiles .tg-profile-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;border:0;background:none;margin:0 0 20px;overflow:visible}
.site-main .tg-profiles .tg-profile-metrics .tg-metrics-primary,.site-main .tg-profiles .tg-profile-metrics .tg-metrics-secondary{display:contents;margin:0;padding:0;border:0}
.site-main .tg-profiles .tg-profile-metrics .tg-metrics-primary>div,.site-main .tg-profiles .tg-profile-metrics .tg-metrics-secondary>div{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:8px;padding:20px 16px;border:1px solid var(--tg-card-line);border-radius:14px;background:white}
.site-main .tg-profiles .tg-profile-metrics .tg-metrics-primary>div{background:linear-gradient(120deg,#fbeaf5,#fff8fb);border-color:#efd8e6}
.site-main .tg-profiles .tg-profile-metrics dt{font-size:12px;line-height:1.4;color:var(--tg-card-muted);margin:0}
.site-main .tg-profiles .tg-profile-metrics dd{font-size:25px;font-weight:700;line-height:1.25;letter-spacing:-.5px;margin:0;color:var(--tg-card-ink);overflow-wrap:anywhere}
.site-main .tg-profiles .tg-profile-metrics .tg-stat-diamonds dd{color:#a50963}
.site-main .tg-profiles .tg-profile-metrics .tg-stat-usd dd{color:#147f70}
.site-main .tg-profiles .tg-profile-metrics .tg-stat-long{font-size:19px}
.site-main .tg-profiles .tg-profile-metrics .tg-stat-missing{font-size:15px;letter-spacing:0}
.site-main .tg-profiles .tg-stat-icon{font-size:17px;line-height:1;vertical-align:middle;margin-right:5px}
.site-main .tg-profiles .tg-profile-metrics .tg-stat-created{grid-column:1/-1;display:flex;justify-content:space-between;gap:12px;margin:0;padding:4px 2px;background:none;border:0}
.site-main .tg-profiles .tg-profile-metrics .tg-stat-created dt,.site-main .tg-profiles .tg-profile-metrics .tg-stat-created dd{font-size:11px;letter-spacing:0;font-weight:400}
.site-main .tg-profiles .tg-profile-actions{max-width:500px;gap:12px;margin-bottom:24px}
.site-main .tg-profiles .tg-profile-actions button,.site-main .tg-profiles .tg-profile-actions .tg-boost-status strong{border-radius:9px!important;min-height:46px;padding:12px 10px;font-size:13px}
.site-main .tg-profiles .tg-profile-actions [data-turbo-countdown]{font-size:11px;color:var(--tg-card-muted)}
.site-main .tg-profiles .tg-profile-range-controls{margin:24px 0 20px}
.site-main .tg-profiles .tg-profile-ranges{display:flex;gap:4px;padding:5px;width:max-content;max-width:100%;background:#ece8f0;border-radius:11px}
.site-main .tg-profiles .tg-profile-ranges button{border:0;border-radius:8px;background:transparent;color:#776880;padding:11px 18px;font-size:13px;min-height:42px}
.site-main .tg-profiles .tg-profile-ranges button[aria-pressed=true]{background:white;color:var(--tg-card-accent);font-weight:700;box-shadow:0 2px 7px #30233512}
.site-main .tg-profiles .tg-profile-section{background:#fff;border:1px solid var(--tg-card-line);border-radius:16px;padding:24px;margin:0 0 20px;box-shadow:0 4px 14px #30233503;min-width:0}
.site-main .tg-profiles .tg-profile-section h2{font-size:20px!important;letter-spacing:-.3px;line-height:1.4;display:flex;align-items:center;gap:12px;margin:0 0 20px}
.site-main .tg-profiles .tg-profile-section h2:before{content:'';display:block;flex:0 0 6px;height:27px;border-radius:6px;background:#c52686}
.site-main .tg-profiles :is([data-tg-section=watched],[data-tg-summary=followers],[data-tg-section=followers]) h2:before{background:#308c7d}
.site-main .tg-profiles :is([data-tg-section=following],[data-tg-summary=following],[data-tg-section=history],[data-tg-summary=history]) h2:before{background:#9877b2}
.site-main .tg-profiles .tg-range-meta,.site-main .tg-profiles [data-tg-section=watched]>p{font-size:12px;color:var(--tg-card-muted)}
.site-main .tg-profiles .tg-live-events,.site-main .tg-profiles .tg-outbound-list,.site-main .tg-profiles .tg-follower-days,.site-main .tg-profiles .tg-following-days,.site-main .tg-profiles .tg-diamond-days{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0 0}
.site-main .tg-profiles .tg-live-event,.site-main .tg-profiles .tg-outbound-event,.site-main .tg-profiles .tg-follower-day,.site-main .tg-profiles .tg-following-day,.site-main .tg-profiles .tg-diamond-day{border:1px solid #e9e4ed;border-radius:11px;background:#fff;min-width:0}
.site-main .tg-profiles .tg-live-event-head{padding:16px;background:#fbf9fc;border-bottom:1px solid #eee9f0;gap:12px}
.site-main .tg-profiles .tg-live-event-title{font-size:15px;line-height:1.4}
.site-main .tg-profiles .tg-live-event-amount dd{font-size:18px;font-weight:700;color:#a50963}
.site-main .tg-profiles .tg-live-event dt{color:var(--tg-card-muted);font-size:11px}
.site-main .tg-profiles .tg-live-event-times{padding:16px;gap:12px}
.site-main .tg-profiles .tg-live-event-times dd{font-size:12px}
.site-main .tg-profiles .tg-outbound-event{padding:16px}
.site-main .tg-profiles .tg-recipient a{font-size:14px;font-weight:650;text-decoration:none;color:var(--tg-card-ink)}
.site-main .tg-profiles .tg-watched-date,.site-main .tg-profiles .tg-outbound-date{font-size:11px;color:var(--tg-card-muted)}
.site-main .tg-profiles .tg-outbound-head{flex-wrap:wrap;gap:12px}
.site-main .tg-profiles .tg-outbound-coins{color:#a50963;font-size:14px;font-weight:700}
.site-main .tg-profiles .tg-follower-date,.site-main .tg-profiles .tg-following-date,.site-main .tg-profiles .tg-diamond-date{background:#faf7fb;color:#7a6884;font-size:12px}
.site-main .tg-profiles .tg-follower-count,.site-main .tg-profiles .tg-following-count,.site-main .tg-profiles .tg-diamond-event{padding:12px 0}
.site-main .tg-profiles .tg-profile-section .tg-table-scroll{border:1px solid var(--tg-card-line);border-radius:11px;margin:14px 0 0;overflow-x:auto}
.site-main .tg-profiles .tg-profile-section .tg-change-history{width:100%;min-width:0;border-collapse:collapse;table-layout:fixed}
.site-main .tg-profiles .tg-profile-section .tg-change-history th,.site-main .tg-profiles .tg-profile-section .tg-change-history td{white-space:normal;overflow-wrap:anywhere;font-size:12px;padding:14px!important;border-color:#eee9f0}
.site-main .tg-profiles .tg-profile-section .tg-change-history th{background:#faf7fb;color:#8b7c94;font-size:11px;letter-spacing:0;text-transform:none}
.site-main .tg-profiles .tg-section-pages{margin:18px 0 0;gap:6px;justify-content:center}
.site-main .tg-profiles .tg-section-pages button{border-color:#e6dfea;border-radius:7px;font-size:12px;min-height:38px;height:auto;padding:8px 12px}
.site-main .tg-profiles .tg-section-pages button[aria-current=page]{background:#b4086a;border-color:#b4086a}
.site-main .tg-profiles .tg-live-donors{border-top:1px solid #eee9f0}
.site-main .tg-profiles .tg-live-donors summary{font-size:12px;padding:14px 16px}
.site-main .tg-profiles .tg-live-donors .tg-section-pages{padding:0 12px 12px}
.site-main .tg-profiles .tg-donor-row{font-size:12px;gap:12px}
.site-main .tg-profiles .tg-donor-row a{text-decoration:none;color:var(--tg-card-ink)}
.site-main .tg-profiles .tg-lock-landing .tg-lock-hero{border-radius:16px;box-shadow:none;grid-template-columns:.9fr 1.2fr}
.site-main .tg-profiles .tg-lock-landing .tg-lock-pitch{background:#f4e9f1;padding:32px}
.site-main .tg-profiles .tg-lock-landing .tg-lock-features{padding:28px}
.site-main .tg-profiles .tg-lock-inventory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.site-main .tg-profiles .tg-lock-inventory>div{display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:7px;background:#faf7fb;border:1px solid #f0e9f1;border-radius:11px;padding:18px;min-width:0}
.site-main .tg-profiles .tg-lock-inventory dt{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.site-main .tg-profiles .tg-lock-inventory dd{font-size:26px;font-weight:700;line-height:1.2;overflow-wrap:anywhere}
@media(max-width:1000px){.site-main .tg-profiles .tg-profile-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){
.site-main .tg-profiles .tg-profile-header{gap:18px;align-items:center}.site-main .tg-profiles .tg-profile-header h2{font-size:25px!important}
.site-main .tg-profiles .tg-profile-header>.tg-tango-photo,.site-main .tg-profiles .tg-profile-header>.tg-avatar-placeholder{width:76px;height:76px;flex-basis:76px}.site-main .tg-profiles .tg-profile-header .tg-profile-avatar{width:76px;height:76px}
.site-main .tg-profiles .tg-profile-added{font-size:11px}.site-main .tg-profiles .tg-profile-summary{gap:14px;font-size:10px;padding-bottom:18px}
.site-main .tg-profiles .tg-profile-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.site-main .tg-profiles .tg-profile-metrics .tg-metrics-primary>div,.site-main .tg-profiles .tg-profile-metrics .tg-metrics-secondary>div{padding:18px 14px}
.site-main .tg-profiles .tg-profile-metrics dd{font-size:25px}.site-main .tg-profiles .tg-profile-metrics .tg-stat-long{font-size:18px}.site-main .tg-profiles .tg-profile-metrics .tg-stat-missing{font-size:15px}.site-main .tg-profiles .tg-profile-metrics .tg-stat-created dd{font-size:11px;letter-spacing:0}
.site-main .tg-profiles .tg-profile-actions{max-width:none}.site-main .tg-profiles .tg-profile-ranges{width:100%;gap:3px}.site-main .tg-profiles .tg-profile-ranges button{font-size:11px;padding:10px 7px;flex:1 0 auto}
.site-main .tg-profiles .tg-profile-section{padding:18px 14px;border-radius:14px;margin-bottom:16px}.site-main .tg-profiles .tg-profile-section h2{font-size:18px!important;gap:10px;margin-bottom:16px}
.site-main .tg-profiles .tg-live-events,.site-main .tg-profiles .tg-outbound-list,.site-main .tg-profiles .tg-follower-days,.site-main .tg-profiles .tg-following-days,.site-main .tg-profiles .tg-diamond-days{grid-template-columns:minmax(0,1fr);gap:12px}
.site-main .tg-profiles .tg-live-event-head,.site-main .tg-profiles .tg-live-event-times,.site-main .tg-profiles .tg-outbound-event{padding:14px 12px}.site-main .tg-profiles .tg-live-event-times>div{grid-template-columns:88px minmax(0,1fr)}
.site-main .tg-profiles .tg-live-event-times dd{font-size:12px}.site-main .tg-profiles .tg-section-pages button{min-width:34px;padding:8px 9px}
.site-main .tg-profiles .tg-lock-landing .tg-lock-hero{grid-template-columns:minmax(0,1fr)}.site-main .tg-profiles .tg-lock-landing .tg-lock-pitch,.site-main .tg-profiles .tg-lock-landing .tg-lock-features{padding:24px 18px}.site-main .tg-profiles .tg-lock-inventory>div{padding:14px}.site-main .tg-profiles .tg-lock-inventory dt{font-size:11px}
}
.site-main .tg-profiles [data-tg-section=history] .tg-change-history{min-width:640px;table-layout:auto}

/* Compact favorite control beside the identity, using the existing POST action. */
.site-main .tg-profiles .tg-profile-header{position:relative;padding-right:54px}
.site-main .tg-profiles .tg-profile-header>.tg-profile-favorite{position:absolute;top:12px;right:0;margin:0;padding:0}
.site-main .tg-profiles .tg-profile-favorite button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0!important;margin:0;border:1px solid #e8dce6!important;border-radius:50%!important;background:#fff!important;color:#ac176b!important;box-shadow:0 2px 8px #30233508;line-height:1;cursor:pointer}
.site-main .tg-profiles .tg-profile-favorite svg{display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}
.site-main .tg-profiles .tg-profile-favorite button[aria-pressed=true]{background:#fceaf4!important;border-color:#e9bdd5!important}
.site-main .tg-profiles .tg-profile-favorite button[aria-pressed=true] svg{fill:currentColor}
.site-main .tg-profiles .tg-profile-favorite button:hover{background:#fceaf4!important}
.site-main .tg-profiles .tg-profile-favorite button:focus-visible{outline:2px solid #ac176b;outline-offset:3px}
.site-main .tg-profiles .tg-profile-actions:empty{display:none}
