@font-face {
  font-family: "Roboto";
  src: url("roboto-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --gold: #c9a227;
  --goldSoft: #e7c65a;
  --goldDeep: #8a6d1d;
  --goldRGB: 201,162,39;
}
body[data-accent="silver"] {
  --gold: #b9bec6;
  --goldSoft: #e3e6ea;
  --goldDeep: #6e747c;
  --goldRGB: 185,190,198;
}
body[data-accent="white"] {
  --gold: #f2f2f2;
  --goldSoft: #ffffff;
  --goldDeep: #8f8f8f;
  --goldRGB: 242,242,242;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #000;
  color: #fff;
  font-family: "Roboto", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
}
body.locked { overflow: hidden; }
a { color: #fff; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.topbarIn { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { height: 40px; width: auto; display: block; }
.wordmark { font-size: 22px; font-weight: 700; letter-spacing: 0.4px; }
.royal { color: var(--gold); }
.topLinks { margin-left: auto; display: flex; gap: 22px; align-items: center; min-width: 0; }
.topLinks a { text-decoration: none; font-size: 15px; opacity: 0.9; }
.topLinks a:hover { opacity: 1; text-decoration: underline; }
.creditChip {
  border: 1px solid var(--gold); color: var(--gold); border-radius: 999px;
  padding: 7px 14px; font-size: 14px; font-weight: 600; white-space: nowrap;
}

.btn {
  display: inline-block; border: 1px solid #fff; border-radius: 999px;
  padding: 12px 26px; font-size: 16px; font-weight: 600; cursor: pointer;
  background: #fff; color: #000; text-decoration: none; text-align: center;
  font-family: inherit;
}
.btnDark { background: transparent; color: #fff; }
.btnBig { width: 100%; padding: 16px 26px; font-size: 18px; }
.btn:active { transform: scale(0.99); }

.hero { padding: 56px 0 30px; text-align: center; }
.hero img.crown { width: 230px; max-width: 70vw; height: auto; }
.hero h1 { font-size: 42px; line-height: 1.15; margin: 22px 0 12px; font-weight: 800; }
.hero p { font-size: 18px; opacity: 0.85; max-width: 600px; margin: 0 auto; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.glass {
  background: linear-gradient(160deg, rgba(255,255,255,0.11), rgba(255,255,255,0.04) 55%, rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 20px;
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), inset 0 -1px 0 rgba(255,255,255,0.05), 0 18px 42px rgba(0,0,0,0.45);
  padding: 22px;
}
.secTitle { font-size: 28px; font-weight: 800; margin: 48px 0 6px; }
.secSub { opacity: 0.8; margin-bottom: 20px; font-size: 16px; }

.funnel {
  max-width: 640px; margin: 26px auto 0; text-align: center;
  border-color: var(--gold); padding: 30px 26px;
}
.funnel h2 { font-size: 27px; margin-bottom: 6px; }
.funnel .sub { opacity: 0.85; font-size: 16px; }
.stepRow { display: flex; gap: 10px; margin: 22px 0; flex-wrap: wrap; }
.stepItem { flex: 1; min-width: 140px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 12px; }
.stepNum {
  display: inline-flex; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold); align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; margin-bottom: 6px;
}
.stepItem p { font-size: 14px; opacity: 0.9; }
.acctBox {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 19px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px; padding: 14px; margin: 12px 0; word-break: break-all;
}
.phraseBox { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; justify-content: center; font-weight: 700; font-size: 17px; line-height: 1.6; letter-spacing: 0.2px; }
.phraseBox span {
  background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px; padding: 5px 12px; font-size: 14px;
}
.checkRow { display: flex; gap: 10px; align-items: flex-start; text-align: left; margin: 12px 0; font-size: 15px; }
.checkRow input { width: 20px; height: 20px; margin-top: 2px; flex: none; }

.infoBtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.55); color: #fff;
  background: transparent; font-size: 12px; font-style: italic;
  cursor: pointer; vertical-align: middle; margin-left: 6px; flex: none;
}
.infoPop {
  display: none; margin-top: 10px; font-size: 14px; line-height: 1.45;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22);
  border-radius: 12px; padding: 10px 12px; opacity: 0.95;
}
.infoPop.open { display: block; }

