body.rs-profile-active {
  min-height: 100vh;
  padding-bottom: calc(108px + env(safe-area-inset-bottom)) !important;
  overflow-x: hidden;
  color: #3f4858;
  background: #f7f8fa !important;
}

body.rs-profile-active .rs-preview-header,
body.rs-profile-active .rs-desktop-footer,
body.rs-profile-active .preview-main > #theater,
body.rs-profile-active .preview-main > .rs-video-section {
  display: none !important;
}

body.rs-profile-active .preview-main {
  width: 100%;
  max-width: none;
  margin: 0 auto calc(108px + env(safe-area-inset-bottom));
}

.rs-profile-page[hidden] { display: none !important; }
.rs-profile-page { display: block; min-height: 100vh; overflow: hidden; background: #f7f8fa; }
.rs-profile-banner { box-sizing: border-box; height: 240px; padding: 72px 32px 0; color: #fff; background: linear-gradient(120deg, #625ce8, #5555d5); }
.rs-profile-user { display: flex; align-items: center; gap: 24px; max-width: 704px; margin: 0 auto; }
.rs-profile-avatar { display: grid; width: 120px; height: 120px; flex: 0 0 120px; place-items: center; border-radius: 50%; color: #fff; background: rgba(255,255,255,.22); font-size: 54px; font-weight: 700; }
.rs-profile-identity { min-width: 0; }
.rs-profile-name { display: flex; align-items: center; gap: 14px; color: #fff; font-size: 36px; font-weight: 750; line-height: 1.2; }
.rs-profile-name span { padding: 7px 12px; border-radius: 10px; color: #352300; background: #ffc629; font-size: 19px; font-weight: 800; }
.rs-profile-email { margin-top: 8px; color: rgba(255,255,255,.84); font-size: 24px; overflow-wrap: anywhere; }
.rs-profile-content { position: relative; box-sizing: border-box; width: min(768px,100%); margin: -31px auto 0; padding: 0 32px 28px; }
.rs-profile-balance { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: center; min-height: 138px; border: 1px solid #eceef2; border-radius: 31px; background: #fff; box-shadow: 0 12px 24px rgba(33,39,56,.13); }
.rs-profile-balance > div { display: flex; min-width: 0; min-height: 72px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.rs-profile-balance > div + div { border-left: 1px solid #f0f1f4; }
.rs-profile-balance span,.rs-profile-invite span { color: #9aa3b2; font-size: 19px; font-weight: 600; }
.rs-profile-balance strong { font-size: 30px; font-weight: 800; line-height: 1; }
.amount-purple { color: #6662f4; }.amount-orange { color: #f47719; }.amount-violet { color: #943dea; }
.rs-profile-invite { display: flex; box-sizing: border-box; min-height: 128px; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding: 20px 24px; border: 1px solid #eceef2; border-radius: 22px; background: #fff; }
.rs-profile-invite > div { display: flex; flex-direction: column; gap: 10px; }
.rs-profile-invite strong { color: #6662f4; font-size: 34px; font-weight: 800; letter-spacing: .16em; }
.rs-profile-invite button { min-width: 92px; min-height: 54px; padding: 0 18px; border: 0; border-radius: 16px; color: #6662f4; background: #f0efff; font: inherit; font-size: 19px; font-weight: 700; cursor: pointer; }
.rs-profile-actions { display: grid; grid-template-columns: 1fr 1fr; min-height: 94px; margin-top: 24px; overflow: hidden; border: 1px solid #eceef2; border-radius: 22px; }
.rs-profile-actions a { display: flex; align-items: center; justify-content: center; gap: 12px; color: #6561f3; background: #f7f6ff; font-size: 23px; font-weight: 750; text-decoration: none; }
.rs-profile-actions a + a { border-left: 1px solid #e9edf0; }
.rs-profile-actions .withdraw { color: #18a854; background: #f0fbf3; }
.rs-profile-actions svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rs-profile-menu { margin-top: 32px; overflow: hidden; border: 1px solid #eceef2; border-radius: 30px; background: #fff; box-shadow: 0 1px 2px rgba(31,41,55,.03); }
.rs-profile-menu a { display: grid; box-sizing: border-box; min-height: 116px; grid-template-columns: 64px 1fr 18px; align-items: center; gap: 20px; padding: 18px 30px; color: #414b5b; font-size: 24px; font-weight: 600; text-decoration: none; }
.rs-profile-menu a + a { border-top: 1px solid #f0f1f4; }
.rs-profile-menu b { color: #cbd0d8; font-size: 34px; font-weight: 400; }
.rs-profile-menu .menu-icon { display: grid; width: 60px; height: 60px; place-items: center; border-radius: 16px; }
.rs-profile-menu svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu-icon.points { color: #9b3ee6; background: #faf3ff; }.menu-icon.shows { color: #f6a000; background: #fff9e9; }.menu-icon.tasks { color: #f26917; background: #fff5eb; }.menu-icon.trust { color: #20a957; background: #eefbf2; }.menu-icon.settings { color: #606a79; background: #f1f3f6; }

@media (max-width: 960px) {
  body.rs-profile-active .rs-mobile-nav.footer { display: block !important; visibility: visible !important; position: fixed !important; inset: auto 0 0; z-index: 1100; box-sizing: border-box; width: 100%; height: calc(104px + env(safe-area-inset-bottom)); padding: 0 10px env(safe-area-inset-bottom) !important; border-top: 1px solid #e8e9ee !important; background: #fff !important; box-shadow: 0 -8px 22px rgba(20,25,45,.08) !important; }
  body.rs-profile-active .rs-mobile-nav .row { display: grid !important; grid-template-columns: repeat(5,minmax(0,1fr)); align-items: stretch; width: 100% !important; height: 100%; margin: 0 !important; }
  body.rs-profile-active .rs-mobile-nav .col-auto { display: flex; min-width: 0; align-items: center; justify-content: center; }
  body.rs-profile-active .rs-nav-link { display: flex !important; width: 100%; height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 2px 3px !important; color: #9da3b1 !important; font-size: 13px !important; font-weight: 600; line-height: 1.15; text-decoration: none; }
  body.rs-profile-active .rs-nav-link svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
  body.rs-profile-active .rs-nav-link.active { color: #6665f5 !important; }
  body.rs-profile-active .rs-nav-center { position: relative; z-index: 1; }
  body.rs-profile-active .rs-nav-center .rs-nav-link { gap: 5px; padding-top: 0 !important; color: #6665f5 !important; }
  body.rs-profile-active .rs-nav-center .rs-dispatch-icon { display: grid; width: 72px; height: 72px; margin-top: -36px; place-items: center; border: 6px solid #fff; border-radius: 50%; color: #fff; background: #6865f4; box-shadow: 0 7px 18px rgba(28,31,65,.18); }
  body.rs-profile-active .rs-nav-center svg { width: 31px; height: 31px; stroke-width: 2; }
}

@media (max-width: 520px) {
  .rs-profile-banner { height: 194px; padding: 52px 18px 0; }
  .rs-profile-user { gap: 14px; }
  .rs-profile-avatar { width: 84px; height: 84px; flex-basis: 84px; font-size: 38px; }
  .rs-profile-name { gap: 8px; font-size: 26px; }
  .rs-profile-name span { padding: 5px 8px; font-size: 14px; }
  .rs-profile-email { margin-top: 6px; font-size: 16px; }
  .rs-profile-content { margin-top: -24px; padding: 0 16px 18px; }
  .rs-profile-balance { min-height: 108px; border-radius: 22px; }
  .rs-profile-balance span,.rs-profile-invite span { font-size: 14px; }
  .rs-profile-balance strong { font-size: 21px; }
  .rs-profile-invite { min-height: 96px; margin-top: 16px; padding: 14px 16px; border-radius: 17px; }
  .rs-profile-invite strong { font-size: 25px; }
  .rs-profile-invite button { min-width: 70px; min-height: 42px; padding: 0 10px; font-size: 15px; }
  .rs-profile-actions { min-height: 68px; margin-top: 16px; border-radius: 16px; }
  .rs-profile-actions a { gap: 7px; font-size: 17px; }
  .rs-profile-actions svg { width: 22px; height: 22px; }
  .rs-profile-menu { margin-top: 20px; border-radius: 20px; }
  .rs-profile-menu a { min-height: 78px; grid-template-columns: 46px 1fr 14px; gap: 12px; padding: 12px 15px; font-size: 17px; }
  .rs-profile-menu b { font-size: 28px; }
  .rs-profile-menu .menu-icon { width: 44px; height: 44px; border-radius: 12px; }
  .rs-profile-menu svg { width: 21px; height: 21px; }
}
