/* Public and personal profiles use the shared GTALOOT palette. */
:root{
  --pf-bg:var(--mj-bg);
  --pf-shell:var(--mj-inset);
  --pf-card:var(--mj-panel);
  --pf-card-2:var(--mj-raised);
  --pf-line:var(--mj-line);
  --pf-line-strong:#575257;
  --pf-text:var(--mj-text);
  --pf-muted:var(--mj-muted);
  --pf-dim:var(--mj-dim);
  --pf-accent:var(--mj-accent);
  --pf-accent-soft:var(--mj-accent-soft);
  --pf-pink:var(--mj-pink);
  --pf-amount:#faf6f8;
}

#view-profile{padding-top:18px}

/* Shell */
#view-profile .profile-overview{
  position:relative;
  grid-template-columns:minmax(280px,.94fr) minmax(300px,1fr) minmax(290px,1.05fr)!important;
  gap:14px!important;
  padding:14px!important;
  border:1px solid var(--pf-line)!important;
  border-radius:22px!important;
  background:
    radial-gradient(ellipse 70% 120% at 100% -20%,rgba(250,41,124,.10),transparent 55%),
    radial-gradient(ellipse 60% 110% at 0% 120%,rgba(217,24,92,.12),transparent 55%),
    var(--pf-shell)!important;
  box-shadow:0 28px 70px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.045)!important;
  overflow:hidden;
}
#view-profile .profile-overview::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(236,18,101,.65),rgba(250,41,124,.45),transparent);
  opacity:.75;
  pointer-events:none;
}

/* Account card */
#view-profile .profile-person-row{
  grid-template-columns:76px minmax(0,1fr)!important;
  grid-template-rows:auto auto auto 1fr!important;
  gap:10px 13px!important;
  min-height:0!important;
  padding:20px!important;
  border:1px solid var(--pf-line)!important;
  border-radius:16px!important;
  background:
    radial-gradient(ellipse 80% 70% at 0% 0%,rgba(236,18,101,.12),transparent 58%),
    linear-gradient(160deg,#161618,#151516)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 12px 28px rgba(0,0,0,.18)!important;
}
#view-profile .profile-avatar-wrap{grid-row:1/3!important;align-self:center!important}
#view-profile .profile-avatar-edit{width:76px!important;height:76px!important;border-radius:19px!important}
#view-profile .profile-avatar{
  width:76px!important;
  height:76px!important;
  border-radius:19px!important;
  color:#fff;
  font-size:30px!important;
  text-shadow:0 2px 8px rgba(0,0,0,.35);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),0 0 0 4px rgba(236,18,101,.11),0 14px 28px rgba(0,0,0,.4)!important;
}
#view-profile .profile-avatar-camera{background:rgba(16,16,17,.82)!important;color:var(--pf-accent-soft)!important}
#view-profile .profile-avatar-edit:focus-visible{outline:2px solid var(--pf-accent)!important;outline-offset:4px}
#view-profile .profile-avatar-wrap>i{
  z-index:3;
  right:-3px!important;
  bottom:1px!important;
  width:16px!important;
  height:16px!important;
  border:3px solid #161618!important;
  background:#58e08c!important;
  box-shadow:0 0 10px rgba(88,224,140,.55);
}
#view-profile .profile-avatar-status{padding:0 20px 12px!important;color:#ff86b0!important;font-size:10.5px!important}
#view-profile .profile-person-copy h1{margin:0!important;align-self:end!important;color:#fff!important;font-size:23px!important;line-height:1.15!important;letter-spacing:-.45px!important}
#view-profile .profile-meta{gap:7px!important;margin:0!important}
#view-profile .profile-meta>span{
  min-height:27px!important;
  padding:0 9px!important;
  border:1px solid rgba(236,18,101,.18)!important;
  border-radius:8px!important;
  background:rgba(255,255,255,.04)!important;
  color:#c3c3c4!important;
  font-size:11px!important;
  font-weight:700!important;
}
#view-profile .profile-quick-actions>button{
  width:32px!important;
  height:32px!important;
  border:1px solid rgba(236,18,101,.16)!important;
  border-radius:9px!important;
  background:rgba(255,255,255,.035)!important;
  transition:border-color .2s,background .2s,transform .18s;
}
#view-profile .profile-quick-actions>button:hover{transform:translateY(-1px);border-color:rgba(255,115,166,.42)!important;background:rgba(250,41,124,.09)!important}
#view-profile .profile-quick-actions img{width:21px!important;height:21px!important;filter:brightness(0) invert(1) opacity(.72)!important}

