/* Hungry Wars profile v47 — fully dynamic UI, no baked profile screenshot. */
#modal[data-view="profile"],#modal[data-view="publicProfile"]{
  background:rgba(19,14,10,.62)!important;
  backdrop-filter:blur(8px)!important;
}
#modal[data-view="profile"]>.modal-window,#modal[data-view="publicProfile"]>.modal-window{
  width:min(1380px,96vw)!important;
  height:min(930px,95vh)!important;
  max-width:none!important;max-height:none!important;
  padding:0!important;overflow:hidden!important;
  border:3px solid #ad6508!important;
  border-radius:28px!important;
  background:#f7d784!important;
  box-shadow:0 28px 90px rgba(20,11,3,.58),0 0 0 5px rgba(255,223,110,.20),inset 0 0 0 2px rgba(255,251,216,.82)!important;
}
#modal[data-view="profile"] #modalBody,#modal[data-view="publicProfile"] #modalBody{
  height:100%!important;overflow:auto!important;scrollbar-width:thin!important;scrollbar-color:#a76513 #f5d77d!important;
}
#modal[data-view="profile"] .hw-social-profile,#modal[data-view="publicProfile"] .hw-social-profile{
  min-height:100%!important;color:#5a3210!important;
  font-family:"Trebuchet MS","Arial Rounded MT Bold",Arial,sans-serif!important;
  background:linear-gradient(180deg,#fff1c3 0,#f8d378 100%)!important;
}

/* top bar */
#modal[data-view="profile"] .hw-social-profile-head,#modal[data-view="publicProfile"] .hw-social-profile-head{
  position:sticky!important;top:0!important;z-index:70!important;
  height:86px!important;min-height:86px!important;
  display:grid!important;grid-template-columns:300px 1fr 124px!important;align-items:center!important;
  padding:0 84px 0 24px!important;
  background:
    radial-gradient(circle at 50% 0,rgba(255,255,255,.55),transparent 54%),
    linear-gradient(180deg,#fff1a9 0,#ffd456 58%,#f2ad20 100%)!important;
  border-bottom:3px solid #ad6508!important;
  box-shadow:inset 0 2px rgba(255,255,255,.86),0 5px 18px rgba(118,67,7,.17)!important;
}
#modal[data-view="profile"] .hw-social-profile-head:before,#modal[data-view="publicProfile"] .hw-social-profile-head:before{
  content:"";position:absolute;left:10px;right:10px;bottom:5px;height:1px;background:linear-gradient(90deg,transparent,#fff3b5 15%,#fff3b5 85%,transparent);opacity:.85;
}
#modal[data-view="profile"] .hw-make-gift,#modal[data-view="publicProfile"] .hw-make-gift{
  width:260px!important;height:55px!important;border:2px solid #a75c09!important;border-radius:17px!important;
  background:linear-gradient(180deg,#ffe66c,#f4b82d)!important;color:#6a380b!important;
  font-size:16px!important;font-weight:1000!important;letter-spacing:.01em!important;
  box-shadow:inset 0 2px rgba(255,255,255,.8),0 5px 0 #8f4f08,0 9px 16px rgba(97,52,5,.16)!important;
  transition:transform .12s ease,filter .12s ease!important;
}
#modal[data-view="profile"] .hw-make-gift:hover,#modal[data-view="publicProfile"] .hw-make-gift:hover{transform:translateY(-2px)!important;filter:brightness(1.05)!important}
#modal[data-view="profile"] .hw-make-gift span,#modal[data-view="publicProfile"] .hw-make-gift span{font-size:26px!important;margin-right:8px!important}
#modal[data-view="profile"] .hw-social-identity,#modal[data-view="publicProfile"] .hw-social-identity{
  justify-self:center!important;display:grid!important;grid-template-columns:auto auto auto!important;align-items:center!important;column-gap:8px!important;row-gap:2px!important;text-align:center!important;
}
#modal[data-view="profile"] .hw-social-identity h2,#modal[data-view="publicProfile"] .hw-social-identity h2{margin:0!important;font-size:30px!important;line-height:1!important;color:#66350a!important;text-shadow:0 1px #fff4c4!important}
#modal[data-view="profile"] .hw-social-identity h2 i,#modal[data-view="publicProfile"] .hw-social-identity h2 i{font-style:normal!important;color:#22b652!important}
#modal[data-view="profile"] .hw-social-identity small,#modal[data-view="publicProfile"] .hw-social-identity small{grid-column:1/-1!important;font-size:9px!important;color:#a06b24!important;letter-spacing:.06em!important}
#modal[data-view="profile"] .online-dot,#modal[data-view="publicProfile"] .online-dot{width:12px!important;height:12px!important;border-radius:50%!important;background:#29c95e!important;box-shadow:0 0 12px #57e678!important}
#modal[data-view="profile"] .hw-social-plan,#modal[data-view="publicProfile"] .hw-social-plan{
  padding:7px 14px!important;border:2px solid #5c1477!important;border-radius:999px!important;background:linear-gradient(180deg,#c940ff,#7215a4)!important;color:#fff!important;font-size:10px!important;font-weight:1000!important;box-shadow:inset 0 1px rgba(255,255,255,.48),0 3px 0 #59116e!important;
}
#modal[data-view="profile"] .hw-profile-head-actions,#modal[data-view="publicProfile"] .hw-profile-head-actions{justify-self:end!important}
#modal[data-view="profile"] .hw-profile-gear,#modal[data-view="publicProfile"] .hw-profile-gear{
  transform:none!important;width:52px!important;height:52px!important;margin-right:4px!important;border:2px solid #a85b0a!important;border-radius:15px!important;background:linear-gradient(#ffe878,#efb22f)!important;color:#623405!important;font-size:24px!important;box-shadow:inset 0 2px rgba(255,255,255,.76),0 4px 0 #914c07!important;
}
#modal[data-view="profile"]>.modal-window>.modal-close,#modal[data-view="publicProfile"]>.modal-window>.modal-close{
  top:13px!important;right:16px!important;width:58px!important;height:58px!important;border:3px solid #ffe58b!important;border-radius:50%!important;background:linear-gradient(#ff6652,#ca201c)!important;color:#fff!important;font-size:40px!important;font-weight:1000!important;box-shadow:0 4px 0 #8b1d10,0 8px 16px rgba(85,24,10,.25),inset 0 2px rgba(255,255,255,.45)!important;z-index:90!important;
}

