/* 100% Talent v237 — PROFILE VISUAL CLEAN LAYER
   Consolidated from the v232/v234/v236 override stack.
   Presentation only: profile data, vote, gift, follow, score, greeting and swipe logic stay in JavaScript. */

/* ---------- Shared page ---------- */
body[data-page="unified-profile"]{
  --up-bg:#071421;
  --up-surface:#0b1b2b;
  --up-surface-2:#102438;
  --up-line:rgba(127,169,207,.20);
  --up-text:#f7fbff;
  --up-muted:#a9bdd0;
  --up-accent:#2f91ef;
  --up-accent-2:#75c0ff;
  --up-contrast:#08111a;
  background:radial-gradient(circle at 18% 0,rgba(24,85,145,.20),transparent 30rem),var(--up-bg)!important;
  color:var(--up-text)!important;
}
body[data-page="unified-profile"] .up-shell{
  width:min(1120px,100%)!important;
  max-width:1120px!important;
  padding:10px 10px 100px!important;
}
body[data-page="unified-profile"] .up-topbar{
  background:rgba(5,15,25,.92)!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 10px 30px rgba(0,0,0,.18)!important;
}

/* ---------- Shared hero geometry ---------- */
body[data-page="unified-profile"] .up-hero{
  position:relative!important;
  overflow:hidden!important;
  border-radius:20px!important;
  border:1px solid var(--up-line)!important;
  background:var(--up-surface)!important;
  box-shadow:0 24px 70px rgba(0,0,0,.28)!important;
}
body[data-page="unified-profile"] .up-hero-photo-wrap{
  position:relative!important;
  min-height:clamp(470px,126vw,620px)!important;
  background:linear-gradient(135deg,var(--up-accent),var(--up-bg))!important;
}
body[data-page="unified-profile"] .up-hero-photo{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center 18%!important;
  transform:scale(1.015)!important;
}
body[data-page="unified-profile"] .up-hero-fade{
  background:linear-gradient(to bottom,transparent 36%,rgba(7,20,33,.18) 54%,rgba(7,20,33,.86) 80%,var(--up-bg) 100%)!important;
}
body[data-page="unified-profile"] .up-hero-info{
  left:18px!important;
  right:82px!important;
  bottom:20px!important;
  z-index:4!important;
  max-width:none!important;
}
body[data-page="unified-profile"] .up-name-row h1{
  font-size:clamp(38px,12vw,54px)!important;
  line-height:.9!important;
  letter-spacing:-.045em!important;
  font-weight:1000!important;
  color:#fff!important;
  text-shadow:0 4px 24px rgba(0,0,0,.46)!important;
}
body[data-page="unified-profile"] .up-category-link,
body[data-page="unified-profile"] .up-credential{
  display:inline-block!important;
  margin-top:12px!important;
  color:#fff!important;
  font-size:17px!important;
  font-weight:800!important;
  text-decoration:none!important;
}
body[data-page="unified-profile"] .up-meta{
  margin-top:8px!important;
  color:var(--up-muted)!important;
  font-size:15px!important;
}
body[data-page="unified-profile"] .up-season-chip{
  top:18px!important;
  right:18px!important;
  left:auto!important;
  border-radius:999px!important;
  padding:8px 13px!important;
  background:rgba(5,18,31,.82)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.17)!important;
  backdrop-filter:blur(10px)!important;
}
body[data-page="unified-profile"] .up-rank-badge{
  right:18px!important;
  bottom:18px!important;
  background:rgba(6,20,34,.80)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  backdrop-filter:blur(10px)!important;
}
body[data-page="unified-profile"] .up-hero-body{
  background:var(--up-surface)!important;
  color:var(--up-text)!important;
  padding:18px!important;
}

