/* v80.8.144 — smartphone/tablet My Page correction (<=1024px).
   Layout and wallpapers are scoped to actual public My Pages; desktop untouched.
   Desktop cosmetic borders, comments, author permissions and existing portrait art preserved. */
@media (max-width:1024px){
  /* The Overview tab already displays the complete biography: do not repeat it up top. */
  .profile-v4>.profile-v4-side.rw8142-unified-profile.panel{
    grid-template-rows:auto auto!important;
    grid-template-areas:"identity achievements" "identity metrics"!important;
    row-gap:6px!important;
  }
  .profile-v4>.profile-v4-side.rw8142-unified-profile>.profile-v4-bio{display:none!important;}
  /* Restore v75's tested three-across Follow/Message/Donate grid instead of v142 flex-wrap. */
  .profile-v4 .rw8142-unified-profile .profile-v4-card .profile-v4-buttons.rw75-profile-actions{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    flex-wrap:nowrap!important;gap:clamp(2px,.6vw,6px)!important;width:100%!important;
    align-items:stretch!important;justify-content:stretch!important;
  }
  .profile-v4 .rw8142-unified-profile .rw75-profile-actions > :is(form,details,.btn){
    min-width:0!important;width:100%!important;margin:0!important;
  }
  .profile-v4 .rw8142-unified-profile .rw75-profile-actions .btn{
    display:flex!important;width:100%!important;min-width:0!important;
    box-sizing:border-box!important;align-items:center!important;justify-content:center!important;
    white-space:nowrap!important;min-height:36px!important;
    padding:5px 3px!important;font-size:clamp(.62rem,1.6vw,.79rem)!important;
  }
  /* Tabs use their own container width, not a horizontal scroller that clips Overview. */
  .profile-v4 .profile-v4-main.panel{padding:clamp(7px,1.5vw,12px)!important;}
  .profile-v4 .profile-v4-main > .profile-tabs{
    display:flex!important;flex-wrap:wrap!important;gap:0!important;
    overflow:visible!important;white-space:normal!important;
    width:100%!important;max-width:100%!important;
    margin:0 0 8px!important;padding:0!important;
    justify-content:flex-start;
  }
  .profile-v4 .profile-v4-main > .profile-tabs > a{
    min-width:0!important;flex:0 1 auto!important;white-space:normal!important;
    padding:8px 5px!important;font-size:clamp(.72rem,1.28vw,.83rem)!important;
    line-height:1.2;min-height:36px;display:flex;align-items:center;justify-content:center;
  }
  /* Mobile browsers are unreliable with fixed backgrounds on scrolling elements.
     Match the desktop substrate but use the true device artwork in the foreground. */
  body:has(.profile-v4) .site-main,body:has(.profile-v4){
    background-attachment:scroll!important;background-position:center top!important;
    background-size:cover!important;background-repeat:no-repeat!important;
  }
}
@media (max-width:600px){
  .profile-v4>.profile-v4-side.rw8142-unified-profile.panel{
    padding:clamp(7px,1.6vw,10px)!important;column-gap:clamp(5px,1.7vw,9px)!important;
  }
  .profile-v4 .rw8142-unified-profile .rw75-profile-actions .btn{
    font-size:clamp(.59rem,2.6vw,.73rem)!important;letter-spacing:-.015em;
    padding:5px 1px!important;min-height:37px!important;
  }
  .profile-v4 .profile-v4-main > .profile-tabs{
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-auto-rows:minmax(38px,auto);justify-items:stretch!important;
  }
  .profile-v4 .profile-v4-main > .profile-tabs > a{
    min-width:0!important;width:100%!important;max-width:none!important;
    padding:6px 2px!important;font-size:clamp(.65rem,2.8vw,.79rem)!important;
    line-height:1.15!important;overflow-wrap:normal!important;
  }
}
/* All 21 original tablet derivatives from v142 (no regenerated art). */
@media (min-width:601px) and (max-width:1024px){
body .site-main:has(.profile-v4.rw8105-backdrop-afterglow-resort){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-afterglow-resort-tablet-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-astral-conservatory){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-astral-conservatory-tablet-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-brassheart-express){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-brassheart-express-tablet-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body:has(.profile-v4.rw8105-backdrop-celestial){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-celestial-tablet-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-clockwork-atelier){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-clockwork-atelier-tablet-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-hangar-seven){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-hangar-seven-tablet-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-heavenbreaker){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-heavenbreaker-tablet-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-lantern-sanctuary){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-lantern-sanctuary-tablet-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-last-guest){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-last-guest-tablet-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-midnight-circuit){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-midnight-circuit-tablet-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body:has(.profile-v4.rw8105-backdrop-moonlit){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-moonlit-tablet-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-mosslight-hollow){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-mosslight-hollow-tablet-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-neon-district){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-neon-district-tablet-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-poets-observatory){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-poets-observatory-tablet-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-redline-midnight){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-redline-midnight-tablet-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-sapphire-tempest){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-sapphire-tempest-tablet-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body:has(.profile-v4.rw8105-backdrop-softlight){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-softlight-tablet-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-starlit-sweets){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-starlit-sweets-tablet-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-velvet-after-hours){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-velvet-after-hours-tablet-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-velvet-gothic){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-velvet-gothic-tablet-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-witchs-cottage){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-witchs-cottage-tablet-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
}
/* All 21 original phone derivatives from v142 (no regenerated art). */
@media (max-width:600px){
body .site-main:has(.profile-v4.rw8105-backdrop-afterglow-resort){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-afterglow-resort-phone-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-astral-conservatory){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-astral-conservatory-phone-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-brassheart-express){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-brassheart-express-phone-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body:has(.profile-v4.rw8105-backdrop-celestial){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-celestial-phone-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-clockwork-atelier){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-clockwork-atelier-phone-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-hangar-seven){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-hangar-seven-phone-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-heavenbreaker){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-heavenbreaker-phone-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-lantern-sanctuary){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-lantern-sanctuary-phone-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-last-guest){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-last-guest-phone-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-midnight-circuit){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-midnight-circuit-phone-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body:has(.profile-v4.rw8105-backdrop-moonlit){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-moonlit-phone-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-mosslight-hollow){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-mosslight-hollow-phone-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-neon-district){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-neon-district-phone-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-poets-observatory){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-poets-observatory-phone-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-redline-midnight){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-redline-midnight-phone-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-sapphire-tempest){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-sapphire-tempest-phone-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body:has(.profile-v4.rw8105-backdrop-softlight){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-softlight-phone-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-starlit-sweets){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-starlit-sweets-phone-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-velvet-after-hours){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-velvet-after-hours-phone-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-velvet-gothic){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-velvet-gothic-phone-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
body .site-main:has(.profile-v4.rw8105-backdrop-witchs-cottage){background-image:linear-gradient(90deg,rgba(8,11,20,.10),transparent 26%,transparent 74%,rgba(8,11,20,.10)),url("/assets/my-page-wallpaper-witchs-cottage-phone-v80_8_142.webp")!important; background-position:center top!important;background-attachment:scroll!important;background-size:cover!important;}
}