/* hero */
#modal[data-view="profile"] .hw-social-stage,#modal[data-view="publicProfile"] .hw-social-stage{
  position:relative!important;height:400px!important;overflow:hidden!important;
  border-bottom:3px solid #c77d14!important;
  background:
    radial-gradient(ellipse at 50% 55%,rgba(255,255,255,.96) 0 13%,rgba(255,246,215,.78) 32%,rgba(255,236,189,.28) 58%,transparent 76%),
    linear-gradient(180deg,#fff8e5 0,#fbe8b9 100%)!important;
}
#modal[data-view="profile"] .hw-social-stage:before,#modal[data-view="publicProfile"] .hw-social-stage:before,
#modal[data-view="profile"] .hw-social-stage:after,#modal[data-view="publicProfile"] .hw-social-stage:after{
  content:"";position:absolute;bottom:-68px;width:57%;height:196px;z-index:1;
  background:linear-gradient(180deg,#7e3291 0,#5b206f 68%,#35103f 100%);
  border-top:3px solid #e4aa35;border-bottom:3px solid #d08a1c;box-shadow:inset 0 2px rgba(255,255,255,.17),0 -4px 14px rgba(103,54,10,.08);
}
#modal[data-view="profile"] .hw-social-stage:before,#modal[data-view="publicProfile"] .hw-social-stage:before{left:-10%;transform:skewY(10deg) rotate(-1deg);border-radius:0 60% 0 0}
#modal[data-view="profile"] .hw-social-stage:after,#modal[data-view="publicProfile"] .hw-social-stage:after{right:-10%;transform:skewY(-10deg) rotate(1deg);border-radius:60% 0 0 0}
#modal[data-view="profile"] .hw-social-stage .hw-profile-confetti,#modal[data-view="publicProfile"] .hw-social-stage .hw-profile-confetti{
  position:absolute!important;inset:0!important;z-index:2!important;pointer-events:none!important;opacity:.72!important;
  background-image:
    radial-gradient(circle,#ee7680 0 3px,transparent 4px),radial-gradient(circle,#5bbbdc 0 3px,transparent 4px),radial-gradient(circle,#f0bb3c 0 3px,transparent 4px),radial-gradient(circle,#85ca71 0 3px,transparent 4px),radial-gradient(circle,#b580df 0 3px,transparent 4px)!important;
  background-size:150px 122px,188px 148px,223px 173px,257px 201px,291px 226px!important;background-position:12px 16px,67px 47px,108px 10px,34px 88px,176px 59px!important;
}
#modal[data-view="profile"] .hw-profile-stage-title,#modal[data-view="publicProfile"] .hw-profile-stage-title{position:absolute!important;left:28px!important;top:24px!important;z-index:12!important}
#modal[data-view="profile"] .hw-profile-stage-title span,#modal[data-view="publicProfile"] .hw-profile-stage-title span{display:inline-flex!important;align-items:center!important;padding:8px 16px!important;border:2px solid #cf912a!important;border-radius:999px!important;background:linear-gradient(#fffef8,#fff0c7)!important;color:#6b3d12!important;font-size:11px!important;font-weight:1000!important;box-shadow:0 4px 10px rgba(103,56,8,.12)!important}

/* centered live avatar */
#modal[data-view="profile"] .hw-social-avatar,#modal[data-view="publicProfile"] .hw-social-avatar{position:absolute!important;left:50%!important;top:8px!important;transform:translateX(-50%)!important;z-index:14!important}
#modal[data-view="profile"] .hw-social-avatar.plan-framed,#modal[data-view="publicProfile"] .hw-social-avatar.plan-framed{width:392px!important;height:370px!important}
#modal[data-view="profile"] .hw-profile-plan-frame,#modal[data-view="publicProfile"] .hw-profile-plan-frame{position:absolute!important;left:50%!important;top:0!important;width:382px!important;height:382px!important;transform:translateX(-50%)!important;object-fit:contain!important;z-index:6!important;pointer-events:none!important;filter:drop-shadow(0 12px 12px rgba(79,40,3,.26)) drop-shadow(0 0 8px rgba(255,208,70,.20))!important}
#modal[data-view="profile"] .hw-social-avatar.plan-framed .hw-social-avatar-ring,#modal[data-view="publicProfile"] .hw-social-avatar.plan-framed .hw-social-avatar-ring{position:absolute!important;left:50%!important;top:94px!important;width:190px!important;height:190px!important;transform:translateX(-50%)!important;overflow:hidden!important;border-radius:50%!important;border:0!important;background:#21152a!important;box-shadow:0 0 0 2px #4f156a,0 10px 26px rgba(53,28,5,.25)!important;z-index:4!important}
#modal[data-view="profile"] .hw-social-avatar-ring img,#modal[data-view="publicProfile"] .hw-social-avatar-ring img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
#modal[data-view="profile"] .hw-social-avatar.plan-framed>strong,#modal[data-view="publicProfile"] .hw-social-avatar.plan-framed>strong{position:absolute!important;left:50%!important;bottom:0!important;transform:translateX(-50%)!important;z-index:8!important;min-width:128px!important;padding:8px 24px!important;border:3px solid #e6ac2b!important;border-radius:999px!important;background:linear-gradient(180deg,#8f36a3,#53155f)!important;color:#ffe864!important;font-size:16px!important;font-weight:1000!important;text-align:center!important;box-shadow:0 4px 0 #8a510b,inset 0 1px rgba(255,255,255,.30)!important}
#modal[data-view="profile"] .hw-social-avatar.plain-framed,#modal[data-view="publicProfile"] .hw-social-avatar.plain-framed{top:72px!important;width:250px!important;height:282px!important}
#modal[data-view="profile"] .hw-social-avatar.plain-framed .hw-social-avatar-ring,#modal[data-view="publicProfile"] .hw-social-avatar.plain-framed .hw-social-avatar-ring{width:216px!important;height:216px!important;margin:auto!important;overflow:hidden!important;border-radius:50%!important;border:8px solid #efba35!important;box-shadow:0 0 0 4px #a46111,inset 0 0 0 3px #fff1af,0 12px 28px rgba(77,44,6,.20)!important;background:#21152a!important}
#modal[data-view="profile"] .hw-social-avatar.plain-framed>strong,#modal[data-view="publicProfile"] .hw-social-avatar.plain-framed>strong{display:block!important;width:max-content!important;margin:-3px auto 0!important;padding:8px 22px!important;border:2px solid #d59a2f!important;border-radius:999px!important;background:linear-gradient(#82429a,#4f1e61)!important;color:#ffe46f!important;box-shadow:0 4px 0 #965810!important}
#modal[data-view="profile"] .hw-profile-stage-shadow,#modal[data-view="publicProfile"] .hw-profile-stage-shadow{position:absolute!important;left:50%!important;bottom:14px!important;width:290px!important;height:36px!important;transform:translateX(-50%)!important;border-radius:50%!important;background:radial-gradient(ellipse,rgba(78,43,5,.24),transparent 72%)!important;z-index:3!important}

