/* ==========================================================================
   Look and feel. Colors live in :root below if you ever want to tweak them.
   ========================================================================== */

:root {
  --void: #000000;
  --bone: #ecebf5;
  --haze: #8b88a3;
  --dim: #7a7792; /* v23: was #5a5770; now readable on black and on panels (4.5:1, the accessibility minimum) */
  --uv: #9d7bff;
  --uv-rgb: 157, 123, 255;
  --ice: #8ff3ff;
  --gold: #ffd36b;
  --ok: #5ef2a0;
  --bad: #ff5c7a;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --glass: rgba(255, 255, 255, .035);
  --panel: #0c0b12;
  /* "OG j" supplies only the letter j (see its @font-face below); every other letter is Unbounded. */
  --f-display: "OG j", "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

/* Unbounded draws j with no hook, so @j looked cut off. Sora's j (same weight range, a similar wide shape) stands
   in for that one letter only; the browser fetches it only on pages that show a j in the display font. */
@font-face {
  font-family: "OG j";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sora/v17/xMQ9uFFYT72X5wkB_18qmnndmSdSnh2BAfO5mnuyOo1lfiQwV6-x.woff2) format("woff2");
  unicode-range: U+006A;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--void);
  color: var(--bone);
  font: 400 16px/1.5 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
::selection { background: rgba(var(--uv-rgb), .45); color: #fff; }
a { color: inherit; }
img, video, svg { display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; }
.ic { width: 1em; height: 1em; flex: none; }
.sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.app { position: relative; z-index: 1; }

/* ---------- banner ---------- */
.banner {
  position: relative;
  z-index: 60;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px;
  background: var(--gold);
  color: #1a1300;
  font-size: 14px;
  text-align: center;
}
.banner--bad { background: var(--bad); color: #14000a; } /* v23: dark text, easier to read than white on pink */
.banner strong { font-weight: 700; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) clamp(16px, 4vw, 40px) 14px;
  background: linear-gradient(#000 45%, rgba(0, 0, 0, 0));
}
.nav[hidden] { display: none; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font: 700 17px/1 var(--f-display);
  letter-spacing: -.02em;
  text-decoration: none;
}
.logo svg { width: 15px; height: 15px; color: var(--ice); filter: drop-shadow(0 0 6px rgba(143, 243, 255, .8)); }
.nav-links { display: flex; align-items: center; gap: clamp(12px, 2.6vw, 26px); font-size: 15px; }
.nav-links a:not(.btn), .linkish {
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--haze);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.nav-links a:not(.btn):hover, .linkish:hover, .nav-links a[aria-current="page"] { color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--bone);
  color: #000;
  font: 600 15px/1 var(--f-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: box-shadow .2s, transform .1s, background .2s, opacity .2s;
}
.btn:hover { box-shadow: 0 0 0 4px rgba(var(--uv-rgb), .25), 0 0 32px rgba(var(--uv-rgb), .55); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn .ic { width: 16px; height: 16px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-wide { width: 100%; }
.btn-ghost { background: transparent; color: var(--bone); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(var(--uv-rgb), .75), 0 0 24px rgba(var(--uv-rgb), .25); }
.btn-danger { background: transparent; color: var(--bad); box-shadow: inset 0 0 0 1px rgba(255, 92, 122, .35); }
.btn-danger:hover { box-shadow: inset 0 0 0 1px var(--bad), 0 0 20px rgba(255, 92, 122, .25); }
.icon-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--haze);
  cursor: pointer;
}
.icon-btn:hover:not([disabled]) { background: rgba(255, 255, 255, .06); color: #fff; }
.icon-btn[disabled] { opacity: .3; cursor: default; }
.icon-btn .ic { width: 16px; height: 16px; }

/* ---------- sparkles ---------- */
.spk {
  position: absolute;
  z-index: 3;
  width: 10px;
  height: 10px;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: spk 1s ease-in-out forwards;
  filter: drop-shadow(0 0 4px currentColor);
}
.spk svg { width: 100%; height: 100%; fill: currentColor; }
@keyframes spk {
  0% { transform: translate(-50%, -50%) scale(0) rotate(0deg); opacity: 0; }
  35% { opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1) rotate(80deg); }
  100% { transform: translate(-50%, -50%) scale(0) rotate(170deg); opacity: 0; }
}

/* ---------- home: hero ---------- */
.hero { position: relative; padding: clamp(28px, 5vw, 72px) clamp(16px, 4vw, 40px) clamp(64px, 8vw, 104px); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(36% 52% at 78% 48%, rgba(var(--uv-rgb), .2), transparent 72%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.hero-title {
  margin: 0 0 20px;
  color: #fff;
  font: 700 clamp(32px, 5.2vw, 68px)/1.04 var(--f-display);
  letter-spacing: -.045em;
}
.hero-sub { max-width: 44ch; margin: 0 0 32px; color: var(--haze); font-size: 18px; line-height: 1.55; }
.claim-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 520px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow .2s;
}
.claim-bar:focus-within {
  box-shadow: inset 0 0 0 1px rgba(var(--uv-rgb), .85), 0 0 0 4px rgba(var(--uv-rgb), .16), 0 18px 50px -20px rgba(var(--uv-rgb), .7);
}
.claim-field { display: flex; flex: 1; align-items: center; min-width: 0; height: 50px; padding: 0 6px 0 16px; cursor: text; }
.claim-host { color: var(--haze); font: 600 17px var(--f-body); white-space: nowrap; }
.claim-field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0 0 0 1px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: 600 17px var(--f-body);
}
.claim-field input::placeholder { color: var(--dim); }
.claim-bar .btn { height: 50px; padding: 0 24px; border-radius: 12px; }
.claim-status { min-height: 22px; margin: 14px 0 0; color: var(--haze); font-size: 15px; }
.claim-status a { color: #fff; }
.ok { color: var(--ok); }
.bad { color: var(--bad); }
.hero-stats { min-height: 46px; margin: 6px 0 0; color: var(--dim); font-size: 14px; font-variant-numeric: tabular-nums; } /* v23: room for its two lines before the numbers load, so nothing moves */
.hero-phone { display: flex; justify-content: center; }
.hero-phone .phone { max-width: 300px; }

/* ---------- home: sections ---------- */
.section {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) clamp(16px, 4vw, 40px);
  border-top: 1px solid var(--line);
}
.sec-title {
  margin: 0 0 12px;
  color: #fff;
  font: 700 clamp(28px, 3.8vw, 44px)/1.08 var(--f-display);
  letter-spacing: -.035em;
}
.sec-lede { max-width: 52ch; margin: 0 0 40px; color: var(--haze); font-size: 17px; }
.sec-more { margin: 32px 0 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 40px; margin: 0; padding: 0; list-style: none; }
.feature-grid li { display: grid; align-content: start; gap: 6px; padding-top: 20px; border-top: 1px solid var(--line); }
.feature-grid .ic { width: 22px; height: 22px; margin-bottom: 6px; color: var(--ice); }
.feature-grid strong { color: #fff; font-size: 17px; font-weight: 600; }
.feature-grid span { color: var(--haze); font-size: 15px; }

.phone {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 18.5;
  padding: 10px;
  border-radius: 46px;
  background: #050507;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 120px -40px rgba(var(--uv-rgb), .6);
}
.phone > .pf-host {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 36px;
  isolation: isolate;
}

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  background: var(--glass);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--bone);
  font-size: 14px;
  white-space: nowrap;
}
.badge-chip .ic { width: 18px; height: 18px; color: var(--bc); filter: drop-shadow(0 0 6px var(--bc)); }
.badge-chip .price { color: var(--gold); font-variant-numeric: tabular-nums; }
.badge-chip .earned { color: var(--dim); }

.foot {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px clamp(16px, 4vw, 40px) calc(32px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 14px;
}
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--haze); text-decoration: none; }
.foot a:hover { color: #fff; }

/* ---------- forms ---------- */
.auth {
  display: grid;
  place-items: center;
  min-height: calc(100dvh - 80px);
  padding: 24px 16px 88px;
}
.auth-panel { width: 100%; max-width: 410px; }
.auth-title {
  margin: 0 0 10px;
  color: #fff;
  font: 700 clamp(30px, 6vw, 42px)/1.08 var(--f-display);
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.auth-title .nm { text-shadow: 0 0 14px rgba(var(--uv-rgb), .9), 0 0 40px rgba(var(--uv-rgb), .45); }
.auth-lede { margin: 0 0 28px; color: var(--haze); }
.auth-panel > .auth-title + .form { margin-top: 26px; }
.auth-alt { margin: 24px 0 0; color: var(--haze); font-size: 15px; }
.auth-alt a { color: #fff; }
/* sign up: referral field at the bottom of the form */
.ref-box { color: var(--haze); font-size: 14px; }
.ref-box summary { width: fit-content; cursor: pointer; }
.ref-box[open] summary { margin-bottom: 10px; }
.ref-box .hint { margin: 6px 0 0; }
.ref-box .hint b { color: var(--bone); }
.lb-today { margin-left: 6px; color: var(--ok); font-size: 12px; font-weight: 500; }
.form { display: grid; gap: 16px; }
.lbl { display: grid; gap: 7px; color: var(--haze); font-size: 14px; }
.lbl > label { color: var(--haze); }
.inp {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  color: #fff;
  font: 400 16px/1.4 var(--f-body);
  transition: border-color .15s, box-shadow .15s;
}
textarea.inp { height: auto; min-height: 98px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
select.inp { padding-right: 8px; cursor: pointer; background-color: #0b0a10; }
select.inp option { background-color: #0b0a10; color: #fff; }
.inp:-webkit-autofill, .field-prefix input:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px #0b0a10 inset;
  caret-color: #fff;
  transition: background-color 9999s ease-out 0s;
}
.inp:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #0b0a10 inset, 0 0 0 3px rgba(var(--uv-rgb), .22); }
.inp:focus { outline: none; border-color: rgba(var(--uv-rgb), .9); box-shadow: 0 0 0 3px rgba(var(--uv-rgb), .22); }
.inp::placeholder { color: var(--dim); }
.field-prefix {
  display: flex;
  align-items: center;
  height: 46px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  transition: border-color .15s, box-shadow .15s;
}
.field-prefix:focus-within { border-color: rgba(var(--uv-rgb), .9); box-shadow: 0 0 0 3px rgba(var(--uv-rgb), .22); }
.field-prefix span { padding: 0 1px 0 14px; color: var(--dim); white-space: nowrap; }
.field-prefix input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 14px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: 600 16px var(--f-body);
}
.hint { min-height: 20px; margin: -9px 0 0; color: var(--haze); font-size: 13px; }
.hint.ok { color: var(--ok); }
.hint.bad { color: var(--bad); }
.form-err { margin: 0; color: var(--bad); font-size: 14px; }
.form-err:empty { display: none; }

/* ---------- dashboard ---------- */
.dash { max-width: 1180px; margin: 0 auto; padding: 4px clamp(16px, 4vw, 40px) 150px; }
.dash-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0 28px;
  border-bottom: 1px solid var(--line);
}
.dash-id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.dash-av {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(var(--uv-rgb), .9), #0c0b12);
  box-shadow: 0 0 0 2px #000, 0 0 0 3px rgba(var(--uv-rgb), .8);
  color: #fff;
  font: 800 22px var(--f-display);
}
.dash-av img { width: 100%; height: 100%; object-fit: cover; }
.dash-name {
  position: relative;
  display: inline-block;
  color: #fff;
  font: 700 clamp(22px, 3vw, 28px)/1.15 var(--f-display);
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
  text-shadow: 0 0 12px rgba(var(--uv-rgb), .8);
}
.dash-sub { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 2px; color: var(--haze); font-size: 14px; font-variant-numeric: tabular-nums; }
.dash-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dash-tabs.seg { display: none; margin: 20px 0 0; }
.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.dash-preview { position: sticky; top: 84px; padding-top: 28px; }
.preview-note { max-width: 340px; margin: 14px 0 0; color: var(--dim); font-size: 13px; text-align: center; }
.ed-sec { padding: 30px 0; border-bottom: 1px solid var(--line); }
.ed-sec:last-child { border-bottom: 0; }
.ed-sec h2 { margin: 0 0 18px; color: #fff; font: 700 20px/1.2 var(--f-display); letter-spacing: -.025em; }
.ed-sec h2 + .sec-note { margin-top: -10px; }
.sec-note { margin: 0 0 18px; color: var(--haze); font-size: 14px; }
.ed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ed-grid .full { grid-column: 1 / -1; }
.lbl-row { display: flex; justify-content: space-between; gap: 12px; }
.lbl-row .val { color: var(--bone); font-variant-numeric: tabular-nums; }
.count { justify-self: end; color: var(--dim); font-size: 12px; font-variant-numeric: tabular-nums; }
.media-row { display: flex; align-items: center; gap: 8px; }
.media-row .inp { flex: 1; min-width: 0; }
.color-row { display: flex; gap: 8px; }
.color-row .inp { width: 120px; font-variant-numeric: tabular-nums; }
input[type="color"] {
  width: 46px;
  height: 46px;
  flex: none;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: none;
  cursor: pointer;
}
input[type="color"]::-webkit-color-swatch-wrapper { padding: 5px; }
input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 6px; }
input[type="color"]::-moz-color-swatch { border: 0; border-radius: 6px; }
input[type="range"] { width: 100%; margin: 8px 0 2px; accent-color: var(--uv); cursor: pointer; }

.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 0 0 1px var(--line);
}
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.seg span { display: block; padding: 7px 12px; border-radius: 8px; color: var(--haze); font-size: 14px; cursor: pointer; transition: background .15s, color .15s; }
.seg input:checked + span { background: rgba(255, 255, 255, .11); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--ice); outline-offset: 1px; }
.seg input:disabled + span { opacity: .4; cursor: not-allowed; }
.seg input:disabled { cursor: not-allowed; }

.toggles { display: grid; gap: 4px; }
.tgl { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 0; cursor: pointer; }
.tgl strong { display: block; color: var(--bone); font-size: 15px; font-weight: 600; }
.tgl small { display: block; color: var(--haze); font-size: 13px; }
.tgl input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.sw {
  position: relative;
  width: 44px;
  height: 26px;
  flex: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  transition: background .2s, box-shadow .2s;
}
.sw::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s;
}
.tgl input:checked + .sw { background: var(--uv); box-shadow: 0 0 16px rgba(var(--uv-rgb), .55); }
.tgl input:checked + .sw::after { transform: translateX(18px); }
.tgl input:focus-visible + .sw { outline: 2px solid var(--ice); outline-offset: 2px; }
.sub-field { padding: 0 0 10px; }

.lk-list { display: grid; gap: 10px; margin-bottom: 16px; }
.lk { display: grid; grid-template-columns: 136px minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.lk-btns { display: flex; gap: 2px; }
.acct-email { margin: 22px 0 14px; color: var(--haze); font-size: 14px; overflow-wrap: anywhere; }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

.savebar {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: rgba(16, 14, 24, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 60px rgba(0, 0, 0, .7);
  transform: translate(-50%, 160%);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.savebar.show { transform: translate(-50%, 0); }
.savebar > span { margin-right: 6px; color: var(--bone); font-size: 15px; white-space: nowrap; }

/* ---------- shop ---------- */
.page { max-width: 880px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 40px) 120px; }
.page--wide { max-width: 1180px; }
.page-title {
  margin: 0 0 14px;
  color: #fff;
  font: 800 clamp(44px, 8vw, 80px)/1 var(--f-display);
  letter-spacing: -.045em;
  text-shadow: 0 0 22px rgba(var(--uv-rgb), .55);
}
.page-lede { max-width: 54ch; margin: 0 0 44px; color: var(--haze); font-size: 17px; }
.shop-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.shop-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.shop-ic {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 0 1px var(--line), 0 0 32px -10px var(--bc);
  color: var(--bc);
}
.shop-ic .ic { width: 26px; height: 26px; filter: drop-shadow(0 0 8px var(--bc)); }
.shop-name { color: #fff; font: 700 18px/1.2 var(--f-display); letter-spacing: -.02em; }
.shop-desc { margin-top: 3px; color: var(--haze); font-size: 15px; }
.shop-price { color: var(--gold); font: 700 18px var(--f-display); font-variant-numeric: tabular-nums; }
.shop-sub { margin: 56px 0 6px; color: #fff; font: 700 20px var(--f-display); letter-spacing: -.025em; }
.shop-sub + .sec-note { margin-bottom: 18px; }

/* ---------- modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: fade-in .18s ease-out;
}
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 470px;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 28px;
  border-radius: 22px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 120px -20px rgba(var(--uv-rgb), .45);
  outline: none;
}
.modal-x { position: absolute; top: 14px; right: 14px; }
.buy-head { display: flex; align-items: center; gap: 16px; margin: 0 40px 24px 0; }
.modal-title { margin: 0; color: #fff; font: 700 24px/1.15 var(--f-display); letter-spacing: -.03em; }
.buy-price { margin: 2px 0 0; color: var(--gold); font: 700 18px var(--f-display); }
.buy-price .buy-scope { display: block; margin-top: 6px; color: var(--dim); font: 400 13px/1.45 var(--f-body); }
.savebar[hidden] { display: none; }
.buy-steps { display: grid; gap: 16px; margin: 0 0 26px; padding: 0 0 0 22px; color: var(--haze); }
.buy-steps li::marker { color: var(--ice); font-weight: 700; }
.buy-steps strong { display: block; color: #fff; font-weight: 600; }
.buy-steps b { color: #fff; }
.buy-warn { margin: 0 0 22px; color: var(--bone); }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- admin ---------- */
.adm-search { max-width: 420px; margin-bottom: 10px; }
.adm-row {
  display: grid;
  grid-template-columns: 44px minmax(120px, 200px) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.adm-av {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(var(--uv-rgb), .8), #0c0b12);
  color: #fff;
  font: 800 17px var(--f-display);
}
.adm-av img { width: 100%; height: 100%; object-fit: cover; }
.adm-who a { color: #fff; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.adm-who a:hover { text-decoration: underline; }
.adm-who small { display: block; color: var(--dim); font-size: 13px; font-variant-numeric: tabular-nums; }
.adm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px 0 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--dim);
  font: 500 13px var(--f-body);
  cursor: pointer;
  transition: box-shadow .15s, color .15s, background .15s;
}
.bchip .ic { width: 14px; height: 14px; }
.bchip:hover { color: var(--bone); }
.bchip.on { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--bc), 0 0 16px -4px var(--bc); color: #fff; }
.bchip.on .ic { color: var(--bc); }
.bchip[disabled] { opacity: .5; }

/* ---------- misc pages ---------- */
.center-page {
  display: grid;
  place-items: center;
  min-height: calc(100dvh - 80px);
  padding: 40px 16px 88px;
  text-align: center;
}
.big-wrap { position: relative; display: inline-block; max-width: 100%; }
.big-name {
  color: #fff;
  font: 800 clamp(40px, 7vw, 88px)/1.05 var(--f-display);
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
  text-shadow: 0 0 18px rgba(var(--uv-rgb), .9), 0 0 60px rgba(var(--uv-rgb), .45);
}
.center-page p { margin: 20px auto 26px; max-width: 46ch; color: var(--haze); font-size: 17px; }
.loading { display: grid; place-items: center; min-height: 50vh; }
.loading svg { width: 26px; height: 26px; color: var(--ice); fill: currentColor; filter: drop-shadow(0 0 8px var(--ice)); animation: pulse 1.1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.55) rotate(45deg); opacity: .5; } }
@keyframes fade-in { from { opacity: 0; } }

.toasts {
  position: fixed;
  top: calc(16px + env(safe-area-inset-top, 0px));
  left: 50%;
  z-index: 100;
  display: grid;
  gap: 8px;
  width: min(92vw, 420px);
  transform: translateX(-50%);
  pointer-events: none;
}
.toast {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(16, 14, 24, .97);
  box-shadow: inset 0 0 0 1px rgba(94, 242, 160, .35), 0 16px 40px rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 15px;
  animation: toast-in .25s ease-out;
  transition: opacity .35s, transform .35s;
}
.toast--err { box-shadow: inset 0 0 0 1px rgba(255, 92, 122, .5), 0 16px 40px rgba(0, 0, 0, .55); }
.toast.out { opacity: 0; transform: translateY(-6px); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } }

/* ==========================================================================
   Bio pages (what visitors see at yoursite/username)
   ========================================================================== */

.pf-host { position: relative; }
.pf-host--page { position: fixed; inset: 0; z-index: 5; }
.pf {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  background: #000;
  color: #fff;
  font-family: var(--f-body);
  container-type: inline-size;
}
.pf-bg { position: absolute; inset: 0; z-index: 0; }
.pf-bg img, .pf-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(var(--blur));
  transform: scale(var(--bgscale, 1));
}
.pf-bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, var(--dim)); }
.pf-bg--default {
  background:
    radial-gradient(75% 45% at 50% 0%, rgba(var(--acc-rgb), .34), transparent 70%),
    radial-gradient(60% 35% at 50% 100%, rgba(var(--acc-rgb), .14), transparent 70%),
    #000;
}
.pf-bg--default::after { display: none; }
.pf-fx { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.pf-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: calc(64px + env(safe-area-inset-top, 0px)) 18px calc(28px + env(safe-area-inset-bottom, 0px));
  scrollbar-width: none;
}
.pf-stage::-webkit-scrollbar { display: none; }
.pf-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: auto 0;
  padding: 32px 26px 24px;
  border-radius: 26px;
  background: rgba(8, 8, 12, var(--card));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 90px -30px rgba(var(--acc-rgb), .55);
  -webkit-backdrop-filter: blur(var(--cblur, 16px)) saturate(1.2);
  backdrop-filter: blur(var(--cblur, 16px)) saturate(1.2);
  text-align: center;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .12s ease-out;
}
.pf-card.is-resting { transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.pf-card--bare { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.pf-avatar {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  margin: 0 auto 18px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(var(--acc-rgb), .95), #0c0b12);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .9), 0 0 0 5px rgba(var(--acc-rgb), .95), 0 0 44px rgba(var(--acc-rgb), .6);
}
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pf-avatar .initial { color: #fff; font: 800 42px/1 var(--f-display); }
.pf-namewrap { position: relative; display: inline-block; max-width: 100%; }
.pf-name {
  margin: 0;
  color: #fff;
  font: 700 32px/1.15 var(--f-display);
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.fx-glow .pf-name { text-shadow: 0 0 10px rgba(var(--acc-rgb), .95), 0 0 32px rgba(var(--acc-rgb), .55); }
.fx-sparkle .pf-name {
  background: linear-gradient(100deg, #fff 0%, #fff 38%, var(--ice) 50%, #fff 62%, #fff 100%) 0 50% / 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 9px rgba(var(--acc-rgb), .95)) drop-shadow(0 0 24px rgba(var(--acc-rgb), .5));
  animation: sweep 4.5s linear infinite;
}
.fx-rainbow .pf-name {
  background: linear-gradient(90deg, #ff6ad5, #c774e8, #ad8cff, #8795e8, #94d0ff, #ff6ad5) 0 50% / 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(199, 116, 232, .55));
  animation: sweep 4s linear infinite;
}
@keyframes sweep { to { background-position: 200% 50%; } }
.pf-handle { margin: 4px 0 0; color: rgba(255, 255, 255, .55); font-size: 14px; overflow-wrap: anywhere; }
.pf-badges {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 14px 0 0;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  list-style: none;
}
.pf-badge { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--bc); outline: none; }
.pf-badge .ic { width: 18px; height: 18px; filter: drop-shadow(0 0 5px var(--bc)); }
.pf-badge:focus-visible { box-shadow: 0 0 0 2px var(--ice); }
.pf-badge .tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  z-index: 5;
  padding: 5px 9px;
  border-radius: 8px;
  background: #0e0d15;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity .15s, transform .15s;
}
.pf-badge:hover .tip, .pf-badge:focus-visible .tip { opacity: 1; transform: translate(-50%, 0); }
.pf-bio {
  max-width: 34ch;
  min-height: 1.55em;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, .84);
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -.16em;
  background: var(--acc, var(--ice));
  box-shadow: 0 0 8px var(--acc, var(--ice));
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.pf-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.pf-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pf-meta .ic { width: 14px; height: 14px; }
.pf-links { margin-top: 22px; }
.pf-links--pills { display: grid; gap: 10px; }
.pf-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 8px 16px 8px 8px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  color: #fff;
  font: 600 15px var(--f-body);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .1s;
}
.pf-link:hover, .pf-link:focus-visible {
  outline: none;
  background: rgba(var(--acc-rgb), .13);
  box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .6), 0 0 28px -8px rgba(var(--acc-rgb), .75);
}
.pf-link:active { transform: scale(.99); }
span.pf-link { cursor: default; }
.pf-link-ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  background: rgba(var(--acc-rgb), .18);
}
.pf-link-ic .ic { width: 18px; height: 18px; }
.pf-link-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-link-type { color: rgba(255, 255, 255, .45); font-size: 13px; font-weight: 500; }
.pf-links--icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pf-links--icons .pf-link { justify-content: center; width: 48px; height: 48px; min-height: 48px; padding: 0; border-radius: 50%; }
.pf-links--icons .pf-link-ic { background: transparent; }
.pf-links--icons .pf-link-label, .pf-links--icons .pf-link-type {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
}
.pf-foot { margin-top: 26px; font-size: 12px; }
.pf-foot a, .pf-foot span { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .4); text-decoration: none; }
.pf-foot a:hover { color: #fff; }
.pf-foot svg { width: 10px; height: 10px; fill: currentColor; }
.pf-trail { position: absolute; inset: 0; z-index: 7; overflow: hidden; pointer-events: none; }
.pf-vol {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top, 0px));
  left: 14px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .38);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  color: #fff;
  cursor: pointer;
}
.pf-vol .ic { width: 18px; height: 18px; }
.pf-enter {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 24px;
  border: 0;
  background: rgba(0, 0, 0, .62);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  color: #fff;
  font: 500 clamp(16px, 2.2vw, 20px)/1.3 var(--f-display);
  letter-spacing: -.01em;
  text-shadow: 0 0 14px rgba(var(--acc-rgb), .95);
  cursor: pointer;
  transition: opacity .7s ease, visibility .7s;
}
.pf-enter:focus-visible { outline: none; }
.pf-enter.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.pf-blank { position: fixed; inset: 0; z-index: 5; display: grid; place-items: center; background: #000; }

@container (max-width: 380px) {
  .pf-card { padding: 26px 18px 20px; border-radius: 22px; }
  .pf-avatar { width: 88px; height: 88px; margin-bottom: 16px; }
  .pf-name { font-size: 26px; }
  .pf-bio { font-size: 14px; }
  .pf-link { min-height: 50px; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .dash-tabs.seg { display: inline-flex; }
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .dash-preview { position: static; display: flex; flex-direction: column; align-items: center; }
  .dash-grid[data-view="edit"] .dash-preview { display: none; }
  .dash-grid[data-view="preview"] .dash-editor { display: none; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .lk { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lk .lk-url { grid-column: 1 / -1; grid-row: 2; }
  .lk-btns { grid-column: 1 / -1; justify-content: flex-end; }
  .adm-row { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .adm-chips { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .claim-host, .claim-field input { font-size: 16px; }
  .claim-field { padding-left: 12px; }
  .claim-bar .btn { padding: 0 18px; }
  .ed-grid { grid-template-columns: minmax(0, 1fr); }
  .nav-links { gap: 14px; font-size: 14px; }
  .nav-links [data-act="logout"] { display: none; }
  .shop-item { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; }
  .shop-ic { width: 48px; height: 48px; border-radius: 14px; }
  .shop-item .btn { grid-column: 2 / -1; justify-self: start; }
  .savebar { width: calc(100% - 24px); justify-content: flex-end; }
  .savebar > span { margin-right: auto; }
  .media-row { flex-wrap: wrap; }
  .media-row .inp { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ==========================================================================
   Verified seal, Premium, shop upgrades
   ========================================================================== */
.gold { color: var(--gold); }
.foot-help { color: var(--haze); }
.foot-help a, .shop-help a, .auth-alt a, .sec-note a, .prem-note a, .auth-lede a { color: #fff; }
.shop-help { margin: 44px 0 0; color: var(--haze); font-size: 15px; }

.pf-nameline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; max-width: 100%; }
.pf-verified {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  outline: none;
  animation: v-pop .7s cubic-bezier(.2, 1.6, .4, 1) .25s both;
}
.pf-verified svg { width: 100%; height: 100%; overflow: visible; animation: v-glow 2.8s ease-in-out infinite; }
.pf-verified .v-seal { transform-box: view-box; transform-origin: 12px 12px; animation: v-spin 12s linear infinite; }
.pf-verified .tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  z-index: 5;
  padding: 5px 9px;
  border-radius: 8px;
  background: #0e0d15;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  color: #fff;
  font: 600 12px var(--f-body);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity .15s, transform .15s;
}
.pf-verified:hover .tip, .pf-verified:focus-visible .tip { opacity: 1; transform: translate(-50%, 0); }
.pf-verified:focus-visible { box-shadow: 0 0 0 2px var(--ice); }
@keyframes v-pop { from { transform: scale(0) rotate(-120deg); opacity: 0; } }
@keyframes v-spin { to { transform: rotate(360deg); } }
@keyframes v-glow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(79, 157, 255, .75)); }
  50% { filter: drop-shadow(0 0 11px rgba(79, 157, 255, 1)); }
}
@container (max-width: 380px) { .pf-verified { width: 22px; height: 22px; } }
.dash-check { display: inline-block; width: 22px; height: 22px; margin-left: 8px; vertical-align: -3px; }
.dash-check svg { width: 100%; height: 100%; filter: drop-shadow(0 0 5px rgba(79, 157, 255, .8)); }

.fx-glitch .pf-name { position: relative; text-shadow: 0 0 12px rgba(var(--acc-rgb), .8); }
.fx-glitch .pf-name::before, .fx-glitch .pf-name::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  text-shadow: none;
  mix-blend-mode: screen;
}
.fx-glitch .pf-name::before { color: #ff3df2; clip-path: inset(0 0 55% 0); transform: translate(-2px, 0); animation: glitch-a 2.6s steps(1) infinite; }
.fx-glitch .pf-name::after { color: #3df6ff; clip-path: inset(55% 0 0 0); transform: translate(2px, 0); animation: glitch-b 2.6s steps(1) infinite; }
@keyframes glitch-a {
  0%, 84%, 100% { transform: translate(-2px, 0); clip-path: inset(0 0 55% 0); }
  86% { transform: translate(-6px, -1px); clip-path: inset(10% 0 60% 0); }
  90% { transform: translate(5px, 1px); clip-path: inset(40% 0 30% 0); }
  94% { transform: translate(-3px, 0); clip-path: inset(70% 0 4% 0); }
}
@keyframes glitch-b {
  0%, 84%, 100% { transform: translate(2px, 0); clip-path: inset(55% 0 0 0); }
  87% { transform: translate(6px, 1px); clip-path: inset(62% 0 8% 0); }
  91% { transform: translate(-5px, -1px); clip-path: inset(18% 0 52% 0); }
  95% { transform: translate(3px, 0); clip-path: inset(4% 0 72% 0); }
}
.fx-chrome .pf-name {
  background: linear-gradient(180deg, #ffffff 0%, #dfe3ec 36%, #868ea0 50%, #eef1f7 64%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .35)) drop-shadow(0 4px 14px rgba(var(--acc-rgb), .55));
}
.pf-font-pixel .pf-name { font-family: "Silkscreen", monospace; font-weight: 700; font-size: 27px; letter-spacing: 0; }
.pf-font-gothic .pf-name { font-family: "UnifrakturMaguntia", serif; font-weight: 400; font-size: 40px; letter-spacing: 0; }
.pf-font-tech .pf-name { font-family: "Orbitron", sans-serif; font-weight: 900; font-size: 27px; letter-spacing: .02em; }

.prem {
  position: relative;
  margin: 0 0 8px;
  padding: 28px;
  border-radius: 24px;
  background: radial-gradient(80% 90% at 0% 0%, rgba(176, 123, 255, .22), transparent 60%), rgba(255, 255, 255, .03);
  box-shadow: inset 0 0 0 1px rgba(176, 123, 255, .35), 0 30px 80px -40px rgba(176, 123, 255, .7);
}
.prem-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.prem-title { margin: 0; color: #fff; font: 800 30px/1.05 var(--f-display); letter-spacing: -.035em; }
.prem-price { margin: 4px 0 0; color: var(--gold); font: 700 20px var(--f-display); }
.prem-price small { color: var(--haze); font: 500 14px var(--f-body); }
.prem-perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0 0 24px; padding: 0; list-style: none; }
.prem-perks li { display: flex; align-items: center; gap: 10px; color: var(--bone); font-size: 15px; }
.prem-perks .ic { width: 16px; height: 16px; color: var(--ok); }

.prem-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: -6px 0 20px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(176, 123, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(176, 123, 255, .25);
  color: var(--bone);
  font-size: 14px;
}
.prem-note .ic { width: 18px; height: 18px; margin-top: 1px; flex: none; color: #b07bff; }
.prem-note.on { background: rgba(94, 242, 160, .06); box-shadow: inset 0 0 0 1px rgba(94, 242, 160, .25); }
.prem-note.on .ic { color: var(--ok); }
.seg label.locked span { display: inline-flex; align-items: center; gap: 5px; opacity: .45; cursor: not-allowed; }
.seg label.locked .ic { width: 12px; height: 12px; }
.seg label.locked input { cursor: not-allowed; }
.tgl.locked { cursor: not-allowed; }
.tgl.locked .sw { opacity: .4; }
.tgl strong .ic { width: 13px; height: 13px; margin-left: 6px; vertical-align: -1px; color: #b07bff; }
.lk-note { margin: 10px 0 0; }
.lk-note:empty { display: none; }
.adm-acts { display: flex; gap: 2px; }

@media (max-width: 560px) {
  .prem { padding: 22px; }
  .prem-perks { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Link icons, entrance animation, avatar rings, neon card, explore page
   ========================================================================== */
.pf-link { overflow: hidden; }
.pf-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .13) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s ease;
  pointer-events: none;
}
.pf-link:hover::after, .pf-link:focus-visible::after { transform: translateX(120%); }
.pf-link-ic img { display: block; width: 18px; height: 18px; object-fit: contain; }
.v-num { font-weight: inherit; }
.lk { grid-template-columns: 34px 136px minmax(0, 1.3fr) minmax(0, 1fr) auto; }
.lk-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); color: var(--bone); }
.lk-ic img, .lk-ic .ic { display: block; width: 18px; height: 18px; object-fit: contain; }
@media (max-width: 760px) {
  .lk { grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1fr); }
  .lk .lk-url { grid-column: 1 / -1; grid-row: 2; }
  .lk-btns { grid-column: 1 / -1; justify-content: flex-end; }
}

.pf-share {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top, 0px));
  right: 14px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .38);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  color: #fff;
  cursor: pointer;
  transition: transform .15s;
}
.pf-share:hover { transform: scale(1.07); }
.pf-share .ic { width: 18px; height: 18px; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 16px; }
.eq i { width: 3px; height: 100%; border-radius: 2px; background: #fff; transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.35s; }
.eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

.pf--anim:not(.pf--in) .pf-card,
.pf--anim:not(.pf--in) .pf-card > :not(.pf-col),
.pf--anim:not(.pf--in) .pf-col > *,
.pf--anim:not(.pf--in) .pf-links > *,
.pf--anim:not(.pf--in) .pf-badge { opacity: 0; }
.pf--anim:not(.pf--in) .pf-verified { animation: none; }
.pf--anim.pf--in .pf-card { animation: card-in .7s cubic-bezier(.2, .8, .2, 1) backwards; }
.pf--anim.pf--in .pf-card > :not(.pf-col), .pf--anim.pf--in .pf-col > * { animation: rise .6s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 80ms + 120ms); }
.pf--anim.pf--in .pf-links > * { animation: rise .55s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--li, 0) * 60ms + 560ms); }
.pf--anim.pf--in .pf-badge { animation: badge-pop .5s cubic-bezier(.2, 1.6, .4, 1) backwards; animation-delay: calc(var(--bi, 0) * 90ms + 460ms); }
.pf--anim.pf--in .pf-verified { animation-delay: .55s; }
@keyframes card-in { from { opacity: 0; filter: blur(10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes badge-pop { from { opacity: 0; transform: scale(.3); } }

.pf-avwrap { position: relative; width: 104px; height: 104px; margin: 0 auto 18px; }
.pf-avwrap .pf-avatar { position: relative; z-index: 1; width: 100%; height: 100%; margin: 0; }
.ring-none .pf-avatar { box-shadow: none; }
.ring-pulse .pf-avatar { animation: ring-pulse 2.4s ease-in-out infinite; }
@keyframes ring-pulse { 50% { box-shadow: 0 0 0 3px rgba(0, 0, 0, .9), 0 0 0 8px rgba(var(--acc-rgb), .9), 0 0 70px rgba(var(--acc-rgb), .85); } }
.ring-spin::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--acc), #8ff3ff, #ff7ad9, #ffd36b, var(--acc));
  filter: drop-shadow(0 0 12px rgba(var(--acc-rgb), .7));
  animation: ring-spin 2.8s linear infinite;
}
.ring-spin .pf-avatar { box-shadow: 0 0 0 3px #000; }
.pf-avwrap.av-flat .pf-avatar { box-shadow: none; animation: none; }
.pf-avwrap.av-flat::before { content: none; }
@keyframes ring-spin { to { transform: rotate(360deg); } }
@container (max-width: 380px) { .pf-avwrap { width: 88px; height: 88px; margin-bottom: 16px; } }

@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.pf-card--neon { box-shadow: 0 0 50px -12px rgba(var(--acc-rgb), .8), 0 30px 90px -30px rgba(var(--acc-rgb), .55); }
.pf-card--neon::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--ang), var(--acc), #8ff3ff, #ff7ad9, var(--acc));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: neon-spin 4s linear infinite;
  pointer-events: none;
}
@keyframes neon-spin { to { --ang: 360deg; } }