/* Push toggle */
#view-profile .profile-push-toggle{
  margin-top:12px!important;
  padding:10px 12px!important;
  border:1px solid rgba(255,255,255,.065)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.028)!important;
  transition:border-color .2s,background .2s;
}
#view-profile .profile-push-toggle:hover{border-color:rgba(236,18,101,.28)!important;background:rgba(236,18,101,.045)!important}
#view-profile .profile-push-toggle>img{
  width:38px!important;
  height:38px!important;
  padding:9px!important;
  border-radius:11px!important;
  background:rgba(236,18,101,.10)!important;
  filter:brightness(0) invert(1) opacity(.74)!important;
}
#view-profile .profile-push-toggle b{color:#f3f3f4!important;font-size:12px!important}
#view-profile .profile-push-toggle small{color:#a2a2a3!important;font-size:10.5px!important}
#view-profile .profile-push-toggle>i{
  width:38px!important;
  height:22px!important;
  flex:0 0 38px!important;
  border:1px solid rgba(236,18,101,.18)!important;
  border-radius:999px!important;
  background:#242426!important;
  transition:background .2s,border-color .2s,box-shadow .2s;
}
#view-profile .profile-push-toggle>i::after{top:2px!important;left:2px!important;width:16px!important;height:16px!important;background:#969697!important}
#view-profile .profile-push-toggle input:checked+i{
  border-color:rgba(255,255,255,.16)!important;
  background:linear-gradient(90deg,#f0397e,#ff5cb0)!important;
  box-shadow:0 0 12px rgba(236,18,101,.35);
}
#view-profile .profile-push-toggle input:checked+i::after{background:#fff!important;transform:translateX(16px)!important}
#view-profile .profile-push-toggle input:focus-visible+i{outline:2px solid var(--pf-accent)!important;outline-offset:4px!important}

/* Telegram block */
#view-profile .profile-telegram{
  margin-top:10px!important;
  padding:12px!important;
  border:1px solid rgba(255,255,255,.065)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.025)!important;
}
#view-profile .profile-telegram img{width:25px!important;height:25px!important;filter:grayscale(1) brightness(1.3) drop-shadow(0 3px 6px rgba(0,0,0,.4))!important}
#view-profile .profile-telegram b{color:#f3f3f4!important;font-size:12px!important}
#view-profile .profile-telegram small{color:#a2a2a3!important;font-size:10.5px!important}
#view-profile .profile-telegram p{color:#ffa5c5!important;font-size:10.5px!important}
#view-profile .profile-telegram-linked>span{color:#9ef0b8!important}
#view-profile .telegram-link-button{
  min-height:38px!important;
  margin-top:11px!important;
  padding:9px 12px!important;
  border:1px solid rgba(236,18,101,.32)!important;
  border-radius:9px!important;
  background:rgba(236,18,101,.11)!important;
  color:#d5d5d6!important;
  font:700 11.5px Inter,system-ui,sans-serif!important;
  box-shadow:none!important;
  transition:background .2s,border-color .2s,color .2s,transform .18s;
}
#view-profile .telegram-link-button:hover{transform:translateY(-1px);border-color:rgba(236,18,101,.5)!important;background:rgba(236,18,101,.19)!important;color:#fff!important;filter:none!important}
#view-profile .telegram-code code{color:#d5d5d6!important}
#view-profile .telegram-code button{border-color:rgba(236,18,101,.22)!important;background:rgba(255,255,255,.04)!important;color:#e1e1e2!important;border-radius:9px!important}
#view-profile .telegram-code button:hover{border-color:rgba(236,18,101,.45)!important;background:rgba(236,18,101,.10)!important}