/* speech */
#modal[data-view="profile"] .hw-profile-speech,#modal[data-view="publicProfile"] .hw-profile-speech{position:absolute!important;right:42px!important;top:92px!important;width:330px!important;min-height:145px!important;padding:24px 26px 20px!important;border:3px solid #d99b32!important;border-radius:24px!important;background:linear-gradient(180deg,#fffef8,#fff4d4)!important;color:#5d3717!important;box-shadow:0 7px 0 #b66e14,0 15px 28px rgba(91,51,9,.12),inset 0 1px #fff!important;z-index:16!important;text-align:left!important}
#modal[data-view="profile"] .hw-profile-speech:before,#modal[data-view="publicProfile"] .hw-profile-speech:before{content:"";position:absolute;left:-19px;top:55px;border-width:14px 19px 14px 0;border-style:solid;border-color:transparent #d99b32 transparent transparent}
#modal[data-view="profile"] .hw-profile-speech:after,#modal[data-view="publicProfile"] .hw-profile-speech:after{content:"";position:absolute;left:-14px;top:57px;border-width:12px 16px 12px 0;border-style:solid;border-color:transparent #fff7dd transparent transparent}
#modal[data-view="profile"] .speech-copy,#modal[data-view="publicProfile"] .speech-copy{display:block!important;font-size:19px!important;font-weight:1000!important;margin-bottom:22px!important}
#modal[data-view="profile"] .speech-notes,#modal[data-view="publicProfile"] .speech-notes{display:block!important;font-size:27px!important;letter-spacing:8px!important;color:#4a3421!important}
#modal[data-view="profile"] .hw-profile-speech em,#modal[data-view="publicProfile"] .hw-profile-speech em{position:absolute!important;right:15px!important;bottom:14px!important;padding:8px 14px!important;border:1px solid #b66e17!important;border-radius:999px!important;background:linear-gradient(#f8d866,#ebb339)!important;color:#633a0b!important;font-size:10px!important;font-style:normal!important;font-weight:1000!important;box-shadow:inset 0 1px #fff4bd!important}

/* stats */
#modal[data-view="profile"] .hw-social-stats,#modal[data-view="publicProfile"] .hw-social-stats{display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:0!important;margin:0!important;padding:12px 24px!important;background:linear-gradient(180deg,#fff9e8,#ffebbc)!important;border-bottom:2px solid #cf861e!important;box-shadow:inset 0 2px #fff!important}
#modal[data-view="profile"] .hw-social-stats>div,#modal[data-view="publicProfile"] .hw-social-stats>div{min-height:92px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;padding:6px 12px!important;border-right:1px solid rgba(180,108,16,.38)!important;background:transparent!important;border-radius:0!important;box-shadow:none!important}
#modal[data-view="profile"] .hw-social-stats>div:last-child,#modal[data-view="publicProfile"] .hw-social-stats>div:last-child{border-right:0!important}
#modal[data-view="profile"] .hw-social-stats span,#modal[data-view="publicProfile"] .hw-social-stats span{font-size:29px!important;line-height:1!important;filter:drop-shadow(0 2px 1px rgba(81,44,5,.13))!important}
#modal[data-view="profile"] .hw-social-stats b,#modal[data-view="publicProfile"] .hw-social-stats b{margin-top:6px!important;font-size:22px!important;color:#59320e!important}
#modal[data-view="profile"] .hw-social-stats small,#modal[data-view="publicProfile"] .hw-social-stats small{margin-top:3px!important;font-size:10px!important;font-weight:1000!important;color:#936224!important}

/* gifts */
#modal[data-view="profile"] .hw-profile-gifts,#modal[data-view="publicProfile"] .hw-profile-gifts{padding:0 26px 18px!important;background:linear-gradient(180deg,#fff4d7,#f8dfa7)!important;border-bottom:2px solid #cf861e!important}
#modal[data-view="profile"] .hw-profile-gifts-title,#modal[data-view="publicProfile"] .hw-profile-gifts-title{height:54px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 5px!important;color:#57320f!important;background:transparent!important;border:0!important}
#modal[data-view="profile"] .hw-profile-gifts-title h3,#modal[data-view="publicProfile"] .hw-profile-gifts-title h3{margin:0!important;font-size:19px!important;font-weight:1000!important;letter-spacing:.02em!important}
#modal[data-view="profile"] .hw-profile-gifts-title span,#modal[data-view="publicProfile"] .hw-profile-gifts-title span{padding:6px 12px!important;border:1px solid #cc8b29!important;border-radius:999px!important;background:#fffaf0!important;color:#724713!important;font-size:10px!important;font-weight:1000!important}
#modal[data-view="profile"] .hw-profile-gift-shelf,#modal[data-view="publicProfile"] .hw-profile-gift-shelf{display:grid!important;grid-template-columns:minmax(0,1.16fr) minmax(0,1fr)!important;gap:18px!important;min-height:122px!important}
#modal[data-view="profile"] .hw-received-gift,#modal[data-view="publicProfile"] .hw-received-gift{position:relative!important;min-height:112px!important;padding:13px 20px!important;display:flex!important;align-items:center!important;gap:17px!important;border:2px solid #d99b35!important;border-radius:18px!important;background:linear-gradient(135deg,#fffef7,#ffe9b3)!important;box-shadow:inset 0 1px #fff,0 4px 0 #b97117,0 10px 18px rgba(88,50,8,.08)!important;color:#5d3510!important;overflow:hidden!important}
#modal[data-view="profile"] .hw-received-gift:after,#modal[data-view="publicProfile"] .hw-received-gift:after{content:"✦";position:absolute;right:15px;top:10px;color:#e6b139;font-size:23px}
#modal[data-view="profile"] .hw-received-gift>span,#modal[data-view="publicProfile"] .hw-received-gift>span,#modal[data-view="profile"] .hw-received-gift img,#modal[data-view="publicProfile"] .hw-received-gift img{width:80px!important;height:80px!important;flex:0 0 80px!important;display:grid!important;place-items:center!important;border-radius:16px!important;border:3px solid #e5b744!important;background:linear-gradient(145deg,#702575,#ba5ba4)!important;box-shadow:inset 0 0 0 3px rgba(255,255,255,.16),0 5px 10px rgba(82,36,80,.15)!important;object-fit:cover!important;font-size:45px!important}
#modal[data-view="profile"] .hw-received-gift b,#modal[data-view="publicProfile"] .hw-received-gift b{display:block!important;font-size:17px!important;color:#5a3210!important}
#modal[data-view="profile"] .hw-received-gift small,#modal[data-view="publicProfile"] .hw-received-gift small{display:block!important;margin-top:4px!important;font-size:11px!important;color:#96682f!important}
#modal[data-view="profile"] .hw-received-gift p,#modal[data-view="publicProfile"] .hw-received-gift p{margin:5px 0 0!important;font-size:11px!important;color:#704c24!important}
#modal[data-view="profile"] .hw-profile-empty-slot,#modal[data-view="publicProfile"] .hw-profile-empty-slot{min-height:112px!important;padding:14px 24px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:18px!important;border:2px dashed #dc9d38!important;border-radius:18px!important;background:rgba(255,250,231,.46)!important;color:#865b25!important;text-align:left!important}
#modal[data-view="profile"] .hw-profile-empty-slot>span,#modal[data-view="publicProfile"] .hw-profile-empty-slot>span{font-size:46px!important;opacity:.62!important}
#modal[data-view="profile"] .hw-profile-empty-slot b,#modal[data-view="publicProfile"] .hw-profile-empty-slot b{display:block!important;font-size:15px!important}
#modal[data-view="profile"] .hw-profile-empty-slot small,#modal[data-view="publicProfile"] .hw-profile-empty-slot small{display:block!important;margin-top:4px!important;font-size:10px!important;color:#9f7137!important}