.cover {
  height: 190px; border-radius: 20px; margin-top: 26px;
  border: 1px solid rgba(255,255,255,0.16);
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.20), transparent 42%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.12), transparent 45%),
    linear-gradient(135deg, #1a1a1a, #000);
}
.profileHead { display: flex; gap: 18px; align-items: center; margin-top: -34px; padding: 0 10px; flex-wrap: wrap; }
.profileHead .avatar {
  width: 84px; height: 84px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: #111; display: flex; align-items: center; justify-content: center;
  font-size: 34px; font-weight: 700;
}
.profileHead h1 { font-size: 32px; }
.profileHead .craft { opacity: 0.85; }
.about { margin: 18px 0 4px; font-size: 16px; opacity: 0.92; max-width: 720px; }

.tier h3 { font-size: 21px; }
.tier .price { font-size: 26px; font-weight: 800; margin: 6px 0; }
.tier .price span { font-size: 15px; font-weight: 400; opacity: 0.8; }
.tier ul { list-style: none; margin: 10px 0 18px; }
.tier li { padding: 5px 0; font-size: 15px; opacity: 0.92; }
.tierTop { border-color: var(--gold); }

.post { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.post .thumb {
  width: 74px; height: 74px; border-radius: 14px; flex: none;
  border: 1px solid rgba(255,255,255,0.2);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 55%), #101010;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.post h4 { font-size: 17px; margin-bottom: 3px; }
.post p { font-size: 14px; opacity: 0.78; }
.lockTag { font-size: 12px; border: 1px solid rgba(255,255,255,0.45); border-radius: 999px; padding: 2px 9px; opacity: 0.9; white-space: nowrap; }
.openTag { font-size: 12px; border: 1px solid var(--gold); color: var(--gold); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }

.galleryGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.gifTile { text-decoration: none; display: block; }
.gifBox {
  position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2); margin-bottom: 12px;
  background: linear-gradient(120deg, #141414, #2b2b2b, #0a0a0a, #1f1f1f);
  background-size: 300% 300%;
  animation: drift 7s ease infinite;
}
.gifBox::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.14) 50%, transparent 70%);
  background-size: 250% 100%;
  animation: shine 3.2s linear infinite;
}
@keyframes drift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes shine { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
.gifPlay {
  position: absolute; left: 12px; bottom: 10px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7); background: rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.gifTime {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  font-size: 12px; background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.35);
  padding: 2px 8px; border-radius: 999px;
}
.gifTile h3 { font-size: 18px; }
.gifTile p { font-size: 14px; opacity: 0.8; }