/* Balance card */
#view-profile .profile-wallet-card{
  display:flex!important;
  flex-direction:column!important;
  padding:20px!important;
  border:1px solid var(--pf-line)!important;
  border-radius:16px!important;
  background:
    radial-gradient(ellipse 85% 60% at 100% 0%,rgba(250,41,124,.10),transparent 58%),
    linear-gradient(160deg,rgba(236,18,101,.07),transparent 45%),
    #161618!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 12px 28px rgba(0,0,0,.18)!important;
}
#view-profile .profile-wallet-label span{
  color:#b7b7b8!important;
  font-size:10.5px!important;
  font-weight:800!important;
  letter-spacing:1.15px!important;
  text-transform:uppercase;
}
#view-profile .profile-balance{margin:12px 0 16px!important;gap:10px!important;align-items:center!important}
#view-profile .profile-balance strong,#pBalance{
  color:#fff!important;
  font-size:40px!important;
  line-height:1!important;
  letter-spacing:-1px!important;
  text-shadow:0 4px 18px rgba(236,18,101,.18);
}
#view-profile .profile-balance>.profile-currency-png{width:40px!important;height:40px!important;filter:drop-shadow(0 3px 6px #0004)!important}
#view-profile .wallet-coupon{
  margin:0 0 10px!important;
  padding:5px!important;
  gap:5px!important;
  border:1px solid rgba(236,18,101,.16)!important;
  border-radius:12px!important;
  background:#0c0c0e!important;
  transition:border-color .2s,box-shadow .2s;
}
#view-profile .wallet-coupon:focus-within{border-color:rgba(236,18,101,.55)!important;box-shadow:0 0 0 3px rgba(236,18,101,.09)}
#view-profile .wallet-coupon-icon{
  width:38px!important;
  height:38px!important;
  flex:0 0 38px!important;
  border:1px solid rgba(236,18,101,.22)!important;
  border-radius:9px!important;
  background:linear-gradient(135deg,rgba(236,18,101,.28),rgba(250,41,124,.14))!important;
}
#view-profile .wallet-coupon-icon img{width:23px!important;height:19px!important;filter:brightness(0) invert(1) opacity(.92)!important}
#view-profile .wallet-coupon input{height:38px!important;color:#fff!important;font-size:13px!important}
#view-profile .wallet-coupon input::placeholder{color:var(--pf-dim)!important}
#view-profile .wallet-coupon button{
  min-height:38px!important;
  padding:0 13px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:8px!important;
  background:var(--mj-action)!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:800!important;
  box-shadow:var(--mj-action-shadow)!important;
}
#view-profile .wallet-coupon button:hover{filter:brightness(1.07)}
#view-profile .profile-deposit{
  position:relative;
  width:100%!important;
  height:46px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.17)!important;
  border-radius:11px!important;
  background:var(--mj-action)!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:800!important;
  box-shadow:var(--mj-action-shadow)!important;
  transition:filter .2s,transform .18s,box-shadow .2s;
}
#view-profile .profile-deposit::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.18) 50%,transparent 70%);
  transform:translateX(-120%);
  transition:transform .55s ease;
  pointer-events:none;
}
#view-profile .profile-deposit:hover{filter:brightness(1.06)!important;transform:translateY(-1px)}
#view-profile .profile-deposit:hover::after{transform:translateX(120%)}
#view-profile .profile-deposit>img{width:19px!important;height:19px!important;filter:brightness(0) invert(1) drop-shadow(0 2px 3px rgba(0,0,0,.25))!important}
#view-profile .profile-promo-link{
  align-self:stretch!important;
  width:100%!important;
  margin-top:auto!important;
  padding:14px 2px 0!important;
  border:0!important;
  border-top:1px solid rgba(236,18,101,.12)!important;
  background:none!important;
  color:#c0c0c1!important;
  font-size:11.5px!important;
  font-weight:600!important;
  text-align:left!important;
  transition:color .2s,transform .2s;
}
#view-profile .profile-promo-link:hover{color:#e7e7e8!important;transform:translateX(1px)}
#view-profile .profile-promo-message{color:#ffa5c5!important;font-size:10.5px!important}
#view-profile .profile-promo-message.is-error{color:#ff9fae!important}

/* Best drop */
#view-profile .profile-best-card{
  min-height:150px!important;
  padding:18px!important;
  border:1px solid rgba(250,41,124,.20)!important;
  border-radius:16px!important;
  background:
    radial-gradient(ellipse 72% 110% at 96% 50%,rgba(250,41,124,.16),transparent 64%),
    linear-gradient(155deg,rgba(236,18,101,.07),transparent 52%),
    #161618!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 12px 28px rgba(0,0,0,.18)!important;
  overflow:hidden;
}
#view-profile .profile-best-copy>span{color:#ff86b0!important;font-size:9.5px!important;font-weight:800!important;letter-spacing:1.35px!important;text-transform:uppercase}
#view-profile .profile-best-copy>b{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  max-width:100%!important;
  margin-top:7px!important;
  color:#fff!important;
  font-size:14.5px!important;
  line-height:1.3!important;
  white-space:normal!important;
  text-overflow:clip!important;
}
#view-profile .profile-best-copy>strong{margin-top:8px!important;color:var(--pf-amount)!important;font-size:16px!important;font-weight:800!important}
#view-profile .profile-best-copy>small{color:#a2a2a3!important;font-size:10.5px!important}
#view-profile .profile-best-visual{position:relative;height:86px!important}
#view-profile .profile-best-visual::before{content:"";position:absolute;inset:8% 0;background:radial-gradient(ellipse at 50% 55%,rgba(250,41,124,.20),transparent 68%);filter:blur(8px);pointer-events:none}
#view-profile .profile-best-visual .u-best-img{position:relative;height:80px!important}
#view-profile .profile-best-visual .u-best-img img{max-width:118px!important;max-height:78px!important;filter:drop-shadow(0 10px 18px rgba(0,0,0,.5)) drop-shadow(0 0 16px rgba(250,41,124,.12))!important;transition:transform .25s ease}
#view-profile .profile-best-card:hover .profile-best-visual .u-best-img img{transform:translateY(-2px) scale(1.03)}
#view-profile .profile-best-placeholder{color:rgba(255,173,206,.28)!important}