/* achievements */
#modal[data-view="profile"] .hw-achievements.social,#modal[data-view="publicProfile"] .hw-achievements.social{padding:10px 26px 28px!important;background:linear-gradient(180deg,#f8dfa7,#f3c76a)!important}
#modal[data-view="profile"] .hw-achievements.social>h3,#modal[data-view="publicProfile"] .hw-achievements.social>h3{height:42px!important;margin:0 0 9px!important;display:flex!important;align-items:center!important;padding:0 5px!important;background:transparent!important;border:0!important;color:#57320f!important;font-size:19px!important;font-weight:1000!important}
#modal[data-view="profile"] .hw-ach-grid,#modal[data-view="publicProfile"] .hw-ach-grid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:14px!important}
#modal[data-view="profile"] .hw-ach-grid>div,#modal[data-view="publicProfile"] .hw-ach-grid>div{position:relative!important;min-height:116px!important;padding:17px 42px 15px 94px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;border:2px solid #d89b34!important;border-radius:17px!important;background:linear-gradient(145deg,#fffef7,#ffedbd)!important;box-shadow:0 5px 0 #9f5b0d,inset 0 1px #fff!important;color:#57320f!important;text-align:left!important}
#modal[data-view="profile"] .hw-ach-grid>div:before,#modal[data-view="publicProfile"] .hw-ach-grid>div:before{content:"";position:absolute;left:10px;right:10px;bottom:-1px;height:8px;border-radius:0 0 15px 15px;background:linear-gradient(90deg,#5b176e,#9b33ae,#5b176e)}
#modal[data-view="profile"] .hw-ach-grid>div:after,#modal[data-view="publicProfile"] .hw-ach-grid>div:after{content:"★";position:absolute;left:50%;bottom:-14px;transform:translateX(-50%);color:#ffd34a;font-size:25px;text-shadow:0 2px #a7620f,0 0 4px #fff0a1}
#modal[data-view="profile"] .hw-ach-grid>div.done:after,#modal[data-view="publicProfile"] .hw-ach-grid>div.done:after{content:"★"!important;color:#ffd34a!important;right:auto!important;top:auto!important;transform:translateX(-50%)!important;font-size:25px!important}
#modal[data-view="profile"] .hw-ach-grid>div.done .hw-ach-check,#modal[data-view="publicProfile"] .hw-ach-grid>div.done .hw-ach-check{display:block}
#modal[data-view="profile"] .hw-ach-grid i,#modal[data-view="publicProfile"] .hw-ach-grid i{position:absolute!important;left:15px!important;top:50%!important;transform:translateY(-50%)!important;width:62px!important;height:62px!important;display:grid!important;place-items:center!important;border-radius:50%!important;border:5px double #6b2178!important;background:radial-gradient(circle at 35% 28%,#ffe783,#efad2f 58%,#c67713 100%)!important;font-style:normal!important;font-size:29px!important;box-shadow:0 0 0 3px #df9f28,0 5px 9px rgba(72,37,4,.18)!important}
#modal[data-view="profile"] .hw-ach-grid b,#modal[data-view="publicProfile"] .hw-ach-grid b{font-size:15px!important}
#modal[data-view="profile"] .hw-ach-grid span,#modal[data-view="publicProfile"] .hw-ach-grid span{margin-top:5px!important;font-size:10px!important;color:#8c5d26!important}
#modal[data-view="profile"] .hw-ach-grid>div.done b:after,#modal[data-view="publicProfile"] .hw-ach-grid>div.done b:after{content:"✓";position:absolute;right:15px;top:50%;transform:translateY(-50%);color:#1fab4c;font-size:24px;font-weight:1000}

/* active gift orbs stay functional, but not visually noisy */
#modal[data-view="profile"] .hw-profile-gift-orb,#modal[data-view="publicProfile"] .hw-profile-gift-orb{z-index:18!important}

@media(max-width:980px){
  #modal[data-view="profile"]>.modal-window,#modal[data-view="publicProfile"]>.modal-window{width:98vw!important;height:96vh!important;border-radius:20px!important}
  #modal[data-view="profile"] .hw-social-profile-head,#modal[data-view="publicProfile"] .hw-social-profile-head{grid-template-columns:205px 1fr 80px!important;padding-left:14px!important}
  #modal[data-view="profile"] .hw-make-gift,#modal[data-view="publicProfile"] .hw-make-gift{width:190px!important;font-size:12px!important}
  #modal[data-view="profile"] .hw-profile-speech,#modal[data-view="publicProfile"] .hw-profile-speech{right:20px!important;width:270px!important}
  #modal[data-view="profile"] .hw-profile-gift-shelf,#modal[data-view="publicProfile"] .hw-profile-gift-shelf{grid-template-columns:1fr!important}
  #modal[data-view="profile"] .hw-ach-grid,#modal[data-view="publicProfile"] .hw-ach-grid{grid-template-columns:repeat(2,1fr)!important}
}
@media(max-width:680px){
  #modal[data-view="profile"] .hw-social-profile-head,#modal[data-view="publicProfile"] .hw-social-profile-head{grid-template-columns:120px 1fr 54px!important;height:74px!important;min-height:74px!important;padding:0 70px 0 8px!important}
  #modal[data-view="profile"] .hw-make-gift,#modal[data-view="publicProfile"] .hw-make-gift{width:110px!important;height:42px!important;font-size:0!important}#modal[data-view="profile"] .hw-make-gift span,#modal[data-view="publicProfile"] .hw-make-gift span{font-size:22px!important}
  #modal[data-view="profile"] .hw-social-identity h2,#modal[data-view="publicProfile"] .hw-social-identity h2{font-size:19px!important}
  #modal[data-view="profile"] .hw-social-stage,#modal[data-view="publicProfile"] .hw-social-stage{height:490px!important}
  #modal[data-view="profile"] .hw-social-avatar.plan-framed,#modal[data-view="publicProfile"] .hw-social-avatar.plan-framed{width:315px!important;height:300px!important}
  #modal[data-view="profile"] .hw-profile-plan-frame,#modal[data-view="publicProfile"] .hw-profile-plan-frame{width:306px!important;height:306px!important}
  #modal[data-view="profile"] .hw-social-avatar.plan-framed .hw-social-avatar-ring,#modal[data-view="publicProfile"] .hw-social-avatar.plan-framed .hw-social-avatar-ring{top:75px!important;width:151px!important;height:151px!important}
  #modal[data-view="profile"] .hw-social-avatar.plan-framed>strong,#modal[data-view="publicProfile"] .hw-social-avatar.plan-framed>strong{bottom:0!important}
  #modal[data-view="profile"] .hw-profile-speech,#modal[data-view="publicProfile"] .hw-profile-speech{left:50%!important;right:auto!important;top:314px!important;width:min(340px,86vw)!important;transform:translateX(-50%)!important;min-height:110px!important}
  #modal[data-view="profile"] .hw-social-stats,#modal[data-view="publicProfile"] .hw-social-stats{grid-template-columns:repeat(5,minmax(100px,1fr))!important;overflow-x:auto!important;padding:10px!important}
  #modal[data-view="profile"] .hw-profile-gifts,#modal[data-view="publicProfile"] .hw-profile-gifts{padding:0 12px 14px!important}
  #modal[data-view="profile"] .hw-achievements.social,#modal[data-view="publicProfile"] .hw-achievements.social{padding:10px 12px 22px!important}
  #modal[data-view="profile"] .hw-ach-grid,#modal[data-view="publicProfile"] .hw-ach-grid{grid-template-columns:1fr!important}
}