.modalWrap {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.78); padding: 18px; overflow-y: auto;
}
.modalWrap.open { display: block; }
.modal {
  max-width: 520px; margin: 40px auto; border-radius: 24px;
  background: rgba(20,20,20,0.92); border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(20px); padding: 26px;
}
.modal h2 { font-size: 24px; margin-bottom: 4px; }
.modal .sub { opacity: 0.85; font-size: 15px; margin-bottom: 18px; }
.closeX { float: right; background: transparent; border: 1px solid rgba(255,255,255,0.4); color: #fff; width: 34px; height: 34px; border-radius: 50%; font-size: 16px; cursor: pointer; }
.payChoice { width: 100%; text-align: left; margin-bottom: 12px; cursor: pointer; color: #fff; font-family: inherit; }
.payChoice h3 { font-size: 19px; margin-bottom: 3px; }
.payChoice p { font-size: 14px; opacity: 0.85; }
.payChoice:hover { border-color: rgba(255,255,255,0.5); }
.view { display: none; }
.view.on { display: block; }
.codeBox {
  word-break: break-all; font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 12px; padding: 12px; margin: 12px 0;
}
.qrBox { display: flex; justify-content: center; margin: 14px 0 6px; }
.qrGrid { display: grid; grid-template-columns: repeat(21, 9px); gap: 0; background: #fff; padding: 10px; border-radius: 10px; }
.qrGrid i { width: 9px; height: 9px; display: block; }
.qrGrid .b { background: #000; }
.qrGrid .w { background: #fff; }
.center { text-align: center; }
.small { font-size: 13px; opacity: 0.75; }
.mt { margin-top: 14px; }
input.codeIn, input.textIn {
  width: 100%; padding: 14px; border-radius: 12px; font-size: 16px;
  border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.07); color: #fff;
  margin: 8px 0 14px; font-family: inherit;
}
label.fLabel { font-size: 15px; display: block; margin-top: 6px; }
.pickRow { display: flex; gap: 10px; margin: 10px 0 4px; }
.pick {
  flex: 1; padding: 13px; border-radius: 14px; cursor: pointer; text-align: center;
  border: 1px solid rgba(255,255,255,0.3); background: transparent; color: #fff; font-size: 16px; font-family: inherit;
}
.pick.sel { background: #fff; color: #000; font-weight: 700; }
.pendingMark { font-size: 44px; text-align: center; margin: 8px 0; }

.ageWrap {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.88); backdrop-filter: blur(16px); padding: 18px; overflow-y: auto;
}
.ageWrap.open { display: block; }
.ageCard {
  max-width: 460px; margin: 70px auto; text-align: center; border-radius: 24px;
  background: rgba(20,20,20,0.94); border: 1px solid var(--gold); padding: 30px 26px;
}
.ageCard img { width: 150px; height: auto; }
.ageCard h2 { font-size: 25px; margin: 16px 0 8px; }
.ageCard p { font-size: 15px; opacity: 0.88; margin-bottom: 18px; }

.stepCard { margin-bottom: 14px; }
.stepCard h3 { font-size: 19px; margin-bottom: 6px; }
.stepCard p, .stepCard li { font-size: 15px; opacity: 0.9; }
.stepCard ul { margin-left: 18px; }
footer { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 64px; padding: 30px 0 44px; }
.footIn { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.footIn img { height: 30px; width: auto; }
.footLinks { margin-left: auto; display: flex; gap: 18px; }
.footLinks a { text-decoration: none; font-size: 14px; opacity: 0.85; }
.statsRow { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 4px; align-items: center; }
.statItem { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; opacity: 0.95; }
.statItem svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 1.8; flex: none; }
.statItem b { font-weight: 700; }
.badge { width: 20px; height: 20px; vertical-align: -3px; margin-left: 5px; }
.actionRow { display: flex; gap: 12px; align-items: center; margin: 16px 0 4px; flex-wrap: wrap; }
.circBtn {
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.05);
  display: inline-flex; align-items: center; justify-content: center;
}
.circBtn svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; }
.circBtn.on { border-color: var(--gold); }
.circBtn.on svg { fill: var(--gold); stroke: var(--gold); }
.likeLabel { font-size: 14px; opacity: 0.85; }
.pkgLikeRow { display: flex; align-items: center; gap: 8px; margin: 4px 0 14px; }
.pkgLike {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.35); background: transparent; color: #fff;
  border-radius: 999px; padding: 6px 13px; font-size: 14px; font-family: inherit;
}
.pkgLike svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 1.8; }
.pkgLike.on { border-color: var(--gold); color: var(--gold); }
.pkgLike.on svg { fill: var(--gold); stroke: var(--gold); }
.moreLink { color: #7db8ff; cursor: pointer; font-size: 15px; background: none; border: none; padding: 0; font-family: inherit; }

.mCard { margin-bottom: 20px; }
.mCard h3 { font-size: 20px; margin-bottom: 4px; }
.mGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 14px; margin: 12px 0; }
.mField label { font-size: 13px; opacity: 0.8; display: block; margin-bottom: 4px; }
.mInput, .mSelect {
  width: 100%; padding: 10px; border-radius: 10px; font-size: 15px;
  border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.07); color: #fff; font-family: inherit;
}
.mSelect option { color: #000; }
.mPkg { border: 1px solid rgba(255,255,255,0.16); border-radius: 14px; padding: 12px; margin-bottom: 10px; }
.mPkgHead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.mBtnRow { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.btnSmall { padding: 9px 18px; font-size: 14px; }
.warnText { color: #e8b4b4; font-size: 13px; min-height: 16px; }
.okText { color: #b7e4c7; font-size: 13px; min-height: 16px; }

@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .topLinks a.hideS { display: none; }
  .profileHead h1 { font-size: 26px; }
  .brand .wordmark { font-size: 19px; }
  /* Header fit rule: the bar wraps instead of squeezing. Brand keeps
     line one; links, chip, and buttons flow to a second line rather
     than covering the name or running off the screen edge. */
  .topbarIn { flex-wrap: wrap; gap: 8px 12px; }
  .topLinks { flex-wrap: wrap; gap: 8px 10px; justify-content: flex-end; }
  .creditChip { font-size: 13px; padding: 6px 12px; max-width: 100%; }
  .topbar .btn { padding: 8px 16px; font-size: 15px; }
}

/* Mobile safety: stop auto zoom on form taps and any sideways stretch */
input, select, textarea { font-size: 16px; }
img { max-width: 100%; }
html, body { overflow-x: hidden; }
button { touch-action: manipulation; }
.ageCard img { max-width: 150px; }

.demoBanner{position:relative;z-index:95;background:#000;color:#fff;border-bottom:2px solid var(--gold);padding:10px 16px;font-size:14px;text-align:center}
.aTable{width:100%;border-collapse:collapse;font-size:14px}
.aTable td,.aTable th{padding:8px;border-bottom:1px solid rgba(128,128,128,.3);text-align:left;vertical-align:top}
.textLink{background:none;border:none;padding:10px 8px;margin:-4px 0;color:inherit;font:inherit;font-size:15px;text-decoration:underline;cursor:pointer;display:inline-block;-webkit-tap-highlight-color:transparent;touch-action:manipulation}

/* Fan dashboard (OnlyFans pattern layout, PageRoyal rules) */
.dashShell{display:grid;grid-template-columns:228px minmax(0,640px) 300px;gap:26px;max-width:1240px;margin:0 auto;padding:22px 20px 40px;align-items:start}
.dashRail{position:sticky;top:86px;display:flex;flex-direction:column;gap:4px}
.dashNavBtn{display:flex;align-items:center;gap:12px;width:100%;padding:12px 16px;border-radius:999px;border:1px solid transparent;background:transparent;color:#fff;font:inherit;font-size:16px;font-weight:600;cursor:pointer;text-align:left}
.dashNavBtn:hover{background:rgba(255,255,255,0.07)}
.dashNavBtn.on{border-color:var(--gold);color:var(--gold)}
.dashNavBtn svg{flex:none}
.railAcct{margin-top:18px;padding:14px 16px}
.railAcct p{font-size:15px;margin-bottom:10px;word-break:break-all}
.dashMain{min-width:0}
.dashMain h2{font-size:24px;margin:2px 0 16px}
.dashMain h3{font-size:18px;margin:20px 0 10px}
.dashSide{position:sticky;top:86px;display:flex;flex-direction:column;gap:16px}
.sideCard{padding:16px}
.sideCard h3{font-size:16px;margin-bottom:8px}
.postCard{padding:18px;margin-bottom:18px}
.postHead{display:flex;gap:12px;align-items:center}
.avatarMed{width:46px;height:46px;border-radius:50%;border:1px solid var(--gold);color:var(--gold);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:19px;flex:none;background:rgba(255,255,255,0.05)}
.postName{font-size:16px;font-weight:700}
.postMeta{font-size:13px;opacity:0.7}
.postText{font-size:16px;margin-top:10px}
.postMedia{border:1px solid rgba(255,255,255,0.16);border-radius:16px;padding:24px 18px;text-align:center;margin-top:12px;background:rgba(255,255,255,0.03)}
.postMedia .btn{margin:4px}
.postBtns{margin-top:12px;display:flex;gap:10px;flex-wrap:wrap}
.tickGold{color:var(--gold);font-weight:800}
.dashBottomNav{display:none}
.viewDash{display:none}
.viewDash.on{display:block}
select.textIn{appearance:none}
@media (max-width:1080px){.dashShell{grid-template-columns:228px minmax(0,1fr)}.dashSide{display:none}}
@media (max-width:760px){
  .dashShell{grid-template-columns:minmax(0,1fr);padding:16px 14px 96px}
  .dashRail{display:none}
  .dashBottomNav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:60;background:rgba(0,0,0,0.85);backdrop-filter:blur(18px);border-top:1px solid rgba(255,255,255,0.16);padding:8px 6px calc(8px + env(safe-area-inset-bottom))}
  .dashBottomNav button{flex:1;background:none;border:none;color:#fff;font:inherit;font-size:12px;font-weight:600;cursor:pointer;padding:6px 2px;display:flex;flex-direction:column;align-items:center;gap:3px}
  .dashBottomNav button.on{color:var(--gold)}
}

/* Calm mode: a device choice from the dashboard settings */
body.calm *, body.calm *::before, body.calm *::after { animation: none !important; transition: none !important; }

/* Liquid Glass layer: sheen, depth and motion across the whole site */
.topbar {
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.10), 0 10px 30px rgba(0,0,0,0.35);
}
.btn {
  background: linear-gradient(180deg, #ffffff, #dcdcdc);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), inset 0 -1px 0 rgba(0,0,0,0.12), 0 8px 22px rgba(0,0,0,0.40);
  transition: transform 0.18s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btnDark {
  background: linear-gradient(160deg, rgba(255,255,255,0.13), rgba(255,255,255,0.04));
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 8px 20px rgba(0,0,0,0.35);
  color: #fff;
}
@media (hover:hover) {
  .btn:hover { filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), inset 0 -1px 0 rgba(0,0,0,0.12), 0 12px 28px rgba(0,0,0,0.5); }
  .postCard { transition: transform 0.25s ease, box-shadow 0.25s ease; }
  .postCard:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.32), inset 0 -1px 0 rgba(255,255,255,0.05), 0 24px 50px rgba(0,0,0,0.55); }
}
input.textIn, input.codeIn, textarea.textIn, select.textIn {
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(255,255,255,0.05));
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.45), inset 0 -1px 0 rgba(255,255,255,0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input.textIn:focus, input.codeIn:focus, textarea.textIn:focus, select.textIn:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.45), 0 0 0 3px rgba(var(--goldRGB),0.25);
}
.modal {
  background: linear-gradient(165deg, rgba(38,38,38,0.88), rgba(12,12,12,0.92));
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.30), 0 30px 70px rgba(0,0,0,0.65);
  animation: riseIn 0.35s cubic-bezier(0.2, 0.9, 0.25, 1.2);
}
.creditChip {
  background: linear-gradient(160deg, rgba(var(--goldRGB),0.16), rgba(var(--goldRGB),0.04));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.dashNavBtn { transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease; }
.dashNavBtn:active { transform: scale(0.98); }
.dashNavBtn.on {
  background: linear-gradient(160deg, rgba(var(--goldRGB),0.20), rgba(var(--goldRGB),0.05));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 8px 20px rgba(0,0,0,0.35);
}
.dashShell { animation: riseIn 0.45s ease both; }
.hero img.crown { animation: crownGlow 5s ease-in-out infinite alternate; }
@keyframes crownGlow {
  from { filter: drop-shadow(0 0 8px rgba(var(--goldRGB),0.18)); }
  to { filter: drop-shadow(0 0 22px rgba(var(--goldRGB),0.42)); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(14px) scale(0.99); }
  to { opacity: 1; transform: none; }
}
@keyframes pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); }
  100% { transform: scale(1); }
}
#likeProfileBtn.on { animation: pop 0.35s ease; }
.jsrv [data-rv] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.jsrv [data-rv].in { opacity: 1; transform: none; }
.skel {
  border-radius: 14px; min-height: 74px; margin-bottom: 14px;
  background: linear-gradient(100deg, rgba(255,255,255,0.05) 40%, rgba(255,255,255,0.14) 50%, rgba(255,255,255,0.05) 60%);
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}
@keyframes shimmer { from { background-position: 180% 0; } to { background-position: -20% 0; } }