/* Three counters in the right column */
#view-profile .profile-metrics{
  grid-column:3!important;
  grid-row:2!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  border:0!important;
  background:transparent!important;
}
#view-profile .profile-metric{
  min-height:132px!important;
  padding:13px 5px 11px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  border:1px solid rgba(236,18,101,.14)!important;
  border-radius:14px!important;
  background:linear-gradient(160deg,rgba(236,18,101,.055),transparent 55%),var(--pf-card)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
  transition:transform .2s,border-color .2s,background .2s;
}
#view-profile .profile-metric:hover{transform:translateY(-2px);border-color:rgba(236,18,101,.34)!important;background:linear-gradient(160deg,rgba(236,18,101,.10),transparent 60%),var(--pf-card-2)!important}
#view-profile .profile-metric>img{
  position:static!important;
  float:none!important;
  order:1;
  width:23px!important;
  height:23px!important;
  padding:9px!important;
  box-sizing:content-box!important;
  border:1px solid rgba(236,18,101,.13)!important;
  border-radius:12px!important;
  background:rgba(236,18,101,.075)!important;
  filter:brightness(0) invert(1) opacity(.82) drop-shadow(0 0 7px rgba(236,18,101,.35))!important;
  transition:transform .2s,filter .2s;
}
#view-profile .profile-metric:hover>img{transform:translateY(-1px) scale(1.05);filter:brightness(0) invert(1) opacity(1) drop-shadow(0 0 10px rgba(236,18,101,.55))!important}
#view-profile .profile-metric>span{
  order:3;
  position:static!important;
  margin:0!important;
  color:#bababb!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:700!important;
  text-align:center!important;
  opacity:1!important;
}
#view-profile .profile-metric>strong{
  order:2;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  clear:none!important;
  margin:0!important;
  padding:0!important;
  color:#fff!important;
  font-size:17px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:-.2px!important;
  white-space:nowrap!important;
}
#view-profile .profile-metric>strong .profile-currency-png{width:15px!important;height:15px!important}
#view-profile .profile-metric>small,#view-profile .profile-metric>i{display:none!important}

/* Library */
#view-profile .profile-library{
  margin-top:16px!important;
  border:1px solid var(--pf-line)!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,rgba(236,18,101,.035),transparent 180px),#0e0e10!important;
  box-shadow:0 24px 60px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.035)!important;
  overflow:hidden;
}
#view-profile .profile-library-head{padding:22px 24px 14px!important;border:0!important;background:transparent!important}
#view-profile .profile-library-head h2{color:#fff!important;font-size:22px!important;letter-spacing:-.4px!important}
#view-profile .profile-library-head p{color:#a2a2a3!important;font-size:12.5px!important;line-height:1.5!important}
#view-profile .profile-library-head .profile-eyebrow{display:block!important;margin-bottom:6px!important;color:#ff86b0!important;font-size:9.5px!important;letter-spacing:1.6px!important}
#view-profile .profile-sell{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:40px!important;
  padding:0 14px!important;
  border:1px solid #dd196777!important;
  border-radius:10px!important;
  background:#e0176810!important;
  color:#ffbfda!important;
  font-size:12px!important;
  font-weight:800!important;
  margin-left:auto!important;
  transition:border-color .2s,background .2s,transform .18s,box-shadow .2s;
}
#view-profile .profile-sell:hover:not(:disabled){transform:translateY(-1px);border-color:var(--mj-action-border)!important;background:#e017681f!important;box-shadow:var(--mj-action-shadow)}
#view-profile .profile-sell:disabled{border-color:rgba(255,255,255,.08)!important;background:rgba(255,255,255,.02)!important;color:#727273!important;opacity:.8}
#view-profile .profile-sell>img{width:20px!important;height:20px!important;filter:drop-shadow(0 3px 6px rgba(0,0,0,.35));opacity:.95}
#view-profile .profile-sell:disabled>img{filter:grayscale(1);opacity:.45}
#view-profile .profile-sell.hidden{display:none!important}