/* === Hungry Wars profile v48 — polished dynamic royal profile === */
#modal[data-view="profile"]>.modal-window,#modal[data-view="publicProfile"]>.modal-window{
  width:min(1390px,96vw)!important;height:min(920px,95vh)!important;
  border:2px solid #a86412!important;border-radius:24px!important;
  background:#f7d77f!important;
  box-shadow:0 28px 75px rgba(31,20,7,.56),0 0 0 6px rgba(255,220,91,.14),inset 0 0 0 2px #fff2bd!important;
}
#modal[data-view="profile"] .hw-social-profile,#modal[data-view="publicProfile"] .hw-social-profile{
  background:linear-gradient(180deg,#fff9ea 0 52%,#f8dda2 52% 100%)!important;
}

/* richer header, but no baked text/images */
#modal[data-view="profile"] .hw-social-profile-head,#modal[data-view="publicProfile"] .hw-social-profile-head{
  height:78px!important;min-height:78px!important;
  grid-template-columns:300px 1fr 120px!important;padding:0 80px 0 22px!important;
  background:
    linear-gradient(100deg,rgba(255,255,255,.22),transparent 24% 76%,rgba(255,255,255,.18)),
    linear-gradient(180deg,#fff1a6 0,#ffd758 56%,#f0ad24 100%)!important;
  border-bottom:2px solid #a65f0c!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.82),inset 0 -4px 0 rgba(255,246,185,.28),0 5px 15px rgba(103,57,7,.16)!important;
}
#modal[data-view="profile"] .hw-make-gift,#modal[data-view="publicProfile"] .hw-make-gift{
  width:250px!important;height:52px!important;border-radius:16px!important;
  background:linear-gradient(180deg,#ffec83,#f5b82d)!important;
  box-shadow:inset 0 1px 0 #fff6b9,0 4px 0 #9e5909,0 8px 16px rgba(99,55,6,.18)!important;
}
#modal[data-view="profile"] .hw-social-identity h2,#modal[data-view="publicProfile"] .hw-social-identity h2{font-size:29px!important;letter-spacing:.01em!important}
#modal[data-view="profile"] .hw-social-plan,#modal[data-view="publicProfile"] .hw-social-plan{
  padding:6px 15px!important;background:linear-gradient(180deg,#bf3bf2,#6d148f)!important;border-color:#54116f!important;
  box-shadow:inset 0 1px rgba(255,255,255,.5),0 3px 0 #4c105f,0 0 12px rgba(159,48,212,.20)!important;
}

/* HERO: no giant X. Purple only as elegant lower corner ribbons. */
#modal[data-view="profile"] .hw-social-stage,#modal[data-view="publicProfile"] .hw-social-stage{
  height:365px!important;overflow:hidden!important;
  background:
    radial-gradient(circle at 50% 48%,rgba(255,255,255,.96) 0 13%,rgba(255,247,219,.90) 32%,rgba(255,237,191,.55) 57%,transparent 77%),
    radial-gradient(circle at 21% 25%,rgba(255,214,83,.11),transparent 28%),
    radial-gradient(circle at 81% 18%,rgba(192,117,255,.08),transparent 27%),
    linear-gradient(180deg,#fff8e8,#f9e6b8)!important;
  border-bottom:2px solid #bf7818!important;
}
#modal[data-view="profile"] .hw-social-stage:before,#modal[data-view="publicProfile"] .hw-social-stage:before{
  left:-5%!important;right:auto!important;bottom:-49px!important;width:42%!important;height:145px!important;
  transform:rotate(8deg)!important;border-radius:0 90% 0 0!important;
  background:linear-gradient(180deg,#823391,#562067)!important;
  border-top:3px solid #e1a433!important;border-bottom:0!important;
  box-shadow:inset 0 2px rgba(255,255,255,.15)!important;opacity:.96!important;
}
#modal[data-view="profile"] .hw-social-stage:after,#modal[data-view="publicProfile"] .hw-social-stage:after{
  right:-5%!important;left:auto!important;bottom:-49px!important;width:42%!important;height:145px!important;
  transform:rotate(-8deg)!important;border-radius:90% 0 0 0!important;
  background:linear-gradient(180deg,#823391,#562067)!important;
  border-top:3px solid #e1a433!important;border-bottom:0!important;
  box-shadow:inset 0 2px rgba(255,255,255,.15)!important;opacity:.96!important;
}
#modal[data-view="profile"] .hw-profile-confetti,#modal[data-view="publicProfile"] .hw-profile-confetti{opacity:.48!important}
#modal[data-view="profile"] .hw-profile-stage-title,#modal[data-view="publicProfile"] .hw-profile-stage-title{left:30px!important;top:22px!important}
#modal[data-view="profile"] .hw-profile-stage-title span,#modal[data-view="publicProfile"] .hw-profile-stage-title span{
  padding:7px 15px!important;border-radius:18px!important;background:rgba(255,253,243,.92)!important;
  border:1.8px solid #cb8d24!important;box-shadow:0 3px 10px rgba(104,57,7,.10)!important;
}

/* avatar / VIP frame */
#modal[data-view="profile"] .hw-social-avatar,#modal[data-view="publicProfile"] .hw-social-avatar{top:0!important}
#modal[data-view="profile"] .hw-social-avatar.plan-framed,#modal[data-view="publicProfile"] .hw-social-avatar.plan-framed{width:355px!important;height:345px!important}
#modal[data-view="profile"] .hw-profile-plan-frame,#modal[data-view="publicProfile"] .hw-profile-plan-frame{
  width:346px!important;height:346px!important;filter:drop-shadow(0 12px 12px rgba(72,35,2,.28)) drop-shadow(0 0 12px rgba(255,215,80,.24))!important;
}
#modal[data-view="profile"] .hw-social-avatar.plan-framed .hw-social-avatar-ring,#modal[data-view="publicProfile"] .hw-social-avatar.plan-framed .hw-social-avatar-ring{
  top:85px!important;width:174px!important;height:174px!important;
  box-shadow:0 0 0 3px #47105f,0 0 0 5px #f0c342,0 10px 22px rgba(57,28,4,.26)!important;
}
#modal[data-view="profile"] .hw-social-avatar.plan-framed>strong,#modal[data-view="publicProfile"] .hw-social-avatar.plan-framed>strong{
  bottom:7px!important;min-width:128px!important;height:39px!important;padding:0 17px!important;
  border:3px solid #e5b839!important;border-radius:14px!important;background:linear-gradient(180deg,#8628a4,#551368)!important;
  color:#ffe970!important;font-size:18px!important;box-shadow:0 4px 0 #8d510b,0 6px 12px rgba(64,28,5,.18),inset 0 1px rgba(255,255,255,.28)!important;
}
#modal[data-view="profile"] .hw-social-avatar.plain-framed,#modal[data-view="publicProfile"] .hw-social-avatar.plain-framed{top:48px!important}