/* ---------- About ---------- */
body[data-page="unified-profile"] .up-about-block{
  border:1px solid var(--up-line)!important;
  border-radius:16px!important;
  padding:16px!important;
  margin-top:10px!important;
  background:var(--up-surface-2)!important;
  color:#fff!important;
}
body[data-page="unified-profile"] .up-about-title,
body[data-page="unified-profile"] .up-about-title *,
body[data-page="unified-profile"] .up-mini-bio,
body[data-page="unified-profile"] #miniBio,
body[data-page="unified-profile"] #profileFullName{
  color:#fff!important;
  opacity:1!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:none!important;
}
body[data-page="unified-profile"] .up-about-title strong{color:var(--up-accent-2)!important;-webkit-text-fill-color:var(--up-accent-2)!important}
body[data-page="unified-profile"] .up-mini-bio,
body[data-page="unified-profile"] #miniBio{
  font-size:20.8px!important;
  line-height:1.62!important;
  border-bottom:0!important;
  padding:10px 0 4px!important;
}
body[data-page="unified-profile"] .up-mini-bio:not(:empty)::before{display:none!important}
body[data-page="unified-profile"] .up-full-bio-inline{color:var(--up-accent-2)!important}

/* ---------- Public actions: Vote / Gift / Message / Share ---------- */
body[data-page="unified-profile"] .up-profile-actions,
body[data-page="unified-profile"] .up-profile-actions[data-visible-actions]{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-template-areas:none!important;
  gap:7px!important;
  width:100%!important;
  padding:4px 0 10px!important;
  margin:0!important;
  overflow:visible!important;
}
body[data-page="unified-profile"] .up-profile-actions .up-action{
  grid-area:auto!important;
  min-width:0!important;
  width:100%!important;
  min-height:52px!important;
  padding:7px 4px!important;
  border-radius:13px!important;
  border:1px solid var(--up-line)!important;
  background:linear-gradient(180deg,var(--up-accent) 0%,var(--up-contrast) 100%)!important;
  color:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 7px 14px rgba(0,0,0,.22)!important;
}
body[data-page="unified-profile"] .up-profile-actions .up-action *{color:#fff!important}
body[data-page="unified-profile"] .up-profile-actions .up-action b{font-size:14px!important;margin-right:2px!important}
body[data-page="unified-profile"] .up-profile-actions .up-action span{font-size:10px!important;font-weight:900!important}
body[data-page="unified-profile"] .up-profile-actions .up-action small{font-size:9px!important;margin-left:2px!important}
body[data-page="unified-profile"] #profileVote{
  background:linear-gradient(180deg,var(--up-accent-2) 0%,var(--up-accent) 100%)!important;
  border-color:var(--up-accent-2)!important;
}
body[data-page="unified-profile"] .up-hero-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  align-items:center!important;
  margin-top:10px!important;
  border-top:1px solid var(--up-line)!important;
}

/* ---------- Modules ---------- */
body[data-page="unified-profile"] .up-modules{gap:14px!important;margin-top:15px!important}
body[data-page="unified-profile"] .up-module{
  border:1px solid var(--up-line)!important;
  background:linear-gradient(145deg,var(--up-surface-2),var(--up-surface))!important;
  color:var(--up-text)!important;
  border-radius:18px!important;
  padding:15px!important;
  box-shadow:0 14px 34px rgba(0,0,0,.20)!important;
}
body[data-page="unified-profile"] .up-module *{text-shadow:none!important}
body[data-page="unified-profile"] .up-module__group{color:var(--up-accent-2)!important}
body[data-page="unified-profile"] .up-module__head h2{font-size:20px!important;letter-spacing:-.015em!important}
body[data-page="unified-profile"] .up-module p{color:var(--up-muted)!important;line-height:1.55!important}
body[data-page="unified-profile"] .up-compact-stat-strip,
body[data-page="unified-profile"] .up-wallet-grid,
body[data-page="unified-profile"] .up-social-stats{gap:9px!important;background:transparent!important;border:0!important}
body[data-page="unified-profile"] .up-compact-stat-strip>div,
body[data-page="unified-profile"] .up-wallet-grid>div,
body[data-page="unified-profile"] .up-social-stat{
  background:var(--up-surface)!important;
  border:1px solid var(--up-line)!important;
  border-radius:13px!important;
  color:#fff!important;
}
body[data-page="unified-profile"] .up-profile-scroll-row>a{flex-basis:126px!important;width:126px!important;max-width:126px!important}
body[data-page="unified-profile"] .up-profile-scroll-row>a img{width:126px!important;height:142px!important;border-radius:13px!important;border:1px solid var(--up-line)!important}