/* Tabs: quiet segmented control instead of a saturated purple block. */
#view-profile .profile-tabs{
  width:max-content!important;
  max-width:calc(100% - 48px)!important;
  margin:0 24px 16px!important;
  padding:6px!important;
  gap:6px!important;
  display:flex!important;
  border:1px solid rgba(236,18,101,.14)!important;
  border-radius:13px!important;
  background:#0a0a0c!important;
  overflow-x:auto;
  scrollbar-width:none;
}
#view-profile .profile-tabs::-webkit-scrollbar{display:none}
#view-profile .profile-tabs .utab{
  flex:0 1 auto!important;
  min-width:0!important;
  padding:10px 15px!important;
  border:1px solid transparent!important;
  border-radius:9px!important;
  background:transparent!important;
  color:#9f9fa0!important;
  font-size:12.5px!important;
  font-weight:700!important;
  box-shadow:none!important;
  transition:border-color .2s,background .2s,color .2s;
}
#view-profile .profile-tabs .utab:hover{background:rgba(236,18,101,.07)!important;color:#ededee!important}
#view-profile .profile-tabs .utab.active{
  border-color:rgba(236,18,101,.38)!important;
  background:linear-gradient(135deg,rgba(236,18,101,.22),rgba(250,41,124,.10))!important;
  color:#fff!important;
  box-shadow:0 6px 18px rgba(236,18,101,.12),inset 0 1px 0 rgba(255,255,255,.06)!important;
}
#view-profile .profile-tabs .utab>img{width:25px!important;height:25px!important;flex:0 0 25px!important;opacity:.58;filter:grayscale(1) brightness(.72)!important;transition:opacity .2s,filter .2s,transform .2s}
#view-profile .profile-tabs .utab:is(:hover,.active)>img{opacity:1;transform:translateY(-1px);filter:grayscale(1) brightness(1.3) drop-shadow(0 0 7px rgba(236,18,101,.35))!important}
#view-profile .profile-tabs .utab b{
  display:inline-grid!important;
  place-items:center!important;
  min-width:22px!important;
  height:20px!important;
  margin-left:2px!important;
  padding:0 6px!important;
  border-radius:999px!important;
  background:#202022!important;
  color:#aeaeaf!important;
  font-size:10px!important;
  font-weight:800!important;
}
#view-profile .profile-tabs .utab.active b{background:rgba(236,18,101,.20)!important;color:#d8d8d9!important}

/* Inventory and empty state */
#view-profile .profile-content-panel{
  min-height:320px!important;
  border-top:1px solid rgba(236,18,101,.10)!important;
  background:linear-gradient(180deg,#0e0e10,#0c0c0e)!important;
}
#view-profile .profile-grid{min-height:320px!important;padding:18px!important;gap:12px!important}
#view-profile .profile-item{
  border-color:color-mix(in srgb,var(--item-color) 40%,var(--mj-line))!important;
  border-radius:12px!important;
  background:linear-gradient(160deg,rgba(236,18,101,.04),transparent 55%),var(--pf-card)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
}
#view-profile .profile-item:hover{
  border-color:color-mix(in srgb,var(--item-color) 65%,var(--mj-accent))!important;
  background:linear-gradient(160deg,rgba(236,18,101,.09),transparent 60%),var(--pf-card-2)!important;
  box-shadow:0 14px 28px rgba(0,0,0,.25);
}
#view-profile .profile-item-top span{color:var(--mj-dim)!important}
#view-profile .profile-item-top b{color:var(--pf-amount)!important}
#view-profile .profile-item-copy strong{color:#f3f3f4!important}
#view-profile .profile-item-copy small{color:#a2a2a3!important}
#view-profile .item-actions{border-top-color:rgba(236,18,101,.12)!important}
#view-profile .item-actions button{border-color:rgba(236,18,101,.15)!important;background:rgba(255,255,255,.03)!important;color:#cfcfd0!important}
#view-profile .item-actions button:hover{border-color:rgba(236,18,101,.4)!important;background:rgba(236,18,101,.12)!important;color:#fff!important}
#view-profile .item-actions .item-withdraw{color:var(--pf-amount)!important;background:rgba(250,85,150,.08)!important;border-color:rgba(250,85,150,.25)!important}
#view-profile .item-actions .item-withdraw:hover{background:rgba(250,85,150,.16)!important;border-color:rgba(250,85,150,.5)!important}

#view-profile .profile-empty{position:relative;min-height:318px;padding:24px;overflow:hidden}
#view-profile .profile-empty::before{
  content:"";
  position:absolute;
  width:360px;
  height:220px;
  border-radius:50%;
  background:radial-gradient(ellipse,rgba(236,18,101,.10),transparent 68%);
  filter:blur(12px);
  pointer-events:none;
}
#view-profile .profile-empty>span{
  position:relative;
  width:64px;
  height:64px;
  display:grid;
  place-items:center;
  border:1px solid rgba(236,18,101,.24);
  border-radius:20px;
  background:linear-gradient(160deg,rgba(236,18,101,.16),rgba(250,41,124,.06));
  color:var(--pf-accent-soft);
  font-size:0;
  box-shadow:0 0 30px rgba(236,18,101,.12),inset 0 1px 0 rgba(255,255,255,.08);
}
#view-profile .profile-empty>span::before{
  content:"";
  width:32px;
  height:32px;
  background:url('/assets/ui/inventory-chest.png?v=20260928') center/contain no-repeat;
  filter:grayscale(1) brightness(1.3);
}
#view-profile .profile-empty>b{position:relative;margin-top:16px;color:#f3f3f4;font-size:16px}
#view-profile .profile-empty>p{position:relative;max-width:340px;margin-top:7px;color:#9f9fa0;font-size:12px;line-height:1.55}
#view-profile .profile-empty>button{
  position:relative;
  min-height:40px;
  margin-top:16px;
  padding:0 16px;
  border:1px solid rgba(236,18,101,.40);
  border-radius:10px;
  background:linear-gradient(180deg,var(--mj-accent),#f0397e);
  color:#fff;
  font-size:12px;
  font-weight:800;
  box-shadow:0 8px 22px rgba(222,28,101,.25);
  transition:filter .2s,transform .18s,box-shadow .2s;
}
#view-profile .profile-empty>button:hover{transform:translateY(-1px);border-color:rgba(255,153,193,.6);filter:brightness(1.07);box-shadow:0 12px 26px rgba(222,28,101,.34)}