/* speech bubble */
#modal[data-view="profile"] .hw-profile-speech,#modal[data-view="publicProfile"] .hw-profile-speech{
  right:38px!important;top:82px!important;width:310px!important;min-height:140px!important;padding:23px 25px 18px!important;
  border:2px solid #d09a3d!important;border-radius:24px!important;background:linear-gradient(145deg,#fffef8,#fff5dc)!important;
  box-shadow:0 7px 0 #b8751f,0 12px 24px rgba(89,49,7,.12),inset 0 1px rgba(255,255,255,.9)!important;
  color:#57351d!important;
}
#modal[data-view="profile"] .hw-profile-speech:before,#modal[data-view="publicProfile"] .hw-profile-speech:before{
  content:""!important;position:absolute!important;left:-18px!important;top:54px!important;width:34px!important;height:34px!important;
  background:#fff9e8!important;border-left:2px solid #d09a3d!important;border-bottom:2px solid #d09a3d!important;transform:rotate(45deg)!important;
}
#modal[data-view="profile"] .hw-profile-speech .speech-copy,#modal[data-view="publicProfile"] .hw-profile-speech .speech-copy{font-size:17px!important;font-weight:900!important;position:relative!important;z-index:2!important}
#modal[data-view="profile"] .hw-profile-speech .speech-notes,#modal[data-view="publicProfile"] .hw-profile-speech .speech-notes{font-size:29px!important;margin-top:24px!important;position:relative!important;z-index:2!important}
#modal[data-view="profile"] .hw-profile-speech em,#modal[data-view="publicProfile"] .hw-profile-speech em{
  right:15px!important;bottom:14px!important;padding:7px 14px!important;border-radius:999px!important;background:linear-gradient(#f7c54d,#e9a92b)!important;color:#6d3c0c!important;border:1px solid #be7617!important;font-size:9px!important;font-weight:1000!important;
}

/* stats: one luxurious connected deck, not five generic tiles */
#modal[data-view="profile"] .hw-social-stats,#modal[data-view="publicProfile"] .hw-social-stats{
  height:112px!important;padding:0 28px!important;gap:0!important;
  display:grid!important;grid-template-columns:repeat(5,1fr)!important;align-items:stretch!important;
  background:linear-gradient(180deg,#fff9e8,#f9e3af)!important;border-bottom:2px solid #bd7615!important;
  box-shadow:inset 0 1px #fff!important;
}
#modal[data-view="profile"] .hw-social-stats>div,#modal[data-view="publicProfile"] .hw-social-stats>div{
  position:relative!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;
}
#modal[data-view="profile"] .hw-social-stats>div:not(:last-child):after,#modal[data-view="publicProfile"] .hw-social-stats>div:not(:last-child):after{
  content:"";position:absolute;right:0;top:22px;bottom:22px;width:1px;background:linear-gradient(transparent,#c9913b 18%,#c9913b 82%,transparent);
}
#modal[data-view="profile"] .hw-social-stats span,#modal[data-view="publicProfile"] .hw-social-stats span{font-size:26px!important;filter:drop-shadow(0 2px 1px rgba(91,50,5,.12))!important}
#modal[data-view="profile"] .hw-social-stats b,#modal[data-view="publicProfile"] .hw-social-stats b{margin-top:2px!important;font-size:22px!important;color:#4c2b0e!important}
#modal[data-view="profile"] .hw-social-stats small,#modal[data-view="publicProfile"] .hw-social-stats small{margin-top:2px!important;font-size:10px!important;color:#8d5b22!important;font-weight:900!important}

/* section panels match the polished reference while staying dynamic */
#modal[data-view="profile"] .hw-profile-gifts,#modal[data-view="publicProfile"] .hw-profile-gifts{
  padding:10px 22px 11px!important;background:linear-gradient(180deg,#fff8e9,#f7e0ad)!important;border-bottom:2px solid #c17b1a!important;
}
#modal[data-view="profile"] .hw-profile-gifts-title,#modal[data-view="publicProfile"] .hw-profile-gifts-title{
  height:37px!important;margin:0 0 8px!important;padding:0 12px!important;background:transparent!important;border:0!important;color:#523117!important;
}
#modal[data-view="profile"] .hw-profile-gifts-title h3,#modal[data-view="publicProfile"] .hw-profile-gifts-title h3{font-size:18px!important;letter-spacing:.01em!important}
#modal[data-view="profile"] .hw-profile-gifts-title span,#modal[data-view="publicProfile"] .hw-profile-gifts-title span{
  padding:5px 13px!important;border:1.5px solid #d29b3d!important;border-radius:999px!important;background:#fff9e7!important;color:#603917!important;font-size:9px!important;font-weight:900!important;
}
#modal[data-view="profile"] .hw-profile-gift-shelf,#modal[data-view="publicProfile"] .hw-profile-gift-shelf{grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr)!important;gap:16px!important;min-height:98px!important}
#modal[data-view="profile"] .hw-received-gift,#modal[data-view="publicProfile"] .hw-received-gift{min-height:92px!important;padding:10px 14px!important;border-radius:15px!important;gap:12px!important}
#modal[data-view="profile"] .hw-received-gift>span,#modal[data-view="publicProfile"] .hw-received-gift>span,#modal[data-view="profile"] .hw-received-gift img,#modal[data-view="publicProfile"] .hw-received-gift img{width:66px!important;height:66px!important;flex-basis:66px!important;font-size:38px!important;border-radius:13px!important}
#modal[data-view="profile"] .hw-profile-empty-slot,#modal[data-view="publicProfile"] .hw-profile-empty-slot{min-height:92px!important;border-radius:15px!important;background:rgba(255,253,243,.43)!important}
#modal[data-view="profile"] .hw-profile-empty-slot>span,#modal[data-view="publicProfile"] .hw-profile-empty-slot>span{font-size:39px!important}

#modal[data-view="profile"] .hw-achievements.social,#modal[data-view="publicProfile"] .hw-achievements.social{
  padding:8px 22px 20px!important;background:linear-gradient(180deg,#fff4dc,#f4d28b)!important;
}
#modal[data-view="profile"] .hw-achievements.social>h3,#modal[data-view="publicProfile"] .hw-achievements.social>h3{height:34px!important;margin:0 0 7px!important;font-size:18px!important}
#modal[data-view="profile"] .hw-ach-grid,#modal[data-view="publicProfile"] .hw-ach-grid{gap:12px!important}
#modal[data-view="profile"] .hw-ach-grid>div,#modal[data-view="publicProfile"] .hw-ach-grid>div{
  min-height:94px!important;padding:12px 34px 12px 78px!important;border-radius:14px!important;background:linear-gradient(145deg,#fffef9,#ffefc6)!important;box-shadow:0 4px 0 #9e5d12,inset 0 1px #fff!important;
}
#modal[data-view="profile"] .hw-ach-grid>div:before,#modal[data-view="publicProfile"] .hw-ach-grid>div:before{height:6px!important}
#modal[data-view="profile"] .hw-ach-grid>div:after,#modal[data-view="publicProfile"] .hw-ach-grid>div:after{font-size:20px!important;bottom:-11px!important}
#modal[data-view="profile"] .hw-ach-grid i,#modal[data-view="publicProfile"] .hw-ach-grid i{left:13px!important;width:53px!important;height:53px!important;font-size:25px!important;border-width:4px!important}
#modal[data-view="profile"] .hw-ach-grid b,#modal[data-view="publicProfile"] .hw-ach-grid b{font-size:14px!important}
#modal[data-view="profile"] .hw-ach-grid span,#modal[data-view="publicProfile"] .hw-ach-grid span{font-size:9px!important}