.lb { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lb-row {
  display: grid;
  grid-template-columns: 34px 46px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  box-shadow: inset 0 0 0 1px var(--line);
  color: #fff;
  text-decoration: none;
  transition: box-shadow .2s, transform .15s, background .2s;
  animation: rise .5s cubic-bezier(.2, .8, .2, 1) backwards;
  animation-delay: calc(var(--i, 0) * 40ms);
}
.lb-row:hover { background: rgba(var(--acc-rgb), .08); box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .55), 0 0 28px -10px rgba(var(--acc-rgb), .7); transform: translateX(3px); }
.lb-rank { color: var(--dim); font: 800 18px var(--f-display); text-align: center; font-variant-numeric: tabular-nums; }
.lb-rank.top1 { color: var(--gold); text-shadow: 0 0 14px rgba(255, 211, 107, .7); }
.lb-rank.top2 { color: #dfe3ec; text-shadow: 0 0 12px rgba(223, 227, 236, .5); }
.lb-rank.top3 { color: #e7a46b; text-shadow: 0 0 12px rgba(231, 164, 107, .5); }
.lb-av { display: grid; place-items: center; width: 46px; height: 46px; overflow: hidden; border-radius: 50%; background: linear-gradient(140deg, rgba(var(--acc-rgb), .95), #0c0b12); box-shadow: 0 0 0 2px #000, 0 0 0 3px rgba(var(--acc-rgb), .8); font: 800 18px var(--f-display); }
.lb-av img { width: 100%; height: 100%; object-fit: cover; }
.lb-who { display: grid; min-width: 0; }
.lb-name { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; font: 700 16px var(--f-display); letter-spacing: -.02em; white-space: nowrap; }
.lb-check { display: inline-block; width: 17px; height: 17px; flex: none; }
.lb-check svg { width: 100%; height: 100%; filter: drop-shadow(0 0 4px rgba(79, 157, 255, .7)); }
.lb-u { overflow: hidden; color: var(--haze); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.lb-views { display: inline-flex; align-items: center; gap: 6px; color: var(--bone); font-size: 14px; font-variant-numeric: tabular-nums; }
.lb-views .ic { width: 15px; height: 15px; color: var(--haze); }
@media (max-width: 420px) {
  .nav-links { gap: 11px; font-size: 13.5px; }
  .logo { font-size: 15px; }
  .lb-row { grid-template-columns: 26px 40px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; }
  .lb-av { width: 40px; height: 40px; }
}

/* bio pages start below the demo-mode bar so its buttons stay clickable */
.pf-host--page { top: var(--banner-h, 0px); }

/* ==========================================================================
   Staff shield, hover labels on top, moving background glow, claim ticker
   ========================================================================== */
.pf-verified:hover, .pf-verified:focus-visible, .pf-staff:hover, .pf-staff:focus-visible,
.pf-badge:hover, .pf-badge:focus-visible { z-index: 10; }
.pf-badge { transition: transform .2s cubic-bezier(.2, 1.6, .4, 1); }
.pf-badge:hover, .pf-badge:focus-visible { transform: translateY(-2px) scale(1.15); }

.pf-staff {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: none;
  border-radius: 50%;
  outline: none;
  animation: v-pop .7s cubic-bezier(.2, 1.6, .4, 1) .4s both;
}
.pf-staff svg { width: 100%; height: 100%; overflow: visible; animation: st-glow 2.8s ease-in-out infinite; }
.pf-staff .tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  z-index: 5;
  padding: 5px 9px;
  border-radius: 8px;
  background: #0e0d15;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  color: #fff;
  font: 600 12px var(--f-body);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity .15s, transform .15s;
}
.pf-staff:hover .tip, .pf-staff:focus-visible .tip { opacity: 1; transform: translate(-50%, 0); }
.pf-staff:focus-visible { box-shadow: 0 0 0 2px var(--ice); }
@keyframes st-glow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(244, 63, 94, .7)); }
  50% { filter: drop-shadow(0 0 11px rgba(244, 63, 94, 1)); }
}
.pf--anim:not(.pf--in) .pf-staff { animation: none; }
.pf--anim.pf--in .pf-staff { animation-delay: .75s; }
@container (max-width: 380px) { .pf-staff { width: 21px; height: 21px; } }

.pf-bg--aurora::before, .pf-bg--aurora::after {
  content: "";
  position: absolute;
  display: block;
  width: 75%;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}
.pf-bg--aurora::before { top: -28%; left: -18%; background: radial-gradient(circle, rgba(var(--acc-rgb), .34), transparent 62%); animation: aurora-a 16s ease-in-out infinite alternate; }
.pf-bg--aurora::after { inset: auto -22% -32% auto; background: radial-gradient(circle, rgba(143, 243, 255, .16), transparent 62%); animation: aurora-b 21s ease-in-out infinite alternate; }
@keyframes aurora-a { to { transform: translate(38%, 26%) scale(1.3); } }
@keyframes aurora-b { to { transform: translate(-32%, -22%) scale(1.2); } }

.recent {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px clamp(16px, 4vw, 40px);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.recent[hidden] { display: none; }
.recent-label { display: inline-flex; flex: none; align-items: center; gap: 8px; color: var(--haze); font-size: 14px; white-space: nowrap; }
.recent-label .ic { width: 16px; height: 16px; color: var(--ice); }
.recent-track {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.recent-run { display: flex; gap: 28px; width: max-content; animation: marquee var(--dur, 30s) linear infinite; }
.recent:hover .recent-run { animation-play-state: paused; }
.recent-item { color: #fff; font: 700 15px var(--f-display); letter-spacing: -.02em; text-decoration: none; white-space: nowrap; text-shadow: 0 0 12px rgba(var(--uv-rgb), .6); }
.recent-item:hover { color: var(--ice); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* password page + bot check */
.captcha { min-height: 65px; }
.forgot { margin: -6px 0 0; font-size: 14px; }
.forgot a { color: var(--haze); }
.forgot a:hover { color: #fff; }

/* ==========================================================================
   Themes, Discord status, song bar, profile banner, custom cursors
   ========================================================================== */
.themes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.theme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px 0 7px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--bone);
  font: 600 14px var(--f-body);
  cursor: pointer;
  transition: box-shadow .15s, transform .1s;
}
.theme:hover { box-shadow: inset 0 0 0 1px var(--t), 0 0 18px -6px var(--t); }
.theme:active { transform: scale(.97); }
.theme-sw { width: 28px; height: 28px; border-radius: 8px; background: radial-gradient(circle at 30% 30%, var(--t), #0b0a10 78%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.theme .ic { width: 12px; height: 12px; color: #b07bff; }
.locked-field label { display: inline-flex; align-items: center; gap: 6px; }
.locked-field .ic { width: 13px; height: 13px; color: #b07bff; }
.dc-steps { display: grid; gap: 6px; margin: 12px 0 0; padding-left: 20px; color: var(--haze); font-size: 14px; }
.dc-steps b { color: var(--bone); }

.pf-dc { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); text-align: left; }
.pf-dc[hidden] { display: none; }
.pf-dc-av { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.pf-dc-av img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.pf-dc-dot { position: absolute; right: -2px; bottom: -2px; width: 15px; height: 15px; border: 3px solid #0b0a10; border-radius: 50%; background: #747f8d; }
.pf-dc-dot.is-online { background: #3ba55d; box-shadow: 0 0 10px rgba(59, 165, 93, .8); }
.pf-dc-dot.is-idle { background: #faa81a; }
.pf-dc-dot.is-dnd { background: #ed4245; }
.pf-dc-txt { display: grid; flex: 1; min-width: 0; }
.pf-dc-txt b { overflow: hidden; color: #fff; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.pf-dc-txt span { overflow: hidden; color: rgba(255, 255, 255, .6); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.pf-dc-art { flex: none; width: 40px; height: 40px; border-radius: 8px; object-fit: cover; box-shadow: 0 0 16px rgba(0, 0, 0, .5); }

.pf-song { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); text-align: left; }
.pf-song-btn { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; color: #000; cursor: pointer; }
.pf-song-btn .ic { width: 15px; height: 15px; fill: currentColor; }
.pf-song-meta { display: grid; flex: 1; gap: 7px; min-width: 0; }
.pf-song-meta b { overflow: hidden; color: #fff; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.pf-song-track { position: relative; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); cursor: pointer; }
.pf-song-track i { position: absolute; top: 0; bottom: 0; left: 0; width: 0; border-radius: inherit; background: var(--acc); box-shadow: 0 0 10px rgba(var(--acc-rgb), .8); }
.pf-song-time { flex: none; color: rgba(255, 255, 255, .55); font-size: 12px; font-variant-numeric: tabular-nums; }

.pf-banner { height: 128px; margin: -32px -26px 0; overflow: hidden; border-radius: 26px 26px 0 0; }
.pf-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pf-card--banner .pf-avwrap { margin-top: -54px; }
@container (max-width: 380px) {
  .pf-banner { height: 104px; margin: -26px -18px 0; border-radius: 22px 22px 0 0; }
  .pf-card--banner .pf-avwrap { margin-top: -46px; }
}
.pf--cur, .pf--cur * { cursor: var(--cur); }

/* ==========================================================================
   Reports, invites, link clicks, fire and ice names
   ========================================================================== */
.pf-report { margin-top: 10px; padding: 4px 8px; border: 0; background: none; color: rgba(255, 255, 255, .3); font: 500 12px var(--f-body); cursor: pointer; }
.pf-report:hover, .pf-report:focus-visible { color: #fff; }
.adm-reports { margin: 0 0 44px; }
.rp-row { display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rp-who a { color: #fff; font-weight: 600; text-decoration: none; }
.rp-who a:hover { text-decoration: underline; }
.rp-who small { display: block; color: var(--dim); font-size: 12px; }
.rp-reason { color: var(--bone); font-size: 14px; overflow-wrap: anywhere; }
.inv-bar { height: 6px; margin-top: 14px; overflow: hidden; border-radius: 6px; background: rgba(255, 255, 255, .08); }
.inv-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--uv), #ff8a3d); box-shadow: 0 0 12px rgba(255, 138, 61, .6); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.lk-clicks { min-width: 62px; margin-right: 4px; color: var(--haze); font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lk-clicks:empty { display: none; }
.fx-fire .pf-name {
  background: linear-gradient(0deg, #ff3d00 0%, #ff8a00 35%, #ffd36b 65%, #fff4c2 100%) 0 0 / 100% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 8px rgba(255, 110, 0, .85)) drop-shadow(0 0 22px rgba(255, 60, 0, .5));
  animation: fire 1.6s ease-in-out infinite alternate;
}
@keyframes fire { to { background-position: 0 100%; } }
.fx-ice .pf-name {
  background: linear-gradient(100deg, #e6fbff 0%, #8ff3ff 30%, #ffffff 50%, #7cc8ff 70%, #e6fbff 100%) 0 50% / 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 8px rgba(143, 243, 255, .9));
  animation: sweep 3.5s linear infinite;
}
@media (max-width: 560px) {
  .rp-row { grid-template-columns: minmax(0, 1fr) auto; }
  .rp-reason { grid-column: 1 / -1; grid-row: 2; }
}

/* ==========================================================================
   Views chart, explore tabs and search, badge info, copy look, avatar decorations
   ========================================================================== */
.st-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.st { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }
.st b { display: block; color: #fff; font: 800 22px/1.2 var(--f-display); font-variant-numeric: tabular-nums; }
.st span { color: var(--haze); font-size: 13px; }
.st-chart { display: flex; align-items: flex-end; gap: 3px; height: 130px; margin-top: 14px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.st-chart i { flex: 1; height: var(--h); min-height: 3px; border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, #b07bff, rgba(157, 123, 255, .3)); transition: height .6s cubic-bezier(.2, .8, .2, 1), background .15s; }
.st-chart i:hover { background: #fff; }
.st-axis { display: flex; justify-content: space-between; margin-top: 6px; color: var(--dim); font-size: 12px; }
.ex-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 22px; }
.ex-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }
.ex-tab { height: 34px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: var(--haze); font: 600 14px var(--f-body); cursor: pointer; }
.ex-tab[aria-pressed="true"] { background: rgba(255, 255, 255, .1); color: #fff; }
.ex-search { flex: 1; min-width: 180px; max-width: 320px; }
.ex-results { margin: 0 0 28px; }
.ex-results .lb-rank .ic { width: 16px; height: 16px; color: var(--haze); }
.bm { text-align: center; }
.bm-ic { display: inline-grid; place-items: center; width: 74px; height: 74px; margin: 4px auto 12px; border-radius: 22px; background: color-mix(in srgb, var(--bc) 15%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bc) 40%, transparent), 0 0 34px -6px var(--bc); color: var(--bc); }
.bm-ic svg, .bm-ic .ic { width: 34px; height: 34px; }
.bm .modal-actions { justify-content: center; }
.bm-given { margin-top: 14px; color: var(--dim); }
.pf-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 10px; }
.pf-acts .pf-report { margin-top: 0; }
.pf-copylook { padding: 4px 8px; border: 0; background: none; color: rgba(255, 255, 255, .3); font: 500 12px var(--f-body); cursor: pointer; }
.pf-copylook:hover, .pf-copylook:focus-visible { color: #fff; }
.has-deco .pf-avatar { z-index: 1; }
.deco-orbit { position: absolute; z-index: 2; inset: -16px; border-radius: 50%; pointer-events: none; animation: deco-spin 7s linear infinite; }
.deco-orbit i { position: absolute; width: 12px; height: 12px; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 5px var(--acc)) drop-shadow(0 0 10px var(--acc)); }
.deco-orbit i:nth-child(1) { top: -4px; left: calc(50% - 6px); }
.deco-orbit i:nth-child(2) { bottom: 12%; left: 4%; transform: scale(.75); }
.deco-orbit i:nth-child(3) { right: 4%; bottom: 12%; transform: scale(.55); }
.deco-halo { position: absolute; z-index: 2; top: -18px; left: 50%; width: 72%; height: 20px; border: 3px solid #ffe7a3; border-radius: 50%; box-shadow: 0 0 12px #ffd36b, 0 0 26px rgba(255, 211, 107, .7), inset 0 0 8px #ffd36b; pointer-events: none; transform: translateX(-50%); animation: halo-bob 3s ease-in-out infinite; }
.deco-flames { position: absolute; z-index: 0; inset: -14px; border-radius: 50%; background: conic-gradient(#ff3d00, #ff8a00, #ffd36b, #ff6a00, #ff3d00, #ff8a00, #ffd36b, #ff3d00); filter: blur(9px); opacity: .9; pointer-events: none; animation: deco-spin 2.6s linear infinite, flicker 1.1s ease-in-out infinite alternate; }
@keyframes deco-spin { to { transform: rotate(360deg); } }
@keyframes halo-bob { 50% { transform: translate(-50%, -5px); } }
@keyframes flicker { to { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .deco-orbit, .deco-halo, .deco-flames { animation: none; } }
@media (max-width: 560px) { .st b { font-size: 18px; } .st { padding: 12px; } .ex-search { max-width: none; } }

/* ==========================================================================
   Copy look button, players, gradient name, grid links, rounded avatars, checklist
   ========================================================================== */
.pf-copylook {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top, 0px));
  right: 64px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 16px 0 13px;
  border: 0;
  border-radius: 21px;
  background: rgba(0, 0, 0, .38);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  color: #fff;
  font: 600 13px var(--f-body);
  cursor: pointer;
  transition: transform .15s, box-shadow .2s;
}
.pf-copylook:hover, .pf-copylook:focus-visible { outline: none; color: #fff; box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .7), 0 0 22px -6px rgba(var(--acc-rgb), .9); }
.pf-copylook:active { transform: scale(.96); }
.pf-copylook .ic { width: 16px; height: 16px; }
.pf-embed { margin-top: 14px; overflow: hidden; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.pf-embed iframe { display: block; width: 100%; border: 0; }
.pf-embed--youtube iframe { height: auto; aspect-ratio: 16 / 9; }
.pf-embed-ph { display: flex; align-items: center; justify-content: center; gap: 8px; height: 76px; color: rgba(255, 255, 255, .55); font-size: 13px; }
.pf-embed-ph .ic { width: 18px; height: 18px; }
.fx-gradient .pf-name {
  background: linear-gradient(90deg, var(--ga), var(--gb), var(--ga)) 0 50% / 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--ga) 55%, transparent));
  animation: name-sweep 4s linear infinite;
}
@keyframes name-sweep { to { background-position: 200% 50%; } }
.pf-links--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pf-links--grid .pf-link { flex-direction: column; justify-content: center; gap: 8px; min-height: 92px; margin: 0; padding: 14px 10px; text-align: center; }
.pf-links--grid .pf-link-label { flex: none; max-width: 100%; }
.pf-links--grid .pf-link-type { display: none; }
.pf--sq .pf-avatar { border-radius: 28%; }
.pf--sq .ring-spin::before { border-radius: 32%; }
.pf--sq .deco-flames, .pf--sq .deco-orbit { border-radius: 34%; }
.ck-bar { height: 6px; margin: 4px 0 14px; overflow: hidden; border-radius: 6px; background: rgba(255, 255, 255, .08); }
.ck-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #9d7bff, #8ff3ff); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.ck-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.ck-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); color: var(--bone); font: 500 14px var(--f-body); text-align: left; cursor: pointer; }
.ck-item:hover { box-shadow: inset 0 0 0 1px rgba(157, 123, 255, .6); }
.ck-item .ic { flex: none; width: 18px; height: 18px; color: var(--dim); }
.ck-item.done { color: var(--haze); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .25); }
.ck-item.done .ic { color: #4ade80; }
.grad-pick { display: flex; align-items: center; gap: 8px; }
.grad-pick input[type="color"] { width: 44px; height: 40px; padding: 0; border: 0; border-radius: 10px; background: none; cursor: pointer; }
.grad-pick input:disabled { opacity: .4; cursor: not-allowed; }
.grad-sw { flex: 1; height: 40px; border-radius: 10px; background: linear-gradient(90deg, var(--ga), var(--gb)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.locked-field > span { display: inline-flex; align-items: center; gap: 6px; }
.locked-field > span .ic { width: 13px; height: 13px; color: #b07bff; }
@media (max-width: 420px) { .pf-copylook span { display: none; } .pf-copylook { width: 42px; padding: 0; justify-content: center; } }
.ck-ic { display: grid; flex: none; }
.pf-links--grid .pf-link:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ==========================================================================
   Site health, players list
   ========================================================================== */
.adm-health { margin: 0 0 40px; }
.hl { margin: 12px 0 14px; padding: 0; list-style: none; }
.hl li { display: grid; grid-template-columns: 12px minmax(110px, 150px) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.hl b { color: #fff; font-weight: 600; }
.hl li > span:nth-child(3) { color: var(--haze); }
.hl em { color: var(--bone); font-size: 13px; font-style: normal; white-space: nowrap; }
.hl-dot { width: 10px; height: 10px; border-radius: 50%; background: #747f8d; }
.hl-dot.ok { background: #4ade80; box-shadow: 0 0 10px rgba(74, 222, 128, .7); }
.hl-dot.bad { background: #ff5c5c; box-shadow: 0 0 10px rgba(255, 92, 92, .7); }
.hl-warn { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 92, 92, .08); box-shadow: inset 0 0 0 1px rgba(255, 92, 92, .35); color: var(--bone); font-size: 14px; line-height: 1.55; }
.hl-warn .ic { flex: none; width: 20px; height: 20px; margin-top: 2px; color: #ff8a8a; }
.hl-ok { color: #4ade80; font-size: 14px; }
.pl-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.pl-kind { min-width: 70px; color: var(--haze); font-size: 12px; text-align: right; white-space: nowrap; }
.pl-kind.bad { color: #ff7a7a; }
.pf-embed + .pf-embed { margin-top: 10px; }
.pf-embed--twitch iframe { height: auto; aspect-ratio: 16 / 9; }
@media (max-width: 560px) { .hl li { grid-template-columns: 12px minmax(0, 1fr) auto; } .hl li > span:nth-child(3) { display: none; } .pl-kind { min-width: 0; } }

/* ==========================================================================
   Round 14: theme tiles, entrance animations, enter screens, background scenes,
   decorations, link effects, preview replay
   ========================================================================== */
.themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin: 0 0 12px; }
.theme { display: grid; align-items: stretch; justify-items: stretch; gap: 8px; height: auto; padding: 6px 6px 10px; border-radius: 14px; text-align: center; }
.theme-sw { width: 100%; height: 54px; border-radius: 10px; background: radial-gradient(120% 90% at 20% 15%, var(--t) 0%, transparent 58%), radial-gradient(110% 90% at 85% 90%, var(--t2) 0%, transparent 62%), #08070c; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.theme-name { display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-size: 13px; }
.theme-acts { display: flex; justify-content: flex-end; margin: 0 0 24px; }
.theme-acts .ic { width: 14px; height: 14px; }
.prev-play { display: flex; width: max-content; margin: 14px auto 0; }
.prev-play .ic { width: 14px; height: 14px; fill: currentColor; }

/* Entrance animations (Premium). The default is the existing rise. */
.pf--anim.pf--in.ent-zoom .pf-card { animation: ent-zoom .9s cubic-bezier(.2, 1.35, .35, 1) backwards; }
@keyframes ent-zoom { from { opacity: 0; transform: scale(.5); filter: blur(14px); } }
.pf--anim.pf--in.ent-flip .pf-card { animation: ent-flip 1s cubic-bezier(.2, .85, .25, 1) backwards; transform-origin: 50% 0; }
@keyframes ent-flip { from { opacity: 0; transform: perspective(900px) rotateX(-80deg) translateY(-24px); } }
.pf--anim.pf--in.ent-drop .pf-card { animation: ent-drop 1.05s cubic-bezier(.3, 1.5, .5, 1) backwards; }
@keyframes ent-drop { from { opacity: 0; transform: translateY(-75vh) rotate(-4deg); } 40% { opacity: 1; } }
.pf--anim.pf--in.ent-spin .pf-card { animation: ent-spin 1s cubic-bezier(.2, .9, .25, 1.05) backwards; }
@keyframes ent-spin { from { opacity: 0; transform: rotate(-220deg) scale(.15); } }
.pf--anim.pf--in.ent-slide .pf-card { animation: ent-slide .9s cubic-bezier(.2, .95, .2, 1) backwards; }
@keyframes ent-slide { from { opacity: 0; transform: translateX(-110px) skewX(12deg); filter: blur(8px); } }
.pf--anim.pf--in.ent-blur .pf-card { animation: ent-blur 1.3s ease-out backwards; }
@keyframes ent-blur { from { opacity: 0; transform: scale(1.1); filter: blur(30px) brightness(2.6); } 55% { opacity: 1; filter: blur(4px) brightness(1.4); } }
.pf--anim.pf--in.ent-glitch .pf-card { animation: ent-glitch .9s steps(1, end) backwards; }
@keyframes ent-glitch {
  0% { opacity: 0; }
  10% { opacity: 1; transform: translate(-16px, 4px) skewX(16deg); clip-path: inset(8% 0 58% 0); filter: drop-shadow(-7px 0 #ff2a6d) drop-shadow(7px 0 #05d9e8); }
  20% { transform: translate(14px, -3px); clip-path: inset(62% 0 6% 0); }
  30% { transform: translate(-9px, 0) skewX(-12deg); clip-path: inset(28% 0 36% 0); }
  40% { opacity: .55; transform: translate(7px, 2px); clip-path: inset(0 0 72% 0); }
  52% { opacity: 1; transform: none; clip-path: inset(0); filter: drop-shadow(-4px 0 #ff2a6d) drop-shadow(4px 0 #05d9e8); }
  66% { transform: translate(-3px, 0); filter: drop-shadow(-2px 0 #ff2a6d) drop-shadow(2px 0 #05d9e8); }
  82% { transform: translate(2px, 0); filter: none; }
  100% { transform: none; filter: none; clip-path: none; }
}

/* Enter screen styles */
.pf-enter .ew { display: inline-flex; align-items: center; }
.pf-enter--pulse .ew { animation: enter-pulse 2.4s ease-in-out infinite; }
@keyframes enter-pulse { 50% { opacity: .45; transform: scale(.95); } }
.pf-enter--flicker .et { text-shadow: 0 0 4px #fff, 0 0 12px rgba(var(--acc-rgb), 1), 0 0 30px rgba(var(--acc-rgb), .9), 0 0 60px rgba(var(--acc-rgb), .6); animation: neon-flicker 4s linear infinite; }
@keyframes neon-flicker { 0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; } 20%, 24%, 55% { opacity: .18; } }
.pf-enter--glitch .et { position: relative; display: inline-block; }
.pf-enter--glitch .et::before, .pf-enter--glitch .et::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; }
.pf-enter--glitch .et::before { color: #ff3df2; animation: glitch-a 2.2s steps(1) infinite; }
.pf-enter--glitch .et::after { color: #3df6ff; animation: glitch-b 2.2s steps(1) infinite; }
.pf-enter--pulse .caret, .pf-enter--flicker .caret, .pf-enter--glitch .caret { display: none; }
.pf-enter--type .et { min-width: 1px; }

/* Background scenes (shown when there is no background picture) */
.pf-scene { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.pf-scene i { position: absolute; display: block; }
.pf-scene--blobs i { width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); opacity: .5; will-change: transform; }
.pf-scene--blobs i:nth-child(1) { top: -14%; left: -12%; background: rgb(var(--acc-rgb)); animation: blob-a 18s ease-in-out infinite alternate; }
.pf-scene--blobs i:nth-child(2) { right: -16%; bottom: -20%; background: #7c3aed; animation: blob-b 23s ease-in-out infinite alternate; }
.pf-scene--blobs i:nth-child(3) { top: 34%; left: 36%; width: 28vmax; height: 28vmax; background: #06b6d4; opacity: .32; animation: blob-c 27s ease-in-out infinite alternate; }
@keyframes blob-a { to { transform: translate(34vw, 22vh) scale(1.25); } }
@keyframes blob-b { to { transform: translate(-30vw, -18vh) scale(1.15); } }
@keyframes blob-c { to { transform: translate(-24vw, 16vh) scale(1.4); } }
.pf-scene--grid { background: linear-gradient(180deg, #05000f 0%, #12002b 44%, #2b0057 59%, #05000f 60%, #05000f 100%); }
.pf-scene--grid .sun { left: 50%; top: 60%; width: min(52vmin, 400px); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -100%); background: linear-gradient(180deg, #ffe08a 0%, #ff9a5c 38%, #ff3df2 78%); box-shadow: 0 0 90px rgba(255, 61, 242, .55); -webkit-mask: linear-gradient(#000 0 52%, transparent 52% 56%, #000 56% 64%, transparent 64% 69%, #000 69% 76%, transparent 76% 82%, #000 82% 87%, transparent 87% 94%, #000 94%); mask: linear-gradient(#000 0 52%, transparent 52% 56%, #000 56% 64%, transparent 64% 69%, #000 69% 76%, transparent 76% 82%, #000 82% 87%, transparent 87% 94%, #000 94%); }
.pf-scene--grid .horizon { left: 0; right: 0; top: 60%; height: 2px; background: rgb(var(--acc-rgb)); box-shadow: 0 0 22px 5px rgba(var(--acc-rgb), .75); }
.pf-scene--grid .floor { left: -60%; right: -60%; top: 60%; height: 75%; background-image: linear-gradient(rgba(var(--acc-rgb), .85) 2px, transparent 2px), linear-gradient(90deg, rgba(var(--acc-rgb), .85) 2px, transparent 2px); background-size: 64px 64px; transform: perspective(260px) rotateX(66deg); transform-origin: 50% 0; animation: grid-move 1.4s linear infinite; -webkit-mask: linear-gradient(transparent, #000 30%); mask: linear-gradient(transparent, #000 30%); }
@keyframes grid-move { to { background-position: 0 64px; } }
.pf-scene--nebula { background: radial-gradient(ellipse at 22% 30%, rgba(var(--acc-rgb), .42), transparent 55%), radial-gradient(ellipse at 80% 72%, rgba(124, 58, 237, .45), transparent 55%), radial-gradient(ellipse at 62% 18%, rgba(6, 182, 212, .28), transparent 50%), #030008; }
.pf-scene--nebula i { inset: -45%; background: conic-gradient(from 0deg, transparent, rgba(var(--acc-rgb), .2), transparent 28%, rgba(147, 51, 234, .22), transparent 58%, rgba(56, 189, 248, .18), transparent 80%); filter: blur(46px); animation: deco-spin 70s linear infinite; }
.pf-scene--nebula i:nth-child(2) { inset: -30%; opacity: .7; animation-duration: 110s; animation-direction: reverse; }
.pf-scene--storm { background: radial-gradient(ellipse at 50% -10%, #263449, #050914 68%); }
.pf-scene--storm .cloud { inset: -10% -30% auto; height: 60%; background: radial-gradient(40% 50% at 20% 30%, rgba(71, 85, 105, .55), transparent 70%), radial-gradient(35% 45% at 60% 20%, rgba(51, 65, 85, .6), transparent 70%), radial-gradient(40% 50% at 90% 35%, rgba(71, 85, 105, .5), transparent 70%); filter: blur(18px); animation: cloud-drift 40s ease-in-out infinite alternate; }
.pf-scene--storm .flash { inset: 0; opacity: 0; background: radial-gradient(ellipse at 28% 0%, rgba(219, 234, 254, .6), transparent 60%); animation: lightning 7s infinite; }
.pf-scene--storm .flash:nth-child(3) { background: radial-gradient(ellipse at 76% 0%, rgba(219, 234, 254, .55), transparent 60%); animation-duration: 9.5s; animation-delay: 3.4s; }
@keyframes cloud-drift { to { transform: translateX(14%); } }
@keyframes lightning { 0%, 88%, 100% { opacity: 0; } 89% { opacity: 1; } 90.5% { opacity: .15; } 92% { opacity: .9; } 95% { opacity: 0; } }
.pf-scene--sunset { background: linear-gradient(180deg, #1b0738 0%, #5d1858 34%, #d24f78 56%, #fb923c 66%, #1a0b1e 66.2%, #0b0612 100%); }
.pf-scene--sunset .sun { left: 50%; top: 66%; width: min(46vmin, 340px); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -100%); background: linear-gradient(#fff1a8, #ff9d5c 70%); box-shadow: 0 0 100px rgba(255, 170, 90, .8); -webkit-mask: linear-gradient(#000 0 60%, transparent 60% 64%, #000 64% 72%, transparent 72% 77%, #000 77% 84%, transparent 84% 90%, #000 90%); mask: linear-gradient(#000 0 60%, transparent 60% 64%, #000 64% 72%, transparent 72% 77%, #000 77% 84%, transparent 84% 90%, #000 90%); animation: sun-bob 9s ease-in-out infinite alternate; }
.pf-scene--sunset .sea { left: 0; right: 0; top: 66%; bottom: 0; background: repeating-linear-gradient(180deg, rgba(251, 146, 60, .28) 0 2px, transparent 2px 12px), linear-gradient(#1a0b1e, #0b0612); animation: sea-shimmer 3s linear infinite; }
@keyframes sun-bob { to { transform: translate(-50%, -93%); } }
@keyframes sea-shimmer { to { background-position: 0 12px; } }

/* New avatar decorations (Premium) */
.deco-crown { position: absolute; z-index: 3; top: -32px; left: 50%; width: 56px; transform: translateX(-50%) rotate(-10deg); transform-origin: 50% 100%; filter: drop-shadow(0 0 6px rgba(255, 211, 107, .95)) drop-shadow(0 0 16px rgba(255, 170, 40, .6)); pointer-events: none; animation: crown-bob 3.2s ease-in-out infinite; }
.deco-crown svg { display: block; width: 100%; height: auto; }
@keyframes crown-bob { 50% { transform: translateX(-50%) rotate(-6deg) translateY(-4px); } }
.deco-hearts { position: absolute; z-index: 2; inset: -20px; pointer-events: none; animation: deco-spin 10s linear infinite reverse; }
.deco-hearts i { position: absolute; color: #ff5c9a; font: 700 18px/1 system-ui, sans-serif; font-style: normal; text-shadow: 0 0 8px #ff5c9a, 0 0 16px rgba(255, 92, 154, .7); }
.deco-hearts i:nth-child(1) { top: -2px; left: calc(50% - 7px); }
.deco-hearts i:nth-child(2) { bottom: 10%; left: 2%; font-size: 14px; }
.deco-hearts i:nth-child(3) { right: 2%; bottom: 10%; font-size: 12px; }
.deco-bolt { position: absolute; z-index: 2; inset: -11px; pointer-events: none; }
.deco-bolt svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.deco-bolt circle { fill: none; stroke: #8ff3ff; stroke-width: 2.4; stroke-linecap: round; transform-box: view-box; transform-origin: 50% 50%; filter: drop-shadow(0 0 4px #8ff3ff) drop-shadow(0 0 10px rgba(var(--acc-rgb), .9)); }
.deco-bolt circle:nth-child(1) { stroke-dasharray: 3 9 14 7; animation: deco-spin 2.2s linear infinite, zap 1.4s steps(2) infinite; }
.deco-bolt circle:nth-child(2) { stroke: #fff; stroke-width: 1.3; stroke-dasharray: 10 16 4 12; animation: deco-spin 3.1s linear infinite reverse, zap 1.1s steps(2) infinite .3s; }
@keyframes zap { 50% { opacity: .35; } }

/* Link effects (Premium) */
.lfx-shine .pf-link::after { background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .3) 50%, transparent 65%); transition: none; animation: link-shimmer 3.8s ease-in-out infinite; animation-delay: calc(var(--li, 0) * 160ms + 1s); }
@keyframes link-shimmer { 0% { transform: translateX(-120%); } 45%, 100% { transform: translateX(120%); } }
.lfx-glow .pf-link { box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .5), 0 0 22px -8px rgba(var(--acc-rgb), .85); }
.lfx-glow .pf-link:hover, .lfx-glow .pf-link:focus-visible { background: rgba(var(--acc-rgb), .2); box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .95), 0 0 40px -4px rgba(var(--acc-rgb), .95); }
.lfx-bounce .pf-link { transition: background .2s, box-shadow .2s, transform .45s cubic-bezier(.3, 1.9, .45, 1); }
.lfx-bounce .pf-link:hover, .lfx-bounce .pf-link:focus-visible { transform: translateY(-4px) scale(1.025); }

@media (prefers-reduced-motion: reduce) {
  .pf-enter .ew, .pf-enter .et, .pf-enter .et::before, .pf-enter .et::after, .pf-scene i, .deco-crown, .deco-hearts, .deco-bolt circle, .lfx-shine .pf-link::after { animation: none !important; }
}

/* ==========================================================================
   Round 15: layouts, colors, button styles, screen effects, tags, likes,
   live widgets, the playlist player and the guestbook
   ========================================================================== */
.pf-col { min-width: 0; }
.pf-card { border-radius: var(--radius, 26px); background: rgba(var(--card-rgb, 8, 8, 12), var(--card)); }
.pf-banner { border-radius: var(--radius, 26px) var(--radius, 26px) 0 0; }
.pf-link { border-radius: calc(var(--radius, 26px) * .62); }
.pf-links--icons .pf-link { border-radius: min(calc(var(--radius, 26px) * 2), 50%); }
@container (max-width: 380px) {
  .pf-card { border-radius: min(var(--radius, 26px), 22px); }
  .pf-banner { border-radius: min(var(--radius, 26px), 22px) min(var(--radius, 26px), 22px) 0 0; }
}
.pf-font-page .pf-name { font-family: var(--f-body); }
.pf-badge img.bimg { object-fit: contain; border-radius: 4px; }

/* custom text color */
.pf--txt .pf-card, .pf--txt .pf-link, .pf--txt .pf-foot a, .pf--txt .pf-foot span { color: var(--txt); }
.pf--txt .pf-bio, .pf--txt .pf-gb-body p { color: color-mix(in srgb, var(--txt) 86%, transparent); }
.pf--txt .pf-handle, .pf--txt .pf-meta, .pf--txt .pf-link-type, .pf--txt .pf-aka, .pf--txt .wg-txt > span, .pf--txt .pf-pl-artist { color: color-mix(in srgb, var(--txt) 60%, transparent); }
.pf--txt .pf-name, .pf--txt .pf-dc-txt b, .pf--txt .wg, .pf--txt .wg-txt b, .pf--txt .pf-gb-who a, .pf--txt .pf-pl-title { color: var(--txt); }
.pf--txt.fx-sparkle .pf-name { background-image: linear-gradient(100deg, var(--txt) 0%, var(--txt) 38%, var(--ice) 50%, var(--txt) 62%, var(--txt) 100%); color: transparent; }
.pf--txt.fx-rainbow .pf-name, .pf--txt.fx-gradient .pf-name, .pf--txt.fx-chrome .pf-name, .pf--txt.fx-fire .pf-name, .pf--txt.fx-ice .pf-name { color: transparent; }

/* badge colors and link icon color */
.bt-accent .pf-badge { --bc: var(--acc) !important; }
.bt-white .pf-badge { --bc: #ffffff !important; }
.ic-accent .pf-link-ic { color: var(--acc); }

/* card edge and glow */
.card-border .pf-card { box-shadow: inset 0 0 0 1.5px rgba(var(--acc-rgb), .8), 0 30px 90px -30px rgba(var(--acc-rgb), .55); }
.card-flat .pf-card { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.card-flat.card-border .pf-card { box-shadow: inset 0 0 0 1.5px rgba(var(--acc-rgb), .8); }
.card-flat .pf-card--neon, .card-flat .pf-card--bare { box-shadow: none; }

/* link button styles */
.bs-outline .pf-link { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(var(--acc-rgb), .65); }
.bs-outline .pf-link-ic { background: transparent; }
.bs-solid .pf-link { background: var(--acc); box-shadow: 0 10px 26px -14px rgba(var(--acc-rgb), .95); color: var(--on-acc, #fff); }
.bs-solid .pf-link-type { color: inherit; opacity: .62; }
.bs-solid .pf-link-ic { background: rgba(0, 0, 0, .22); color: #fff; }
.bs-solid .pf-link:hover, .bs-solid .pf-link:focus-visible { background: var(--acc); box-shadow: 0 0 0 2px rgba(255, 255, 255, .85), 0 12px 34px -10px rgba(var(--acc-rgb), 1); filter: brightness(1.06); }
.bs-glass .pf-link { background: rgba(255, 255, 255, .09); -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .1), 0 12px 30px -16px rgba(0, 0, 0, .9); }
.bs-glass .pf-link-ic { background: rgba(255, 255, 255, .1); }

/* tags, other usernames, likes */
.pf-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.pf-tags li { padding: 3px 10px; border-radius: 999px; background: rgba(var(--acc-rgb), .14); box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .38); color: rgba(255, 255, 255, .88); font-size: 12px; font-weight: 600; }
.pf-tags li::before { content: "#"; margin-right: 1px; opacity: .5; }
.pf-tags li:has(> a) { padding: 0; }
.pf-tags li:has(> a)::before { content: none; }
.pf-tags a { display: inline-block; padding: 3px 10px; border-radius: 999px; color: inherit; text-decoration: none; transition: background .15s, color .15s; }
.pf-tags a::before { content: "#"; margin-right: 1px; opacity: .5; }
.pf-tags a:hover, .pf-tags a:focus-visible { outline: none; background: rgba(var(--acc-rgb), .28); color: #fff; }
.pf-aka { margin: 4px 0 0; color: rgba(255, 255, 255, .45); font-size: 12.5px; overflow-wrap: anywhere; }
.pf-aka span { color: rgba(255, 255, 255, .72); }
/* the same person's pages on TrapGod and OG Brokerage */
.pf-net { margin: 6px 0 0; line-height: 1.9; }
.pf-net a { display: inline-block; margin: 0 3px; padding: 2px 9px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; color: rgba(255, 255, 255, .85); font-size: 12px; font-weight: 600; text-decoration: none; transition: background .15s, border-color .15s; }
.pf-net a:hover, .pf-net a:focus-visible { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .45); color: #fff; }
/* v61: each network badge shows its site's logo; a 44px tap area on touch screens, same look */
.pf-net a { display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; position: relative; }
.pf-net img { width: 14px; height: 14px; border-radius: 4px; object-fit: contain; flex: none; }
@media (pointer: coarse) { .pf-net a::after { content: ""; position: absolute; inset: -11px -2px; } }
.pf-meta { align-items: center; }
.pf-like { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 8px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: inherit; font: inherit; cursor: pointer; transition: background .2s, box-shadow .2s, color .2s; }
.pf-like .ic { width: 14px; height: 14px; transition: transform .2s; }
.pf-like b { font-weight: 600; }
.pf-like:hover, .pf-like:focus-visible { outline: none; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 92, 138, .6); }
.pf-like.on { background: rgba(255, 92, 138, .14); box-shadow: inset 0 0 0 1px rgba(255, 92, 138, .5); color: #ff7aa2; }
.pf-like.on .ic { fill: currentColor; }
.pf-like.pop .ic { animation: like-pop .55s cubic-bezier(.2, 1.8, .4, 1); }
.pf-like:disabled { cursor: wait; }
@keyframes like-pop { 0% { transform: scale(1); } 35% { transform: scale(1.55); } 100% { transform: scale(1); } }

/* layouts */
.lay-left .pf-col--a { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: center; text-align: left; }
.lay-left .pf-col--a > :not(.pf-avwrap):not(.pf-idt) { grid-column: 1 / -1; }
.lay-left .pf-avwrap { width: 84px; height: 84px; margin: 0; }
.lay-left .pf-avatar .initial { font-size: 34px; }
.lay-left .pf-card--banner .pf-col--a { align-items: end; }
.lay-left .pf-card--banner .pf-avwrap { margin-top: -38px; }
.lay-left .pf-nameline, .lay-left .pf-meta, .lay-left .pf-tags { justify-content: flex-start; }
.lay-left .pf-bio { max-width: none; margin-left: 0; }
.lay-left .pf-badges { justify-content: flex-start; }
.lay-left .pf-name { font-size: 28px; }

.lay-wide .pf-card { max-width: 720px; }
.lay-wide .pf-bio { max-width: 56ch; }
.lay-wide .pf-links--pills, .lay-wide .pf-wgs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lay-wide .pf-links--pills .pf-link:last-child:nth-child(odd), .lay-wide .pf-wgs > :last-child:nth-child(odd) { grid-column: 1 / -1; }
@container (max-width: 600px) {
  .lay-wide .pf-links--pills, .lay-wide .pf-wgs { grid-template-columns: minmax(0, 1fr); }
}

@container (min-width: 780px) {
  .lay-split .pf-card:not(.pf-card--solo) { display: grid; grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); align-items: start; gap: 0 34px; max-width: 940px; padding: 30px; text-align: left; }
  .lay-split .pf-card:not(.pf-card--solo) .pf-banner { grid-column: 1 / -1; margin: -30px -30px 0; }
  .lay-split .pf-card:not(.pf-card--solo) .pf-col--a { position: sticky; top: 0; }
  .lay-split .pf-card:not(.pf-card--solo) .pf-avwrap { margin: 0 0 18px; }
  .lay-split .pf-card--banner:not(.pf-card--solo) .pf-avwrap { margin-top: -54px; }
  .lay-split .pf-card:not(.pf-card--solo) .pf-nameline, .lay-split .pf-card:not(.pf-card--solo) .pf-meta, .lay-split .pf-card:not(.pf-card--solo) .pf-tags, .lay-split .pf-card:not(.pf-card--solo) .pf-badges { justify-content: flex-start; }
  .lay-split .pf-card:not(.pf-card--solo) .pf-bio { max-width: none; margin-left: 0; }
  .lay-split .pf-card--banner:not(.pf-card--solo) .pf-col--b { padding-top: 22px; }
  .lay-split .pf-col--b > :first-child, .lay-split .pf-col--b > [hidden]:first-child + * { margin-top: 0; }
}

.lay-minimal .pf-card { max-width: 400px; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; text-shadow: 0 1px 14px rgba(0, 0, 0, .55); }
.lay-minimal .pf-card::before { display: none; }
.lay-minimal .pf-avwrap { width: 92px; height: 92px; }
.lay-minimal .pf-avatar { box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.lay-minimal .pf-avwrap::before { display: none; }
.lay-minimal .pf-badges { background: transparent; box-shadow: none; }
.lay-minimal .pf-name { font-size: 28px; }
.lay-minimal .pf-links--pills { gap: 8px; }

.lay-compact .pf-card { max-width: 400px; padding: 22px 18px 18px; }
.lay-compact .pf-card--banner .pf-banner { height: 96px; margin: -22px -18px 0; }
.lay-compact .pf-card--banner .pf-avwrap { margin-top: -40px; }
.lay-compact .pf-avwrap { width: 74px; height: 74px; margin-bottom: 12px; }
.lay-compact .pf-avatar .initial { font-size: 30px; }
.lay-compact .pf-name { font-size: 24px; }
.lay-compact .pf-bio { margin-top: 10px; font-size: 14px; }
.lay-compact .pf-badges { margin-top: 10px; }
.lay-compact .pf-meta { margin-top: 12px; font-size: 12px; }
.lay-compact .pf-links { margin-top: 16px; }
.lay-compact .pf-links--pills { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lay-compact .pf-links--pills .pf-link:last-child:nth-child(odd) { grid-column: 1 / -1; }
.lay-compact .pf-link { gap: 9px; min-height: 44px; padding: 6px 12px 6px 6px; font-size: 14px; }
.lay-compact .pf-link-ic { width: 32px; height: 32px; border-radius: 9px; }
.lay-compact .pf-link-type { display: none; }
@container (max-width: 330px) { .lay-compact .pf-links--pills { grid-template-columns: minmax(0, 1fr); } }

/* screen effects */
.pf-screen { position: absolute; inset: 0; z-index: 11; overflow: hidden; pointer-events: none; }
.pf-screen--crt { background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .3) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .6) 100%); animation: crt-flick 3.2s steps(2) infinite; }
.pf-screen--crt::after { content: ""; position: absolute; left: 0; right: 0; top: -20%; height: 18%; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .05), transparent); animation: scr-band 8s linear infinite; }
.scr-crt .pf-card { text-shadow: .6px 0 rgba(255, 40, 90, .35), -.6px 0 rgba(40, 220, 255, .35); }
@keyframes crt-flick { 50% { opacity: .9; } }
@keyframes scr-band { to { transform: translateY(700%); } }
.pf-screen--vhs::before, .pf-screen--grain::before {
  content: "";
  position: absolute;
  inset: -12%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .13;
  animation: grain .9s steps(1) infinite;
}
.pf-screen--grain::before { opacity: .16; }
.pf-screen--vhs { background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 30%, transparent 70%, rgba(0, 0, 0, .25)); }
.pf-screen--vhs::after { content: ""; position: absolute; left: 0; right: 0; top: -15%; height: 9%; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .08) 40%, rgba(255, 255, 255, .14) 50%, transparent); animation: scr-band 6.5s linear infinite; }
.scr-vhs .pf-card { text-shadow: 1.6px 0 rgba(255, 30, 90, .55), -1.6px 0 rgba(30, 220, 255, .5); }
.scr-vhs .pf-stage { animation: vhs-jitter 7s steps(1) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(4%, -4%); } 60% { transform: translate(-3%, -2%); } 80% { transform: translate(3%, 5%); } }
@keyframes vhs-jitter { 0%, 91%, 100% { transform: none; } 92% { transform: translateX(3px); } 93% { transform: translateX(-2px) skewX(.6deg); } 94% { transform: translateX(1px); } }

/* live widgets */
.pf-wgs { display: grid; gap: 10px; margin-top: 18px; }
.pf-wg[hidden] { display: none; }
.wg-skel { height: 66px; border-radius: calc(var(--radius, 26px) * .62); background: linear-gradient(100deg, rgba(255, 255, 255, .04) 30%, rgba(255, 255, 255, .1) 50%, rgba(255, 255, 255, .04) 70%) 0 0 / 220% 100%; animation: wg-shimmer 1.3s linear infinite; }
@keyframes wg-shimmer { to { background-position: -220% 0; } }
.wg { display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 10px 12px; border-radius: calc(var(--radius, 26px) * .62); background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); color: #fff; text-align: left; text-decoration: none; transition: box-shadow .2s, background .2s; }
a.wg:hover, a.wg:focus-visible { outline: none; background: rgba(var(--acc-rgb), .1); box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .55); }
.wg-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; overflow: hidden; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; font: 700 18px var(--f-display); text-transform: uppercase; }
.wg-ic img { width: 100%; height: 100%; object-fit: cover; }
.wg-ic--sq { border-radius: 10px; }
.wg-ic--sq img { image-rendering: auto; }
.wg-mc .wg-ic img { image-rendering: pixelated; }
.wg-ic--plain { background: rgba(var(--acc-rgb), .16); color: var(--acc); }
.wg-ic .ic { width: 22px; height: 22px; }
.wg-txt { display: grid; flex: 1; gap: 2px; min-width: 0; }
.wg-txt b { overflow: hidden; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.wg-txt b small { color: rgba(255, 255, 255, .5); font-size: 12px; font-weight: 500; }
.pf-wg { display: grid; }
.wg-txt > span { display: block; min-width: 0; overflow: hidden; color: rgba(255, 255, 255, .62); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.wg-txt > span.wg-sub { color: rgba(255, 255, 255, .45); }
.wg-txt > span.wg-kicker { color: rgba(255, 255, 255, .5); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wg .dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #747f8d; vertical-align: 0; }
.wg .dot.on { background: #3ba55d; box-shadow: 0 0 8px rgba(59, 165, 93, .9); }
.wg .dot.off { background: #ed4245; }
.wg-btn { flex: none; padding: 7px 13px; border: 0; border-radius: 999px; background: rgba(var(--acc-rgb), .2); box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .5); color: #fff; font: 600 12.5px var(--f-body); text-decoration: none; cursor: pointer; transition: background .2s; }
.wg-btn:hover, .wg-btn:focus-visible { outline: none; background: rgba(var(--acc-rgb), .4); }
/* v60: a 44px tap area on touch screens, same look */
@media (pointer: coarse) { .wg-btn { position: relative; } .wg-btn::after { content: ""; position: absolute; inset: -8px -6px; } }
.wg-brand { display: grid; flex: none; color: rgba(255, 255, 255, .32); }
.wg-brand .ic { width: 16px; height: 16px; }
.wg-txt > span.wg-chips { display: flex; flex-wrap: wrap; gap: 4px 6px; white-space: normal; }
.wg-chips i { padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: 11.5px; font-style: normal; }
.wg-chips i b { color: #fff; font-size: 11.5px; font-weight: 700; }
.wg-title { margin-right: 5px; padding: 0 4px; border-radius: 4px; background: #b5893b; color: #fff; font-size: 11px; font-style: normal; font-weight: 800; }
.wg-clock { flex: none; color: #fff; font: 700 15px var(--f-display); font-variant-numeric: tabular-nums; }
/* weather: the condition can wrap to a second line instead of being cut off; "your time" has its own line */
.wg-wx .wg-txt b { white-space: normal; overflow-wrap: anywhere; }
@container (max-width: 380px) { .wg-wx .wg-clock { font-size: 13px; } }
.wg-miss { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: calc(var(--radius, 26px) * .62); background: rgba(255, 170, 60, .08); box-shadow: inset 0 0 0 1px rgba(255, 170, 60, .35); color: rgba(255, 255, 255, .78); font-size: 12.5px; text-align: left; }
.wg-miss .ic { flex: none; width: 16px; height: 16px; color: #ffb35c; }

/* playlist player */
.pf-player { position: relative; isolation: isolate; margin-top: 14px; padding: 12px; overflow: hidden; border-radius: calc(var(--radius, 26px) * .62); background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); text-align: left; }
.pf-pl-bg { position: absolute; inset: -40px; z-index: -1; background: var(--cover) center / cover no-repeat; filter: blur(30px) saturate(1.5); opacity: 0; transition: opacity .6s; }
.pf-player.has-cover .pf-pl-bg { opacity: .38; }
.pf-pl-top { display: flex; align-items: center; gap: 12px; }
.pf-pl-art { display: grid; place-items: center; flex: none; width: 54px; height: 54px; overflow: hidden; border-radius: 12px; background: rgba(var(--acc-rgb), .2); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .8); color: var(--acc); }
.pf-pl-art img { width: 100%; height: 100%; object-fit: cover; }
.pf-pl-art .ic { width: 22px; height: 22px; }
.pf-pl-meta { display: grid; flex: 1; gap: 2px; min-width: 0; }
.pf-pl-title { overflow: hidden; color: #fff; font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.pf-pl-artist { overflow: hidden; color: rgba(255, 255, 255, .62); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.pf-pl-artist:empty { display: none; }
.pf-pl-bar { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: rgba(255, 255, 255, .55); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.pf-pl-bar .pf-song-track { flex: 1; height: 5px; }
.pf-song-track::before { content: ""; position: absolute; inset: -8px 0; }
.pf-song-track:focus-visible { outline: 2px solid var(--ice); outline-offset: 4px; }
.pf-pl-ctl { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px; }
.pf-pl-btn { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, .72); cursor: pointer; transition: color .15s, background .15s; }
.pf-pl-btn:hover, .pf-pl-btn:focus-visible { outline: none; background: rgba(255, 255, 255, .09); color: #fff; }
.pf-pl-btn.on { color: var(--acc); }
.pf-pl-btn:disabled { opacity: .3; cursor: default; }
.pf-pl-btn .ic { width: 18px; height: 18px; }
.pf-pl-play { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 8px 22px -6px rgba(var(--acc-rgb), .95); color: #000; cursor: pointer; transition: transform .12s; }
.pf-pl-play:active { transform: scale(.93); }
.pf-pl-play:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
.pf-pl-play .ic { width: 18px; height: 18px; fill: currentColor; }
.pf-pl-lyr { margin-left: auto; }
.pf-lyrics { position: relative; max-height: 200px; margin-top: 12px; padding: 18px 4px; overflow-y: auto; border-radius: 12px; background: rgba(0, 0, 0, .28); scrollbar-width: none; -webkit-mask: linear-gradient(transparent, #000 16%, #000 84%, transparent); mask: linear-gradient(transparent, #000 16%, #000 84%, transparent); }
.pf-lyrics::-webkit-scrollbar { display: none; }
.pf-lyrics[hidden] { display: none; }
.pf-lyrics p { margin: 0; padding: 4px 12px; color: rgba(255, 255, 255, .62); font-size: 14px; line-height: 1.45; text-align: center; overflow-wrap: anywhere; transition: color .25s, transform .25s, text-shadow .25s; }
.pf-lyrics.is-timed p { color: rgba(255, 255, 255, .36); cursor: pointer; }
.pf-lyrics.is-timed p:hover { color: rgba(255, 255, 255, .7); }
.pf-lyrics.is-timed p.on { color: #fff; font-weight: 700; text-shadow: 0 0 16px rgba(var(--acc-rgb), .85); transform: scale(1.04); }
.pf-lyrics p.none { color: rgba(255, 255, 255, .42); font-style: italic; }
.pf-lyrics p:focus-visible { outline: none; color: #fff; }
.pf-pl-list { display: grid; gap: 2px; max-height: 214px; margin: 10px 0 0; padding: 0; overflow-y: auto; list-style: none; scrollbar-width: thin; }
.pf-pl-list button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border: 0; border-radius: 10px; background: transparent; color: rgba(255, 255, 255, .78); font: 500 13px var(--f-body); text-align: left; cursor: pointer; }
.pf-pl-list button:hover, .pf-pl-list button:focus-visible { outline: none; background: rgba(255, 255, 255, .07); color: #fff; }
.pf-pl-list button.on { background: rgba(var(--acc-rgb), .17); color: #fff; }
.pf-pl-list .n { flex: none; width: 18px; color: rgba(255, 255, 255, .4); text-align: right; font-variant-numeric: tabular-nums; }
.pf-pl-list button.on .n { color: var(--acc); }
.pf-pl-list .tt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-pl-list .ar { max-width: 42%; overflow: hidden; color: rgba(255, 255, 255, .45); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }

/* guestbook */
.pf-gb { margin-top: 18px; padding: 12px; border-radius: calc(var(--radius, 26px) * .62); background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); text-align: left; }
.pf-gb[hidden] { display: none; }
.pf-gb-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.pf-gb-head b { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.pf-gb-head .ic { width: 15px; height: 15px; color: var(--acc); }
.pf-gb-n { color: rgba(255, 255, 255, .45); font-size: 12px; }
.pf-gb-form { display: flex; gap: 8px; margin: 0 0 10px; }
.pf-gb-in { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, .32); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: #fff; font: 500 14px var(--f-body); outline: none; }
.pf-gb-in::placeholder { color: rgba(255, 255, 255, .4); }
.pf-gb-in:focus { box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .85), 0 0 18px -6px rgba(var(--acc-rgb), .8); }
.pf-gb-send { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--acc); color: var(--on-acc, #fff); cursor: pointer; }
.pf-gb-send .ic { width: 16px; height: 16px; }
.pf-gb-send:disabled { opacity: .5; cursor: wait; }
.pf-gb-login { display: flex; align-items: center; gap: 8px; width: 100%; margin: 0; padding: 9px 12px; border-radius: 12px; background: rgba(0, 0, 0, .25); color: rgba(255, 255, 255, .65); font-size: 13px; }
.pf-gb-login .ic { flex: none; width: 14px; height: 14px; }
.pf-gb-login a { color: #fff; font-weight: 600; }
.pf-gb-list { display: grid; gap: 4px; max-height: 330px; margin: 0; padding: 0; overflow-y: auto; list-style: none; scrollbar-width: thin; }
.pf-gb-empty { margin: 0; padding: 10px 4px; color: rgba(255, 255, 255, .45); font-size: 13px; text-align: center; }
.pf-gb-msg { display: flex; align-items: flex-start; gap: 10px; padding: 8px 6px; border-radius: 12px; }
.pf-gb-msg.is-pinned { background: rgba(var(--acc-rgb), .1); box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .3); }
.pf-gb-av { display: grid; place-items: center; flex: none; width: 32px; height: 32px; overflow: hidden; border-radius: 50%; background: linear-gradient(140deg, rgba(var(--acc-rgb), .9), #0c0b12); color: #fff; font: 700 13px var(--f-display); text-decoration: none; text-transform: uppercase; }
.pf-gb-av img { width: 100%; height: 100%; object-fit: cover; }
.pf-gb-body { flex: 1; min-width: 0; }
.pf-gb-who { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: 12.5px; }
.pf-gb-who a { color: #fff; font-weight: 700; text-decoration: none; }
.pf-gb-who a:hover { text-decoration: underline; }
.pf-gb-who time { color: rgba(255, 255, 255, .4); }
.pf-gb-pin { display: inline-flex; align-items: center; gap: 3px; color: var(--acc); font-size: 11.5px; font-weight: 600; }
.pf-gb-pin .ic { width: 11px; height: 11px; }
.pf-gb-body p { margin: 2px 0 0; color: rgba(255, 255, 255, .86); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.pf-gb-acts { display: flex; flex: none; gap: 2px; opacity: .55; transition: opacity .15s; }
.pf-gb-msg:hover .pf-gb-acts, .pf-gb-acts:focus-within { opacity: 1; }
.pf-gb-acts button { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: rgba(255, 255, 255, .75); cursor: pointer; }
.pf-gb-acts button:hover, .pf-gb-acts button:focus-visible { outline: none; background: rgba(255, 255, 255, .09); color: #fff; }
.pf-gb-acts button:disabled { opacity: .4; cursor: wait; }
.pf-gb-acts .ic { width: 14px; height: 14px; }
.pf-gb-msg.is-pinned [data-gb="pin"] { color: var(--acc); }

@media (prefers-reduced-motion: reduce) {
  .wg-skel, .pf-screen, .pf-screen::before, .pf-screen::after, .scr-vhs .pf-stage, .pf-like.pop .ic { animation: none !important; }
  .pf-lyrics.is-timed p.on { transform: none; }
}

/* ==========================================================================
   Round 15 dashboard: jump bar, layout tiles, fonts, playlist and widget
   editors, visitor stats, extra usernames, share card
   ========================================================================== */
.ed-jump {
  position: sticky;
  top: calc(64px + env(safe-area-inset-top, 0px));
  z-index: 6;
  display: flex;
  gap: 6px;
  margin: 0 -4px;
  padding: 14px 4px 10px;
  overflow-x: auto;
  background: linear-gradient(#000 72%, rgba(0, 0, 0, 0));
  scrollbar-width: none;
}
.ed-jump::-webkit-scrollbar { display: none; }
.ed-jump button { flex: none; padding: 6px 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); color: var(--haze); font: 500 13px var(--f-body); cursor: pointer; transition: color .15s, background .15s, box-shadow .15s; }
.ed-jump button:hover { color: #fff; }
.ed-jump button.on { background: rgba(var(--uv-rgb), .16); box-shadow: inset 0 0 0 1px rgba(var(--uv-rgb), .55); color: #fff; }
.ed-sec { scroll-margin-top: 120px; }
.ed-sub { margin: 26px 0 10px; color: #fff; font: 600 15px/1.3 var(--f-body); }
.chk { display: flex; align-items: center; gap: 10px; margin: 10px 0 2px; color: var(--bone); font-size: 14px; cursor: pointer; }
.chk input { width: 18px; height: 18px; margin: 0; accent-color: var(--uv); cursor: pointer; }
.chk input:disabled + span { opacity: .45; }
.st-row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 560px) { .st-row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* layout tiles */
.lay-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.lay-tile { position: relative; display: grid; gap: 8px; padding: 8px 8px 10px; border-radius: 14px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); color: var(--haze); font-size: 13px; text-align: center; cursor: pointer; transition: box-shadow .15s, color .15s; }
.lay-tile input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.lay-tile b { font-weight: 600; }
.lay-tile:hover { color: #fff; }
.lay-tile:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--uv), 0 0 22px -8px rgba(var(--uv-rgb), .8); color: #fff; }
.lay-tile:has(input:focus-visible) { outline: 2px solid var(--ice); outline-offset: 2px; }
.lay-art { position: relative; display: block; height: 70px; overflow: hidden; border-radius: 9px; background: radial-gradient(80% 60% at 50% 0%, rgba(var(--uv-rgb), .35), transparent 70%), #07060c; }
.lay-art::before { content: ""; position: absolute; top: 9px; bottom: 7px; left: 50%; width: 46%; border-radius: 7px; background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transform: translateX(-50%); }
.lay-art i { position: absolute; display: block; border-radius: 3px; background: rgba(255, 255, 255, .55); }
.lay-art .a { top: 14px; left: calc(50% - 7px); width: 14px; height: 14px; border-radius: 50%; background: var(--uv); }
.lay-art .t { top: 32px; left: calc(50% - 14px); width: 28px; height: 3px; }
.lay-art .t2 { top: 38px; left: calc(50% - 9px); width: 18px; opacity: .5; }
.lay-art .p { left: calc(50% - 16px); width: 32px; height: 5px; opacity: .35; }
.lay-art .p:nth-of-type(4) { top: 45px; }
.lay-art .p:nth-of-type(5) { top: 52px; }
.lay-art .p:nth-of-type(6) { top: 59px; }
.lay-art--left .a { left: calc(50% - 20px); top: 16px; }
.lay-art--left .t { left: calc(50% - 2px); top: 17px; width: 20px; }
.lay-art--left .t2 { left: calc(50% - 2px); top: 23px; width: 14px; }
.lay-art--left .p:nth-of-type(4) { top: 36px; } .lay-art--left .p:nth-of-type(5) { top: 44px; } .lay-art--left .p:nth-of-type(6) { top: 52px; }
.lay-art--split::before { width: 78%; }
.lay-art--split .a { left: calc(50% - 29px); top: 18px; }
.lay-art--split .t { left: calc(50% - 34px); top: 37px; width: 24px; }
.lay-art--split .t2 { left: calc(50% - 34px); top: 43px; width: 16px; }
.lay-art--split .p { left: calc(50% - 2px); width: 34px; height: 9px; }
.lay-art--split .p:nth-of-type(4) { top: 15px; } .lay-art--split .p:nth-of-type(5) { top: 28px; } .lay-art--split .p:nth-of-type(6) { top: 41px; }
.lay-art--wide::before { width: 74%; }
.lay-art--wide .p { width: 26px; }
.lay-art--wide .p:nth-of-type(4) { top: 46px; left: calc(50% - 28px); } .lay-art--wide .p:nth-of-type(5) { top: 46px; left: calc(50% + 2px); } .lay-art--wide .p:nth-of-type(6) { top: 54px; left: calc(50% - 28px); width: 56px; }
.lay-art--minimal::before { display: none; }
.lay-art--minimal .a { box-shadow: 0 0 0 1.5px #fff; background: transparent; }
.lay-art--compact::before { width: 40%; top: 14px; bottom: 12px; }
.lay-art--compact .a { top: 18px; width: 10px; height: 10px; left: calc(50% - 5px); }
.lay-art--compact .t { top: 31px; width: 20px; left: calc(50% - 10px); }
.lay-art--compact .t2 { display: none; }
.lay-art--compact .p { width: 13px; height: 6px; }
.lay-art--compact .p:nth-of-type(4) { top: 38px; left: calc(50% - 14px); } .lay-art--compact .p:nth-of-type(5) { top: 38px; left: calc(50% + 1px); } .lay-art--compact .p:nth-of-type(6) { top: 46px; left: calc(50% - 14px); }
.seg--fonts span { font-size: 15px; }

/* playlist editor */
.tr-list { display: grid; gap: 12px; margin-bottom: 12px; }
.tr { display: grid; gap: 8px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--line); }
.tr-head { display: grid; grid-template-columns: 44px minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.tr-cover { display: grid; place-items: center; width: 44px; height: 44px; overflow: hidden; border-radius: 10px; background: rgba(var(--uv-rgb), .14); color: var(--uv); }
.tr-cover img { width: 100%; height: 100%; object-fit: cover; }
.tr-cover .ic { width: 20px; height: 20px; }
.tr-lyr summary { display: inline-flex; align-items: center; gap: 7px; padding: 4px 0; color: var(--bone); font-size: 14px; cursor: pointer; list-style: none; }
.tr-lyr summary::-webkit-details-marker { display: none; }
.tr-lyr summary .ic { width: 15px; height: 15px; color: var(--uv); }
.tr-lyr summary small { color: var(--dim); font-size: 12px; }
.tr-lyr[open] summary { margin-bottom: 6px; }
.tr-lyr textarea { width: 100%; min-height: 120px; font-variant-numeric: tabular-nums; }
.tr-foot { align-items: center; }
.tr-foot .sec-note { margin: 0; }
@media (max-width: 760px) {
  .tr-head { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .tr-head [data-tf="artist"] { grid-column: 2 / -1; grid-row: 2; }
}

/* widget editor */
.wg-list { display: grid; gap: 10px; margin-bottom: 14px; }
.wgr { display: grid; grid-template-columns: 34px minmax(150px, 196px) minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.wgr .lk-ic .ic { width: 17px; height: 17px; }
.wgr-note { grid-column: 2 / -1; display: flex; align-items: center; gap: 6px; margin: -2px 0 0; color: var(--haze); font-size: 13px; }
.wgr-note:empty { display: none; }
.wgr-note .ic { width: 14px; height: 14px; color: var(--uv); }
.wg-unit { min-width: 52px; padding: 0 10px; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .wgr { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .wgr [data-wf="v"] { grid-column: 1 / -1; grid-row: 2; }
  .wgr-note { grid-column: 1 / -1; }
}

/* visitor stats */
.vs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vs-col { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.vs-col h4 { margin: 0 0 10px; color: var(--bone); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.vs-col ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.vs-col li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; font-size: 13px; }
.vs-k { overflow: hidden; color: var(--bone); text-overflow: ellipsis; white-space: nowrap; }
.vs-col li b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.vs-bar { grid-column: 1 / -1; height: 4px; overflow: hidden; border-radius: 4px; background: rgba(255, 255, 255, .07); }
.vs-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--uv), #8ff3ff); }
@media (max-width: 760px) { .vs { grid-template-columns: minmax(0, 1fr); } }

/* extra usernames */
.al-list { display: grid; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.al-list li { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.al-list li.al-empty { padding: 10px 14px; color: var(--haze); font-size: 14px; }
.al-name { flex: 1; min-width: 0; overflow: hidden; color: var(--haze); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.al-name b { color: #fff; font-weight: 600; }
.al-add { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.al-add .field-prefix { flex: 1; min-width: 220px; }

/* share card */
.sc-img { display: block; width: 100%; max-width: 360px; height: auto; margin: 14px auto 0; border-radius: 16px; box-shadow: 0 20px 60px -20px rgba(var(--uv-rgb), .6); }

/* ==========================================================================
   Round 15 site: shop ribbon, free vs Premium, showcase, questions, explore
   likes, admin tools (spam, prices, badge maker, bulk delete)
   ========================================================================== */
.shop-ribbon { display: flex; align-items: flex-start; gap: 10px; margin: -20px 0 34px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(100deg, rgba(var(--uv-rgb), .14), rgba(143, 243, 255, .07)); box-shadow: inset 0 0 0 1px rgba(var(--uv-rgb), .35); color: var(--bone); font-size: 15px; }
.shop-ribbon .ic { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--ice); }
.shop-ribbon b { color: #fff; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 880px; }
.plan { display: grid; align-content: start; gap: 6px; padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.plan h3 { display: flex; align-items: center; gap: 8px; margin: 0; color: #fff; font: 700 20px var(--f-display); letter-spacing: -.02em; }
.plan h3 .ic { width: 20px; height: 20px; color: #b07bff; filter: drop-shadow(0 0 8px rgba(176, 123, 255, .8)); }
.plan-price { margin: 0 0 12px; color: var(--gold); font: 700 26px var(--f-display); font-variant-numeric: tabular-nums; }
.plan-price small { color: var(--haze); font: 500 14px var(--f-body); }
.plan ul { display: grid; gap: 9px; margin: 0 0 20px; padding: 0; list-style: none; }
.plan li { display: flex; align-items: flex-start; gap: 10px; color: var(--bone); font-size: 15px; }
.plan li .ic { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--ok); }
.plan .btn { justify-self: start; }
.plan--prem { background: radial-gradient(120% 90% at 100% 0%, rgba(176, 123, 255, .16), transparent 60%), rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(176, 123, 255, .45), 0 30px 80px -40px rgba(176, 123, 255, .7); }
@media (max-width: 700px) { .plans { grid-template-columns: minmax(0, 1fr); } }

.show-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.show-card { position: relative; display: grid; justify-items: center; gap: 2px; padding: 22px 16px 18px; overflow: hidden; border-radius: 20px; background: #07060c; box-shadow: inset 0 0 0 1px var(--line); color: #fff; text-align: center; text-decoration: none; isolation: isolate; transition: transform .2s, box-shadow .2s; }
.show-card:hover, .show-card:focus-visible { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .7), 0 18px 50px -20px rgba(var(--acc-rgb), .8); }
.show-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 50% 0%, rgba(var(--acc-rgb), .45), transparent 70%); }
.show-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; filter: blur(2px); }
.show-av { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 10px; overflow: hidden; border-radius: 50%; background: linear-gradient(140deg, rgba(var(--acc-rgb), .95), #0c0b12); box-shadow: 0 0 0 3px rgba(0, 0, 0, .9), 0 0 0 5px rgba(var(--acc-rgb), .9), 0 0 30px rgba(var(--acc-rgb), .55); font: 800 26px var(--f-display); }
.show-av img { width: 100%; height: 100%; object-fit: cover; }
.show-name { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; overflow: hidden; font: 700 17px var(--f-display); letter-spacing: -.02em; white-space: nowrap; }
.show-u { color: rgba(255, 255, 255, .55); font-size: 13px; }
.show-bio { display: -webkit-box; margin-top: 6px; overflow: hidden; color: rgba(255, 255, 255, .78); font-size: 14px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.show-meta { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: rgba(255, 255, 255, .6); font-size: 13px; font-variant-numeric: tabular-nums; }
.show-meta span { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; }
.show-meta .ic { width: 14px; height: 14px; }
@media (max-width: 860px) { .show-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .show-grid { grid-template-columns: minmax(0, 1fr); } }

.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { padding: 0 18px; border-radius: 14px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { padding: 16px 0; color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--haze); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: -4px 0 16px; color: var(--haze); font-size: 15px; line-height: 1.6; }

.lb-likes .ic { color: #ff7aa2; }

.adm-jump { display: flex; flex-wrap: wrap; gap: 6px; margin: -24px 0 30px; }
.adm-jump a { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); color: var(--haze); font-size: 13px; text-decoration: none; }
.adm-jump a:hover { color: #fff; }
.adm-box { margin: 0 0 40px; scroll-margin-top: 90px; }
.adm-health, .adm-reports, #adm-users { scroll-margin-top: 90px; }
.adm-box .shop-sub { margin-top: 0; }
.sp-stats { max-width: 640px; }
.pr-rows { display: grid; gap: 8px; max-width: 760px; }
.pr-row { display: grid; grid-template-columns: minmax(0, 1fr) 130px auto auto; gap: 10px; align-items: center; padding: 8px 8px 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--line); }
.pr-name { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: #fff; font-weight: 600; }
.pr-name > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-name .ic { width: 18px; height: 18px; color: var(--bc); filter: drop-shadow(0 0 5px var(--bc)); }
.pr-row .chk { margin: 0; }
.bm-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; }
.bm-form .full { grid-column: 1 / -1; }
.bm-icons { display: flex; flex-wrap: wrap; gap: 6px; }
.bm-pick { position: relative; }
.bm-pick input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.bm-pick span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); color: var(--haze); }
.bm-pick span .ic { width: 18px; height: 18px; }
.bm-pick input:checked + span { background: rgba(var(--uv-rgb), .16); box-shadow: inset 0 0 0 1.5px var(--uv); color: #fff; }
.bm-pick input:focus-visible + span { outline: 2px solid var(--ice); outline-offset: 2px; }
.bm-prev { display: flex; align-items: center; min-height: 46px; }
.adm-bulk { position: sticky; top: 70px; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 6px 0 4px; padding: 10px 0; background: linear-gradient(#000 80%, rgba(0, 0, 0, 0)); }
.adm-bulk .chk { margin: 0; }
.adm-sel { color: var(--bone); font-size: 14px; }
.adm-row { grid-template-columns: 22px 44px minmax(120px, 200px) minmax(0, 1fr) auto; }
.adm-pick { display: grid; place-items: center; }
.adm-pick input { width: 17px; height: 17px; margin: 0; accent-color: var(--uv); cursor: pointer; }
.adm-slots { display: inline-flex; align-items: center; gap: 2px; margin-left: 4px; padding: 0 4px 0 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--haze); font-size: 12.5px; white-space: nowrap; }
.adm-slots b { min-width: 14px; color: #fff; text-align: center; font-variant-numeric: tabular-nums; }
.adm-slots .icon-btn { width: 26px; height: 26px; font-size: 16px; line-height: 1; }
@media (max-width: 760px) {
  .adm-row { grid-template-columns: 22px 44px minmax(0, 1fr) auto; }
  .adm-chips { grid-column: 1 / -1; grid-row: 2; }
  .pr-row { grid-template-columns: minmax(0, 1fr) 110px; }
  .pr-row .chk, .pr-row [data-pr-save] { justify-self: start; }
  .bm-form { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Round 16: floating nav, home page, discover, templates, help
   ========================================================================== */
.nav {
  display: block;
  padding: calc(12px + env(safe-area-inset-top, 0px)) clamp(12px, 3vw, 28px) 10px;
  background: none;
  pointer-events: none;
}
.nav-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 7px 7px 7px 18px;
  border-radius: 999px;
  background: rgba(12, 11, 18, .74);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 50px -24px rgba(0, 0, 0, .9), 0 0 44px -20px rgba(var(--uv-rgb), .55);
  pointer-events: auto;
}
.nav-pill .logo { flex: none; }
.nav-pill .nav-links { gap: 2px; margin: 0 auto; font-size: 14.5px; }
.nav-pill .nav-links a:not(.btn) { padding: 7px 13px; border-radius: 999px; transition: color .15s, background .15s; }
.nav-pill .nav-links a:not(.btn):hover { background: rgba(255, 255, 255, .05); }
.nav-pill .nav-links a[aria-current="page"] { background: rgba(255, 255, 255, .09); }
.nav-acts { display: flex; flex: none; align-items: center; gap: 14px; }
.nav-quiet { padding: 6px 2px; border: 0; background: none; color: var(--haze); font: 400 14.5px var(--f-body); text-decoration: none; white-space: nowrap; cursor: pointer; }
.nav-quiet:hover, .nav-quiet[aria-current="page"] { color: #fff; }
.nav-acts .btn { height: 38px; }
.nav-menu { display: none; }
.nav-sheet {
  position: absolute;
  top: calc(100% - 2px);
  right: clamp(12px, 3vw, 28px);
  display: grid;
  gap: 2px;
  width: min(300px, calc(100% - 24px));
  padding: 8px;
  border-radius: 20px;
  background: rgba(12, 11, 18, .97);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px -20px rgba(0, 0, 0, .9);
  pointer-events: auto;
  animation: fade-in .15s ease-out;
}
.nav-sheet[hidden] { display: none; }
.nav-sheet a, .nav-sheet .linkish { display: block; width: 100%; padding: 11px 14px; border-radius: 12px; color: var(--bone); font-size: 15px; text-align: left; text-decoration: none; }
.nav-sheet a:hover, .nav-sheet .linkish:hover, .nav-sheet a[aria-current="page"] { background: rgba(255, 255, 255, .06); color: #fff; }
.nav-sheet-sep { height: 1px; margin: 6px 8px; background: var(--line); }
@media (max-width: 820px) {
  .nav-pill .nav-links { display: none; }
  .nav-menu { display: grid; }
  .nav-acts { margin-left: auto; }
  .nav-acts .nav-quiet { display: none; }
  .nav-pill { gap: 8px; padding: 6px 6px 6px 16px; }
}
.ed-jump { top: calc(80px + env(safe-area-inset-top, 0px)); }
.ed-sec { scroll-margin-top: 140px; }
.dash-preview { top: 92px; }
.adm-bulk { top: 82px; }
.adm-box, .adm-health, .adm-reports, #adm-users { scroll-margin-top: 100px; }

.kicker { display: flex; margin: 0 0 14px; }
.kicker span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(143, 243, 255, .06); box-shadow: inset 0 0 0 1px rgba(143, 243, 255, .24); color: var(--ice); font: 600 11.5px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.kicker span::before { content: "["; opacity: .55; }
.kicker span::after { content: "]"; opacity: .55; }

.hero16 .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 520px); gap: clamp(32px, 5vw, 72px); }
.live-chip { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 6px 12px 6px 11px; border-radius: 999px; background: rgba(94, 242, 160, .06); box-shadow: inset 0 0 0 1px rgba(94, 242, 160, .3); color: var(--bone); font-size: 13.5px; text-decoration: none; transition: box-shadow .2s; }
.live-chip b { color: var(--ok); font-size: 11px; letter-spacing: .14em; }
.live-chip .dot, .pf-live .dot, .st--live .dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #3fe08a; animation: live-ping 1.8s ease-out infinite; }
.live-chip .ic { width: 14px; height: 14px; color: var(--haze); transition: transform .2s; }
.live-chip:hover { box-shadow: inset 0 0 0 1px rgba(94, 242, 160, .7), 0 0 26px -8px rgba(94, 242, 160, .7); }
.live-chip:hover .ic { transform: translateX(3px); color: #fff; }
@keyframes live-ping { 0% { box-shadow: 0 0 0 0 rgba(63, 224, 138, .6); } 100% { box-shadow: 0 0 0 9px rgba(63, 224, 138, 0); } }
.hero-grad { background: linear-gradient(100deg, #fff 10%, var(--ice) 42%, #b9a3ff 68%, #fff 95%) 0 50% / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sweep 7s linear infinite; }
.hero-show { display: grid; gap: 14px; justify-items: center; min-width: 0; }
.browser { width: 100%; max-width: 520px; overflow: hidden; border-radius: 18px; background: #08070d; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 120px -40px rgba(var(--uv-rgb), .75); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); background: #0d0c14; }
.browser-bar i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-url { flex: 1; min-width: 0; max-width: 300px; margin: 0 auto; padding: 5px 12px; overflow: hidden; border-radius: 8px; background: rgba(255, 255, 255, .05); color: var(--haze); font-size: 12.5px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.browser-url b { color: #fff; font-weight: 600; }
.browser-body { position: relative; height: clamp(400px, 44vw, 540px); }
.browser-body > .pf-host { position: absolute; inset: 0; overflow: hidden; isolation: isolate; }
.hb-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 520px; min-height: 25px; } /* v23: room for one row before the pages load, so nothing moves */
.hb-chips button { padding: 5px 11px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); color: var(--haze); font: 600 12.5px var(--f-body); cursor: pointer; transition: color .15s, background .15s, box-shadow .15s; }
.hb-chips button:hover { color: #fff; }
.hb-chips button.on { background: rgba(var(--uv-rgb), .2); box-shadow: inset 0 0 0 1px rgba(var(--uv-rgb), .6); color: #fff; }
@media (max-width: 900px) {
  .hero16 .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .browser-body { height: 480px; }
}
@media (max-width: 560px) { .hero-stats { min-height: 67px; } } /* v23: on phones the numbers take three lines */

.mq { position: relative; display: grid; gap: 14px; padding: 26px 0 30px; overflow: hidden; border-top: 1px solid var(--line); -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.mq[hidden] { display: none; }
.mq-row { overflow: hidden; }
.mq-run { display: flex; gap: 14px; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.mq-row--rev .mq-run { animation-direction: reverse; }
.mq:hover .mq-run { animation-play-state: paused; }
.mq-card { display: grid; gap: 8px; width: 190px; color: var(--haze); font: 600 12.5px var(--f-body); text-align: center; text-decoration: none; }
.mq-card .mini-frame { aspect-ratio: 4 / 4.4; transition: transform .2s; }
.mq-card:hover { color: #fff; }
.mq-card:hover .mini-frame { transform: translateY(-3px); }

/* little page pictures */
.mini-frame { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); isolation: isolate; }
.mini-frame > .pf { z-index: 0; }
.mini, .mini * { animation-play-state: paused !important; }
.dc-card:hover .mini, .dc-card:hover .mini *, .tp-card:hover .mini, .tp-card:hover .mini *, .mq-card:hover .mini, .mq-card:hover .mini * { animation-play-state: running !important; }
.mini-in { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 12px; }
.mini .pf-card { width: 100%; max-width: 100%; margin: 0; padding: 16px 13px 13px; border-radius: min(var(--radius, 22px), 18px); transform: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mini .pf-avatar { width: 50px; height: 50px; margin: 0 auto 9px; box-shadow: 0 0 0 2px rgba(0, 0, 0, .9), 0 0 0 3.5px rgba(var(--acc-rgb), .95), 0 0 24px rgba(var(--acc-rgb), .55); }
.mini .pf-avatar .initial { font-size: 21px; }
.mini.mini--flatav .pf-avatar { box-shadow: none; }
.mini .pf-name { font-size: 16px; line-height: 1.15; }
.mini .pf-nameline { gap: 5px; }
.mini-v { display: inline-block; flex: none; width: 15px; height: 15px; }
.mini-v svg { width: 100%; height: 100%; }
.mini-id { display: grid; justify-items: center; gap: 5px; }
.mini-b { display: inline-flex; gap: 2px; }
.mini-b .pf-badge { width: 17px; height: 17px; }
.mini-b .pf-badge .ic { width: 12px; height: 12px; }
.mini .pf-bio { display: -webkit-box; min-height: 0; max-width: none; margin: 7px auto 0; overflow: hidden; font-size: 11px; line-height: 1.4; white-space: normal; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mini .pf-links { display: grid; gap: 5px; margin-top: 10px; }
.mini .pf-link { gap: 7px; min-height: 30px; padding: 4px 9px 4px 4px; border-radius: calc(min(var(--radius, 22px), 18px) * .6); font-size: 11px; }
.mini .pf-link::after { display: none; }
.mini .pf-link-ic { width: 22px; height: 22px; border-radius: 7px; }
.mini .pf-link-ic img, .mini .pf-link-ic .ic { width: 12px; height: 12px; }
.mini--left .pf-card, .mini--split .pf-card, .mini--hero .pf-card, .mini--terminal .pf-card { text-align: left; }
.mini--left .pf-avatar, .mini--split .pf-avatar, .mini--hero .pf-avatar, .mini--terminal .pf-avatar { margin-left: 0; }
.mini--left .mini-id, .mini--split .mini-id, .mini--hero .mini-id, .mini--terminal .mini-id { justify-items: start; }
.mini--left .pf-bio, .mini--split .pf-bio, .mini--hero .pf-bio, .mini--terminal .pf-bio { margin-left: 0; }
.mini--hero .pf-card { padding-top: 44px; background: linear-gradient(180deg, rgba(var(--acc-rgb), .6), rgba(var(--card-rgb, 8, 8, 12), var(--card)) 46%); }
.mini--wide .pf-links, .mini--compact .pf-links, .mini--split .pf-links { grid-template-columns: 1fr 1fr; }
.mini--wide .pf-links .pf-link:last-child:nth-child(odd), .mini--compact .pf-links .pf-link:last-child:nth-child(odd), .mini--split .pf-links .pf-link:last-child:nth-child(odd) { grid-column: 1 / -1; }
.mini--compact .pf-card { max-width: 88%; }
.mini--compact .pf-avatar { width: 40px; height: 40px; }
.mini--minimal .pf-card { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.mini--bento .pf-links { grid-template-columns: repeat(3, 1fr); }
.mini--bento .pf-link { flex-direction: column; justify-content: center; min-height: 44px; padding: 6px 4px; }
.mini--bento .pf-link-label { display: none; }
.mini--terminal .pf-card { border-radius: 8px; }
.mini .pf-term { display: flex; gap: 4px; height: auto; margin: -8px -5px 10px; padding: 0; background: none; border: 0; }
.mini .pf-term i { width: 7px; height: 7px; }
.mini--terminal .pf-name::before { content: "> "; color: var(--acc); }
.mini-dots { position: absolute; top: 50%; right: 7px; display: grid; gap: 5px; transform: translateY(-50%); }
.mini-dots i { width: 5px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.mini-dots i:first-child { height: 13px; background: #fff; }

.dc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px 18px; }
.dc-card { display: grid; align-content: start; gap: 10px; color: #fff; text-decoration: none; animation: rise .5s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 40ms); }
.dc-card .mini-frame { transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.dc-card:hover .mini-frame, .dc-card:focus-visible .mini-frame { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .7), 0 24px 60px -24px rgba(var(--acc-rgb), .85); }
.dc-card:focus-visible { outline: none; }
.dc-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 0 4px; }
.dc-who { display: grid; min-width: 0; }
.dc-who b { display: flex; align-items: center; gap: 5px; overflow: hidden; font: 700 15px var(--f-display); letter-spacing: -.02em; white-space: nowrap; }
.dc-who small { overflow: hidden; color: var(--haze); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.dc-nums { display: flex; flex: none; gap: 10px; color: var(--haze); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.dc-nums span { display: inline-flex; align-items: center; gap: 4px; }
.dc-nums .ic { width: 13px; height: 13px; }
.ex-right { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ex-tab .ic { display: inline-block; width: 13px; height: 13px; margin-right: 5px; vertical-align: -2px; }

.tp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px 18px; }
.tp-card { display: grid; align-content: start; gap: 10px; }
.tp-prev { display: block; border-radius: 16px; cursor: pointer; }
.tp-prev:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
.tp-prev .mini-frame { transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.tp-prev:hover .mini-frame { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(var(--uv-rgb), .7), 0 24px 60px -24px rgba(var(--uv-rgb), .8); }
.tp-meta { display: grid; gap: 2px; padding: 0 2px; }
.tp-meta b { color: #fff; font: 700 15px var(--f-display); letter-spacing: -.02em; }
.tp-meta small { color: var(--haze); font-size: 12.5px; }
.tp-prem { display: inline-flex; align-items: center; gap: 3px; color: #c4a6ff; }
.tp-prem .ic { display: inline-block; width: 11px; height: 11px; }
.tp-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tp-acts .ic { width: 14px; height: 14px; }
.tp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 54px 0 18px; }
.tp-head .shop-sub { margin: 0; }
.tp-phone { display: flex; justify-content: center; }
.tp-phone .phone { max-width: 280px; }

/* home: the layouts switcher (v17). One computer and one phone, drawn full size and shrunk to fit. */
.ls { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: 28px; align-items: start; }
.ls-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ls-tab { position: relative; display: grid; gap: 7px; overflow: hidden; padding: 8px 8px 10px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); color: var(--haze); font: 600 13px var(--f-body); text-align: center; cursor: pointer; transition: box-shadow .15s, color .15s, background .15s; }
.ls-tab .lay-art { height: 52px; }
.ls-tab:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.ls-tab[aria-selected="true"] { color: #fff; background: rgba(var(--uv-rgb), .08); box-shadow: inset 0 0 0 1.5px var(--uv), 0 0 22px -8px rgba(var(--uv-rgb), .8); }
.ls-tab:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; }
.ls-prog { position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--uv), var(--ice)); }
.ls-tab.run .ls-prog { animation: ls-prog 3.6s linear forwards; }
@keyframes ls-prog { to { width: 100%; } }
.ls-view { display: grid; gap: 14px; min-width: 0; }
.ls-screens { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, 200px); gap: 18px; align-items: end; }
.ls-desk { overflow: hidden; border-radius: 16px; background: #050507; box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 90px -40px rgba(var(--uv-rgb), .7); }
.ls-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.ls-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.ls-bar i:nth-child(2) { background: #febc2e; }
.ls-bar i:nth-child(3) { background: #28c840; }
.ls-bar span { margin-left: 10px; overflow: hidden; color: var(--haze); font: 500 11.5px var(--f-body); white-space: nowrap; }
.ls-bar b { color: #fff; font-weight: 600; }
.ls-phone { padding: 7px; border-radius: 32px; background: #050507; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 90px -40px rgba(var(--uv-rgb), .6); }
.ls-phone .ls-fit { border-radius: 25px; }
.ls-fit { position: relative; overflow: hidden; isolation: isolate; height: 300px; }
.ls-fit > .pf-host { position: absolute; top: 0; left: 0; transform-origin: 0 0; pointer-events: none; }
.ls-cap { margin: 0; color: var(--haze); font-size: 15px; }
.ls-cap b { margin-right: 6px; color: #fff; }
.pf.ls-in { animation: ls-in .45s ease both; }
@keyframes ls-in { from { opacity: 0; } }
.ls.is-off .pf, .ls.is-off .pf * { animation-play-state: paused !important; }
@media (max-width: 760px) {
  .ls { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ls-tabs { display: flex; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scroll-padding: 16px; scrollbar-width: none; }
  .ls-tabs::-webkit-scrollbar { display: none; }
  .ls-tab { flex: none; width: 104px; }
  .ls-screens { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .ls-desk { display: none; }
  .ls-phone { width: min(100%, 250px); }
  .ls-cap { text-align: center; }
}

/* pictures of pages (home, previews): they never catch the mouse or the scroll wheel */
.pf--inert { pointer-events: none; }
.pf--inert .pf-stage { overflow: hidden; }

/* cursor effects (v17) */
.fx-cv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* the floating menu (v17): what scrolls under it fades out, instead of peeking over the top edge */
.nav { background: linear-gradient(#000 calc(8px + env(safe-area-inset-top, 0px)), rgba(0, 0, 0, .62) 55%, rgba(0, 0, 0, 0)); }
.pf-bg .pf-water { position: absolute; inset: 0; width: 100%; height: 100%; filter: blur(var(--blur)); transform: scale(var(--bgscale, 1)); }
.pf-water--over { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }

/* music visualizer (v17): the avatar glows to the beat, bars in the player */
.pf-beat { position: absolute; inset: -16%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--acc-rgb), .9), rgba(var(--acc-rgb), .35) 55%, rgba(var(--acc-rgb), 0)); opacity: 0; transform: scale(.85); pointer-events: none; }
.pf--sq .pf-beat { border-radius: 30%; }
.pf--viz .pf-beat { opacity: calc(var(--beat, 0) * 1.15); transform: scale(calc(.86 + var(--beat, 0) * .4)); }
.pf--viz .pf-avatar { transform: scale(calc(1 + var(--beat, 0) * .05)); }
.pf-pl-viz { position: absolute; left: 14px; right: 14px; bottom: 0; z-index: -1; width: calc(100% - 28px); height: 46px; opacity: 0; pointer-events: none; transition: opacity .4s; }
.pf--viz .pf-pl-viz { opacity: .55; }

.pf.demo-pf { position: relative; inset: auto; overflow: visible; background: none; container-type: normal; }
.demo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.demo-grid .wg, .demo-grid .pf-player { margin: 0; }
.demo-art { background: linear-gradient(135deg, #ff7ad9, #7c3aed 60%, #22d3ee); }
.demo-player { padding: 14px; }

.help-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.help-toc { position: sticky; top: 96px; display: grid; gap: 2px; }
.help-toc a { padding: 7px 12px; border-radius: 10px; color: var(--haze); font-size: 14px; text-decoration: none; }
.help-toc a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.help-sec { margin: 0 0 30px; padding: 0 0 28px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.help-sec h2 { margin: 0 0 12px; color: #fff; font: 700 22px/1.2 var(--f-display); letter-spacing: -.025em; }
.help-sec p { max-width: 68ch; margin: 0 0 12px; color: var(--bone); font-size: 15.5px; line-height: 1.65; }
.help-sec b, .help-sec a { color: #fff; }
.help-sec code { padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); font: 500 13.5px ui-monospace, Menlo, Consolas, monospace; }
@media (max-width: 760px) {
  .help-grid { grid-template-columns: minmax(0, 1fr); }
  .help-toc { position: static; display: flex; flex-wrap: wrap; }
}
.foot-brand { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.foot .logo { font-size: 15px; }
.foot nav { flex-wrap: wrap; gap: 8px 18px; }
.page-lede a { color: #fff; }

/* ==========================================================================
   Round 16 bio pages: corner buttons, guestbook drawer, corner bar, icon row,
   inline badges, reactions, here now, projects, pets, screens, 4 new layouts
   ========================================================================== */
.pf-tr { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; z-index: 8; display: flex; align-items: center; gap: 8px; }
.pf-tr .pf-share, .pf-tr .pf-copylook { position: relative; top: auto; right: auto; }
.pf-chat { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .38); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: #fff; cursor: pointer; transition: transform .15s, box-shadow .2s; }
.pf-chat:hover, .pf-chat[aria-expanded="true"] { transform: scale(1.07); box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .7), 0 0 22px -6px rgba(var(--acc-rgb), .9); }
.pf-chat .ic { width: 18px; height: 18px; }
.pf-chat-n { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--acc); color: var(--on-acc, #fff); font: 700 10.5px/18px var(--f-body); text-align: center; }
.pf-chat-n:empty { display: none; }
.pf-drawer { position: absolute; inset: 0; z-index: 12; background: rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s linear .25s; }
.pf-drawer.open { opacity: 1; visibility: visible; transition: opacity .25s, visibility 0s; }
.pf-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 100%); padding: calc(64px + env(safe-area-inset-top, 0px)) 14px 16px; overflow-y: auto; background: rgba(10, 9, 15, .95); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 1px 0 0 rgba(255, 255, 255, .08), -30px 0 80px -30px rgba(var(--acc-rgb), .55); transform: translateX(102%); transition: transform .32s cubic-bezier(.2, .8, .2, 1); text-align: left; }
.pf-drawer.open .pf-drawer-panel { transform: none; }
.pf-drawer-x { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .07); color: #fff; cursor: pointer; }
.pf-drawer-x:hover { background: rgba(255, 255, 255, .14); }
.pf-drawer-x .ic { width: 16px; height: 16px; }
.pf-drawer .pf-gb { margin: 0; padding: 0; background: none; box-shadow: none; }
.pf-drawer .pf-gb-list { max-height: none; }
.pf-corner { position: absolute; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); left: 14px; z-index: 7; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 13px; max-width: calc(100% - 28px); padding: 8px 14px; border-radius: 16px; background: rgba(0, 0, 0, .42); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .72); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.pf-corner > span { display: inline-flex; align-items: center; gap: 6px; }
.pf-corner .ic { width: 13px; height: 13px; }
.pf--txt .pf-corner { color: color-mix(in srgb, var(--txt) 75%, transparent); }
.pf--corner .pf-stage:not(.pf-stage--snap) { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
.pf--pet .pf-stage:not(.pf-stage--snap) { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
.pf--pet.pf--corner .pf-stage:not(.pf-stage--snap) { padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }
.pf-live { color: #7ef0ae; }
.pf-live b { color: #fff; font-weight: 600; }
.pf-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 0; }
.pf-soc { position: relative; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: calc(var(--radius, 26px) * .45); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); color: #fff; text-decoration: none; cursor: pointer; transition: transform .2s cubic-bezier(.2, 1.6, .4, 1), background .2s, box-shadow .2s; }
.pf-soc img, .pf-soc .ic { width: 18px; height: 18px; object-fit: contain; }
.pf-soc:hover, .pf-soc:focus-visible { outline: none; transform: translateY(-2px); background: rgba(var(--acc-rgb), .18); box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .6), 0 0 22px -6px rgba(var(--acc-rgb), .8); }
span.pf-soc { cursor: default; }
.ic-accent .pf-soc { color: var(--acc); }
.bs-outline .pf-soc { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(var(--acc-rgb), .65); }
.bs-solid .pf-soc { background: var(--acc); color: var(--on-acc, #fff); }
.pf--anim:not(.pf--in) .pf-soc { opacity: 0; }
.pf--anim.pf--in .pf-soc { animation: badge-pop .5s cubic-bezier(.2, 1.6, .4, 1) backwards; animation-delay: calc(var(--li, 0) * 60ms + 520ms); }
.pf-nameline { flex-wrap: wrap; }
.pf-badges--inline { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 1px; margin: 0; padding: 0; background: none; box-shadow: none; }
.pf-badges--inline .pf-badge { width: 25px; height: 25px; }
.pf-badges--inline .pf-badge .ic { width: 17px; height: 17px; }
.bt-custom .pf-badge { --bc: var(--bcol) !important; }
.pf-reacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 14px 0 0; }
.pf-rx { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 11px 0 9px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .055); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); color: #fff; font: 600 13px var(--f-body); font-variant-numeric: tabular-nums; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s; }
.pf-rx:has(b:empty) { padding: 0 9px; }
.pf-rx .e { display: inline-block; font-size: 15px; line-height: 1; }
.pf-rx b { font-weight: 600; }
.pf-rx b:empty { display: none; }
.pf-rx:hover, .pf-rx:focus-visible { outline: none; background: rgba(255, 255, 255, .1); transform: translateY(-1px); }
.pf-rx.on { background: rgba(var(--acc-rgb), .22); box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .65); }
.pf-rx.pop .e { animation: like-pop .55s cubic-bezier(.2, 1.8, .4, 1); }
.pf-rx:disabled { cursor: wait; }
.pf--txt .pf-rx { color: var(--txt); }
.pf-projs { margin-top: 18px; text-align: left; }
.pf-sec-h { display: flex; align-items: center; gap: 7px; margin: 0 0 10px; color: rgba(255, 255, 255, .62); font: 700 11.5px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
.pf-sec-h .ic { width: 14px; height: 14px; color: var(--acc); }
.pf-proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 10px; }
.pf-proj { position: relative; display: grid; align-content: start; overflow: hidden; border-radius: calc(var(--radius, 26px) * .62); background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); color: #fff; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
a.pf-proj:hover, a.pf-proj:focus-visible { outline: none; background: rgba(var(--acc-rgb), .1); box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .55), 0 16px 40px -20px rgba(var(--acc-rgb), .8); transform: translateY(-2px); }
.pf-proj-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: rgba(var(--acc-rgb), .15); }
.pf-proj-img img { width: 100%; height: 100%; object-fit: cover; }
.pf-proj-txt { display: grid; gap: 3px; padding: 10px 12px 12px; }
.pf-proj-txt b { font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.pf-proj-txt span { color: rgba(255, 255, 255, .62); font-size: 12.5px; line-height: 1.45; overflow-wrap: anywhere; }
.pf-proj-go { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 0, 0, .5); color: #fff; }
.pf-proj-go .ic { width: 13px; height: 13px; }
.pf--txt .pf-proj, .pf--txt .pf-sec-h { color: var(--txt); }
.pf-bio--fade .bf { display: inline-block; transition: opacity .4s, transform .4s, filter .4s; }
.pf-bio--fade .bf.out { opacity: 0; filter: blur(4px); transform: translateY(-6px); }
.pf-pl-now { display: block; max-height: 0; overflow: hidden; color: var(--acc); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; opacity: 0; transition: opacity .3s; }
.pf-pl-now.on { max-height: 20px; opacity: 1; }
.pf-bg--solid::after { display: none; }

/* clock widget */
.wg-face { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--acc-rgb), .18), rgba(255, 255, 255, .04) 70%); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .16); }
.wg-face i { position: absolute; bottom: 50%; left: 50%; width: 2px; border-radius: 2px; background: #fff; transform-origin: 50% 100%; }
.wg-face .h { height: 11px; margin-left: -1px; transform: rotate(var(--h, 0deg)); }
.wg-face .m { height: 16px; margin-left: -1px; opacity: .85; transform: rotate(var(--m, 0deg)); }
.wg-face .s { width: 1px; height: 17px; margin-left: -.5px; background: var(--acc); animation: clock-s 60s steps(60) infinite; animation-delay: var(--sd, 0s); }
.wg-face::after { content: ""; position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--acc); }
@keyframes clock-s { to { transform: rotate(360deg); } }
.wg-txt b.wg-time { font: 700 20px/1.15 var(--f-display); font-variant-numeric: tabular-nums; }
.wg-diff { color: rgba(255, 255, 255, .55); font-style: normal; }
.wg-txt > span.wg-kicker { display: flex; align-items: center; gap: 4px; }
.wg-kicker .ic { width: 11px; height: 11px; }

/* pixel pets */
.pf-pet { position: absolute; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); left: var(--l0, 6%); z-index: 7; width: 48px; animation: pet-walk 30s linear infinite; animation-delay: var(--pd, 0s); pointer-events: none; }
.pf--corner .pf-pet { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
.pf-pet-in { position: relative; display: block; padding: 0; border: 0; background: none; cursor: pointer; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .55)); pointer-events: auto; }
.pf-pet-in:disabled { cursor: default; }
.pf-pet-in svg { display: block; width: 48px; height: auto; animation: pet-face 30s linear infinite; animation-delay: var(--pd, 0s); }
a.pf-pet-in { color: inherit; }
a.pf-pet-in:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
.pf-pet--slime { color: var(--acc); }
.pf-pet--ghost, .pf-pet--ghost svg { animation-duration: 38s; }
.pet-a, .pet-b { animation: pet-step .5s steps(1) infinite; }
.pet-b { animation-delay: -.25s; }
.pf-pet--ghost .pf-pet-in { animation: pet-float 2.4s ease-in-out infinite; }
.pf-pet--slime .pf-pet-in { animation: pet-squish 1s ease-in-out infinite; transform-origin: 50% 100%; }
.pf-pet--frog .pf-pet-in { animation: pet-hop 1.3s cubic-bezier(.3, .7, .4, 1) infinite; }
.pf-pet:hover, .pf-pet:hover svg, .pf-pet:hover .pf-pet-in, .pf-pet:focus-within, .pf-pet:focus-within svg { animation-play-state: paused; }
.pf-pet.hop .pf-pet-in { animation: pet-jump .6s cubic-bezier(.3, 1.6, .5, 1); }
.pf-pet-say { position: absolute; bottom: calc(100% + 6px); left: 50%; padding: 3px 8px; border-radius: 8px; background: #fff; color: #111; font: 700 11px var(--f-body); white-space: nowrap; opacity: 0; transform: translateX(-50%); transition: opacity .2s; pointer-events: none; }
.pf-pet-say:not(:empty) { opacity: 1; }
.pet-heart { position: absolute; bottom: 100%; left: 50%; color: #ff5c9a; font-size: 16px; text-shadow: 0 0 8px #ff5c9a; pointer-events: none; animation: pet-heart 1.1s ease-out forwards; }
@keyframes pet-walk { 0% { left: var(--l0, 6%); } 47% { left: calc(var(--l1, 94%) - 48px); } 50% { left: calc(var(--l1, 94%) - 48px); } 97% { left: var(--l0, 6%); } 100% { left: var(--l0, 6%); } }
@keyframes pet-face { 0%, 48.9% { transform: scaleX(1); } 49%, 98.9% { transform: scaleX(-1); } 99%, 100% { transform: scaleX(1); } }
@keyframes pet-step { 50% { opacity: 0; } }
@keyframes pet-float { 50% { transform: translateY(-6px); } }
@keyframes pet-squish { 0%, 100% { transform: scale(1.06, .92); } 50% { transform: scale(.94, 1.08) translateY(-3px); } }
@keyframes pet-hop { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-8px); } }
@keyframes pet-jump { 40% { transform: translateY(-18px) rotate(-6deg); } }
@keyframes pet-heart { from { opacity: 1; transform: translate(-50%, 0) scale(.6); } to { opacity: 0; transform: translate(-50%, -36px) scale(1.25); } }

/* screens: halftone and dither */
.pf-screen--halftone { background-image: radial-gradient(rgba(0, 0, 0, .45) 30%, transparent 32%); background-size: 5px 5px; mix-blend-mode: multiply; }
.pf-screen--halftone::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .4)); }
.pf-screen--dither { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' shape-rendering='crispEdges'%3E%3Crect width='1' height='1' fill='%23000'/%3E%3Crect x='2' y='2' width='1' height='1' fill='%23000'/%3E%3Crect x='2' width='1' height='1' fill='%23000' fill-opacity='.5'/%3E%3Crect y='2' width='1' height='1' fill='%23000' fill-opacity='.5'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%23fff' fill-opacity='.18'/%3E%3Crect x='3' y='3' width='1' height='1' fill='%23fff' fill-opacity='.18'/%3E%3C/svg%3E"); background-size: 4px 4px; image-rendering: pixelated; opacity: .5; }
.scr-dither .pf-card { text-shadow: 1px 1px 0 rgba(0, 0, 0, .35); }

/* left-leaning layouts keep the new rows on the left too */
.lay-left .pf-socials, .lay-left .pf-reacts, .lay-left .pf-badges--inline { justify-content: flex-start; }
@container (min-width: 780px) {
  .lay-split .pf-card:not(.pf-card--solo) .pf-socials, .lay-split .pf-card:not(.pf-card--solo) .pf-reacts { justify-content: flex-start; }
}

/* layout: full screens (with dots on the side) */
.pf-stage--snap { display: block; padding: 0; scroll-snap-type: y mandatory; }
.pf-scr { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100%; padding: calc(70px + env(safe-area-inset-top, 0px)) 18px calc(80px + env(safe-area-inset-bottom, 0px)); scroll-snap-align: start; }
.pf--corner .pf-scr { padding-bottom: calc(118px + env(safe-area-inset-bottom, 0px)); }
.lay-sections .pf-card { margin: 0; }
.lay-sections .pf-card--more { max-width: 520px; }
.pf-scr .pf-foot { margin-top: 22px; }
.pf-more { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); left: 50%; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 16px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, .42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: #fff; font: 600 13px var(--f-body); cursor: pointer; transform: translateX(-50%); animation: more-bob 2.4s ease-in-out infinite; }
.pf--corner .pf-more { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
.pf-more:hover { box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .7), 0 0 22px -6px rgba(var(--acc-rgb), .9); }
.pf-more .ic { width: 14px; height: 14px; }
@keyframes more-bob { 50% { transform: translate(-50%, 4px); } }
.pf-dots { position: absolute; top: 50%; right: 12px; z-index: 7; display: grid; gap: 10px; transform: translateY(-50%); }
.pf-dots button { position: relative; display: block; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .32); cursor: pointer; transition: height .25s, background .25s, box-shadow .25s; }
.pf-dots button[aria-current="true"] { height: 26px; background: var(--acc); box-shadow: 0 0 12px rgba(var(--acc-rgb), .8); }
.pf-dots span { position: absolute; top: 50%; right: calc(100% + 10px); padding: 4px 9px; border-radius: 8px; background: #0e0d15; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: #fff; font: 600 12px var(--f-body); white-space: nowrap; opacity: 0; pointer-events: none; transform: translate(4px, -50%); transition: opacity .15s, transform .15s; }
.pf-dots button:hover span, .pf-dots button:focus-visible span { opacity: 1; transform: translate(0, -50%); }

/* layout: cover (a wide card under your banner or background) */
.lay-hero .pf-card { max-width: 640px; padding: 0 0 22px; overflow: hidden; text-align: left; }
.lay-hero .pf-card::after { content: ""; position: absolute; top: 0; right: 0; left: 0; z-index: 0; height: 196px; background: var(--hero, linear-gradient(135deg, rgba(var(--acc-rgb), .95), rgba(var(--acc-rgb), .28) 58%, rgba(var(--acc-rgb), .05))) center / cover no-repeat; -webkit-mask: linear-gradient(#000 52%, transparent); mask: linear-gradient(#000 52%, transparent); pointer-events: none; }
.lay-hero .pf-col { position: relative; z-index: 1; }
.lay-hero .pf-col--a { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: end; padding: 118px 24px 0; }
.lay-hero .pf-col--a > :not(.pf-avwrap):not(.pf-idt) { grid-column: 1 / -1; }
.lay-hero .pf-avwrap { width: 108px; height: 108px; margin: 0; }
.lay-hero .pf-avatar { box-shadow: 0 0 0 4px rgba(var(--card-rgb, 8, 8, 12), 1), 0 0 0 6px rgba(var(--acc-rgb), .9), 0 0 40px rgba(var(--acc-rgb), .5); }
.lay-hero .pf-avatar .initial { font-size: 40px; }
.lay-hero .pf-idt { padding-bottom: 6px; }
.lay-hero .pf-name { font-size: 30px; }
.lay-hero .pf-nameline, .lay-hero .pf-meta, .lay-hero .pf-tags, .lay-hero .pf-badges, .lay-hero .pf-socials, .lay-hero .pf-reacts { justify-content: flex-start; }
.lay-hero .pf-bio { max-width: none; margin-left: 0; }
.lay-hero .pf-col--b { padding: 4px 24px 0; }
.lay-hero .pf-links--pills, .lay-hero .pf-wgs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lay-hero .pf-links--pills .pf-link:last-child:nth-child(odd), .lay-hero .pf-wgs > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.lay-hero .pf-card--neon::before { z-index: 2; }
@container (max-width: 560px) {
  .lay-hero .pf-links--pills, .lay-hero .pf-wgs { grid-template-columns: minmax(0, 1fr); }
  .lay-hero .pf-card::after { height: 160px; }
  .lay-hero .pf-col--a { padding: 96px 18px 0; column-gap: 14px; }
  .lay-hero .pf-col--b { padding: 4px 18px 0; }
  .lay-hero .pf-avwrap { width: 84px; height: 84px; }
  .lay-hero .pf-name { font-size: 24px; }
}

/* layout: terminal */
.pf-term { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .05); }
.pf-term i { flex: none; width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.pf-term i:nth-child(2) { background: #febc2e; }
.pf-term i:nth-child(3) { background: #28c840; }
.pf-term span { flex: 1; margin-right: 40px; overflow: hidden; color: rgba(255, 255, 255, .5); font: 500 12px var(--f-body); text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.lay-terminal .pf-card { max-width: 560px; padding: 0 0 20px; overflow: hidden; border-radius: min(var(--radius, 26px), 14px); text-align: left; }
.lay-terminal .pf-col { padding: 0 22px; }
.lay-terminal .pf-col--a { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: center; padding-top: 22px; }
.lay-terminal .pf-col--a > :not(.pf-avwrap):not(.pf-idt) { grid-column: 1 / -1; }
.lay-terminal .pf-avwrap { width: 64px; height: 64px; margin: 0; }
.lay-terminal .pf-avatar { border-radius: 8px; box-shadow: 0 0 0 2px rgba(var(--acc-rgb), .85), 0 0 24px rgba(var(--acc-rgb), .4); }
.lay-terminal .pf-avatar .initial { font-size: 26px; }
.lay-terminal .pf-name { font-family: var(--f-body); font-size: 24px; letter-spacing: 0; }
.lay-terminal .pf-name::before { content: "> "; color: var(--acc); }
.lay-terminal .pf-bio { max-width: none; margin-left: 0; font-family: var(--f-body); }
.lay-terminal .pf-bio::before { content: "# "; color: var(--acc); }
.lay-terminal .pf-nameline, .lay-terminal .pf-meta, .lay-terminal .pf-tags, .lay-terminal .pf-badges, .lay-terminal .pf-socials, .lay-terminal .pf-reacts { justify-content: flex-start; }
.lay-terminal .pf-link, .lay-terminal .pf-tags li, .lay-terminal .pf-rx, .lay-terminal .pf-soc { border-radius: 6px; }
.lay-terminal .pf-link-label::before { content: "~/"; color: var(--acc); opacity: .8; }
.lay-terminal .caret { width: .55em; vertical-align: -.2em; }
.lay-terminal .pf-banner { height: 110px; margin: 0; border-radius: 0; }
.lay-terminal .pf-card--banner .pf-avwrap { margin-top: -30px; }

/* layout: bento grid */
.lay-bento .pf-card { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 760px; padding: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; text-align: left; }
.lay-bento .pf-card::before { display: none; }
.lay-bento .pf-col--b, .lay-bento .pf-wgs, .lay-bento .pf-links--pills, .lay-bento .pf-links--grid { display: contents; }
.lay-bento .pf-banner { grid-column: 1 / -1; height: 150px; margin: 0; border-radius: var(--radius, 26px); }
.lay-bento .pf-card--banner .pf-avwrap { margin-top: 0; }
.lay-bento .pf-col--a, .lay-bento .pf-col--b > :not(.pf-wgs):not(.pf-links--pills):not(.pf-links--grid), .lay-bento .pf-wgs > *, .lay-bento .pf-links--pills > *, .lay-bento .pf-links--grid > * {
  border-radius: var(--radius, 26px);
  background: rgba(var(--card-rgb, 8, 8, 12), var(--card));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 20px 50px -30px rgba(var(--acc-rgb), .55);
  -webkit-backdrop-filter: blur(var(--cblur, 16px));
  backdrop-filter: blur(var(--cblur, 16px));
}
.card-border.lay-bento .pf-col--a { box-shadow: inset 0 0 0 1.5px rgba(var(--acc-rgb), .8); }
.lay-bento .pf-col--a { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-column: 1 / -1; column-gap: 20px; align-items: center; padding: 24px; }
.lay-bento .pf-col--a > :not(.pf-avwrap):not(.pf-idt) { grid-column: 1 / -1; }
.lay-bento .pf-avwrap { width: 92px; height: 92px; margin: 0; }
.lay-bento .pf-nameline, .lay-bento .pf-meta, .lay-bento .pf-tags, .lay-bento .pf-badges, .lay-bento .pf-socials, .lay-bento .pf-reacts { justify-content: flex-start; }
.lay-bento .pf-bio { max-width: none; margin-left: 0; }
.lay-bento .pf-col--b > *, .lay-bento .pf-wgs > * { grid-column: span 2; margin: 0; }
.lay-bento .pf-links--pills > .pf-link, .lay-bento .pf-links--grid > .pf-link { grid-column: span 1; flex-direction: column; justify-content: center; gap: 10px; min-height: 120px; margin: 0; padding: 16px 10px; text-align: center; }
.lay-bento .pf-links > .pf-link:last-child:nth-child(odd) { grid-column: span 1; }
.lay-bento .pf-links .pf-link-ic { width: 46px; height: 46px; border-radius: 14px; }
.lay-bento .pf-links .pf-link-ic img, .lay-bento .pf-links .pf-link-ic .ic { width: 24px; height: 24px; }
.lay-bento .pf-links .pf-link-label { flex: none; max-width: 100%; font-size: 13.5px; }
.lay-bento .pf-link-type { display: none; }
.lay-bento .pf-links--icons { grid-column: 1 / -1; margin: 0; padding: 14px; border-radius: var(--radius, 26px); background: rgba(var(--card-rgb, 8, 8, 12), var(--card)); }
.lay-bento .pf-player, .lay-bento .pf-projs, .lay-bento .pf-gb, .lay-bento .pf-embed { grid-column: 1 / -1; }
.lay-bento .pf-projs { padding: 16px; }
.lay-bento .pf-player { padding: 14px; }
.lay-bento .pf-wg .wg { height: 100%; background: transparent; box-shadow: none; }
.lay-bento .pf-dc { margin: 0; }
@container (max-width: 560px) {
  .lay-bento .pf-card { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lay-bento .pf-col--b > *, .lay-bento .pf-wgs > * { grid-column: 1 / -1; }
  .lay-bento .pf-col--a { padding: 18px; column-gap: 14px; }
  .lay-bento .pf-avwrap { width: 72px; height: 72px; }
  .lay-bento .pf-links--pills > .pf-link, .lay-bento .pf-links--grid > .pf-link { min-height: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  .pf-pet, .pf-pet svg, .pf-pet-in, .pet-a, .pet-b, .pf-more, .wg-face .s, .live-chip .dot, .pf-live .dot { animation: none !important; }
  .pet-b { opacity: 0; }
}

/* ==========================================================================
   Round 16 dashboard: saved looks, projects, badge order, templates, stats
   ========================================================================== */
.lbl-note { color: var(--dim); font-size: 12.5px; }
.font-own { gap: 8px; }
.font-own .media-row.locked-field .ic { width: 15px; height: 15px; color: currentColor; }
.looks-box { margin: 0 0 24px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .02); box-shadow: inset 0 0 0 1px var(--line); }
.looks-box .ed-sub { display: flex; align-items: center; gap: 6px; margin-top: 0; }
.looks-box .ed-sub .ic { width: 13px; height: 13px; color: #b07bff; }
.looks { display: grid; gap: 6px; margin-bottom: 12px; }
.look-row { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 8px; border-radius: 12px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.look-sw { flex: none; width: 34px; height: 34px; border-radius: 9px; background: radial-gradient(120% 90% at 20% 15%, var(--t) 0%, transparent 58%), radial-gradient(110% 90% at 85% 90%, var(--t2) 0%, transparent 62%), #08070c; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.look-name { display: grid; flex: 1; min-width: 0; }
.look-name b { overflow: hidden; color: #fff; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.look-name small { color: var(--haze); font-size: 12px; }
.looks-add { display: flex; flex-wrap: wrap; gap: 8px; }
.looks-add .inp { flex: 1; min-width: 180px; height: 40px; }
.looks-add .ic { width: 15px; height: 15px; }
.pj-list { display: grid; gap: 12px; margin-bottom: 12px; }
.pj { display: grid; gap: 8px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--line); }
.pj-head { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.pj-thumb { display: grid; place-items: center; width: 44px; height: 44px; overflow: hidden; border-radius: 10px; background: rgba(var(--uv-rgb), .14); color: var(--uv); }
.pj-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pj-thumb .ic { width: 20px; height: 20px; }
.bo-list { display: grid; gap: 6px; }
.bo { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 6px 6px 6px 10px; border-radius: 12px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); transition: opacity .2s; }
.bo.off { opacity: .55; }
.bo-ic { display: grid; place-items: center; width: 28px; height: 28px; color: var(--bc); }
.bo-ic .ic, .bo-ic svg, .bo-ic img { width: 22px; height: 22px; }
.bo-ic .ic { filter: drop-shadow(0 0 5px var(--bc)); }
.bo-name { display: grid; min-width: 0; color: #fff; font-size: 14px; font-weight: 600; }
.bo-name small { color: var(--haze); font-size: 12px; font-weight: 400; }
.bo-show { margin: 0; }
.lk-row.on { background: rgba(143, 243, 255, .1); color: var(--ice); }
.lk { grid-template-columns: 34px 136px minmax(0, 1.3fr) minmax(0, 1fr) auto; }
.st-row--auto { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
.st--live b { display: flex; align-items: center; gap: 8px; }
.st-rx { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.st-rx span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.st-rx b { color: #fff; font-variant-numeric: tabular-nums; }
.tp-share { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-share .inp { flex: 1; min-width: 200px; }
.tp-share .ic { width: 15px; height: 15px; }
.tp-mine li { gap: 10px; }

.lay-art--sections::before { top: 7px; bottom: 7px; width: 40%; }
.lay-art--sections .a { top: 16px; }
.lay-art--sections .t { top: 34px; }
.lay-art--sections .t2 { top: 40px; }
.lay-art--sections .p { right: 13px; left: auto; width: 4px; height: 4px; border-radius: 2px; opacity: .55; }
.lay-art--sections .p:nth-of-type(4) { top: 24px; height: 11px; background: var(--uv); opacity: 1; }
.lay-art--sections .p:nth-of-type(5) { top: 39px; }
.lay-art--sections .p:nth-of-type(6) { top: 47px; }
.lay-art--hero::before { top: 9px; width: 72%; background: linear-gradient(180deg, rgba(157, 123, 255, .6) 0 36%, rgba(255, 255, 255, .09) 36%); }
.lay-art--hero .a { top: 20px; left: calc(50% - 30px); width: 16px; height: 16px; border-radius: 4px; }
.lay-art--hero .t { top: 30px; left: calc(50% - 10px); width: 26px; }
.lay-art--hero .t2 { top: 36px; left: calc(50% - 10px); }
.lay-art--hero .p { width: 22px; }
.lay-art--hero .p:nth-of-type(4) { top: 47px; left: calc(50% - 26px); }
.lay-art--hero .p:nth-of-type(5) { top: 47px; left: calc(50% + 2px); }
.lay-art--hero .p:nth-of-type(6) { top: 55px; left: calc(50% - 26px); width: 50px; }
.lay-art--terminal::before { border-radius: 3px; background: rgba(0, 0, 0, .6); box-shadow: inset 0 7px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.lay-art--terminal .a { top: 20px; left: calc(50% - 20px); width: 10px; height: 10px; border-radius: 2px; }
.lay-art--terminal .t { top: 22px; left: calc(50% - 6px); width: 22px; background: #5ef2a0; }
.lay-art--terminal .t2 { top: 28px; left: calc(50% - 6px); }
.lay-art--terminal .p { left: calc(50% - 20px); width: 36px; height: 4px; border-radius: 1px; }
.lay-art--terminal .p:nth-of-type(4) { top: 40px; }
.lay-art--terminal .p:nth-of-type(5) { top: 47px; }
.lay-art--terminal .p:nth-of-type(6) { top: 54px; width: 20px; }
.lay-art--bento::before { display: none; }
.lay-art--bento .a { top: 9px; left: calc(50% - 30px); width: 60px; height: 22px; border-radius: 5px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.lay-art--bento .t { top: 15px; left: calc(50% - 25px); width: 10px; height: 10px; border-radius: 50%; background: var(--uv); }
.lay-art--bento .t2 { top: 19px; left: calc(50% - 11px); width: 26px; height: 3px; opacity: .6; }
.lay-art--bento .p { top: 36px; width: 18px; height: 18px; border-radius: 4px; opacity: .45; }
.lay-art--bento .p:nth-of-type(4) { left: calc(50% - 30px); }
.lay-art--bento .p:nth-of-type(5) { left: calc(50% - 9px); }
.lay-art--bento .p:nth-of-type(6) { left: calc(50% + 12px); }
/* cards never squash to fit the screen (a card with overflow hidden could otherwise shrink and cut off) */
.pf-stage > *, .pf-scr > * { flex-shrink: 0; }
@container (max-width: 480px) {
  .lay-sections .pf-scr { padding-right: 24px; padding-left: 24px; }
  .pf-dots { right: 6px; gap: 8px; }
  .pf-dots button { width: 7px; height: 7px; }
  .pf-dots button[aria-current="true"] { height: 20px; }
}
.sec-note .ic, .page-lede .ic { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; }
.ex-tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.ex-tabs::-webkit-scrollbar { display: none; }
.ex-tab { flex: none; white-space: nowrap; }
/* very narrow screens: the picture sits above the name instead of beside it */
@container (max-width: 340px) {
  .lay-hero .pf-col--a, .lay-terminal .pf-col--a, .lay-bento .pf-col--a { grid-template-columns: minmax(0, 1fr); }
  .lay-hero .pf-idt, .lay-terminal .pf-idt, .lay-bento .pf-idt { margin-top: 12px; }
  .lay-hero .pf-col--a { padding-top: 84px; }
  .lay-hero .pf-avwrap, .lay-bento .pf-avwrap { width: 76px; height: 76px; }
  .lay-hero .pf-name, .lay-bento .pf-name { font-size: 22px; }
  .lay-terminal .pf-col { padding: 0 16px; }
  .lay-terminal .pf-name { font-size: 20px; }
  /* side by side: no room beside the picture, so the name goes under it (it used to spell down the card) */
  .lay-left .pf-col--a { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .lay-left .pf-avwrap { margin: 0 auto 14px; }
  .lay-left .pf-nameline, .lay-left .pf-meta, .lay-left .pf-tags, .lay-left .pf-badges, .lay-left .pf-socials, .lay-left .pf-reacts, .lay-left .pf-badges--inline { justify-content: center; }
  .lay-left .pf-name { font-size: 24px; }
}

/* ==========================================================================
   Round 18: discover tags, sharing, safer saving, payments and support
   ========================================================================== */
/* small loaders inside boxes, not half the screen */
.sc-busy .loading, .tk-thread .loading, #sp-list .loading, #tk-adm .loading, #pay-body .loading, #ord-list .loading, #bl-list .loading { min-height: 90px; }
.ok-text { color: var(--ok) !important; }
.err-text { color: #ff8a9c !important; }

/* discover: tags, live now, featured, more */
.dc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: -24px 0 26px; }
.dc-tag { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); color: var(--bone); font: 600 13px var(--f-body); text-decoration: none; transition: background .15s, box-shadow .15s, color .15s; }
.dc-tag small { color: var(--dim); font-weight: 500; font-variant-numeric: tabular-nums; }
.dc-tag:hover, .dc-tag:focus-visible { outline: none; background: rgba(var(--uv-rgb), .14); box-shadow: inset 0 0 0 1px rgba(var(--uv-rgb), .6); color: #fff; }
.dc-tag.on { background: rgba(var(--uv-rgb), .22); box-shadow: inset 0 0 0 1px rgba(var(--uv-rgb), .8); color: #fff; }
.dc-tag .ic { width: 12px; height: 12px; opacity: .8; }
.ex-tab .dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #3fe08a; vertical-align: 1px; box-shadow: 0 0 8px #3fe08a; }
.dc-flags { position: absolute; top: 8px; left: 8px; right: 8px; z-index: 3; display: flex; flex-wrap: wrap; gap: 5px; pointer-events: none; }
.dc-feat, .dc-live { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 999px; background: rgba(0, 0, 0, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: #fff; font: 700 11px var(--f-body); letter-spacing: .01em; }
.dc-feat .ic { width: 11px; height: 11px; color: var(--gold); fill: currentColor; }
.dc-live .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #3fe08a; animation: live-ping 1.8s ease-out infinite; }
.dc-tagline { overflow: hidden; color: rgba(var(--acc-rgb), 1); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; filter: brightness(1.35); }
.dc-more { display: flex; justify-content: center; margin-top: 30px; }

/* share sheet and QR code */
.sh-link { display: flex; gap: 8px; margin: 16px 0 0; }
.sh-link .inp { flex: 1; min-width: 0; height: 40px; font-size: 14px; }
.sh-link .btn { height: 40px; }
.sh-qr { display: grid; place-items: center; margin: 18px auto 0; padding: 10px; width: fit-content; border-radius: 16px; background: #fff; box-shadow: 0 20px 60px -24px rgba(var(--uv-rgb), .8); }
.sh-qr canvas { display: block; width: 220px; height: 220px; image-rendering: pixelated; }
.sh-note { margin: 10px 0 0; text-align: center; }
.sh-acts { flex-wrap: wrap; justify-content: center; margin-top: 16px; }

/* share card */
.sc-opts { display: grid; gap: 8px; margin: 14px 0 0; }
.sc-label { min-height: 20px; margin: 10px 0 0; color: var(--haze); font-size: 13px; }
.sc-wrap { position: relative; min-height: 200px; }
.sc-busy { position: absolute; inset: 0; display: grid; place-items: center; }
.sc-busy[hidden] { display: none; }
.sc-img[src=""], .sc-img:not([src]) { visibility: hidden; }
.sc-cap { margin-top: 14px; }
.sc-cap .inp { height: 40px; font-size: 14px; }

/* editor: unsaved changes from before, find a setting, quick start, pasting links */
.draft-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 211, 107, .07); box-shadow: inset 0 0 0 1px rgba(255, 211, 107, .35); color: var(--bone); font-size: 14px; }
.draft-bar > .ic { width: 18px; height: 18px; color: var(--gold); }
.draft-bar span { flex: 1 1 200px; }
.ed-find { position: relative; margin: 0 0 12px; }
.ed-find .inp { height: 42px; padding-left: 40px; font-size: 15px; }
.ed-find-ic { position: absolute; top: 12px; left: 14px; z-index: 1; color: var(--dim); pointer-events: none; }
.ed-find-ic .ic { width: 18px; height: 18px; }
.ed-find-res { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; display: grid; gap: 2px; margin: 0; padding: 6px; border-radius: 14px; background: #121019; box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 60px -12px rgba(0, 0, 0, .8); list-style: none; }
.ed-find-res[hidden] { display: none; }
.ed-find-res button { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%; padding: 9px 12px; border: 0; border-radius: 9px; background: none; color: #fff; font: 500 14px var(--f-body); text-align: left; cursor: pointer; }
.ed-find-res button:hover, .ed-find-res button:focus-visible { outline: none; background: rgba(var(--uv-rgb), .16); }
.ed-find-res small { flex: none; color: var(--dim); font-size: 12px; }
.ed-find-none { padding: 10px 12px; color: var(--haze); font-size: 14px; }
.ed-flash { animation: ed-flash 1.8s ease-out; border-radius: 12px; }
@keyframes ed-flash { 0%, 30% { box-shadow: 0 0 0 3px rgba(var(--uv-rgb), .9), 0 0 30px rgba(var(--uv-rgb), .6); } 100% { box-shadow: 0 0 0 3px rgba(var(--uv-rgb), 0); } }
.qs { position: relative; }
.qs-steps { display: grid; gap: 14px; margin: 0 0 12px; padding: 0; list-style: none; counter-reset: qs; }
.qs-steps > li { position: relative; display: grid; gap: 8px; padding: 14px 16px 16px 52px; border-radius: 16px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); counter-increment: qs; }
.qs-steps > li::before { content: counter(qs); position: absolute; top: 14px; left: 16px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(var(--uv-rgb), .2); box-shadow: inset 0 0 0 1px rgba(var(--uv-rgb), .6); color: #fff; font: 700 12px var(--f-body); }
.qs-steps b { color: #fff; font: 700 15px var(--f-display); letter-spacing: -.02em; }
.qs-steps span { color: var(--haze); font-size: 14px; }
.qs-steps .btn { justify-self: start; }
.qs-steps textarea { min-height: 84px; font-size: 14px; }
.qs-themes { display: flex; flex-wrap: wrap; gap: 8px; }
.qs-themes .theme { width: 96px; }
.qs-hide { font-size: 13px; }
.lk-foot { margin-top: 12px; }
.lk-bulk { display: grid; gap: 10px; margin: 12px 0 0; }
.lk-bulk[hidden] { display: none; }
.lk-bulk .btn { justify-self: start; }

/* the player's volume */
.pf-pl-volw { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; color: rgba(255, 255, 255, .55); }
.pf-pl-volw .ic { width: 15px; height: 15px; flex: none; }
.pf-pl-vol { width: 74px; height: 4px; margin: 0; accent-color: var(--acc); cursor: pointer; }
@media (pointer: coarse) {
  .pf-pl-volw { display: none; } /* phones set loudness with their own buttons */
  .pf-pl-btn { width: 44px; height: 44px; }
  .pf-vol, .pf-share, .pf-chat { width: 44px; height: 44px; }
  .pf-copylook { min-height: 44px; }
  .pf-tags a { padding: 6px 12px; }
}

/* checkout */
.buy-crypto { padding: 16px; border-radius: 16px; background: rgba(var(--uv-rgb), .07); box-shadow: inset 0 0 0 1px rgba(var(--uv-rgb), .35); }
.buy-crypto .sec-note { margin: 6px 0 14px; }
.buy-crypto .lbl { margin-bottom: 12px; }
.buy-crypto .modal-actions { margin: 0; }
.buy-crypto .form-err { margin-top: 10px; }
.buy-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: #fff; font: 700 16px var(--f-display); letter-spacing: -.02em; }
.buy-h .ic { width: 16px; height: 16px; color: var(--gold); }
.buy-h small { padding: 2px 8px; border-radius: 999px; background: rgba(94, 242, 160, .12); color: var(--ok); font: 600 11.5px var(--f-body); letter-spacing: 0; }
.buy-other { margin-top: 16px; }
.buy-other summary { padding: 8px 0; color: var(--haze); font-size: 14px; cursor: pointer; }
.buy-other summary:hover { color: #fff; }
.buy-other[open] summary { margin-bottom: 12px; }

/* orders (billing page and admin) */
.bl-hero { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 22px; padding: 16px 18px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; }
.bl-hero > .ic, .bl-hero > .bl-spin { flex: none; width: 24px; height: 24px; margin-top: 1px; }
.bl-hero div { display: grid; gap: 3px; }
.bl-hero b { color: #fff; font-size: 16px; }
.bl-hero span { color: var(--haze); }
.bl-hero a { color: #fff; }
.bl-hero.ok { background: rgba(94, 242, 160, .08); box-shadow: inset 0 0 0 1px rgba(94, 242, 160, .4); }
.bl-hero.ok > .ic { color: var(--ok); }
.bl-hero.wait { background: rgba(143, 243, 255, .06); box-shadow: inset 0 0 0 1px rgba(143, 243, 255, .3); }
.bl-hero.bad { background: rgba(255, 92, 122, .07); box-shadow: inset 0 0 0 1px rgba(255, 92, 122, .38); }
.bl-hero.bad > .ic { color: #ff8a9c; }
.bl-spin { display: grid; place-items: center; color: var(--ice); animation: spin 1.6s linear infinite; }
.bl-spin svg { width: 20px; height: 20px; fill: currentColor; }
@keyframes spin { to { transform: rotate(360deg); } }
.bl-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bl-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "main price st" "acts acts acts"; align-items: center; gap: 8px 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.bl-row.on { box-shadow: inset 0 0 0 1px rgba(var(--uv-rgb), .7), 0 0 30px -10px rgba(var(--uv-rgb), .7); }
.bl-main { grid-area: main; display: grid; min-width: 0; }
.bl-main b { overflow: hidden; color: #fff; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.bl-main b a { color: var(--ice); text-decoration: none; }
.bl-main small { overflow: hidden; color: var(--haze); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.bl-price { grid-area: price; color: var(--gold); font: 700 15px var(--f-display); font-variant-numeric: tabular-nums; }
.bl-st { grid-area: st; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--bone); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.bl-st--pending { background: rgba(143, 243, 255, .1); color: var(--ice); }
.bl-st--paid, .bl-st--delivered { background: rgba(94, 242, 160, .12); color: var(--ok); }
.bl-st--underpaid, .bl-st--failed { background: rgba(255, 92, 122, .12); color: #ff8a9c; }
.bl-st--expired, .bl-st--canceled, .bl-st--refunded { color: var(--haze); }
.bl-acts { grid-area: acts; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.bl-acts:empty { display: none; }
.bl-acts .linkish { font-size: 13.5px; }

/* support */
.sp-search { position: relative; max-width: 720px; }
.sp-search .inp { height: 54px; padding-left: 44px; border-radius: 16px; font-size: 16.5px; }
.sp-search .ed-find-ic { top: 17px; left: 16px; }
.sp-ans { display: grid; gap: 8px; max-width: 720px; margin: 12px 0 0; padding: 0; list-style: none; }
.sp-ans[hidden] { display: none; }
.sp-ans details { padding: 0 16px; border-radius: 14px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line); }
.sp-ans summary { padding: 14px 0; color: #fff; font-weight: 600; cursor: pointer; list-style: none; }
.sp-ans summary::-webkit-details-marker { display: none; }
.sp-ans summary::after { content: "+"; float: right; color: var(--haze); font-weight: 400; }
.sp-ans details[open] summary::after { content: "−"; }
.sp-a { padding: 0 0 12px; color: var(--haze); font-size: 14.5px; line-height: 1.6; }
.sp-a p { margin: 0 0 10px; }
.sp-a a, .sp-a b { color: #fff; }
.sp-a code { color: var(--ice); }
.sp-more, .sp-none, .sp-hint { padding: 6px 2px; color: var(--haze); font-size: 14px; }
.sp-more a, .sp-none a { color: #fff; }
.sp-ans--mini { margin: 0; }
.sp-ans--mini details { background: rgba(var(--uv-rgb), .06); }
.sp-quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 26px 0 0; }
.sp-q { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); color: #fff; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.sp-q:hover, .sp-q:focus-visible { outline: none; transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(var(--uv-rgb), .6), 0 16px 40px -20px rgba(var(--uv-rgb), .8); }
.sp-q .ic { grid-row: 1 / 3; width: 22px; height: 22px; color: var(--ice); }
.sp-q b { font-size: 14.5px; }
.sp-q small { color: var(--haze); font-size: 12.5px; }
.sp-sec { max-width: 760px; scroll-margin-top: 100px; }
.sp-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sp-form .full { grid-column: 1 / -1; }
.sp-form .row { align-items: center; }
.sp-form .row .sec-note { margin: 0; }
.sp-form select.inp, .tk-reply select.inp { appearance: auto; }
@media (max-width: 620px) { .sp-form { grid-template-columns: minmax(0, 1fr); } }
.sp-done .tk-msgs { margin: 0 0 16px; }
.tk-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tk-row { border-radius: 14px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.tk-row.on { box-shadow: inset 0 0 0 1px rgba(var(--uv-rgb), .6); }
.tk-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "id subj st" "id meta meta"; align-items: center; gap: 2px 12px; width: 100%; padding: 12px 14px; border: 0; background: none; color: #fff; font: inherit; text-align: left; cursor: pointer; }
.tk-id { grid-area: id; color: var(--dim); font: 700 13px var(--f-display); }
.tk-head b { grid-area: subj; overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.tk-head small { grid-area: meta; color: var(--haze); font-size: 12.5px; }
.tk-st { grid-area: st; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.tk-st--open { background: rgba(143, 243, 255, .1); color: var(--ice); }
.tk-st--answered { background: rgba(94, 242, 160, .12); color: var(--ok); }
.tk-st--closed { background: rgba(255, 255, 255, .06); color: var(--haze); }
.tk-thread { padding: 4px 14px 14px; }
.tk-meta { margin: 0 0 10px; font-size: 13px; }
.tk-meta code { color: var(--ice); }
.tk-msgs { display: grid; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.tk-msg { padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); }
.tk-msg p { margin: 4px 0 0; color: var(--bone); font-size: 14.5px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.tk-msg--auto { background: rgba(255, 211, 107, .06); box-shadow: inset 0 0 0 1px rgba(255, 211, 107, .22); }
.tk-msg--admin { background: rgba(var(--uv-rgb), .1); box-shadow: inset 0 0 0 1px rgba(var(--uv-rgb), .35); }
.tk-who { display: flex; align-items: center; gap: 7px; color: var(--haze); font-size: 12.5px; }
.tk-who b { color: #fff; font-size: 13px; }
.tk-who .ic { width: 14px; height: 14px; }
.tk-msg--auto .tk-who .ic { color: var(--gold); }
.tk-msg--admin .tk-who .ic { color: var(--uv); }
.tk-reply { display: grid; gap: 8px; }
.tk-reply textarea { min-height: 76px; font-size: 14.5px; }
#tk-adm .ex-tabs { margin-bottom: 14px; }

/* admin: featured pages */
.adm-feat.on { color: var(--gold); }
.adm-feat.on .ic { fill: currentColor; }
@media (prefers-reduced-motion: reduce) { .bl-spin, .dc-live .dot, .ed-flash, .sp-q { animation: none !important; transition: none !important; } }
/* orders: one line on wide screens; on phones the name gets its own line */
@media (min-width: 760px) {
  .bl-row { grid-template-columns: minmax(0, 1fr) auto auto auto; grid-template-areas: "main price st acts"; }
  .bl-acts:empty { display: flex; }
}
@media (max-width: 620px) {
  .bl-row { grid-template-columns: auto auto minmax(0, 1fr); grid-template-areas: "main main main" "price st acts"; }
  .bl-main b, .bl-main small { white-space: normal; }
  .tk-head b { white-space: normal; }
}

/* ==========================================================================
   Round 19: the og logo, the Halloween drop, achievements, picture crop
   ========================================================================== */
.logo-mark { display: block; flex: none; object-fit: cover; }
.logo .logo-mark { width: 28px; height: 28px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 0 16px rgba(157, 123, 255, .45); }
.logo:hover .logo-mark { box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 0 22px rgba(157, 123, 255, .65); }
.loading .logo-mark { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 0 24px rgba(157, 123, 255, .5); animation: og-breathe 1.3s ease-in-out infinite; }
.bl-spin { animation: og-breathe 1.3s ease-in-out infinite; }
.bl-spin .logo-mark { width: 22px; height: 22px; border-radius: 7px; }
.pf-foot .logo-mark { width: 15px; height: 15px; border-radius: 4px; opacity: .9; }
@keyframes og-breathe { 50% { transform: scale(.86); opacity: .6; } }
@media (max-width: 420px) { .logo .logo-mark { width: 26px; height: 26px; border-radius: 7px; } }
@media (prefers-reduced-motion: reduce) { .loading .logo-mark, .bl-spin { animation: none !important; } }

/* Limited drops (the Halloween badge): shop card, home chip, admin date */
.drop {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0 0 18px;
  padding: 22px 24px;
  border-radius: 22px;
  background: radial-gradient(70% 120% at 0% 0%, color-mix(in srgb, var(--bc) 26%, transparent), transparent 62%), rgba(255, 255, 255, .03);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bc) 45%, transparent), 0 26px 70px -40px var(--bc);
}
.drop-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: color-mix(in srgb, var(--bc) 14%, #0b0a10); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bc) 40%, transparent); }
.drop-ic .ic { width: 36px; height: 36px; color: var(--bc); filter: drop-shadow(0 0 10px var(--bc)); }
.drop-kick { margin: 0 0 4px; color: var(--bc); font: 700 11.5px/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.drop-name { margin: 0; color: #fff; font: 800 26px/1.05 var(--f-display); letter-spacing: -.035em; }
.drop-desc { margin: 6px 0 0; color: var(--haze); font-size: 14px; line-height: 1.45; }
.drop-buy { display: grid; justify-items: end; gap: 8px; }
.drop-chip { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px 10px; padding: 6px 12px 6px 11px; border-radius: 999px; background: color-mix(in srgb, var(--bc) 9%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bc) 40%, transparent); color: var(--bone); font-size: 13.5px; text-decoration: none; transition: box-shadow .2s; }
.drop-chip b { color: var(--bc); font-size: 11px; letter-spacing: .14em; }
.drop-chip .nw { white-space: nowrap; }
.drop-chip .ic { width: 15px; height: 15px; color: var(--bc); filter: drop-shadow(0 0 6px var(--bc)); }
.drop-chip .ic:last-child { width: 14px; height: 14px; color: var(--haze); filter: none; transition: transform .2s; }
.drop-chip:hover { box-shadow: inset 0 0 0 1px var(--bc), 0 0 26px -8px var(--bc); }
.drop-chip:hover .ic:last-child { transform: translateX(3px); color: #fff; }
.pr-row--drop { grid-template-columns: minmax(0, 1fr) 110px 150px auto auto; }
.pr-until { display: grid; gap: 2px; margin: 0; color: var(--dim); font-size: 11px; }
.pr-until .inp { padding: 7px 9px; font-size: 13px; color-scheme: dark; }
@media (max-width: 760px) {
  .pr-row--drop { grid-template-columns: minmax(0, 1fr) 110px; }
  .pr-until { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .drop { grid-template-columns: auto minmax(0, 1fr); padding: 18px; }
  .drop-buy { grid-column: 1 / -1; grid-template-columns: auto auto; justify-content: space-between; align-items: center; }
  .drop-ic { width: 52px; height: 52px; }
  .drop-chip { margin-left: 0; }
}

/* Profile picture crop */
.crop { position: relative; width: min(300px, 74vw); aspect-ratio: 1; margin: 0 auto; border-radius: 18px; overflow: hidden; touch-action: none; cursor: grab; background: #0b0a10; box-shadow: inset 0 0 0 1px var(--line); }
.crop:active { cursor: grabbing; }
.crop canvas { display: block; width: 100%; height: 100%; }
.crop-ring { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at center, transparent 49.4%, rgba(255, 255, 255, .5) 49.6%, rgba(255, 255, 255, .5) 50%, rgba(0, 0, 0, .58) 50.3%); }
.crop:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
.crop-zoom { display: grid; gap: 6px; margin: 14px auto 0; width: min(300px, 74vw); }
.crop-zoom input { width: 100%; accent-color: var(--uv); }

/* ==========================================================================
   Round 20: Early spots, the join pill, "your page is live", top inviters,
   word checks in the admin page
   ========================================================================== */
.hero-stats .early-left { display: block; margin-top: 4px; color: var(--ice); font-weight: 600; }
.drop-desc .nw { white-space: nowrap; }

/* Join pill on bio pages, for visitors who aren't logged in */
.pf-join {
  position: absolute;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 2px;
  max-width: calc(100% - 32px);
  padding: 4px;
  border-radius: 999px;
  background: rgba(10, 9, 15, .8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 18px 50px -16px rgba(var(--acc-rgb), .75);
  font-family: var(--f-body);
  text-shadow: none;
  animation: pf-join-in .5s cubic-bezier(.2, .8, .2, 1) both;
}
.pf-join[hidden] { display: none; }
.pf-join-a { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 4px 12px 4px 4px; border-radius: 999px; color: #fff; font: 500 13.5px/1.2 var(--f-body); text-decoration: none; transition: background .2s; }
.pf-join-a:hover { background: rgba(255, 255, 255, .07); }
.pf-join-a .logo-mark { width: 28px; height: 28px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 0 14px rgba(157, 123, 255, .5); }
.pf-join-a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-join-a b { font-weight: 700; }
.pf-join-a small { flex: none; padding: 3px 7px; border-radius: 999px; background: rgba(var(--acc-rgb), .22); box-shadow: inset 0 0 0 1px rgba(var(--acc-rgb), .45); color: #fff; font: 700 10px/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.pf-join-a .ic { flex: none; width: 14px; height: 14px; transition: transform .2s; }
.pf-join-a:hover .ic { transform: translateX(3px); }
.pf-join-x { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: rgba(255, 255, 255, .5); cursor: pointer; }
.pf-join-x:hover, .pf-join-x:focus-visible { background: rgba(255, 255, 255, .1); color: #fff; }
.pf-join-x .ic { width: 14px; height: 14px; }
@keyframes pf-join-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@media (max-width: 719px) {
  /* centered on phones, and lifted over the corner box and the "more" button */
  .pf-join { left: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px); margin: 0 auto; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .pf--corner .pf-join { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .lay-sections .pf-join { bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .lay-sections.pf--corner .pf-join { bottom: calc(108px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 360px) {
  .pf-join-a { gap: 8px; font-size: 13px; }
  .pf-join-a small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pf-join { animation: none; } .pf-join-a .ic { transition: none; } }

/* "@name is live": shown once, after the first save */
.live-pop { display: grid; gap: 14px; }
.live-pop > p, .live-pop > h2 { margin: 0; }
.live-ic { display: block; width: 56px; height: 56px; }
.live-ic .logo-mark { width: 56px; height: 56px; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 0 34px rgba(157, 123, 255, .6); animation: live-ic-in .6s cubic-bezier(.2, .8, .3, 1.3) both; }
.live-pop .media-row .inp { flex: 1; min-width: 0; }
.lv-acts { margin-top: 0; }
.live-pop .live-early { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(143, 243, 255, .06); box-shadow: inset 0 0 0 1px rgba(143, 243, 255, .28); color: var(--bone); }
.live-pop .live-early .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--ice); filter: drop-shadow(0 0 6px rgba(143, 243, 255, .8)); vertical-align: 0; }
.live-pop .live-early b { color: #fff; }
.live-pop .modal-actions { margin-top: 4px; }
@keyframes live-ic-in { from { opacity: 0; transform: scale(.6) rotate(-12deg); } }
@media (max-width: 420px) { .live-pop .media-row { flex-wrap: nowrap; } }
@media (prefers-reduced-motion: reduce) { .live-ic .logo-mark { animation: none; } }

/* Invite section: copy a message, post on X */
.inv-share { margin-top: 10px; }

/* Rankings: top inviters */
.lb-inv .ic { color: var(--ice); }

/* Tag hint under the tags box */
#tag-warn { font-size: 13px; }

/* Admin: words and pages to check */
.wd-list { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.wd-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 14px; border-radius: 14px; background: rgba(255, 92, 122, .05); box-shadow: inset 0 0 0 1px rgba(255, 92, 122, .22); }
.wd-who { display: grid; gap: 2px; min-width: 0; }
.wd-who a { color: #fff; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.wd-who a:hover { text-decoration: underline; }
.wd-who small { color: var(--dim); font-size: 13px; overflow-wrap: anywhere; }
@media (max-width: 480px) { .wd-list li { flex-wrap: wrap; } }

/* Rankings: four tabs make two rows on phones instead of hiding "top inviters" off the edge */
@media (max-width: 520px) {
  .ex-tabs--rank { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; overflow: visible; }
  .ex-tabs--rank .ex-tab { width: 100%; }
}

/* ==========================================================================
   Round 21: where each link goes, Discord sign-in, bug reports, what's new
   ========================================================================== */
.lk-to { grid-column: 1 / -1; margin: -2px 0 4px 42px; overflow: hidden; color: var(--dim); font-size: 12.5px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.lk-to:empty { display: none; }
.lk-to a { color: var(--ice); text-decoration: none; }
.lk-to a:hover, .lk-to a:focus-visible { text-decoration: underline; }
.lk-to b { color: var(--bone); font-weight: 600; }
.lk-to-bad { color: var(--gold); white-space: normal; }
@media (max-width: 760px) { .lk-to { margin-left: 0; } }

/* Discord sign-in */
.auth-sso { margin: 24px 0 0; }
.auth-sso[hidden] { display: none; }
.btn-discord { gap: 10px; background: #5865f2; color: #fff; }
.btn-discord:hover { background: #4f5bdc; box-shadow: 0 0 0 4px rgba(88, 101, 242, .28), 0 0 32px rgba(88, 101, 242, .55); }
.btn-discord .dc-mark { width: 18px; height: 18px; }
/* v34: Continue with TrapGod / OG Brokerage (the EE network) */
.btn-net { gap: 10px; background: #000; color: #ecebf5; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.btn-net:hover { color: #ecebf5; box-shadow: inset 0 0 0 1px rgba(157, 123, 255, .75), 0 0 24px rgba(157, 123, 255, .25); }
.btn-net .net-mark { width: 22px; height: 22px; border-radius: 6px; object-fit: contain; flex: none; }
.btn-tg:hover { box-shadow: inset 0 0 0 1px rgba(244, 114, 182, .75), 0 0 24px rgba(244, 114, 182, .25); }
.btn-ogb:hover { box-shadow: inset 0 0 0 1px rgba(212, 175, 55, .75), 0 0 24px rgba(212, 175, 55, .25); }
.net-bring { margin: 14px 0 0; padding: 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.net-bring p { margin: 0 0 10px; }
.net-bring .btn { margin-top: 8px; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 20px 0 -8px; color: var(--dim); font-size: 13px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-panel > .auth-sso + .form { margin-top: 26px; }

/* Bug reports */
.tk-bug { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 14px; background: rgba(163, 230, 53, .06); box-shadow: inset 0 0 0 1px rgba(163, 230, 53, .28); color: var(--bone); }
.tk-bug[hidden] { display: none; }
.tk-bug .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; color: #a3e635; filter: drop-shadow(0 0 6px rgba(163, 230, 53, .7)); vertical-align: 0; }
.tk-bug b { color: #fff; }

/* What's new (dashboard) */
.news { margin: 0 0 18px; padding: 16px 18px 14px; border-radius: 18px; background: radial-gradient(90% 140% at 0% 0%, rgba(var(--uv-rgb), .16), transparent 60%), rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(var(--uv-rgb), .35); }
.news-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.news-head b { display: inline-flex; align-items: center; gap: 8px; color: #fff; font: 700 15px/1.2 var(--f-display); letter-spacing: -.01em; }
.news-head .ic { width: 16px; height: 16px; color: var(--ice); }
.news ul { display: grid; gap: 6px; margin: 10px 0 0; padding: 0 0 0 18px; color: var(--haze); font-size: 14px; line-height: 1.45; }
.news li::marker { color: var(--ice); }
.news b { color: var(--bone); }
.news a { color: var(--ice); }

/* ---------------------------------------------------------------------- *
 * Round 22: name notes, holiday drops and looks
 * ---------------------------------------------------------------------- */
/* a name that was changed for a blocked word */
.name-note { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; padding: 12px 12px 12px 14px; border-radius: 14px; background: rgba(255, 211, 107, .07); box-shadow: inset 0 0 0 1px rgba(255, 211, 107, .35); color: var(--bone); font-size: 14px; line-height: 1.45; }
.name-note[hidden] { display: none; }
.name-note > .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--gold); }
.name-note span { flex: 1; }
.name-note b { color: #fff; }
.name-note .icon-btn { flex: none; margin: -4px -4px 0 0; }

/* the holiday drop card at the top of the dashboard */
.drop-note { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 14px; margin: 0 0 18px; padding: 16px 44px 16px 16px; border-radius: 18px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); background: radial-gradient(110% 160% at 0% 0%, color-mix(in srgb, var(--bc) 22%, transparent), transparent 62%), rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bc) 45%, transparent); }
.drop-note[hidden] { display: none; }
.dn-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .06); background: color-mix(in srgb, var(--bc) 16%, transparent); color: var(--bc); }
.dn-ic .ic { width: 26px; height: 26px; filter: drop-shadow(0 0 8px var(--bc)); }
.dn-txt { display: grid; gap: 2px; font-size: 14px; color: var(--haze); }
.dn-txt b { color: #fff; font: 700 15px/1.25 var(--f-display); letter-spacing: -.01em; }
.dn-acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.drop-note .dn-x { position: absolute; top: 8px; right: 8px; }
@media (min-width: 761px) { .drop-note { grid-template-columns: auto minmax(0, 1fr) auto; } .dn-acts { grid-column: auto; } }

/* holiday themes: marked "soon" for admins before they come out */
.theme--holiday { position: relative; }
.theme .soon { position: absolute; top: 10px; right: 10px; padding: 1px 6px; border: 1px solid rgba(255, 211, 107, .35); border-radius: 6px; background: rgba(10, 10, 14, .8); color: var(--gold); font: 600 10px/1.4 var(--f-body, inherit); font-style: normal; letter-spacing: .02em; pointer-events: none; }

/* the Santa hat avatar decoration */
.deco-santa { position: absolute; z-index: 3; top: -27px; left: 50%; width: 78px; transform: translateX(-58%) rotate(-12deg); transform-origin: 50% 100%; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .45)) drop-shadow(0 0 10px rgba(255, 80, 80, .35)); pointer-events: none; animation: santa-bob 3.4s ease-in-out infinite; }
.deco-santa svg { display: block; width: 100%; height: auto; }
@keyframes santa-bob { 50% { transform: translateX(-58%) rotate(-8deg) translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .deco-santa { animation: none; } }
.pf--sq .deco-santa { top: -24px; }

/* admin prices: sold from and sold until */
.pr-row--sched { grid-template-columns: minmax(0, 1fr) 100px 140px 140px auto auto; }
@media (max-width: 860px) {
  .pr-row--sched { grid-template-columns: minmax(0, 1fr) 110px; }
  .pr-row--sched .pr-until { grid-column: auto; }
}
@media (max-width: 520px) { .pr-row--sched .pr-until { grid-column: 1 / -1; } }

/* admin: names changed for a blocked word */
.wd-changes small { color: var(--dim); }

/* ==========================================================================
   v24: sales boost, readable text, gifts
   ========================================================================== */

/* bug 30: each badge is a real button inside its list item */
.pf-bli { display: flex; }
button.pf-badge { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* readable text: a soft shadow under the words when the background is bright or busy */
.pf--halo-dark { --halo: 0 0 1px rgba(0, 0, 0, .95), 0 1px 2px rgba(0, 0, 0, .8), 0 0 6px rgba(0, 0, 0, .45); --halo-f: drop-shadow(0 0 1.5px rgba(0, 0, 0, .9)); }
.pf--halo-light { --halo: 0 0 1px rgba(255, 255, 255, .95), 0 1px 2px rgba(255, 255, 255, .75), 0 0 6px rgba(255, 255, 255, .45); --halo-f: drop-shadow(0 0 1.5px rgba(255, 255, 255, .9)); }
.pf--legible .pf-bio, .pf--legible .pf-handle, .pf--legible .pf-aka, .pf--legible .pf-meta, .pf--legible .pf-tags, .pf--legible .pf-link-label, .pf--legible .pf-link-type,
.pf--legible .wg-txt, .pf--legible .pf-proj, .pf--legible .pf-sec-h, .pf--legible .pf-dc-txt, .pf--legible .pf-pl-title, .pf--legible .pf-pl-artist, .pf--legible .pf-gb-body,
.pf--legible.fx-none .pf-name,
.pf--legible-out .pf-foot, .pf--legible-out .pf-corner { text-shadow: var(--halo); }
.pf--legible.bs-solid .pf-link-label, .pf--legible.bs-solid .pf-link-type { text-shadow: none; }
.pf--legible .pf-meta .ic, .pf--legible:not(.bs-solid) .pf-link-ic, .pf--legible:not(.bs-solid) .pf-soc, .pf--legible-out .pf-foot .ic { filter: var(--halo-f); }

/* a free page at a limit: the add button keeps working and offers Premium */
.btn.is-cap { opacity: .85; }
.cap-lock { display: inline-flex; margin-left: 2px; color: #b07bff; }
.cap-lock .ic { width: 13px; height: 13px; }
.seg label.locked span, .tgl.locked { cursor: pointer; }
.seg label.locked input { cursor: pointer; }

/* the Premium card in the dashboard */
.offer { display: grid; justify-items: start; gap: 4px; }
.offer-ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 10px; border-radius: 16px; background: color-mix(in srgb, var(--bc) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bc) 40%, transparent), 0 0 30px -8px var(--bc); color: var(--bc); }
.offer-ic .ic { width: 26px; height: 26px; filter: drop-shadow(0 0 8px var(--bc)); }
.offer-kick { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: #b07bff; font: 700 11.5px/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.offer-kick .ic { width: 12px; height: 12px; }
.offer .modal-title { margin: 2px 40px 0 0; }
.offer-lede { margin: 4px 0 10px; color: var(--haze); font-size: 15px; }
.offer-perks { display: grid; gap: 7px; margin: 0 0 14px; padding: 0; list-style: none; }
.offer-perks li { display: flex; align-items: flex-start; gap: 9px; color: var(--bone); font-size: 14.5px; }
.offer-perks .ic { flex: none; width: 15px; height: 15px; margin-top: 3px; color: var(--ok); }
.offer-price { margin: 0 0 14px; color: var(--haze); font-size: 14.5px; }
.offer-price b { color: var(--gold); font: 700 19px var(--f-display); }
.offer .modal-actions { margin: 0; }
.offer-foot { margin: 14px 0 0; color: var(--haze); font-size: 13px; }

/* the shop: "yours" tags, gift buttons, Premium in groups, after you pay, free vs Premium */
.own-tag { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 2px 8px 2px 6px; border-radius: 999px; background: rgba(94, 242, 160, .12); color: var(--ok); font: 600 12px/1.4 var(--f-body); letter-spacing: 0; vertical-align: 3px; white-space: nowrap; }
.own-tag .ic { width: 12px; height: 12px; }
.shop-item { grid-template-columns: 56px minmax(0, 1fr) auto; }
.shop-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.drop-btns { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
@media (max-width: 760px) { .drop-btns { flex-direction: row; align-items: center; } }
.prem-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin: 0 0 22px; }
.prem-group h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: #fff; font: 700 15px var(--f-display); letter-spacing: -.01em; text-transform: lowercase; }
.prem-group h3 .ic { width: 17px; height: 17px; color: #b07bff; filter: drop-shadow(0 0 6px rgba(176, 123, 255, .7)); }
.prem-group .prem-perks { grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0; }
.prem-group .prem-perks li { align-items: flex-start; font-size: 14.5px; }
.prem-group .prem-perks .ic { flex: none; margin-top: 3px; }
.prem-groups { grid-template-rows: auto auto 1fr; }
.prem-groups .prem-group:first-child { grid-row: span 3; }
.prem-after { margin: 0 0 22px; padding: 16px 18px; border-radius: 16px; background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px var(--line); }
.prem-after h3 { margin: 0 0 8px; color: #fff; font: 700 15px var(--f-display); }
.prem-after ol { display: grid; gap: 7px; margin: 0; padding: 0 0 0 20px; color: var(--haze); font-size: 14.5px; }
.prem-after li::marker { color: var(--ice); font-weight: 700; }
.prem-after b { color: #fff; font-weight: 600; }
.prem-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.prem-own { display: inline-flex; align-items: center; gap: 7px; margin: 0; color: var(--ok); font-weight: 600; }
.prem-own .ic { width: 17px; height: 17px; }
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 250px)); justify-content: center; gap: 24px; margin: 4px 0 30px; }
.vs-side { display: grid; align-content: start; gap: 12px; margin: 0; }
.vs-side figcaption { display: grid; gap: 2px; color: var(--haze); font-size: 13.5px; line-height: 1.4; text-align: center; }
.vs-side figcaption b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: #fff; font: 700 16px var(--f-display); }
.vs-side figcaption .ic { width: 16px; height: 16px; color: #b07bff; }
.vs-side--prem .ls-phone { box-shadow: inset 0 0 0 1px rgba(176, 123, 255, .55), 0 30px 90px -36px rgba(176, 123, 255, .85); }
@media (max-width: 760px) {
  .prem-groups { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .prem-groups .prem-group:first-child { grid-row: auto; }
}
@media (max-width: 560px) {
  .shop-item { grid-template-columns: 48px minmax(0, 1fr); }
  .shop-buy { grid-column: 2 / -1; justify-content: flex-start; }
  .vs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .vs-side figcaption { font-size: 12.5px; }
}

/* buying a gift */
.buy-giftchk { margin: -8px 0 12px; }
.buy-giftchk span { display: inline-flex; align-items: center; gap: 7px; }
.buy-giftchk .ic { width: 16px; height: 16px; color: #ff7ad9; }
.buy-own { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--ok); font-size: 14px; }
.buy-own .ic { flex: none; width: 16px; height: 16px; }
.buy-gift { display: grid; gap: 6px; margin: 0 0 16px; }
.buy-gift[hidden] { display: none; }
.buy-gift .lbl { margin: 0; }
.buy-to-st { min-height: 20px; margin: 0; color: var(--haze); font-size: 13.5px; }
.buy-to-st .ic { display: inline-block; width: 15px; height: 15px; margin-right: 5px; vertical-align: -3px; }
.buy-to-st.ok { color: var(--ok); }
.buy-to-st.ok b { color: #fff; }
.buy-to-st.bad { color: #ff8a9c; }
.bl-gift { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 1px 8px 1px 6px; border-radius: 999px; background: rgba(255, 122, 217, .12); color: #ff9be3; font-size: 12px; font-weight: 600; vertical-align: 1px; }
.bl-gift .ic { width: 12px; height: 12px; }
.bl-gift a { color: inherit; }
.gift-note .dn-txt a { color: #fff; }

/* admin: sales numbers */
.sl-tiles { margin: 10px 0 16px; }
.sl-wrap { overflow-x: auto; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.sl-wrap:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; }
.sl-table { width: 100%; border-collapse: collapse; color: var(--bone); font-size: 13.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sl-table th, .sl-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: right; }
.sl-table thead th { color: var(--haze); font-size: 12px; font-weight: 600; }
.sl-table th[scope="row"] { position: sticky; left: 0; background: var(--panel); color: #fff; font-weight: 600; text-align: left; }
.sl-table thead th:first-child { position: sticky; left: 0; background: var(--panel); text-align: left; }
.sl-table td.z { color: rgba(255, 255, 255, .28); }
.sl-table tfoot th, .sl-table tfoot td { border-bottom: 0; color: #fff; font-weight: 700; }
.sl-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.sl-how { margin-top: 12px; color: var(--haze); font-size: 14px; }
.sl-how summary { cursor: pointer; }
.sl-how summary:hover { color: #fff; }
.sl-how p { margin: 8px 0 0; }
.sl-how b { color: #fff; }

/* v25: the privacy page (it uses the help page's layout) and the line under the sign-up form; v26: the security and
   whitepaper pages use the same layout (.doc-page), and the whitepaper has two small tables */
.doc-page .help-sec ul, .doc-page .help-sec ol { max-width: 68ch; margin: 0 0 12px; padding: 0 0 0 20px; color: var(--bone); font-size: 15.5px; line-height: 1.65; }
.doc-page .help-sec li { margin: 0 0 8px; padding-left: 4px; }
.doc-page .help-sec li::marker { color: var(--haze); }
.doc-table { max-width: 760px; margin: 4px 0 16px; overflow-x: auto; }
.doc-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.doc-table th, .doc-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); color: var(--bone); text-align: left; vertical-align: top; }
.doc-table thead th { color: var(--haze); font-weight: 600; font-size: 13px; letter-spacing: .02em; }
.doc-table tbody th { color: #fff; font-weight: 600; }
.auth-legal { margin: 16px 0 0; color: var(--haze); font-size: 13px; line-height: 1.55; }
.auth-legal a { color: #fff; }

/* v28 (EE): Sign in with Google, next to the Discord button */
.btn-google { gap: 10px; background: #fff; color: #1f1f1f; }
.btn-google:hover { background: #f2f2f2; box-shadow: 0 0 0 4px rgba(255, 255, 255, .18); }
.btn-google .gg-mark { width: 18px; height: 18px; }
#sso .btn + .btn { margin-top: 10px; }

/* v28 (EE): sign up asks date of birth and "I agree to the Terms and Privacy Policy" */
.auth-dob { margin: 22px 0 0; }
.auth-dob .inp { color-scheme: dark; }
.auth-agree { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; line-height: 1.45; cursor: pointer; }
.auth-agree input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; accent-color: #9d7bff; cursor: pointer; }
.auth-agree a { text-decoration: underline; }
.auth-agree.is-missing { border-color: #ff5c7a; box-shadow: 0 0 0 3px rgba(255, 92, 122, .22); }
.auth-dob + .auth-agree + .auth-sso { margin-top: 18px; }

/* v34: points on the dashboard (daily reward, referral code) */
.pts { margin: 18px 0 0; padding: 16px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; gap: 14px; }
.pts-main, .pts-ref { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.pts-bal b { font: 800 28px/1 Unbounded, system-ui, sans-serif; color: var(--bone); }
.pts-bal span { margin-left: 6px; color: var(--haze); }
.pts-daily { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.pts-done { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); }
.pts-label { display: block; font-size: 12px; color: var(--haze); }
.pts-code { font: 700 20px/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; color: var(--uv); }
.pts-use { display: flex; gap: 8px; max-width: 320px; }
.pts-use input { flex: 1; min-width: 0; }
.pts-hist summary { cursor: pointer; color: var(--haze); }
.pts-hist ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.pts-hist li { display: flex; justify-content: space-between; gap: 12px; }
.pts-hist li b { color: var(--ok); }
@media (max-width: 520px) { .pts-main, .pts-ref { align-items: flex-start; flex-direction: column; } }
/* v56: "import from TrapGod" on the dashboard (mountTgImport in app.js) */
.tgi { margin: 14px 0 0; padding: 16px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; gap: 12px; }
.tgi-head { display: flex; align-items: flex-start; gap: 12px; }
.tgi-head .net-mark { width: 28px; height: 28px; border-radius: 7px; object-fit: contain; flex: none; margin-top: 2px; }
.tgi-head h2 { margin: 0 0 4px; font: 700 16px/1.2 Unbounded, system-ui, sans-serif; color: var(--bone); }
.tgi-head p { margin: 0; max-width: 62ch; }
.tgi-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 12px; }
.tgi-pick { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; }
.tgi-pick input { width: 20px; height: 20px; flex: none; accent-color: var(--uv); }
.tgi-txt { display: grid; min-width: 0; flex: 1; }
.tgi-txt b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tgi-txt small { color: var(--haze); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tgi-pick em { font-style: normal; font-size: 12px; color: var(--haze); flex: none; }
.tgi-have { display: flex; align-items: center; gap: 6px; margin: 0; }
.tgi-have .ic { width: 16px; height: 16px; color: var(--ok); flex: none; }
.tgi-av img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.tgi-av { max-width: 520px; }
.tgi-av .tgi-txt b, .tgi-av .tgi-txt small { white-space: normal; }
.tgi-warn { color: var(--gold); margin: 0; }
.tgi-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.tgi-sub { margin: 4px 0 0; font: 600 13px/1.2 "Instrument Sans", system-ui, sans-serif; color: var(--haze); letter-spacing: .02em; }
.tgi > .hint { margin: 0; }
.tgi-acts .btn { min-height: 44px; }
@media (max-width: 520px) { .tgi-list { grid-template-columns: 1fr; } .tgi-acts .btn { flex: 1; } }

/* OG Base's own Discord, Instagram and TikTok (config.js), in the footer and on the help page */
.foot-social, .help-social { display: inline-flex; flex-wrap: wrap; gap: 8px 16px; }
.foot-social a, .help-social a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.help-social a { color: #fff; text-decoration: none; }
.foot-social img, .help-social img { width: 16px; height: 16px; flex: none; }

/* the sign-in button someone used, on the sign up page after it found no account (pageSignup ?via=) */
.btn.sso-pick { box-shadow: 0 0 0 2px #fff, 0 0 18px 2px rgba(157, 123, 255, 0.75); }

/* the OG Base Discord's live members, bottom right of the home page (mountDiscordLive) */
.dclive { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  width: 220px; padding: 14px 14px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(12,12,16,.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 12px 40px rgba(0,0,0,.45); color: #fff; font-size: 14px; }
.dclive[hidden] { display: none; }
.dclive-top { display: flex; align-items: center; gap: 8px; padding-right: 22px; }
.dclive-top .dc-mark { width: 20px; height: 20px; color: #5865f2; flex: none; }
.dclive-top b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dclive-n { display: flex; align-items: center; gap: 7px; margin: 8px 0 0; color: rgba(255,255,255,.8); }
.dclive-n .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ba55d; box-shadow: 0 0 0 3px rgba(59,165,93,.25); }
.dclive-av { display: flex; margin: 10px 0 0; }
.dclive-av img { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #0c0c10; margin-left: -6px; background: #222; }
.dclive-av img:first-child { margin-left: 0; }
.dclive-join { display: flex; justify-content: center; width: 100%; margin-top: 12px; background: #5865f2; color: #fff; }
.dclive-x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: rgba(255,255,255,.6); font-size: 20px; line-height: 1; cursor: pointer; }
.dclive-x:hover { color: #fff; background: rgba(255,255,255,.08); }
@media (max-width: 640px) { .dclive { width: auto; left: calc(12px + env(safe-area-inset-left, 0px)); right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); } }
.dclive-ig { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: rgba(255,255,255,.85); text-decoration: none; font-size: 13px; min-height: 32px; }
.dclive-ig:hover { color: #fff; }
.dclive-ig img { width: 16px; height: 16px; flex: none; }
.dclive-spots { margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.1); }
.dclive-spot { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.dclive-spot .net-mark { width: 26px; height: 26px; flex: none; border-radius: 6px; }
.dclive-spot span { display: grid; min-width: 0; }
.dclive-spot b { font-size: 13px; line-height: 1.25; }
.dclive-spot small { color: rgba(255,255,255,.6); font-size: 12px; }
.dclive-spot:hover b { text-decoration: underline; }
.dclive-top + .dclive-ig, .dclive-x + .dclive-ig { margin-top: 0; padding-right: 26px; }

/* the Discord box: slides in, and its join button glows and catches the light now and then */
@keyframes dclive-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes dclive-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(88,101,242,.55); } 50% { box-shadow: 0 0 0 6px rgba(88,101,242,0), 0 0 22px 2px rgba(88,101,242,.55); } }
@keyframes dclive-shine { 0%, 70% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(220%) skewX(-20deg); } }
@keyframes dclive-bounce { 0%, 88%, 100% { transform: translateY(0); } 92% { transform: translateY(-2px); } 96% { transform: translateY(1px); } }
.dclive:not([hidden]) { animation: dclive-in .45s cubic-bezier(.2,.8,.2,1) both; }
.dclive-join { position: relative; overflow: hidden; animation: dclive-glow 2.4s ease-in-out infinite, dclive-bounce 4.8s ease-in-out infinite; }
.dclive-join::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); animation: dclive-shine 3.6s ease-in-out infinite; pointer-events: none; }
.dclive-join:hover { animation-play-state: paused; filter: brightness(1.08); }
.dclive-n .dot { animation: dclive-glow-dot 1.8s ease-in-out infinite; }
@keyframes dclive-glow-dot { 0%, 100% { box-shadow: 0 0 0 3px rgba(59,165,93,.25); } 50% { box-shadow: 0 0 0 6px rgba(59,165,93,0); } }
@media (prefers-reduced-motion: reduce) {
  .dclive:not([hidden]), .dclive-join, .dclive-join::after, .dclive-n .dot { animation: none; }
}

/* ogbase.lol/news (articles from Nexora) and the homepage's "get the news" sign-up */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 22px; }
.news-card { display: flex; flex-direction: column; border: 1px solid var(--line, rgba(255,255,255,.1)); border-radius: 16px; overflow: hidden; color: inherit; text-decoration: none; background: rgba(255,255,255,.03); transition: transform .15s ease, border-color .15s ease; }
.news-card:hover { transform: translateY(-2px); border-color: rgba(157,123,255,.55); }
.news-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #111; }
.news-cover--blank { background: linear-gradient(135deg, #2a1a55, #0f0f14 60%, #13361f); }
.news-body { display: grid; gap: 6px; padding: 14px 16px 18px; }
.news-body small { color: var(--dim, rgba(255,255,255,.55)); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.news-body b { font-size: 18px; line-height: 1.25; }
.news-body span { color: var(--haze, rgba(255,255,255,.75)); font-size: 14px; line-height: 1.5; }
.news-article { max-width: 760px; }
.news-meta { color: var(--dim, rgba(255,255,255,.55)); margin: -4px 0 18px; }
.news-hero { width: 100%; border-radius: 16px; margin: 0 0 22px; }
.news-text { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.9); }
.news-text h2 { font-size: 24px; margin: 34px 0 10px; }
.news-text h3 { font-size: 19px; margin: 26px 0 8px; }
.news-text p, .news-text ul, .news-text ol { margin: 0 0 16px; }
.news-text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.news-text img { max-width: 100%; height: auto; border-radius: 12px; }
.news-text blockquote { margin: 0 0 16px; padding: 4px 0 4px 16px; border-left: 3px solid #9d7bff; color: rgba(255,255,255,.8); }
.news-back { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.news-sub { max-width: 1180px; margin: 40px auto 0; padding: 0 clamp(16px, 4vw, 40px); }
.news-sub-in { display: grid; grid-template-columns: 1fr minmax(280px, 420px); gap: 14px 28px; align-items: center; padding: 26px; border: 1px solid rgba(157,123,255,.35); border-radius: 20px; background: linear-gradient(135deg, rgba(157,123,255,.12), rgba(255,255,255,.02)); }
.news-sub h2 { margin: 0 0 6px; font-size: 22px; }
.news-sub p { margin: 0; color: var(--haze, rgba(255,255,255,.75)); }
.news-sub p a { color: #fff; }
.news-sub-f { display: flex; gap: 8px; }
.news-sub-f .inp { flex: 1; min-width: 0; }
.news-sub-msg { grid-column: 1 / -1; min-height: 1.2em; font-size: 14px; }
.news-sub-msg.ok { color: #7fd39a; }
.news-sub-msg.bad { color: #ff9a8a; }
@media (max-width: 760px) { .news-sub-in { grid-template-columns: 1fr; padding: 20px; } .news-sub-f { flex-direction: column; } }

/* ogbase.lol/pixel-pets: each pet strolls across its own little stage */
.pets-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin-top: 22px; }
.pet-card { display: grid; gap: 10px; align-content: start; padding: 18px; border: 1px solid var(--line, rgba(255,255,255,.1)); border-radius: 18px; background: rgba(255,255,255,.03); }
.pet-card h2 { margin: 0; font-size: 20px; }
.pet-card p { margin: 0; color: var(--haze, rgba(255,255,255,.75)); }
.pet-stage { position: relative; height: 92px; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #0c1210, #07140b 70%, #0f2a16); box-shadow: inset 0 -2px 0 rgba(57,255,20,.25); }
.pet-stage .pf-pet { bottom: 10px; }
.pet-price { font-weight: 700; color: #fff !important; }
.pet-giftchk { margin: 2px 0 0; }
.pet-gift[hidden] { display: none; }

/* the footer's EE network row, and the homepage's "find us everywhere" block (SITE_SOCIALS + NET_SITES in app.js) */
.foot-net { align-items: center; }
.foot-net-l { color: var(--haze); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.foot-net img { border-radius: 4px; }
.home-follow-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 20px; }
.home-follow-a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; background: rgba(255, 255, 255, 0.04); color: #fff; text-decoration: none; transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease; }
.home-follow-a img { grid-row: 1 / 3; width: 22px; height: 22px; border-radius: 5px; }
.home-follow-a b { font-weight: 600; }
.home-follow-a small { color: var(--haze); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-follow-a:hover, .home-follow-a:focus-visible { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.07); }
.home-follow-a--net { border-style: dashed; }
@media (prefers-reduced-motion: reduce) { .home-follow-a { transition: none; } .home-follow-a:hover { transform: none; } }

/* v42: the plain-words intro under app-drawn pages (discover, rankings, support, news, pixel pets), and the
   server-written pages from hub.php: features, bio pages for..., guides and the starter look pages */
.page-about { max-width: 880px; margin: 0 auto; padding: 8px clamp(16px, 4vw, 40px) 64px; }
.page-about h2 { margin: 0 0 12px; color: #fff; font: 700 20px/1.2 var(--f-display); letter-spacing: -.02em; }
.page-about h3 { margin: 22px 0 10px; color: #fff; font: 600 15px/1.3 var(--f-body); }
.page-about p { max-width: 68ch; margin: 0 0 12px; color: var(--bone); font-size: 15px; line-height: 1.65; }
.page-about-list { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.page-about-list a { color: var(--haze); }
.page-about-list a:hover, .page-about-list a:focus-visible { color: #fff; }
.cp-crumbs { margin: 0 0 18px; color: var(--haze); font-size: 13.5px; }
.cp-crumbs a { color: var(--haze); }
.cp-crumbs a:hover { color: #fff; }
.cp .help-sec ol, .cp .help-sec ul { max-width: 66ch; margin: 0 0 12px; padding-left: 22px; color: var(--bone); font-size: 15.5px; line-height: 1.65; }
.cp .help-sec li { margin: 0 0 6px; }
.cp .help-sec h3 { margin: 18px 0 8px; color: #fff; font: 600 16px/1.3 var(--f-body); }
.cp .help-sec strong, .cp .help-sec a { color: #fff; }
.cp-h2 { margin: 36px 0 14px; color: #fff; font: 700 20px/1.2 var(--f-display); letter-spacing: -.02em; }
.cp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 0 0 12px; padding: 0; list-style: none; }
.cp-cards a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); color: var(--bone); text-decoration: none; }
.cp-cards a:hover, .cp-cards a:focus-visible { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.cp-cards b { color: #fff; font-size: 16px; }
.cp-cards span { font-size: 14px; line-height: 1.5; color: var(--haze); }
.cp-table-wrap { overflow-x: auto; margin: 0 0 12px; }
.cp-table { width: 100%; max-width: 680px; border-collapse: collapse; color: var(--bone); font-size: 14.5px; }
.cp-table th, .cp-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cp-table thead th { color: var(--haze); font-size: 12.5px; font-weight: 600; }
.cp-table th[scope="row"] { color: #fff; font-weight: 600; }
.cp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.cp-meta { margin: 8px 0 0; color: var(--haze); font-size: 13.5px; }
.cp-more { margin: 24px 0 0; color: var(--haze); font-size: 14.5px; }
.cp-more a { color: #fff; }
.cp-related { margin: 8px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
.cp-related h2 { margin: 0 0 12px; color: #fff; font: 700 18px/1.2 var(--f-display); }
.cp-related ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cp-related a { display: inline-block; padding: 9px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--bone); font-size: 14px; text-decoration: none; }
.cp-related a:hover, .cp-related a:focus-visible { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.cp-look { display: grid; place-items: center; min-height: 420px; margin: 0 0 8px; padding: 24px 12px; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.cp-look > p { margin: 0; color: var(--haze); font-size: 14px; }
.cp-look .tp-phone { width: 100%; }
.cp-look .phone { width: 280px; max-width: 100%; }

/* v75: admin health fixes, badge giving folded away, shop section links */
.hl .hl-fix { display: inline-block; margin-top: 4px; color: #fff; }
.hl-good { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: #fff; }
.adm-none { color: var(--haze); font-size: 12.5px; padding: 0 6px; }
.adm-give { display: inline-block; vertical-align: middle; }
.adm-give > summary { cursor: pointer; display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--haze); font-size: 12.5px; list-style: none; }
.adm-give > summary::-webkit-details-marker { display: none; }
.adm-give > summary::after { content: "+"; margin-left: 6px; color: #fff; }
.adm-give[open] > summary::after { content: "\2212"; }
.adm-give > summary:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.adm-give-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.shop-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.shop-jump a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: #fff; text-decoration: none; font-size: 14px; }
.shop-jump a:hover, .shop-jump a:focus-visible { background: rgba(255, 255, 255, .06); }
.pay-st { margin: 8px 0 14px; }
/* v53: sign up from a profile's join button: the name first, who invited them, a create button above the keyboard */
.auth-signup .auth-panel > .lbl { margin-top: 22px; }
.auth-signup .auth-panel > .hint { margin: 8px 0 0; }
.auth-invite { display: flex; align-items: center; gap: 10px; margin: 4px 0 0; color: var(--haze); font-size: 15px; }
.auth-invite .logo-mark { flex: none; width: 24px; height: 24px; border-radius: 7px; }
.auth-invite a { color: #fff; font-weight: 700; text-decoration: none; }
.auth-invite a:hover, .auth-invite a:focus-visible { text-decoration: underline; }
.auth-go { position: sticky; bottom: calc(var(--kb, 0px) + 12px + env(safe-area-inset-bottom, 0px)); z-index: 3; }
.auth-go .btn { box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .9); }
/* v62: "full width" (settings.links_width): links and widgets one per row in every layout that puts two side by side.
   Later in the file than the layout rules, same weight, so it wins. Bento keeps its own tiles. */
.pf--full .pf-links--pills, .pf--full .pf-wgs { grid-template-columns: minmax(0, 1fr); }
.pf--full .pf-links--pills .pf-link:last-child:nth-child(odd), .pf--full .pf-wgs > :last-child:nth-child(odd) { grid-column: auto; }