/* History */
#view-profile .profile-history{padding:18px!important;min-height:320px}
#view-profile .profile-history-row{
  border:1px solid rgba(236,18,101,.13)!important;
  border-radius:12px!important;
  background:linear-gradient(155deg,rgba(236,18,101,.035),transparent 55%),var(--pf-card)!important;
  transition:border-color .2s,background .2s,transform .2s;
}
#view-profile .profile-history-row:hover{border-color:rgba(236,18,101,.30)!important;background:linear-gradient(155deg,rgba(236,18,101,.07),transparent 55%),var(--pf-card-2)!important}
#view-profile .profile-history-copy>b{color:#f3f3f4!important}
#view-profile .profile-history-copy>span{color:#ababac!important}
#view-profile .profile-history-copy>small{color:#ffa5c5!important}
#view-profile .profile-history-copy>time{color:#878788!important}
#view-profile .profile-history-money{color:var(--pf-amount)!important}
#view-profile .history-gain .profile-history-money{color:#8ce6b4!important}
#view-profile .history-loss .profile-history-money{color:#ff9fae!important}
#view-profile .history-withdraw-actions button{border-color:rgba(236,18,101,.22)!important;background:rgba(236,18,101,.08)!important;color:#ffa5c5!important}
#view-profile .history-withdraw-actions button:hover{border-color:rgba(236,18,101,.45)!important;color:#fff!important}
#myGames .history-filter-bar{padding:0 0 16px!important;gap:6px!important}
#myGames .history-filter-bar button{
  padding:7px 12px!important;
  border:1px solid rgba(236,18,101,.15)!important;
  border-radius:8px!important;
  background:rgba(255,255,255,.025)!important;
  color:#ababac!important;
  font-size:11.5px!important;
  transition:border-color .2s,background .2s,color .2s;
}
#myGames .history-filter-bar button:hover{border-color:rgba(236,18,101,.35)!important;color:#ededee!important}
#myGames .history-filter-bar button[aria-pressed="true"]{border-color:rgba(236,18,101,.40)!important;background:rgba(236,18,101,.15)!important;color:#e4e4e5!important;box-shadow:0 4px 14px rgba(236,18,101,.10)}
#myGames .history-filter-bar>span{margin-left:auto;color:#878788!important;font-size:10.5px!important}
#myGames .history-day{margin:18px 0 10px!important;color:#a2a2a3!important;font-size:10.5px!important;font-weight:700!important;letter-spacing:.3px}
#myGames .history-day::after{background:linear-gradient(90deg,rgba(236,18,101,.18),transparent)!important}
#myGames .profile-history-row{padding:14px!important;gap:14px!important}
#myGames .profile-history-art{background:rgba(255,255,255,.025)!important;border-radius:10px!important;padding:5px!important}
#myGames .profile-history-copy b{font-size:12.5px!important}
#myGames .profile-history-copy>span{font-size:11.5px!important}
#myGames .profile-history-copy time{font-size:10px!important}
#myGames .profile-history-money{font-size:14px!important}
#myGames .upgrade-pager{color:#878788!important}
#myGames .upgrade-pager button{border:1px solid rgba(236,18,101,.14)!important;background:#18181a!important;color:#e1e1e2!important}
#myGames .upgrade-pager button:hover:not(:disabled){border-color:rgba(236,18,101,.4)!important;background:#1c1c1e!important}
#myGames .profile-empty>span{color:var(--pf-accent-soft)}