@media(max-width:980px){
  #modal[data-view="profile"] .hw-social-stage,#modal[data-view="publicProfile"] .hw-social-stage{height:390px!important}
  #modal[data-view="profile"] .hw-profile-speech,#modal[data-view="publicProfile"] .hw-profile-speech{right:20px!important;width:275px!important}
}

/* === Hungry Wars profile v49 — clean royal polish, fully dynamic === */
/* HERO: remove the large purple wedges completely. */
#modal[data-view="profile"] .hw-social-stage:before,
#modal[data-view="publicProfile"] .hw-social-stage:before,
#modal[data-view="profile"] .hw-social-stage:after,
#modal[data-view="publicProfile"] .hw-social-stage:after{
  content:none!important;display:none!important;
}
#modal[data-view="profile"] .hw-social-stage,
#modal[data-view="publicProfile"] .hw-social-stage{
  height:356px!important;
  background:
    radial-gradient(circle at 50% 45%,rgba(255,255,255,.98) 0 12%,rgba(255,249,227,.94) 34%,rgba(255,237,194,.72) 63%,rgba(247,211,133,.46) 100%),
    linear-gradient(135deg,rgba(255,255,255,.38),transparent 28% 72%,rgba(235,185,84,.08)),
    repeating-linear-gradient(45deg,rgba(173,117,28,.018) 0 2px,transparent 2px 18px),
    #f9e8bb!important;
  border-bottom:2px solid #c47b16!important;
  box-shadow:inset 0 -22px 45px rgba(175,106,21,.05)!important;
}
#modal[data-view="profile"] .hw-social-stage .hw-profile-confetti,
#modal[data-view="publicProfile"] .hw-social-stage .hw-profile-confetti{
  opacity:.34!important;
  filter:saturate(.88)!important;
}
/* soft decorative corner glows instead of giant blocks */
#modal[data-view="profile"] .hw-social-stage .hw-profile-confetti:before,
#modal[data-view="publicProfile"] .hw-social-stage .hw-profile-confetti:before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(ellipse at 8% 100%,rgba(102,36,117,.13),transparent 27%),
    radial-gradient(ellipse at 92% 100%,rgba(102,36,117,.13),transparent 27%),
    radial-gradient(circle at 50% 40%,rgba(255,230,132,.23),transparent 30%);
}

/* Keep the live VIP/PREMIUM frame as the hero focus. */
#modal[data-view="profile"] .hw-social-avatar,
#modal[data-view="publicProfile"] .hw-social-avatar{top:-4px!important}
#modal[data-view="profile"] .hw-social-avatar.plan-framed,
#modal[data-view="publicProfile"] .hw-social-avatar.plan-framed{width:352px!important;height:344px!important}
#modal[data-view="profile"] .hw-profile-plan-frame,
#modal[data-view="publicProfile"] .hw-profile-plan-frame{
  width:344px!important;height:344px!important;
  filter:drop-shadow(0 13px 13px rgba(71,38,4,.27)) drop-shadow(0 0 10px rgba(255,215,94,.27))!important;
}
#modal[data-view="profile"] .hw-social-avatar.plan-framed .hw-social-avatar-ring,
#modal[data-view="publicProfile"] .hw-social-avatar.plan-framed .hw-social-avatar-ring{
  top:84px!important;width:173px!important;height:173px!important;
  box-shadow:0 0 0 3px #551271,0 0 0 6px #f2c84a,0 10px 25px rgba(67,34,4,.24)!important;
}

/* Speech bubble: compact, cleaner tail, better hierarchy. */
#modal[data-view="profile"] .hw-profile-speech,
#modal[data-view="publicProfile"] .hw-profile-speech{
  right:42px!important;top:82px!important;width:300px!important;min-height:126px!important;
  padding:20px 22px 16px!important;border:2px solid #c98b28!important;border-radius:21px!important;
  background:linear-gradient(150deg,#fffefa 0,#fff4d8 100%)!important;
  box-shadow:0 6px 0 #af6a16,0 13px 24px rgba(88,48,7,.11),inset 0 1px #fff!important;
}
#modal[data-view="profile"] .hw-profile-speech:before,
#modal[data-view="publicProfile"] .hw-profile-speech:before{
  left:-13px!important;top:51px!important;width:24px!important;height:24px!important;
  background:#fff7e1!important;border-left:2px solid #c98b28!important;border-bottom:2px solid #c98b28!important;
}
#modal[data-view="profile"] .hw-profile-speech .speech-copy,
#modal[data-view="publicProfile"] .hw-profile-speech .speech-copy{font-size:17px!important;font-weight:1000!important;color:#513018!important}
#modal[data-view="profile"] .hw-profile-speech .speech-notes,
#modal[data-view="publicProfile"] .hw-profile-speech .speech-notes{font-size:27px!important;margin-top:19px!important;color:#49301b!important}
#modal[data-view="profile"] .hw-profile-speech em,
#modal[data-view="publicProfile"] .hw-profile-speech em{
  right:13px!important;bottom:12px!important;padding:6px 13px!important;
  background:linear-gradient(#ffd965,#efb234)!important;border:1px solid #b97017!important;
  box-shadow:inset 0 1px #fff5bf,0 2px 0 #9c5c0d!important;
}

/* Stats become five real premium cards. */
#modal[data-view="profile"] .hw-social-stats,
#modal[data-view="publicProfile"] .hw-social-stats{
  height:126px!important;padding:14px 22px 16px!important;gap:12px!important;
  background:linear-gradient(180deg,#fff9e9 0,#f8e0aa 100%)!important;
  border-bottom:2px solid #be7414!important;
  box-shadow:inset 0 2px #fff!important;
}
#modal[data-view="profile"] .hw-social-stats>div,
#modal[data-view="publicProfile"] .hw-social-stats>div{
  min-height:94px!important;padding:8px 8px!important;border:2px solid #d6a044!important;
  border-radius:17px!important;background:linear-gradient(145deg,#fffdf5 0,#ffefc6 100%)!important;
  box-shadow:0 4px 0 #a05d11,inset 0 1px #fff,0 7px 14px rgba(91,48,5,.08)!important;
}
#modal[data-view="profile"] .hw-social-stats>div:not(:last-child):after,
#modal[data-view="publicProfile"] .hw-social-stats>div:not(:last-child):after{content:none!important;display:none!important}
#modal[data-view="profile"] .hw-social-stats span,
#modal[data-view="publicProfile"] .hw-social-stats span{font-size:28px!important}
#modal[data-view="profile"] .hw-social-stats b,
#modal[data-view="publicProfile"] .hw-social-stats b{font-size:21px!important;margin-top:3px!important;color:#55310f!important}
#modal[data-view="profile"] .hw-social-stats small,
#modal[data-view="publicProfile"] .hw-social-stats small{font-size:9px!important;color:#966422!important;letter-spacing:.02em!important}

