/* Keep scrolling available without drawing scrollbars. */
*,*::before,*::after { scrollbar-width:none; -ms-overflow-style:none; -webkit-user-select:none; -moz-user-select:none; -ms-user-select:none; user-select:none; }
*::-webkit-scrollbar { display:none; width:0; height:0; }
html,body { touch-action:pan-x pan-y; }
.shell { --profile-corner-radius:9.024px; -webkit-touch-callout:none; }
.shell img { -webkit-user-drag:none; user-select:none; -webkit-user-select:none; pointer-events:none; }
.siteContent { position:relative; isolation:isolate; }
/* Keep proportional header sizing relative to the card width. */
.pageContent { container-type:inline-size; }
/* Frame the new profile artwork to match the supplied header references. */
.profileHeader--updated {
  --ref-cover-radius:var(--profile-corner-radius);
  border-radius:0 0 var(--profile-corner-radius) var(--profile-corner-radius);
  --ref-avatar-border-width:.33cqi;
  --ref-title-size:4cqi;
  --ref-title-weight:700;
  --ref-bio-size:3cqi;
  --ref-bio-weight:400;
}
.profileHeader--updated .profileCopy p { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.profileHeader--updated .cover { background:#d8e0e8; }
.profileHeader--updated .cover > img {
  inset:auto;
  top:-12%;
  left:3%;
  width:94%;
  height:auto;
  max-width:none;
  object-fit:contain;
}
.profileHeader--updated .avatar { background:#d4dce7; }
.profileHeader--updated .avatar > img { object-fit:cover; object-position:center; }
/* Reference desktop frame; preserve the existing full-width mobile layout. */
@media (min-width:521px) {
  .canvas {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:100vh;
    min-height:100dvh;
    background:#fff;
  }
  .shell {
    /* Share the fixed radius used by the banner and lower header corners. */
    --desktop-card-radius:var(--profile-corner-radius);
    position:relative;
    width:376px;
    height:min(90vh,700px);
    height:min(90dvh,700px);
    min-height:0;
    overflow:hidden;
    border-radius:var(--desktop-card-radius);
    box-shadow:0 0 50px -5px #c8c8c8;
  }
  .siteContent,.pageContent { height:100%; }
  .pageContent {
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    /* Restore the saved position immediately on reload. Wheel scroll stays native. */
    scroll-behavior:auto;
    /* Keep the clipped scroll surface on its own compositor layer. */
    transform:translateZ(0);
  }
  .shell .sensitiveOverlay { border-radius:var(--desktop-card-radius); }
}
@media (prefers-reduced-motion:reduce) {
  html,.pageContent { scroll-behavior:auto; }
}
.onlyfansLogo img { object-fit:contain; }
.socialButton.chaturbate img { width:var(--ref-social-icon,8cqi); height:var(--ref-social-icon,8cqi); }

.sensitiveOverlay[hidden] { display:none; }
.sensitiveOverlay {
  position:absolute;
  inset:0;
  z-index:100;
  overflow:auto;
  overscroll-behavior:contain;
  border-radius:12px;
  background-color:#fff;
  background-image:var(--sensitive-image,none);
  background-position:center center;
  background-size:cover;
  background-repeat:no-repeat;
  color:#fff;
  -webkit-touch-callout:none;
}
.sensitiveInner {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:100%;
  padding:70px 28px;
}
.sensitiveCard {
  width:100%;
  padding:22px 18px;
  border-radius:15px;
  background:#7979797d;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  text-align:center;
}
.sensitiveCard h2 { margin:0; color:#fff; font-size:25px; font-weight:700; line-height:1.2; }
.sensitiveCard p { margin:10px 0 22px; color:#fff; font-size:16px; font-weight:500; line-height:1.45; }
.sensitiveClose {
  position:absolute;
  z-index:4;
  top:10px;
  left:10px;
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  padding:0;
  border:0;
  border-radius:20px;
  background:#fff url('../img/buttons/exit.png') center / contain no-repeat;
  box-shadow:0 1px 5px 1px rgb(0 0 0 / 25%);
  cursor:pointer;
}
.sensitiveContinue {
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  gap:0;
  min-height:50px;
  max-height:none;
  margin-bottom:-3px;
  padding:10px 8px;
  border:0;
  border-radius:10px;
  background:#15b0ee;
  color:#fff;
  font-family:Roobert,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  font-size:17px;
  font-weight:600;
  line-height:1.5;
  text-align:center;
  transform:translateY(0);
  box-shadow:none;
  transition:all 600ms cubic-bezier(.23,1,.32,1);
}
.sensitiveContinue img { flex-shrink:0; width:24px; height:24px; margin-right:6px; margin-top:-4px; object-fit:contain; filter:brightness(0) invert(1); }
.sensitiveContinue > span { min-width:0; }
.sensitiveContinue[data-brand="fansly"] { background:#009bf9; color:#fff; }
@media(hover:hover) {
  .sensitiveContinue:hover { transform:translateY(-2.5px); box-shadow:rgba(0,0,0,.25) 0 5px 10px 1px; }
}
.sensitiveOverlay :focus-visible { outline:3px solid #fff; outline-offset:4px; }
@media(max-width:520px) {
  html.sensitiveOpen,html.sensitiveOpen body { overflow:hidden; }
  .sensitiveOverlay { position:fixed; inset:0; width:100%; height:100%; height:100dvh; border-radius:0; }
  .sensitiveInner { padding:calc(70px + env(safe-area-inset-top)) 24px calc(70px + env(safe-area-inset-bottom)); }
  .sensitiveClose { top:calc(10px + env(safe-area-inset-top)); left:calc(10px + env(safe-area-inset-left)); }
}

/* Normalize transparent padding in the supplied WebP canvases without changing the files. */
.socialIcon { display:block; position:relative; width:8cqi; height:8cqi; overflow:hidden; }
.socialIcon-chaturbate { width:11.5cqi; height:8.4cqi; }
.socialButton .socialIcon img { position:absolute; max-width:none; max-height:none; object-fit:fill; }
.socialButton .socialIcon-instagram img { width:216.95502%; height:216.95502%; left:-58.73702%; top:-58.65052%; }
.socialButton .socialIcon-x img { width:218.08696%; height:218.08696%; left:-59.30435%; top:-59.13043%; }
.socialButton .socialIcon-telegram img { width:218.08696%; height:218.08696%; left:-47.30435%; top:-64.86957%; }
.socialButton .socialIcon-chaturbate img { width:140.27032%; height:192.03675%; left:-20.02330%; top:-35.83461%; }

/* No hover/press animation outside the platform confirmation buttons. */
.shell a:not(.sensitiveContinue),
.shell button:not(.sensitiveContinue),
.shell .onlyfansButton {
  transition:none !important;
  animation:none !important;
  filter:none !important;
  transform:none !important;
}