/* Promo dialog opened from the profile promo link. */
#promoDialog{
  border-color:rgba(236,18,101,.30)!important;
  background:radial-gradient(ellipse at 100% 0,rgba(236,18,101,.16),transparent 60%),radial-gradient(ellipse at 0 100%,rgba(250,41,124,.08),transparent 55%),#101012!important;
  color:#f6f6f7!important;
}
#promoDialog .promo-dialog-top>span{color:#ffa5c5!important}
#promoDialog .promo-hero h2{color:#fff!important}
#promoDialog .promo-hero em{color:#ff9ed0!important}
#promoDialog .promo-hero p{color:#b1b1b2!important}
#promoDialog .promo-hero>img{filter:grayscale(1) brightness(1.15) drop-shadow(0 12px 24px rgba(236,18,101,.20))!important}
#promoDialog .promo-form>label{color:#d2d2d3!important}
#promoDialog .promo-form input{border-color:rgba(236,18,101,.24)!important;background:#0c0c0e!important;color:#fff!important}
#promoDialog .promo-form input:focus{outline:2px solid var(--pf-accent)!important;outline-offset:2px}
#promoDialog .promo-form .btn{background:linear-gradient(180deg,var(--mj-accent),#d81160)!important;color:#fff!important;box-shadow:0 6px 20px rgba(234,30,106,.28)!important}
#promoDialog .promo-form .btn:hover{background:linear-gradient(180deg,#f0397e,#d81160)!important}
#promoDialog .promo-message{color:#ffa5c5!important}
#promoDialog .promo-message.is-error{color:#ff9fae!important}

/* Public profile uses the same shell language. */
body:has(#view-user:not(.hidden)){background:var(--pf-bg)!important}

#view-user{padding-top:18px}
#view-user .public-summary{
  padding:14px!important;
  border:1px solid var(--pf-line)!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,rgba(236,18,101,.035),transparent 200px),var(--pf-shell)!important;
  box-shadow:0 24px 60px rgba(0,0,0,.30)!important;
}
#view-user .pub-card{border:1px solid rgba(236,18,101,.14)!important;border-radius:14px!important;background:linear-gradient(160deg,rgba(236,18,101,.045),transparent 55%),var(--pf-card)!important}
#view-user .pub-user-card h2{color:#fff!important;font-size:22px!important}
#view-user .pub-user-card>div>span{border-color:rgba(236,18,101,.18)!important;background:rgba(255,255,255,.04)!important;color:#c3c3c4!important}
#view-user .pub-avatar{width:76px!important;height:76px!important;flex-basis:76px!important;border-radius:19px!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),0 0 0 4px rgba(236,18,101,.11),0 14px 28px rgba(0,0,0,.4)!important}
#view-user .pub-stat>b{color:#bababb!important}
#view-user .pub-stat>strong{color:#fff!important}
#view-user .pub-stat>span{color:var(--mj-dim)!important}
#view-user .pub-stat>img{
  width:23px!important;
  height:23px!important;
  padding:9px!important;
  box-sizing:content-box!important;
  margin:0 0 1px!important;
  border:1px solid rgba(236,18,101,.13)!important;
  border-radius:12px!important;
  background:rgba(236,18,101,.075)!important;
  filter:brightness(0) invert(1) opacity(.82) drop-shadow(0 0 7px rgba(236,18,101,.35))!important;
}
#view-user .pub-stat:hover>img{filter:brightness(0) invert(1) opacity(1) drop-shadow(0 0 10px rgba(236,18,101,.55))!important;transform:none!important}
#view-user .pub-stat::after{background:linear-gradient(90deg,transparent,rgba(236,18,101,.7),transparent)!important;box-shadow:0 0 18px 4px rgba(236,18,101,.18)!important}
#view-user .pub-stat:is(:hover,:focus-visible){border-color:rgba(236,18,101,.35)!important}
#view-user .pub-best{border-color:rgba(250,41,124,.18)!important;background:radial-gradient(ellipse 72% 110% at 96% 50%,rgba(250,41,124,.14),transparent 64%),var(--pf-card)!important}
#view-user .pub-best-copy strong{color:var(--pf-amount)!important}
#view-user .public-tabs{padding:6px!important;border:1px solid rgba(236,18,101,.14)!important;border-radius:14px!important;background:#0a0a0c!important;gap:6px!important}
#view-user .public-tabs .utab{border:1px solid transparent!important;border-radius:9px!important;background:transparent!important;color:#9f9fa0!important;font-size:12.5px!important;box-shadow:none!important}
#view-user .public-tabs .utab:hover{background:rgba(236,18,101,.07)!important;color:#ededee!important}
#view-user .public-tabs .utab.active{border-color:rgba(236,18,101,.38)!important;background:linear-gradient(135deg,rgba(236,18,101,.22),rgba(250,41,124,.10))!important;color:#fff!important;box-shadow:0 6px 18px rgba(236,18,101,.12),inset 0 1px 0 rgba(255,255,255,.06)!important}
#view-user .public-tabs .utab>img{opacity:.58;filter:grayscale(1) brightness(.72)!important}
#view-user .public-tabs .utab.active>img{opacity:1;filter:grayscale(1) brightness(1.3) drop-shadow(0 0 7px rgba(236,18,101,.35))!important}
#view-user #userItems,#view-user #userGames{border:1px solid rgba(236,18,101,.14)!important;background:linear-gradient(180deg,#0e0e10,#0c0c0e)!important;border-radius:16px!important}
#view-user #userItems .hcard,#view-user #userGames .hcard{background:linear-gradient(160deg,rgba(236,18,101,.04),transparent 55%),var(--pf-card)!important;border-color:var(--mj-line)!important}