/* Royal purple title ribbons for dynamic sections. */
#modal[data-view="profile"] .hw-profile-gifts,
#modal[data-view="publicProfile"] .hw-profile-gifts{
  padding:12px 22px 16px!important;background:linear-gradient(180deg,#fff8e7 0,#f6dda3 100%)!important;
  border-bottom:2px solid #bd7615!important;
}
#modal[data-view="profile"] .hw-profile-gifts-title,
#modal[data-view="publicProfile"] .hw-profile-gifts-title,
#modal[data-view="profile"] .hw-achievements.social>h3,
#modal[data-view="publicProfile"] .hw-achievements.social>h3{
  position:relative!important;height:47px!important;margin:0 0 12px!important;padding:0 18px!important;
  display:flex!important;align-items:center!important;
  border:2px solid #a86b15!important;border-radius:15px!important;
  background:linear-gradient(180deg,#8f369f 0,#5b176d 100%)!important;
  color:#ffe86d!important;text-shadow:0 2px #4d0d5d!important;
  box-shadow:inset 0 2px rgba(255,255,255,.18),0 4px 0 #7c4510,0 7px 13px rgba(77,34,4,.12)!important;
}
#modal[data-view="profile"] .hw-profile-gifts-title h3,
#modal[data-view="publicProfile"] .hw-profile-gifts-title h3,
#modal[data-view="profile"] .hw-achievements.social>h3,
#modal[data-view="publicProfile"] .hw-achievements.social>h3{font-size:19px!important;font-weight:1000!important;letter-spacing:.02em!important}
#modal[data-view="profile"] .hw-profile-gifts-title h3:before,
#modal[data-view="publicProfile"] .hw-profile-gifts-title h3:before{content:"✦";margin-right:8px;color:#ffd850}
#modal[data-view="profile"] .hw-profile-gifts-title h3:after,
#modal[data-view="publicProfile"] .hw-profile-gifts-title h3:after{content:"✦";margin-left:8px;color:#ffd850}
#modal[data-view="profile"] .hw-profile-gifts-title span,
#modal[data-view="publicProfile"] .hw-profile-gifts-title span{
  margin-left:auto!important;padding:5px 13px!important;border:1.5px solid #e1b34a!important;border-radius:999px!important;
  background:#fff9df!important;color:#654013!important;text-shadow:none!important;font-size:9px!important;font-weight:1000!important;
}

/* Gift shelf: richer cards while preserving live contents. */
#modal[data-view="profile"] .hw-profile-gift-shelf,
#modal[data-view="publicProfile"] .hw-profile-gift-shelf{gap:18px!important;min-height:108px!important}
#modal[data-view="profile"] .hw-received-gift,
#modal[data-view="publicProfile"] .hw-received-gift{
  min-height:102px!important;padding:12px 16px!important;border:2px solid #d69c3b!important;border-radius:17px!important;
  background:linear-gradient(145deg,#fffdf5,#ffe9b3)!important;
  box-shadow:0 4px 0 #a15e12,inset 0 1px #fff!important;
}
#modal[data-view="profile"] .hw-received-gift>span,
#modal[data-view="publicProfile"] .hw-received-gift>span,
#modal[data-view="profile"] .hw-received-gift img,
#modal[data-view="publicProfile"] .hw-received-gift img{
  width:72px!important;height:72px!important;flex-basis:72px!important;border-radius:15px!important;
  box-shadow:0 0 0 3px #d69836,0 5px 10px rgba(82,39,2,.16)!important;
}
#modal[data-view="profile"] .hw-profile-empty-slot,
#modal[data-view="publicProfile"] .hw-profile-empty-slot{
  min-height:102px!important;border:2px dashed #d49b40!important;border-radius:17px!important;
  background:rgba(255,252,237,.52)!important;color:#8f602a!important;
}

/* Achievements: purple section ribbon + taller dimensional cards. */
#modal[data-view="profile"] .hw-achievements.social,
#modal[data-view="publicProfile"] .hw-achievements.social{
  padding:12px 22px 27px!important;background:linear-gradient(180deg,#f8dfaa 0,#f1c96f 100%)!important;
}
#modal[data-view="profile"] .hw-achievements.social>h3,
#modal[data-view="publicProfile"] .hw-achievements.social>h3{width:auto!important;margin-bottom:13px!important}
#modal[data-view="profile"] .hw-achievements.social>h3:before{content:"✦";margin-right:8px;color:#ffd850}
#modal[data-view="profile"] .hw-achievements.social>h3:after{content:"✦";margin-left:8px;color:#ffd850}
#modal[data-view="profile"] .hw-ach-grid,
#modal[data-view="publicProfile"] .hw-ach-grid{gap:14px!important}
#modal[data-view="profile"] .hw-ach-grid>div,
#modal[data-view="publicProfile"] .hw-ach-grid>div{
  min-height:112px!important;padding:16px 38px 16px 90px!important;border:2px solid #d69c3a!important;border-radius:17px!important;
  background:linear-gradient(145deg,#fffdf8 0,#ffebba 100%)!important;
  box-shadow:0 5px 0 #9b5910,inset 0 1px #fff,0 8px 16px rgba(76,40,4,.08)!important;
}
#modal[data-view="profile"] .hw-ach-grid>div:before,
#modal[data-view="publicProfile"] .hw-ach-grid>div:before{
  left:11px!important;right:11px!important;bottom:-1px!important;height:8px!important;
  background:linear-gradient(90deg,#4c105e,#9935aa,#4c105e)!important;
}
#modal[data-view="profile"] .hw-ach-grid>div:after,
#modal[data-view="publicProfile"] .hw-ach-grid>div:after{font-size:24px!important;bottom:-14px!important}
#modal[data-view="profile"] .hw-ach-grid i,
#modal[data-view="publicProfile"] .hw-ach-grid i{
  left:14px!important;width:62px!important;height:62px!important;font-size:29px!important;
  border:5px double #6b2178!important;
  background:radial-gradient(circle at 35% 28%,#ffe783 0,#f0b233 58%,#c87812 100%)!important;
  box-shadow:0 0 0 3px #dfa02a,0 5px 10px rgba(72,37,4,.18)!important;
}
#modal[data-view="profile"] .hw-ach-grid b,
#modal[data-view="publicProfile"] .hw-ach-grid b{font-size:15px!important;color:#55310f!important}
#modal[data-view="profile"] .hw-ach-grid span,
#modal[data-view="publicProfile"] .hw-ach-grid span{font-size:10px!important;color:#8d5d25!important}

@media(max-width:980px){
  #modal[data-view="profile"] .hw-social-stats,#modal[data-view="publicProfile"] .hw-social-stats{gap:8px!important;padding:12px!important}
  #modal[data-view="profile"] .hw-profile-speech,#modal[data-view="publicProfile"] .hw-profile-speech{right:18px!important;width:270px!important}
}