/* ---------- Private Greeting modal ---------- */
body[data-page="unified-profile"].up-greeting-locked{overflow:hidden!important}
body[data-page="unified-profile"] .up-greeting-overlay[hidden]{display:none!important}
body[data-page="unified-profile"] .up-greeting-overlay{
  position:fixed!important;inset:0!important;z-index:30000!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:14px 12px!important;background:rgba(7,14,24,.18)!important;
  backdrop-filter:blur(2px)!important;-webkit-backdrop-filter:blur(2px)!important;
}
body[data-page="unified-profile"] .up-greeting-card{
  position:relative!important;
  width:calc(100vw - 28px)!important;max-width:430px!important;
  height:auto!important;max-height:80dvh!important;overflow-y:auto!important;
  padding:16px 14px 18px!important;margin:auto!important;
  border-radius:21px!important;border:1px solid var(--up-accent-2)!important;
  background:linear-gradient(155deg,var(--up-accent-2) 0%,var(--up-accent) 48%,var(--up-contrast) 100%)!important;
  color:#fff!important;
  box-shadow:0 18px 60px rgba(0,0,0,.36),0 0 0 1px rgba(255,255,255,.08) inset!important;
}
body[data-page="unified-profile"] .up-greeting-close{
  position:absolute!important;top:12px!important;right:12px!important;z-index:3!important;
  width:36px!important;height:36px!important;display:grid!important;place-items:center!important;
  border-radius:50%!important;border:1px solid rgba(255,255,255,.28)!important;
  background:rgba(0,0,0,.22)!important;color:#fff!important;font-size:23px!important;line-height:1!important;
}
body[data-page="unified-profile"] .up-greeting-brand{display:flex!important;align-items:center!important;gap:14px!important;padding:4px 48px 12px 0!important;border-bottom:1px solid rgba(255,255,255,.28)!important}
body[data-page="unified-profile"] .up-greeting-brand>span{display:grid!important;place-items:center!important;width:54px!important;height:48px!important;border-radius:13px!important;background:rgba(255,255,255,.20)!important;color:#fff!important;font-weight:1000!important;line-height:.88!important;text-align:center!important;letter-spacing:-.04em!important}
body[data-page="unified-profile"] .up-greeting-brand b{display:block!important;font-size:12px!important;letter-spacing:.13em!important;text-transform:uppercase!important}
body[data-page="unified-profile"] .up-greeting-brand small{display:block!important;margin-top:4px!important;font-size:12px!important;opacity:.82!important}
body[data-page="unified-profile"] .up-greeting-card h2{margin:18px 0 0!important;font-size:clamp(29px,8vw,42px)!important;line-height:1!important;letter-spacing:-.045em!important;color:#fff!important}
body[data-page="unified-profile"] .up-greeting-typed{min-height:34px!important;margin:3px 0 11px!important;font-size:clamp(21px,6vw,30px)!important;line-height:1.15!important;font-weight:900!important;color:#fff!important}
body[data-page="unified-profile"] .up-greeting-activity{margin:0 0 10px!important;padding:12px 13px!important;border-radius:14px!important;background:rgba(0,0,0,.18)!important;border:1px solid rgba(255,255,255,.24)!important;color:#fff!important;font-size:14px!important;line-height:1.42!important;font-weight:650!important}
body[data-page="unified-profile"] .up-greeting-private-buttons{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-bottom:8px!important}
body[data-page="unified-profile"] .up-greeting-private-buttons button{min-height:62px!important;display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:12px!important;padding:10px 12px!important;border-radius:14px!important;background:rgba(0,0,0,.18)!important;border:1px solid rgba(255,255,255,.28)!important;color:#fff!important;text-align:left!important}
body[data-page="unified-profile"] .up-greeting-private-buttons button *{color:#fff!important}
body[data-page="unified-profile"] .up-greeting-private-buttons span{font-size:12px!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.05em!important}
body[data-page="unified-profile"] .up-greeting-private-buttons strong{font-size:23px!important;line-height:1!important}
body[data-page="unified-profile"] .up-greeting-tools{display:grid!important;gap:7px!important;margin:8px 0 10px!important}
body[data-page="unified-profile"] .up-greeting-tools>button,
body[data-page="unified-profile"] .up-greeting-tools>a,
body[data-page="unified-profile"] .up-greeting-afterthought{
  min-height:52px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;
  padding:9px 11px!important;border-radius:13px!important;text-decoration:none!important;text-align:left!important;
  background:rgba(0,0,0,.18)!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important;
}
body[data-page="unified-profile"] .up-greeting-tools *{color:#fff!important}
body[data-page="unified-profile"] .up-greeting-tools span{display:grid!important;gap:3px!important}
body[data-page="unified-profile"] .up-greeting-tools b{font-size:13px!important}
body[data-page="unified-profile"] .up-greeting-tools small{font-size:10px!important;opacity:.80!important}
body[data-page="unified-profile"] .up-greeting-tools em{font-style:normal!important;font-size:11px!important;font-weight:950!important;letter-spacing:.07em!important}
body[data-page="unified-profile"] .up-greeting-afterthought select{min-width:88px!important;padding:8px 6px!important;border-radius:10px!important;background:rgba(0,0,0,.25)!important;border:1px solid rgba(255,255,255,.30)!important;color:#fff!important;font-weight:850!important}
body[data-page="unified-profile"] .up-greeting-footer-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;width:100%!important;margin-top:8px!important}
body[data-page="unified-profile"] .up-greeting-footer-actions .up-greeting-edit,
body[data-page="unified-profile"] .up-greeting-footer-actions .up-greeting-continue{width:100%!important;min-width:0!important;min-height:44px!important;margin:0!important;padding:10px 8px!important;border-radius:13px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:13px!important;font-weight:950!important}
body[data-page="unified-profile"] .up-greeting-edit{background:rgba(0,0,0,.22)!important;border:1px solid rgba(255,255,255,.30)!important;color:#fff!important}
body[data-page="unified-profile"] .up-greeting-continue{background:rgba(255,255,255,.24)!important;border:1px solid rgba(255,255,255,.42)!important;color:#fff!important}

/* ---------- Yellow Team palette ---------- */
html[data-up-team="yellow"] body[data-page="unified-profile"]{
  --up-bg:#171200;
  --up-surface:#6c4c00;
  --up-surface-2:#795800;
  --up-line:rgba(255,219,67,.32);
  --up-text:#fff9dc;
  --up-muted:#eadfac;
  --up-accent:#b68400;
  --up-accent-2:#ffe866;
  --up-contrast:#6a4900;
  background:radial-gradient(circle at 50% 0,rgba(255,204,26,.18),transparent 32rem),linear-gradient(180deg,#6f5000 0%,#3e2b00 100%)!important;
}
html[data-up-team="yellow"] body[data-page="unified-profile"] .up-topbar{background:rgba(69,49,0,.96)!important;border-bottom-color:rgba(255,213,42,.22)!important}
html[data-up-team="yellow"] body[data-page="unified-profile"] .up-hero{border-color:rgba(255,213,42,.38)!important;background:#604500!important}
html[data-up-team="yellow"] body[data-page="unified-profile"] .up-hero-photo-wrap{background:linear-gradient(135deg,#ffd83d 0%,#d6a400 48%,#6f5000 100%)!important}
html[data-up-team="yellow"] body[data-page="unified-profile"] .up-hero-fade{background:linear-gradient(to bottom,transparent 34%,rgba(110,79,0,.16) 54%,rgba(92,65,0,.68) 80%,#604500 100%)!important}
html[data-up-team="yellow"] body[data-page="unified-profile"] .up-season-chip{background:rgba(82,57,0,.84)!important;color:#fff!important;border-color:rgba(255,225,107,.48)!important}
html[data-up-team="yellow"] body[data-page="unified-profile"] .up-rank-badge{background:linear-gradient(145deg,#f0b900,#b98400)!important;border-color:#ffe46a!important;color:#1a1200!important}
html[data-up-team="yellow"] body[data-page="unified-profile"] .up-hero-body{background:radial-gradient(circle at 84% 0%,rgba(255,225,88,.18),transparent 34%),linear-gradient(160deg,#8e6800 0%,#6f5000 34%,#9a7200 68%,#604400 100%)!important}
html[data-up-team="yellow"] body[data-page="unified-profile"] .up-about-block{background:linear-gradient(145deg,rgba(143,103,0,.80),rgba(93,65,0,.82))!important;border-color:rgba(255,218,66,.34)!important}
html[data-up-team="yellow"] body[data-page="unified-profile"] .up-about-title strong{color:#ffe56d!important;-webkit-text-fill-color:#ffe56d!important}
html[data-up-team="yellow"] body[data-page="unified-profile"] .up-full-bio-inline{color:#fff3bd!important}
html[data-up-team="yellow"] body[data-page="unified-profile"] .up-profile-actions .up-action{background:linear-gradient(180deg,#e0b52a 0%,#b68400 52%,#7f5900 100%)!important;border-color:#f2d25e!important}
html[data-up-team="yellow"] body[data-page="unified-profile"] #profileVote{background:linear-gradient(180deg,#ffe866 0%,#efc72b 50%,#c89400 100%)!important;border-color:#fff0a0!important;color:#1e1600!important}
html[data-up-team="yellow"] body[data-page="unified-profile"] #profileVote *{color:#1e1600!important}
html[data-up-team="yellow"] body[data-page="unified-profile"] #profileFollow.is-following{background:linear-gradient(180deg,#d1a118 0%,#9f7200 55%,#6a4900 100%)!important;border-color:#ebcc5a!important}
html[data-up-team="yellow"] body[data-page="unified-profile"] .up-module{background:linear-gradient(145deg,#745400,#533a00)!important;border-color:rgba(255,213,42,.25)!important}
html[data-up-team="yellow"] body[data-page="unified-profile"] .up-module__group{color:#ffd62c!important}
html[data-up-team="yellow"] body[data-page="unified-profile"] .up-greeting-overlay{background:rgba(75,52,0,.16)!important}
html[data-up-team="yellow"] body[data-page="unified-profile"] .up-greeting-card{background:radial-gradient(circle at 18% 5%,rgba(255,244,178,.28),transparent 34%),linear-gradient(155deg,rgba(224,180,37,.91) 0%,rgba(191,140,7,.88) 48%,rgba(133,91,0,.86) 100%)!important;border-color:rgba(255,228,101,.68)!important}

/* ---------- Blue Team palette ---------- */
html[data-up-team="blue"] body[data-page="unified-profile"]{
  --up-bg:#071421;
  --up-surface:#12375a;
  --up-surface-2:#19466f;
  --up-line:rgba(111,184,255,.30);
  --up-text:#f7fbff;
  --up-muted:#c9dcef;
  --up-accent:#2d72b7;
  --up-accent-2:#75c0ff;
  --up-contrast:#0d2d4f;
}
html[data-up-team="blue"] body[data-page="unified-profile"] .up-hero-photo-wrap{background:linear-gradient(135deg,#2d9ff3,#073d74)!important}
html[data-up-team="blue"] body[data-page="unified-profile"] .up-hero-body{background:radial-gradient(circle at 84% 0%,rgba(112,183,255,.16),transparent 34%),linear-gradient(160deg,#16385b 0%,#0d2741 34%,#1c4774 68%,#0a1b2d 100%)!important}
html[data-up-team="blue"] body[data-page="unified-profile"] .up-about-block{background:linear-gradient(145deg,rgba(22,54,88,.74),rgba(11,30,51,.78))!important;border-color:rgba(104,177,247,.30)!important}
html[data-up-team="blue"] body[data-page="unified-profile"] .up-about-title strong{color:#7bc4ff!important;-webkit-text-fill-color:#7bc4ff!important}
html[data-up-team="blue"] body[data-page="unified-profile"] .up-profile-actions .up-action{background:linear-gradient(180deg,#2d72b7 0%,#1b4f83 52%,#0d2d4f 100%)!important;border-color:#4f9bdd!important}
html[data-up-team="blue"] body[data-page="unified-profile"] #profileVote{background:linear-gradient(180deg,#75c0ff 0%,#438fd4 52%,#25659e 100%)!important;border-color:#a9d8ff!important;color:#fff!important}
html[data-up-team="blue"] body[data-page="unified-profile"] #profileVote *{color:#fff!important}
html[data-up-team="blue"] body[data-page="unified-profile"] #profileFollow.is-following{background:linear-gradient(180deg,#3f88ca 0%,#28649c 55%,#143d65 100%)!important;border-color:#73b5ea!important}

/* ---------- Larger screens ---------- */
@media(min-width:850px){
  body[data-page="unified-profile"] .up-shell{padding:14px 14px 110px!important}
  body[data-page="unified-profile"] .up-hero{border-radius:24px!important}
  body[data-page="unified-profile"] .up-hero-photo-wrap{height:620px!important;min-height:620px!important}
  body[data-page="unified-profile"] .up-hero-photo{object-position:70% 18%!important}
  body[data-page="unified-profile"] .up-hero-info{left:42px!important;right:52%!important;bottom:72px!important;max-width:520px!important}
  body[data-page="unified-profile"] .up-name-row h1{font-size:clamp(46px,6vw,72px)!important}
  body[data-page="unified-profile"] .up-category-link,body[data-page="unified-profile"] .up-credential{font-size:clamp(17px,2vw,23px)!important}
  body[data-page="unified-profile"] .up-hero-body{padding:22px 26px!important}
  body[data-page="unified-profile"] .up-modules{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important}
  body[data-page="unified-profile"] .up-module[data-module-key="posts"],
  body[data-page="unified-profile"] .up-module[data-module-key="suggested"],
  body[data-page="unified-profile"] .up-module[data-module-key="same_category"]{grid-column:1/-1!important}
}

@media(max-width:380px){
  body[data-page="unified-profile"] .up-profile-actions{gap:5px!important}
  body[data-page="unified-profile"] .up-profile-actions .up-action{padding:6px 2px!important}
  body[data-page="unified-profile"] .up-profile-actions .up-action span{font-size:9px!important}
  body[data-page="unified-profile"] .up-greeting-footer-actions{gap:7px!important}
  body[data-page="unified-profile"] .up-greeting-footer-actions .up-greeting-edit,
  body[data-page="unified-profile"] .up-greeting-footer-actions .up-greeting-continue{font-size:12px!important;padding:10px 5px!important}
}

/* ---------- Social profile header ---------- */
body[data-page="unified-profile"] .up-category-location-line{
  display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin-top:10px!important;
}
body[data-page="unified-profile"] .up-category-location-line .up-category-link,
body[data-page="unified-profile"] .up-category-location-line .up-meta{
  margin:0!important;display:inline-flex!important;align-items:center!important;width:auto!important;
}
body[data-page="unified-profile"] .up-meta-separator{font-weight:900!important;opacity:.72!important}
body[data-page="unified-profile"] .up-social-summary{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:start!important;
  gap:6px!important;width:100%!important;margin:0 0 12px!important;padding:2px 0 4px!important;overflow:visible!important;
}
body[data-page="unified-profile"] .up-social-stat-item,
body[data-page="unified-profile"] #profileFollow.up-tiktok-follow{
  min-width:0!important;width:100%!important;height:auto!important;min-height:52px!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;clip-path:none!important;transform:none!important;
  grid-area:auto!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:4px!important;color:#fff!important;
}
body[data-page="unified-profile"] .up-social-stat-item strong{font-size:22px!important;line-height:1!important;font-weight:950!important}
body[data-page="unified-profile"] .up-social-stat-item span,
body[data-page="unified-profile"] #profileFollow.up-tiktok-follow #profileFollowLabel{font-size:11px!important;line-height:1.1!important;font-weight:800!important;color:#fff!important;opacity:.82!important;white-space:nowrap!important}
body[data-page="unified-profile"] #profileFollow.up-tiktok-follow .up-follow-plus{
  display:grid!important;place-items:center!important;width:34px!important;height:34px!important;border-radius:50%!important;
  font-size:27px!important;line-height:1!important;font-weight:500!important;font-family:Arial,sans-serif!important;
  background:#fff!important;color:#111!important;border:2px solid rgba(255,255,255,.9)!important;box-shadow:0 3px 10px rgba(0,0,0,.28)!important;
}
body[data-page="unified-profile"] #profileFollow.up-tiktok-follow.is-following .up-follow-plus{font-size:0!important;background:#27c98b!important;border-color:#7af2c5!important;color:#fff!important}
body[data-page="unified-profile"] #profileFollow.up-tiktok-follow.is-following .up-follow-plus::after{content:"✓";font-size:18px;font-weight:950}
body[data-page="unified-profile"] #profileFollow.up-tiktok-follow:disabled{opacity:.55!important}
body[data-page="unified-profile"] .up-profile-actions #profileFollow{display:none!important}
html[data-up-team="yellow"] body[data-page="unified-profile"] .up-social-stat-item strong,
html[data-up-team="yellow"] body[data-page="unified-profile"] .up-social-stat-item span,
html[data-up-team="yellow"] body[data-page="unified-profile"] .up-meta-separator,
html[data-up-team="blue"] body[data-page="unified-profile"] .up-social-stat-item strong,
html[data-up-team="blue"] body[data-page="unified-profile"] .up-social-stat-item span,
html[data-up-team="blue"] body[data-page="unified-profile"] .up-meta-separator{color:#fff!important}
@media(max-width:380px){
  body[data-page="unified-profile"] .up-social-summary{gap:5px!important}
  body[data-page="unified-profile"] .up-social-stat-item strong{font-size:19px!important}
  body[data-page="unified-profile"] .up-social-stat-item span,
  body[data-page="unified-profile"] #profileFollow.up-tiktok-follow #profileFollowLabel{font-size:10px!important}
}

/* ---------- Mobile badge safe area ---------- */
body[data-page="unified-profile"] .up-hero,
body[data-page="unified-profile"] .up-hero-photo-wrap{max-width:100%!important;overflow:hidden!important}
@media(max-width:849px){
  body[data-page="unified-profile"] .up-season-chip,
  html[data-up-team="yellow"] body[data-page="unified-profile"] .up-season-chip,
  html[data-up-team="blue"] body[data-page="unified-profile"] .up-season-chip{
    right:max(12px,env(safe-area-inset-right))!important;left:auto!important;top:12px!important;transform:none!important;
    max-width:calc(100% - 24px - env(safe-area-inset-left) - env(safe-area-inset-right))!important;box-sizing:border-box!important;white-space:nowrap!important;
  }
  body[data-page="unified-profile"] .up-rank-badge,
  html[data-up-team="yellow"] body[data-page="unified-profile"] .up-rank-badge,
  html[data-up-team="blue"] body[data-page="unified-profile"] .up-rank-badge{
    right:max(12px,env(safe-area-inset-right))!important;left:auto!important;bottom:14px!important;transform:none!important;
    width:68px!important;min-width:68px!important;max-width:68px!important;height:68px!important;box-sizing:border-box!important;
  }
}
@media(max-width:430px){
  body[data-page="unified-profile"] .up-season-chip,
  html[data-up-team="yellow"] body[data-page="unified-profile"] .up-season-chip,
  html[data-up-team="blue"] body[data-page="unified-profile"] .up-season-chip{right:max(10px,env(safe-area-inset-right))!important;top:10px!important;font-size:11px!important;padding:7px 10px!important}
  body[data-page="unified-profile"] .up-rank-badge,
  html[data-up-team="yellow"] body[data-page="unified-profile"] .up-rank-badge,
  html[data-up-team="blue"] body[data-page="unified-profile"] .up-rank-badge{
    right:max(10px,env(safe-area-inset-right))!important;bottom:12px!important;width:62px!important;min-width:62px!important;max-width:62px!important;height:62px!important;
  }
}


/* V243 — PROFILE EDITOR PLAIN WHITE / BLACK TEXT */
#bioDialog .up-profile-editor{
  background:#fff!important;
  color:#000!important;
  border:1px solid #b8b8b8!important;
  box-shadow:0 18px 54px rgba(0,0,0,.28)!important;
}
#bioDialog .up-profile-editor header,
#bioDialog .up-profile-editor footer,
#bioDialog .up-profile-editor label,
#bioDialog .up-profile-editor strong,
#bioDialog .up-profile-editor small,
#bioDialog .up-profile-editor .up-editor-article-label,
#bioDialog .up-profile-editor .up-editor-article-label strong,
#bioDialog .up-profile-editor .up-editor-article-label small,
#bioDialog .up-profile-editor a{
  color:#000!important;
}
#bioDialog .up-profile-editor input,
#bioDialog .up-profile-editor select,
#bioDialog .up-profile-editor textarea{
  background:#fff!important;
  color:#000!important;
  border:1px solid #777!important;
  box-shadow:none!important;
}
#bioDialog .up-profile-editor input::placeholder,
#bioDialog .up-profile-editor textarea::placeholder{color:#555!important;opacity:1}
#bioDialog .up-profile-editor input[readonly]{background:#f2f2f2!important;color:#000!important}
#bioDialog .up-profile-editor .up-editor-preview{background:#f4f4f4!important;border-color:#aaa!important}
#bioDialog .up-profile-editor .up-editor-article-label{background:#fff!important;border-color:#aaa!important}
#bioDialog .up-profile-editor button,
#bioDialog .up-profile-editor .up-primary{
  background:#fff!important;
  color:#000!important;
  border:1px solid #000!important;
  box-shadow:none!important;
}
#bioDialog .up-profile-editor button:hover,
#bioDialog .up-profile-editor .up-primary:hover{background:#eee!important}
#bioDialog .up-profile-editor .up-x{background:#fff!important;color:#000!important;border-color:#777!important}
#bioDialog .up-profile-editor input[type="checkbox"]{accent-color:#000}
/* V246 Regular profile photo moderation */
.up-regular-photo-moderation{margin:14px 0;padding:14px;border:1px solid #d8d8d8;border-radius:12px;background:#fff;color:#111;display:grid;gap:10px}
.up-regular-photo-moderation[hidden]{display:none!important}
.up-regular-photo-moderation strong,.up-regular-photo-moderation small{color:#111}
.up-regular-photo-moderation img{width:120px;height:120px;border-radius:12px;object-fit:cover;border:1px solid #222;background:#f3f3f3}
.up-regular-photo-moderation>div{display:flex;gap:8px;flex-wrap:wrap}
.up-regular-photo-moderation button{background:#fff;color:#111;border:1px solid #111;border-radius:9px;padding:9px 13px;font-weight:800}
.up-regular-photo-moderation .up-primary{background:#111;color:#fff}
/* V332 information-first private greeting */
body[data-page="unified-profile"] .up-greeting-card,html[data-up-team="yellow"] body[data-page="unified-profile"] .up-greeting-card,html[data-up-team="blue"] body[data-page="unified-profile"] .up-greeting-card{background:#fff!important;color:#111!important;border-color:#d8dee8!important;box-shadow:0 20px 70px rgba(0,0,0,.25)!important}
body[data-page="unified-profile"] .up-greeting-card *{color:#111!important}
body[data-page="unified-profile"] .up-greeting-close{background:#f3f5f8!important;color:#111!important;border-color:#d8dee8!important}
body[data-page="unified-profile"] .up-greeting-brand{border-bottom-color:#e5e7eb!important}body[data-page="unified-profile"] .up-greeting-brand>span{background:#111!important;color:#fff!important}
body[data-page="unified-profile"] .up-greeting-person{display:flex;align-items:center;gap:12px;margin:15px 0 10px}body[data-page="unified-profile"] #profileGreetingAvatar{width:66px;height:66px;border-radius:50%;object-fit:cover;border:2px solid #e5e7eb;background:#f3f4f6}
body[data-page="unified-profile"] .up-greeting-card h2{margin:0!important;color:#111!important;font-size:26px!important}body[data-page="unified-profile"] .up-greeting-typed{margin:3px 0!important;min-height:20px!important;color:#4b5563!important;font-size:15px!important}
body[data-page="unified-profile"] .up-greeting-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:10px 0}.up-greeting-tabs button{border:1px solid #d8dee8;background:#fff;border-radius:10px;padding:10px;font-weight:900}.up-greeting-tabs button.is-active{background:#111;color:#fff!important;border-color:#111}
body[data-page="unified-profile"] .up-greeting-activity,body[data-page="unified-profile"] .up-greeting-private-buttons button,body[data-page="unified-profile"] .up-greeting-tools>button,body[data-page="unified-profile"] .up-greeting-tools>a,body[data-page="unified-profile"] .up-greeting-afterthought{background:#f8fafc!important;border-color:#e2e8f0!important;color:#111!important}
body[data-page="unified-profile"] .up-greeting-site-options{display:grid;gap:7px;margin:8px 0 10px}.up-greeting-site-options[hidden]{display:none!important}.up-greeting-site-options>a,.up-greeting-site-options>button{display:flex;align-items:center;gap:12px;min-height:52px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;text-decoration:none;text-align:left;font-size:20px}.up-greeting-site-options span{display:grid;gap:2px}.up-greeting-site-options b{font-size:13px}.up-greeting-site-options small{font-size:11px;color:#64748b!important}
body[data-page="unified-profile"] .up-greeting-edit,body[data-page="unified-profile"] .up-greeting-continue{background:#111!important;color:#fff!important;border-color:#111!important}