/* Responsive placement: the old stylesheet mixed three different layouts. */
@media(max-width:1230px){
  #view-profile .profile-overview{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #view-profile .profile-person-row{grid-column:1!important;grid-row:1!important}
  #view-profile .profile-wallet-card{grid-column:2!important;grid-row:1!important}
  #view-profile .profile-best-card{grid-column:1!important;grid-row:2!important;min-height:132px!important}
  #view-profile .profile-metrics{grid-column:2!important;grid-row:2!important}
}
@media(max-width:720px){
  #view-profile .profile-overview{grid-template-columns:minmax(0,1fr)!important;padding:10px!important;gap:10px!important;border-radius:18px!important}
  #view-profile .profile-person-row,
  #view-profile .profile-wallet-card,
  #view-profile .profile-best-card,
  #view-profile .profile-metrics{grid-column:1!important;grid-row:auto!important}
  #view-profile .profile-person-row{order:1;padding:16px!important}
  #view-profile .profile-wallet-card{order:2}
  #view-profile .profile-best-card{order:3}
  #view-profile .profile-metrics{order:4}
  #view-profile .profile-person-copy h1{font-size:21px!important}
  #view-profile .profile-wallet-card{padding:18px!important}
  #view-profile .profile-balance strong,#pBalance{font-size:35px!important}
  #view-profile .profile-balance>.profile-currency-png{width:35px!important;height:35px!important}
  #view-profile .profile-best-card{min-height:132px!important;padding:16px!important}
  #view-profile .profile-metric{min-height:118px!important}
  #view-profile .profile-library-head{padding:18px 16px 12px!important;flex-wrap:wrap!important;gap:10px!important}
  #view-profile .profile-library-head h2{font-size:19px!important}
  #view-profile .profile-tabs{max-width:calc(100% - 32px)!important;margin:0 16px 14px!important;width:calc(100% - 32px)!important}
  #view-profile .profile-tabs .utab{flex:1 1 0!important;justify-content:center!important;padding:9px 8px!important;font-size:11.5px!important}
  #view-profile .profile-tabs .utab>img{width:22px!important;height:22px!important;flex-basis:22px!important}
  #view-profile .profile-history{padding:12px!important}
  #view-user .public-summary{padding:10px!important;gap:10px!important}
  #view-user .public-tabs{display:flex!important}
  #view-user .public-tabs .utab{flex:1!important;min-width:0!important}
}
@media(max-width:480px){
  #view-profile{padding-top:12px}
  #view-profile .profile-person-row{grid-template-columns:68px minmax(0,1fr)!important;padding:14px!important;gap:9px 11px!important}
  #view-profile .profile-avatar-edit,#view-profile .profile-avatar{width:68px!important;height:68px!important;border-radius:17px!important}
  #view-profile .profile-person-copy h1{font-size:19px!important}
  #view-profile .profile-meta>span{min-height:25px!important;font-size:10px!important}
  #view-profile .profile-push-toggle{padding:9px 10px!important}
  #view-profile .profile-push-toggle>img{width:34px!important;height:34px!important;padding:8px!important}
  #view-profile .profile-push-toggle>i{width:34px!important;flex-basis:34px!important}
  #view-profile .profile-push-toggle input:checked+i::after{transform:translateX(12px)!important}
  #view-profile .profile-balance strong,#pBalance{font-size:31px!important}
  #view-profile .profile-wallet-card{padding:16px!important}
  #view-profile .wallet-coupon button{padding:0 10px!important;font-size:10.5px!important}
  #view-profile .profile-metrics{gap:6px!important}
  #view-profile .profile-metric{min-height:112px!important;padding:11px 3px 9px!important;border-radius:12px!important}
  #view-profile .profile-metric>img{width:21px!important;height:21px!important;padding:8px!important}
  #view-profile .profile-metric>strong{font-size:15px!important}
  #view-profile .profile-metric>span{font-size:9.5px!important}
  #view-profile .profile-library{border-radius:16px!important}
  #view-profile .profile-grid{padding:12px!important;gap:8px!important}
}

@media(prefers-reduced-motion:reduce){
  #view-profile .profile-metric,
  #view-profile .profile-metric>img,
  #view-profile .profile-best-visual .u-best-img img,
  #view-profile .profile-deposit,
  #view-profile .profile-deposit::after,
  #view-profile .profile-tabs .utab,
  #view-profile .profile-tabs .utab>img{transition:none!important}
}