/* Guide phone: three screens loop the whole payment */
.phone {
  width: 280px; max-width: 82vw; height: 480px; margin: 8px auto 0;
  border-radius: 42px; border: 1px solid rgba(255,255,255,0.30);
  background: linear-gradient(165deg, rgba(30,30,30,0.9), rgba(5,5,5,0.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), inset 0 -1px 0 rgba(255,255,255,0.06), 0 34px 70px rgba(0,0,0,0.65);
  position: relative; overflow: hidden;
}
.phoneNotch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 20px; border-radius: 999px; background: #000; border: 1px solid rgba(255,255,255,0.12); z-index: 5; }
.pScreen { position: absolute; inset: 0; padding: 52px 20px 20px; opacity: 0; display: flex; flex-direction: column; gap: 12px; }
.scr1 { animation: scrCycle 9s linear infinite; }
.scr2 { animation: scrCycle 9s linear infinite; animation-delay: 3s; }
.scr3 { animation: scrCycle 9s linear infinite; animation-delay: 6s; }
@keyframes scrCycle {
  0% { opacity: 0; transform: translateY(10px); }
  3% { opacity: 1; transform: none; }
  30% { opacity: 1; transform: none; }
  33.3% { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 0; }
}
.pBrand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.pBrand img { height: 24px; width: auto; }
.pCard { border: 1px solid rgba(255,255,255,0.18); border-radius: 16px; padding: 14px; background: rgba(255,255,255,0.05); }
.pBtn {
  position: relative; text-align: center; border-radius: 999px; padding: 14px;
  font-weight: 700; font-size: 16px; background: linear-gradient(180deg, #ffffff, #dcdcdc); color: #000;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 10px 24px rgba(0,0,0,0.45);
}
.pBtnGold { background: linear-gradient(180deg, var(--goldSoft), var(--gold)); }
.tapDot {
  position: absolute; right: 22px; top: 50%; width: 34px; height: 34px; margin-top: -17px;
  border-radius: 50%; border: 2px solid var(--gold); animation: tapPulse 1.4s ease-out infinite;
}
@keyframes tapPulse {
  0% { transform: scale(0.55); opacity: 0.95; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}
.paidCheck {
  width: 92px; height: 92px; margin: 26px auto 4px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center;
  font-size: 44px; font-weight: 800; background: radial-gradient(circle at 35% 30%, rgba(var(--goldRGB),0.35), rgba(var(--goldRGB),0.06));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 0 34px rgba(var(--goldRGB),0.35);
  animation: pop 0.6s ease both;
}
.gDots { display: flex; gap: 10px; justify-content: center; margin-top: 16px; align-items: center; }
.gDot { font-size: 13px; font-weight: 700; border: 1px solid rgba(255,255,255,0.35); color: #fff; border-radius: 999px; padding: 5px 12px; opacity: 0.45; }
.gd1 { animation: dotCycle 9s linear infinite; }
.gd2 { animation: dotCycle 9s linear infinite; animation-delay: 3s; }
.gd3 { animation: dotCycle 9s linear infinite; animation-delay: 6s; }
@keyframes dotCycle {
  0%, 30% { opacity: 1; border-color: var(--gold); color: var(--gold); }
  33.3%, 100% { opacity: 0.45; border-color: rgba(255,255,255,0.35); color: #fff; }
}
.gStep { display: flex; gap: 16px; align-items: flex-start; text-align: left; }
.gStep .stepNum { width: 40px; height: 40px; font-size: 18px; flex: none; margin: 0; background: linear-gradient(160deg, rgba(var(--goldRGB),0.25), rgba(var(--goldRGB),0.05)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3); }
.gStep h3 { font-size: 21px; margin-bottom: 3px; }
.gStep p { font-size: 15.5px; opacity: 0.88; }
body.calm .pScreen, body.calm .gDot { animation: none !important; }
body.calm .scr1 { opacity: 1; }
body.calm .scr2, body.calm .scr3 { opacity: 0; }
body.calm .gd1 { opacity: 1; border-color: var(--gold); color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .pScreen { opacity: 0; }
  .scr1 { opacity: 1; }
}

/* Top picks: unlock lift, sticky join bar, win check */
.thumb { position: relative; }
.thumbLocked { filter: blur(2.5px) brightness(0.6); }
.lockChip {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; color: #fff;
  background: rgba(0,0,0,0.66); border: 1px solid rgba(255,255,255,0.4);
  padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
@keyframes blurLift {
  from { filter: blur(7px) brightness(0.55); }
  to { filter: none; }
}
.justOpen { animation: blurLift 0.9s ease both; }
.postCard.justOpen { animation: blurLift 0.9s ease both; }
.joinBar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 240;
  display: none; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(40,40,40,0.88), rgba(10,10,10,0.92));
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 18px 40px rgba(0,0,0,0.55);
  transform: translateY(130%); transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.15);
}
.joinBar.show { transform: none; }
.joinBar .jbName { font-weight: 700; font-size: 15px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.joinBar .jbPrice { color: var(--gold); font-weight: 800; font-size: 15px; white-space: nowrap; }
@media (max-width: 860px) { .joinBar { display: flex; } }
@keyframes tierFlash {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 18px 42px rgba(0,0,0,0.45); }
  50% { box-shadow: 0 0 0 3px rgba(var(--goldRGB),0.65), 0 18px 42px rgba(0,0,0,0.45); }
}
.tierFlash { animation: tierFlash 0.7s ease 2; }
.winFx {
  position: fixed; inset: 0; z-index: 400; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; pointer-events: none;
  background: rgba(0,0,0,0.38); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity 0.3s ease;
}
.winFx.show { opacity: 1; }
.winFx p { font-size: 21px; font-weight: 800; text-shadow: 0 2px 14px rgba(0,0,0,0.6); }
.winFx .paidCheck { margin: 0; }

/* Viewer portal: files open inside the site */
.viewerWrap {
  position: fixed; inset: 0; z-index: 380; display: none;
  background: rgba(0,0,0,0.82); backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.viewerWrap.open { display: flex; align-items: center; justify-content: center; }
.viewerCard {
  width: min(880px, 94vw); max-height: 92vh; overflow: auto; padding: 18px;
  animation: riseIn 0.35s cubic-bezier(0.2, 0.9, 0.25, 1.15);
}
.viewerStage {
  border-radius: 16px; background: #000; border: 1px solid rgba(255,255,255,0.16);
  min-height: 240px; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.viewerStage img { max-width: 100%; max-height: 62vh; display: block; }
.viewerStage video { width: 100%; max-height: 62vh; display: block; background: #000; }
.viewerBar { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.viewerTitle { flex: 1; font-weight: 700; font-size: 17px; min-width: 0; }
.viewerCount { font-size: 13px; opacity: 0.75; white-space: nowrap; }

/* ---------- rewards: ranks, packs, crowns ---------- */
.goldText { color: var(--gold); }
.rankBar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; margin: 10px 0 8px; }
.rankBar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--goldDeep), var(--goldSoft)); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.packGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; margin-top: 14px; }
.packCard { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; padding: 14px; border-radius: 16px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: #fff; cursor: pointer; font-family: inherit; text-align: left; transition: transform .18s ease, border-color .18s ease; }
.packCard:hover { transform: translateY(-2px); border-color: rgba(var(--goldRGB),.65); }
.packAmt { font-size: 17px; font-weight: 700; }
.packBonus { color: var(--goldSoft); font-size: 13.5px; font-weight: 700; }
.packBonus.dim { color: rgba(255,255,255,.45); font-weight: 400; }
.packTotal { color: rgba(255,255,255,.66); font-size: 13px; }
.achShelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; margin-top: 12px; }
.achBadge { border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 2px; opacity: .48; }
.achBadge.on { opacity: 1; border-color: rgba(var(--goldRGB),.6); background: rgba(var(--goldRGB),.07); }
.achBadge .achCrown { font-size: 20px; color: rgba(255,255,255,.4); }
.achBadge.on .achCrown { color: var(--goldSoft); }
.achBadge b { font-size: 14.5px; }
#achFx { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: min(92vw, 380px); }
.achToast { display: flex; gap: 12px; align-items: center; width: 100%; padding: 12px 16px; border-radius: 16px; background: rgba(18,16,8,.92); border: 1px solid rgba(var(--goldRGB),.65); color: #fff; font-size: 14.5px; box-shadow: 0 18px 44px rgba(0,0,0,.5); opacity: 0; animation: achIn .55s cubic-bezier(.2,.9,.25,1.2) forwards; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.achToast.out { transition: opacity .5s ease, transform .5s ease; opacity: 0 !important; transform: translateY(-8px); animation: none; }
.achToast .achCrown { font-size: 26px; color: var(--goldSoft); animation: achPop .7s ease both; }
@keyframes achIn { from { opacity: 0; transform: translateY(-16px) scale(.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes achPop { 0% { transform: scale(.4) rotate(-14deg); } 60% { transform: scale(1.25) rotate(6deg); } 100% { transform: scale(1) rotate(0); } }

/* ---------- featured creator cards in the feed ---------- */
.featureCard .feedGif { width: 100%; border-radius: 14px; display: block; margin: 10px 0 12px; background: #111; }
.goldChip { background: rgba(var(--goldRGB),.16); color: var(--goldSoft); border: 1px solid rgba(var(--goldRGB),.5); }

/* ---------- avatar builder ---------- */
.avatarRow { display: flex; gap: 14px; align-items: center; }
.avatarBox { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; flex: none; border: 1px solid rgba(255,255,255,.16); }
.avatarBox.big { width: 110px; height: 110px; border-radius: 22px; }
.avatarBox svg { width: 100%; height: 100%; display: block; }
.avPick { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.avPickBtns { display: flex; align-items: center; gap: 10px; }
.avPickBtns b { min-width: 58px; text-align: center; font-size: 14.5px; text-transform: capitalize; }

/* ---------- familiar layout pass: engagement bar, profile tabs, media wall ---------- */
.cover { display: flex; align-items: flex-end; padding: 16px 20px; }
.cover span { font-size: 19px; font-weight: 700; color: var(--goldSoft); text-shadow: 0 2px 12px rgba(0,0,0,0.8); }
.postBar { display: flex; gap: 20px; align-items: center; border-top: 1px solid rgba(255,255,255,0.12); margin-top: 14px; padding-top: 11px; }
.postBarItem { font-size: 13.5px; opacity: 0.85; }
.tabBar { display: flex; gap: 4px; border-bottom: 1px solid rgba(255,255,255,0.16); margin: 24px 0 6px; }
.tabBtn { background: none; border: none; border-bottom: 2px solid transparent; color: #fff; font: inherit; font-size: 15px; font-weight: 700; padding: 10px 20px; cursor: pointer; opacity: 0.6; }
.tabBtn.on { opacity: 1; color: var(--goldSoft); border-bottom-color: var(--gold); }
.mediaGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.mTile { border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 12px; background: rgba(255,255,255,0.04); }
.mTileArt { font-size: 30px; text-align: center; padding: 20px 0 10px; color: var(--gold); }
.mTileTitle { font-size: 14px; margin: 4px 0 8px; overflow-wrap: anywhere; min-height: 18px; }
.mTileRow { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.suggestRow { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.suggestRow:last-child { border-bottom: none; }
@media (max-width: 640px) { .mediaGrid { grid-template-columns: repeat(2, 1fr); } }

/* Builder theme controls: density and corners, set from the owner builder.
   The accent itself rides the variables at the top of this file. */
body[data-density="compact"] .glass { padding: 14px; }
body[data-density="compact"] .hero { padding: 34px 0 18px; }
body[data-density="compact"] .postCard { padding: 12px; }
body[data-density="compact"] .packCard { padding: 12px; }
body[data-density="compact"] .secTitle { margin-top: 26px; }
body[data-corners="soft"] .glass, body[data-corners="soft"] .btn,
body[data-corners="soft"] .postCard, body[data-corners="soft"] .packCard,
body[data-corners="soft"] .mTile, body[data-corners="soft"] .prbBlock { border-radius: 10px; }
body[data-corners="sharp"] .glass, body[data-corners="sharp"] .btn,
body[data-corners="sharp"] .postCard, body[data-corners="sharp"] .packCard,
body[data-corners="sharp"] .mTile, body[data-corners="sharp"] .prbBlock { border-radius: 3px; }

/* Blocks the owner adds from the builder. */
.prbBlock { margin: 26px 0; }
.prbBlock h2 { font-size: 26px; margin-bottom: 8px; }
.prbBlock p { opacity: .88; font-size: 15px; }
.prbBannerImg { width: 100%; display: block; border-radius: 14px; }
.prbBannerCap { margin-top: 8px; font-size: 14px; opacity: .85; }
.prbStrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
@media (max-width: 640px) { .prbStrip { grid-template-columns: repeat(2, 1fr); } }
.prbTile { display: block; text-decoration: none; padding: 14px; }
.prbTile .tName { font-weight: 700; font-size: 15px; }
.prbTile .tSub { font-size: 13px; opacity: .8; margin-top: 4px; }
.prbTile .tMeta { font-size: 12px; color: var(--gold); margin-top: 6px; }
