/* ============================================================
   fedding.fun - sleek dark-grey glass UI
   monochrome by default · user accent on profile pages
   ============================================================ */
:root {
  --bg: #09090b;
  --bg-2: #0d0d0f;
  --surface: rgba(255, 255, 255, 0.026);
  --surface-2: rgba(255, 255, 255, 0.05);
  --surface-hover: rgba(255, 255, 255, 0.075);
  --stroke: rgba(255, 255, 255, 0.085);
  --stroke-2: rgba(255, 255, 255, 0.16);
  --text: #f4f4f5;
  --text-2: #a1a1aa;
  --text-3: #6b6b74;
  --white: #fafafa;
  --ink: #09090b;
  --accent: #d4d4d8;
  --good: #4ade80;
  --bad: #f87171;
  --warn: #fbbf24;
  --blur: 18px;
  --r-sm: 9px;
  --r: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', 'Inter', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* top light + faint grid, no purple glow */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% -8%, rgba(255, 255, 255, 0.07), transparent 62%),
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(255, 255, 255, 0.028), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 78%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(255, 255, 255, 0.16); }

.glass {
  background: var(--surface);
  backdrop-filter: blur(var(--blur)) saturate(130%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(130%);
  border: 1px solid var(--stroke);
}

/* ---------- scroll progress + reveal ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%; z-index: 100;
  background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, .3));
}
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .68rem 1.15rem; border-radius: var(--r-sm); font-weight: 600; font-size: .9rem;
  border: 1px solid var(--stroke); background: var(--surface-2); color: var(--text);
  cursor: pointer; transition: transform .18s var(--ease), background .2s, border-color .2s, box-shadow .2s;
  font-family: inherit; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); background: var(--surface-hover); border-color: var(--stroke-2); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--white); border-color: var(--white); color: var(--ink); font-weight: 700;
}
.btn-primary:hover { background: #e4e4e7; border-color: #e4e4e7; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.btn-danger { background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .3); color: #fca5a5; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-sm { padding: .46rem .8rem; font-size: .82rem; border-radius: 8px; }
.btn-lg { padding: .85rem 1.6rem; font-size: 1rem; border-radius: 11px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- Inputs ---------- */
.input, select.input, textarea.input {
  width: 100%; padding: .74rem .9rem; border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--stroke);
  color: var(--text); font-family: inherit; font-size: .92rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder { color: var(--text-3); }
.input:focus { outline: none; border-color: var(--stroke-2); box-shadow: 0 0 0 3px rgba(255, 255, 255, .06); background: rgba(255, 255, 255, .05); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; padding-right: 2.2rem; }
label { display: block; font-size: .8rem; font-weight: 600; color: var(--text-2); margin-bottom: .35rem; }
.field { margin-bottom: 1rem; }
textarea.input { resize: vertical; min-height: 96px; }

/* ---------- Layout ---------- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.4rem; }
.center-col { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); font-size: .85rem; }
.gradient-text {
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 130%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  color: #fff;
}
.eyebrow { font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(16px) saturate(130%); -webkit-backdrop-filter: blur(16px) saturate(130%);
  background: rgba(9, 9, 11, 0.55); border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.scrolled { background: rgba(9, 9, 11, 0.82); border-bottom-color: var(--stroke); }
.nav-inner { max-width: 1140px; margin: 0 auto; padding: .8rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 700; font-size: 1.08rem; letter-spacing: -.02em; }
.brand-ico { width: 26px; height: 26px; border-radius: 8px; object-fit: cover; transition: transform .4s var(--ease); }
.brand:hover .brand-ico { transform: rotate(-8deg) scale(1.05); }
.nav-links { display: flex; align-items: center; gap: .3rem; }
.nav-links a { padding: .5rem .8rem; border-radius: 8px; color: var(--text-2); font-size: .89rem; font-weight: 500; transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a.active { background: var(--surface-2); color: var(--text); }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); backdrop-filter: blur(var(--blur)) saturate(130%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(130%);
  border: 1px solid var(--stroke); border-radius: var(--r-lg); padding: 1.5rem;
  box-shadow: var(--shadow-soft); transition: border-color .25s, transform .3s var(--ease), box-shadow .3s;
}
.card:hover { border-color: var(--stroke-2); }
.card-pad-lg { padding: 2.1rem; }

/* ---------- Hero live preview stack ---------- */
.hero-stack { position: relative; width: 100%; max-width: 560px; height: 460px; margin: 0 auto; perspective: 1200px; }
.hero-card { position: absolute; top: 0; left: 50%; width: 320px; margin-left: -160px; height: 440px; overflow: hidden; border-radius: 22px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); transition: transform .55s cubic-bezier(.22,.61,.36,1), box-shadow .55s var(--ease); transform-style: preserve-3d; backface-visibility: hidden; -webkit-backface-visibility: hidden; will-change: transform; }
.hero-card.tilt-left { transform: translateX(-108px) rotateY(14deg) rotateZ(-3deg) scale(.94); z-index: 1; opacity: .9; }
.hero-card.tilt-mid { transform: translateX(0) rotateY(0) scale(1); z-index: 3; }
.hero-card.tilt-right { transform: translateX(108px) rotateY(-14deg) rotateZ(3deg) scale(.94); z-index: 2; opacity: .9; }
.hero-card .pf-card { pointer-events: none; transform: none !important; height: 100%; overflow: hidden; }
.hero-card.tilt-left:hover { z-index: 5; opacity: 1; transform: translateX(-108px) rotateY(10deg) rotateZ(-2deg) scale(.97); }
.hero-card.tilt-mid:hover { z-index: 5; transform: translateX(0) rotateY(0) scale(1.04); }
.hero-card.tilt-right:hover { z-index: 5; opacity: 1; transform: translateX(108px) rotateY(-10deg) rotateZ(2deg) scale(.97); }
.hero { padding: 6.5rem 0 3rem; text-align: center; position: relative; }
.hero h1 {
  font-family: var(--display); font-size: clamp(2.4rem, 6.4vw, 4.4rem); font-weight: 700;
  letter-spacing: -.045em; line-height: 1.02; margin-bottom: 1.1rem;
}
.hero p.lead { font-size: clamp(1rem, 2.2vw, 1.18rem); color: var(--text-2); max-width: 620px; margin: 0 auto 2rem; }
.hero-cta { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .38rem .85rem; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--stroke); font-size: .8rem; color: var(--text-2);
  margin-bottom: 1.6rem; font-family: var(--mono);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--good); box-shadow: 0 0 9px var(--good); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero-shot { margin: 3.5rem auto 0; max-width: 440px; perspective: 1400px; }
.hero-shot .pf-card { transform: rotateX(6deg); transition: transform .6s var(--ease); }
.hero-shot:hover .pf-card { transform: rotateX(0deg) translateY(-6px); }
.scroll-cue { margin-top: 3rem; color: var(--text-3); font-size: .78rem; font-family: var(--mono); letter-spacing: .1em; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(180deg, var(--stroke-2), transparent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-head { max-width: 620px; margin-bottom: 2.4rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; letter-spacing: -.03em; margin-bottom: .5rem; }
.section-sub { color: var(--text-2); }
.divider-line { height: 1px; background: var(--stroke); border: none; margin: 0; }

/* ---------- Claim username row ---------- */
.claim-row { display: flex; align-items: stretch; gap: .5rem; max-width: 460px; margin: 0 auto; background: var(--surface); border: 1px solid var(--stroke-2); border-radius: 14px; padding: .35rem; }
.claim-prefix { display: flex; align-items: center; padding: 0 .6rem; color: var(--text-3); font-family: var(--mono); font-size: .85rem; white-space: nowrap; }
.claim-input { border: none !important; background: transparent !important; box-shadow: none !important; padding: .5rem .4rem; }
.claim-row .btn { border-radius: 10px; }
.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--stroke); border: 1px solid var(--stroke); border-radius: var(--r-lg); overflow: hidden; }
.stats-strip > div { background: var(--bg); padding: 1.6rem 1.4rem; }
.stats-strip .big { font-family: var(--display); font-size: 1.9rem; font-weight: 700; letter-spacing: -.03em; }
.stats-strip .cap { color: var(--text-3); font-size: .8rem; }

/* ---------- Bento / features ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.bento .card { padding: 1.7rem; display: flex; flex-direction: column; gap: .6rem; min-height: 180px; }
.bento .span-2 { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento h3 { font-family: var(--display); font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.bento p { color: var(--text-2); font-size: .92rem; }
.ico {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--stroke); margin-bottom: .3rem; color: var(--text);
}
.ico svg { width: 19px; height: 19px; }

/* feature "visual" mock inside bento */
.bento .viz { margin-top: auto; border-radius: var(--r); border: 1px solid var(--stroke); background: rgba(0, 0, 0, .25); padding: .9rem; overflow: hidden; }
.viz-row { display: flex; align-items: center; gap: .6rem; padding: .4rem 0; }
.viz-bar { height: 8px; border-radius: 4px; background: var(--surface-hover); }
.viz-livepage { padding: .9rem; }
.vlp-handle { font-family: var(--mono); font-size: .72rem; color: var(--text-3); margin-bottom: .6rem; }
.vlp-np { display: flex; align-items: center; justify-content: flex-start; gap: .5rem; padding: .45rem .6rem; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--stroke); margin-bottom: .7rem; font-size: .78rem; color: var(--text-2); }
.vlp-np-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vlp-song { display: flex; flex-direction: column; gap: .28rem; }
.vlp-lyric { font-size: .84rem; color: var(--text-3); line-height: 1.4; }
.vlp-lyric.active { color: var(--text); font-weight: 600; }

/* ---------- Split (text + visual) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split.rev > .split-visual { order: -1; }
.split ul.checks { list-style: none; display: flex; flex-direction: column; gap: .7rem; margin-top: 1.4rem; }
.split ul.checks li { display: flex; gap: .6rem; color: var(--text-2); font-size: .95rem; }
.split ul.checks li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: .22rem; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--stroke-2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23f4f4f5' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.split-visual .card { padding: 1.2rem; }

/* ---------- Integration grid ---------- */
.int-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; }
@media (max-width: 1000px) { .int-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .int-grid { grid-template-columns: repeat(2, 1fr); } }
.int-chip { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--stroke); font-size: .9rem; font-weight: 500; transition: transform .25s var(--ease), border-color .25s; }
.int-chip:hover { transform: translateY(-3px); border-color: var(--stroke-2); }
.int-chip .k { width: 30px; height: 30px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--stroke); display: grid; place-items: center; color: var(--text-2); }
.int-chip .k .soc { width: 16px; height: 16px; }

/* ---------- Showcase ---------- */
.show-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.show-card { display: block; padding: 1.4rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--stroke); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.show-card:hover { transform: translateY(-4px); border-color: var(--stroke-2); box-shadow: var(--shadow); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--stroke); }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--text); font-family: var(--display); font-size: 1.02rem; font-weight: 600; padding: 1.3rem 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q::after { content: '+'; color: var(--text-3); font-size: 1.4rem; line-height: 1; transition: transform .3s var(--ease); }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; color: var(--text-2); transition: max-height .4s var(--ease), padding .3s; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 1.3rem; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 4rem 2rem; border-radius: var(--r-xl); border: 1px solid var(--stroke); background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(255, 255, 255, .06), transparent 70%), var(--surface); }
.cta-band h2 { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; margin-bottom: .7rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--stroke); margin-top: 3rem; padding: 2.5rem 0; color: var(--text-3); font-size: .88rem; }
.site-footer .cols { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--text); }

/* ---------- Profile card ---------- */
.pf-body { min-height: 100vh; }
.pf-bg { position: fixed; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .4; filter: blur(2px) saturate(.95); }
.pf-foot { display: flex; justify-content: center; align-items: center; gap: .6rem; margin-top: 1.4rem; }
.btn-icon { padding: .5rem .6rem; line-height: 0; }
.btn-icon svg { display: block; }
.pf-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; }
.pf-card {
  position: relative; width: 100%; max-width: 600px; border-radius: var(--r-xl); overflow: hidden;
  background: rgba(18, 18, 20, 0.72); backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid var(--stroke); box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  padding: 0 0 1.7rem; text-align: center;
}
.pf-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.pf-banner { height: 156px; background-size: cover; background-position: center; background-color: var(--bg-2); }
.pf-head { padding: 0 2rem; margin-top: -54px; }
.pf-avatar {
  width: 106px; height: 106px; border-radius: 50%; object-fit: cover; margin: 0 auto;
  border: 3px solid rgba(255, 255, 255, .14); box-shadow: 0 14px 40px rgba(0, 0, 0, .55); background: var(--bg-2);
}
.pf-name { font-family: var(--display); font-size: 1.55rem; font-weight: 700; margin-top: .85rem; letter-spacing: -.02em; }
.pf-handle { color: var(--text-3); font-size: .9rem; font-family: var(--mono); }
.pf-tagline { color: var(--text-2); margin-top: .55rem; font-size: .96rem; }
.pf-bio { color: var(--text-2); margin-top: .85rem; white-space: pre-wrap; font-size: .95rem; }
.pf-meta { display: flex; gap: 1rem; justify-content: center; margin-top: .8rem; color: var(--text-3); font-size: .84rem; }
.pf-socials { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin: 1.3rem 2rem 0; }
.pf-social { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--stroke); color: var(--text-2); transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s; }
.pf-social:hover { transform: translateY(-2px); background: var(--surface-hover); color: var(--text); border-color: var(--stroke-2); }
.soc { display: inline-block; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.pf-links { display: flex; flex-direction: column; gap: .6rem; margin: 1.2rem 2rem 0; }
.pf-link {
  padding: .9rem 1rem; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--stroke);
  font-weight: 600; transition: transform .2s var(--ease), border-color .2s, background .2s; position: relative; overflow: hidden;
}
.pf-link::after { content: '↗'; position: absolute; right: 1rem; opacity: .35; transition: transform .2s var(--ease), opacity .2s; }
.pf-link:hover { transform: translateY(-2px); border-color: var(--stroke-2); background: var(--surface-hover); }
.pf-link:hover::after { transform: translate(2px, -2px); opacity: .7; }

/* Discord presence widget */
.drp { margin: 1.2rem 2rem 0; text-align: left; border-radius: var(--r); overflow: hidden; border: 1px solid var(--stroke); background: rgba(0, 0, 0, .3); }
.drp-banner { height: 76px; background-size: cover; background-position: center; background-color: var(--bg-2); }
.drp-body { padding: .9rem 1rem; display: flex; gap: .9rem; }
.drp-av-wrap { position: relative; margin-top: -36px; }
.drp-av { width: 66px; height: 66px; border-radius: 50%; border: 4px solid #141416; background: var(--bg-2); }
.drp-status { position: absolute; right: 0; bottom: 3px; width: 16px; height: 16px; border-radius: 50%; border: 3px solid #141416; }
.s-online { background: #23a55a; } .s-idle { background: #f0b232; } .s-dnd { background: #f23f43; } .s-offline { background: #80848e; }
.drp-name { font-weight: 700; font-size: .97rem; }
.drp-tag { color: var(--text-3); font-size: .79rem; font-family: var(--mono); }
.drp-status-text { color: var(--text-2); font-size: .84rem; margin-top: .35rem; }
.drp-act { color: var(--text-2); font-size: .84rem; margin-top: .3rem; display: flex; gap: .4rem; align-items: center; }

/* ---------- Chips / badges ---------- */
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .6rem; border-radius: 999px; font-size: .74rem; font-weight: 600; background: var(--surface-2); border: 1px solid var(--stroke); }
.chip-accent { background: var(--surface-hover); border-color: var(--stroke-2); color: var(--text); }

/* ---------- Auth ---------- */
.auth-card { width: 100%; max-width: 420px; }
.auth-head { text-align: center; margin-bottom: 1.6rem; }
.auth-head h1 { font-family: var(--display); font-size: 1.55rem; font-weight: 700; margin-bottom: .3rem; letter-spacing: -.02em; }
.auth-alt { text-align: center; margin-top: 1.2rem; font-size: .89rem; color: var(--text-2); }
.auth-alt a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.divider { display: flex; align-items: center; gap: .8rem; color: var(--text-3); font-size: .78rem; margin: 1.2rem 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--stroke); }

/* ---------- Dashboard / editor ---------- */
.dash-grid { display: grid; grid-template-columns: 240px 1fr; gap: 1.4rem; margin: 1.6rem 0 3rem; align-items: start; }
.side-nav { display: flex; flex-direction: column; gap: .2rem; position: sticky; top: 84px; height: fit-content; }
.side-nav a { padding: .65rem .9rem; border-radius: var(--r-sm); color: var(--text-2); font-weight: 500; font-size: .92rem; cursor: pointer; transition: background .2s, color .2s; }
.side-nav a:hover { background: var(--surface-2); color: var(--text); }
.side-nav a.active { background: var(--surface-hover); color: var(--text); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.stat { padding: 1.2rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--stroke); }
.stat .num { font-family: var(--display); font-size: 1.85rem; font-weight: 700; letter-spacing: -.03em; }
.stat .lbl { color: var(--text-3); font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; }

/* ---------- Leaderboard ---------- */
.lb-row { display: flex; align-items: center; gap: 1rem; padding: .95rem 1.15rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--stroke); transition: transform .25s var(--ease), border-color .2s, background .2s; }
.lb-row:hover { transform: translateX(4px); border-color: var(--stroke-2); background: var(--surface-2); }
.lb-rank { font-family: var(--mono); font-weight: 700; font-size: .95rem; width: 34px; color: var(--text-3); text-align: center; }
.lb-rank.gold { color: #fcd34d; } .lb-rank.silver { color: #d4d4d8; } .lb-rank.bronze { color: #d97706; }
.lb-av { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; background: var(--bg-2); }
.lb-name { font-weight: 700; }
.lb-val { margin-left: auto; font-family: var(--mono); font-weight: 700; color: var(--text-2); font-size: .88rem; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: .25rem; background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--r); padding: .3rem; margin-bottom: 1.4rem; overflow-x: auto; width: fit-content; max-width: 100%; }
.tab { padding: .55rem 1.05rem; border-radius: 9px; font-weight: 600; font-size: .87rem; color: var(--text-2); cursor: pointer; white-space: nowrap; border: none; background: none; font-family: inherit; transition: background .2s, color .2s; }
.tab:hover { color: var(--text); }
.tab.active { background: var(--surface-hover); color: var(--text); }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 9999; display: flex; flex-direction: column; gap: .6rem; }
.toast { padding: .85rem 1.1rem; border-radius: var(--r-sm); background: rgba(18, 18, 20, .95); border: 1px solid var(--stroke-2); box-shadow: var(--shadow); backdrop-filter: blur(14px); font-size: .89rem; animation: toastIn .25s var(--ease); }
.toast.err { border-color: rgba(248, 113, 113, .5); }
.toast.ok { border-color: rgba(74, 222, 128, .45); }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ================= Custom selects ================= */
.ff-select { position: relative; display: inline-block; width: 100%; }
.card.ff-elevated { position: relative; z-index: 40; }
.ff-select-native { position: absolute; opacity: 0; pointer-events: none; width: 100%; height: 100%; left: 0; top: 0; }
.ff-select-btn { display: flex; align-items: center; justify-content: space-between; gap: .6rem; cursor: pointer; text-align: left; width: 100%; }
.ff-select-btn .ff-select-chevron { width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain; flex: none; }
.ff-select-menu { position: absolute; z-index: 200; top: calc(100% + 4px); left: 0; right: 0; max-height: 280px; overflow-y: auto; background: var(--bg-2); border: 1px solid var(--stroke-2); border-radius: 12px; box-shadow: var(--shadow); padding: .35rem; display: none; }
.ff-select.open .ff-select-menu { display: block; }
.ff-select-opt { padding: .55rem .7rem; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-size: .88rem; color: var(--text); }
.ff-select-opt:hover { background: var(--surface-hover); }
.ff-select-opt.sel { background: var(--surface); font-weight: 600; }
.ff-select-tick { color: var(--accent); }

/* ================= Badges ================= */
.pf-badges { display: flex; flex-wrap: wrap; gap: .35rem; margin: .5rem 0 .1rem; justify-content: center; }
.pf-badges:empty, .pf-badges:not(.has) { display: none; }
.ff-badge { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--stroke); line-height: 1; transition: transform .18s var(--ease), border-color .18s; }
.ff-badge:hover { transform: translateY(-2px); border-color: var(--stroke-2); }
.ff-badge-img { width: 20px; height: 20px; object-fit: contain; display: block; }
.ff-badge-check { display: flex; align-items: center; gap: .5rem; padding: .5rem .6rem; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--stroke); cursor: pointer; }
.ff-badge-edit { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }

/* ================= Roblox widget extras ================= */
.ff-rb-clickable { cursor: pointer; position: relative; transition: border-color .2s, transform .2s; }
.ff-rb-clickable:hover { border-color: var(--stroke-2); }
.ff-rb-title { font-weight: 700; }
.ff-ext { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; color: var(--text-2); background: var(--surface); border: 1px solid var(--stroke); margin-left: .4rem; }
.ff-ext svg { width: 13px; height: 13px; }
.ff-ext:hover { color: var(--text); border-color: var(--stroke-2); }
.ff-rb-more { position: absolute; right: .6rem; top: .6rem; width: 22px; height: 22px; display: grid; place-items: center; color: var(--text-3); }
.ff-rb-more svg { width: 16px; height: 16px; }
.ff-rb-menu { display: grid; gap: .5rem; }
.ff-rb-menu-btn { text-align: left; padding: .75rem .9rem; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--stroke); color: var(--text); cursor: pointer; font-weight: 600; }
.ff-rb-menu-btn:hover { border-color: var(--stroke-2); background: var(--surface-hover); }
.spinner { width: 22px; height: 22px; border: 3px solid var(--stroke-2); border-top-color: var(--text); border-radius: 50%; animation: spin .7s linear infinite; margin: 2rem auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 3rem 1rem; color: var(--text-3); }
.tag { display: inline-block; padding: .16rem .5rem; border-radius: 6px; font-size: .71rem; font-weight: 700; background: var(--surface-2); border: 1px solid var(--stroke); font-family: var(--mono); }
.tag.free { color: var(--text-2); }
.tag.basic { color: #7dd3fc; border-color: rgba(125, 211, 252, .3); }
.tag.pro { color: #d4d4d8; border-color: var(--stroke-2); }
.avatar-sm { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; background: var(--bg-2); }
.preview-box { position: sticky; top: 84px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.rev > .split-visual { order: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .span-3 { grid-column: span 2; }
  .dash-grid { grid-template-columns: 1fr; }
  .side-nav { position: static; flex-direction: row; overflow-x: auto; }
  .preview-box { position: static; }
}
@media (max-width: 620px) {
  .hero { padding: 4.5rem 0 2rem; }
  .section { padding: 3rem 0; }
  .bento { grid-template-columns: 1fr; }
  .bento .span-2, .bento .span-3 { grid-column: auto; }
  .card-pad-lg { padding: 1.4rem; }
  .pf-head { padding: 0 1.2rem; }
  .pf-socials, .pf-links, .drp { margin-left: 1.1rem; margin-right: 1.1rem; }
  .nav-links a { padding: .45rem .55rem; font-size: .84rem; }
  .toast-wrap { left: 1rem; right: 1rem; bottom: 1rem; }
}

/* ================= Profile widgets ================= */
.ff-widget { margin: .9rem 2rem 0; }
.pf-socials + .ff-widget, .ff-widget + .ff-widget { margin-top: .8rem; }

/* interplay with card hover */
.pf-card.no-banner {
  min-height: 0;
}
.pf-bio code { padding: .12rem .35rem; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--stroke); font-family: var(--mono); font-size: .85em; }
.pf-bio pre { margin: .75rem 0 0; padding: .85rem 1rem; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--stroke); overflow-x: auto; text-align: left; }
.pf-bio pre code { padding: 0; border: 0; background: transparent; }
.pf-bio del { opacity: .65; }
.pf-mention {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .12rem .5rem .12rem .22rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1px solid var(--stroke-2);
  color: var(--text); font-weight: 600; font-size: .92em;
  text-decoration: none; vertical-align: baseline;
  transition: transform .16s var(--ease), background .16s, border-color .16s, box-shadow .16s;
}
.pf-mention:hover {
  transform: translateY(-1px);
  background: var(--surface-hover);
  border-color: var(--accent);
  box-shadow: 0 8px 18px -12px var(--accent);
}
.pf-mention-avatar {
  width: 17px; height: 17px; border-radius: 50%; object-fit: cover;
  border: 1px solid rgba(255,255,255,.18); vertical-align: middle;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.pf-mention-avatar--empty {
  width: 17px; height: 17px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--stroke);
  font-size: .62rem; font-weight: 700; color: var(--text-2);
}
.pf-mention span { line-height: 1; }
.pf-card.no-banner .pf-head { margin-top: -81px; padding-top: 0; }
.pf-fx-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9998; }
.pf-fx-canvas.pf-page-fx { z-index: 9997; }
.pf-fx-canvas.pf-mouse-fx { z-index: 9999; }
.pf-card.interactive:hover { box-shadow: 0 26px 70px -28px rgba(0,0,0,.85); }
.pf-card.hover-lift:hover { transform: translateY(-6px); }
.pf-card.hover-tilt:hover { transform: perspective(900px) rotateX(2.2deg) rotateY(-2.6deg); }
.pf-card.hover-glow:hover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 26px 70px -30px var(--accent); }
.pf-card.hover-zoom:hover { transform: scale(1.015); }

/* discord card extras */
/* discord profile card (minimal) */
.ff-dcard { display: flex; align-items: center; gap: .8rem; padding: .8rem .95rem; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--stroke); }
.ff-dcard-av { position: relative; width: 46px; height: 46px; flex: none; }
.ff-dcard-av img, .ff-dcard-av-ph { display: block; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, #3f3f46, #18181b); }
.ff-status-dot { position: absolute; right: -1px; bottom: -1px; width: 15px; height: 15px; border-radius: 50%; border: 3px solid var(--surface-2); }
.ff-dcard-info { min-width: 0; }
.ff-dcard-name { font-weight: 700; font-size: .97rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ff-dcard-tag { font-family: var(--mono); font-size: .78rem; color: var(--text-3); }
.ff-dcard-sub { font-size: .82rem; color: var(--text-2); margin-top: .15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* spotify now-playing */
.ff-spotify { margin-top: .8rem; padding: .85rem .9rem; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--stroke); }
.ff-spotify-top { display: flex; align-items: center; gap: 1rem; }
.ff-spotify-meta { flex: 1; min-width: 0; }
.ff-spotify-head { display: flex; align-items: center; gap: .4rem; font-size: .66rem; letter-spacing: .09em; text-transform: uppercase; color: #1db954; font-weight: 700; }
.ff-sp-logo { width: 15px; height: 15px; flex: none; }
.ff-spotify-track { font-weight: 700; font-size: .95rem; margin-top: .35rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ff-spotify-artist { font-size: .82rem; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ff-spotify-bar { height: 4px; border-radius: 4px; background: var(--surface-hover); margin-top: .6rem; overflow: hidden; }
.ff-spotify-bar-fill { height: 100%; width: 0; border-radius: 4px; background: #1db954; transition: width 1s linear; }
.ff-spotify-cover { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; flex: none; box-shadow: 0 10px 28px -14px rgba(0,0,0,.85); }
.ff-spotify-lyrics { position: relative; overflow: hidden; height: 0; margin-top: 0; opacity: 0; transition: height .5s cubic-bezier(.22,.61,.36,1), margin-top .5s cubic-bezier(.22,.61,.36,1), opacity .35s ease; }
.ff-spotify-lyrics.has-lyrics { height: 96px; margin-top: .8rem; opacity: 1; }
.ff-lyr-inner { transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.ff-lyr-line { font-size: .9rem; line-height: 1.8; color: var(--text-3); transition: color .2s; }
.ff-lyr-line.active { color: var(--text); font-weight: 700; }
.ff-lyr-plain { font-size: .82rem; color: var(--text-2); white-space: pre-wrap; height: 100%; overflow: hidden; }
.ff-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.ff-eq i { width: 2px; background: #4ade80; border-radius: 2px; animation: ffEq .9s ease-in-out infinite; }
.ff-eq i:nth-child(1) { height: 40%; animation-delay: 0s; }
.ff-eq i:nth-child(2) { height: 100%; animation-delay: .18s; }
.ff-eq i:nth-child(3) { height: 65%; animation-delay: .36s; }
@keyframes ffEq { 0%, 100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }

/* roblox card */
.ff-rb { display: flex; gap: .9rem; padding: .9rem; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--stroke); }
.ff-rb-av { width: 84px; height: 96px; border-radius: 12px; overflow: hidden; flex: none; background: var(--bg-2); }
.ff-rb-av img { width: 100%; height: 100%; object-fit: cover; }
.ff-rb-info { flex: 1; min-width: 0; }
.ff-rb-name { font-weight: 700; font-size: 1.02rem; display: flex; align-items: center; gap: .35rem; }
.ff-verified { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--text); color: var(--ink); font-size: .6rem; font-weight: 900; }
.ff-rb-pres { margin-top: .4rem; font-size: .85rem; color: var(--text-2); display: flex; align-items: center; gap: .4rem; }
.ff-rb-pres.live { color: #4ade80; }
.ff-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); display: inline-block; }
.ff-dot.live { background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.18); }
.ff-rb-stats { display: flex; gap: 1rem; margin-top: .5rem; font-size: .82rem; color: var(--text-2); }
.ff-rb-stats strong { color: var(--text); }
.ff-rb-btns { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.ff-rb-btn { cursor: pointer; background: var(--surface-2); }

/* github / twitch / minecraft cards */
.ff-gh, .ff-tw { display: flex; gap: .9rem; padding: .9rem; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--stroke); color: inherit; text-decoration: none; transition: border-color .2s; }
.ff-gh:hover, .ff-tw:hover { border-color: var(--stroke-2); }
.ff-gh-av, .ff-tw-av { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; background: var(--bg-2); }
.ff-gh-info, .ff-tw-info { flex: 1; min-width: 0; }
.ff-gh-name, .ff-tw-name, .ff-mc-name { font-weight: 700; font-size: 1.02rem; display: flex; align-items: center; gap: .35rem; }
.ff-gh-bio, .ff-tw-bio { margin-top: .35rem; font-size: .85rem; color: var(--text-2); }
.ff-gh-stats, .ff-tw-stats { display: flex; gap: 1rem; margin-top: .5rem; font-size: .82rem; color: var(--text-2); }
.ff-gh-stats strong, .ff-tw-stats strong { color: var(--text); }
.ff-mc { display: flex; gap: .9rem; padding: .9rem; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--stroke); align-items: center; }
.ff-mc-skin { width: 64px; height: 64px; object-fit: contain; image-rendering: pixelated; flex: none; background: var(--bg-2); border-radius: 10px; }
.ff-mc-info { flex: 1; min-width: 0; }

/* discord server card */
.ff-server-card { border-radius: 14px; background: var(--surface-2); border: 1px solid var(--stroke); overflow: hidden; }
.ff-server-banner { height: 64px; background: linear-gradient(135deg, #1c1c20, #0e0e10 70%); background-size: cover; background-position: center; }
.ff-server-body { display: flex; align-items: center; gap: .8rem; padding: .9rem; }
.ff-server-body .ff-server-icon { margin-top: 0; }
.ff-server-card .ff-server-body { margin-top: -28px; }
.ff-server-icon { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex: none; background: var(--bg-2); border: 3px solid var(--surface-2); }
.ff-server-info { flex: 1; min-width: 0; }
.ff-server-name { font-weight: 700; font-size: 1rem; }
.ff-server-stats { display: flex; gap: .9rem; margin-top: .25rem; font-size: .82rem; color: var(--text-2); align-items: center; }
.ff-server-online { display: inline-flex; align-items: center; gap: .35rem; color: #4ade80; }
.ff-server-hint { margin-top: .2rem; }
.ff-hint { margin: 0 .9rem .9rem; font-size: .8rem; color: var(--text-3); }
.ff-hint a { color: var(--text-2); text-decoration: underline; }

/* modal */
.ff-modal-back { position: fixed; inset: 0; background: rgba(4,4,6,.72); backdrop-filter: blur(6px); z-index: 9998; display: flex; align-items: center; justify-content: center; padding: 1.2rem; animation: ffFade .2s var(--ease); }
@keyframes ffFade { from { opacity: 0; } to { opacity: 1; } }
.ff-modal { width: 100%; max-width: 560px; max-height: 86vh; display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--stroke-2); border-radius: 18px; box-shadow: 0 40px 100px -30px #000; overflow: hidden; animation: ffPop .24s var(--ease); }
@keyframes ffPop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.ff-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; border-bottom: 1px solid var(--stroke); }
.ff-modal-head h3 { font-family: var(--display); font-size: 1.05rem; }
.ff-modal-x { background: none; border: none; color: var(--text-2); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.ff-modal-x:hover { color: var(--text); }
.ff-modal-body { padding: 1.1rem 1.2rem; overflow-y: auto; }
.ff-pager { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; }

.ff-group, .ff-game, .ff-person { display: flex; gap: .8rem; padding: .8rem; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--stroke); }
.ff-person { align-items: center; }
.ff-person img { width: 44px; height: 44px; border-radius: 10px; background: var(--bg-2); }
.ff-person-name { font-weight: 700; }
.ff-group { flex-direction: column; gap: .15rem; }
.ff-group-name { font-weight: 700; display: flex; align-items: center; gap: .35rem; }
.ff-game { flex-direction: column; }
.ff-game-thumb { position: relative; height: 180px; border-radius: 10px; background: var(--bg-2) center/cover; }
.ff-game-icon { position: absolute; left: .6rem; bottom: -18px; width: 56px; height: 56px; border-radius: 10px; border: 2px solid var(--bg-2); }
.ff-game-name { font-weight: 700; margin-top: 1.2rem; }
.ff-game-stats { display: flex; gap: 1rem; font-size: .82rem; color: var(--text-2); }
.ff-game-desc { font-size: .85rem; color: var(--text-2); }
.ff-wearing { display: flex; gap: 1rem; }
.ff-wearing-bust { width: 120px; height: 160px; object-fit: cover; border-radius: 12px; background: var(--bg-2); flex: none; }
.ff-wearing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; align-content: start; flex: 1; }
.ff-wear-item { padding: .5rem .6rem; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--stroke); font-size: .82rem; }
.ff-wear-item:hover { border-color: var(--stroke-2); }
.ff-wear-name { font-weight: 600; }
.ff-stats { display: grid; gap: .5rem; }
.ff-stat { display: flex; align-items: center; justify-content: space-between; padding: .65rem .8rem; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--stroke); }

@media (max-width: 620px) {
  .ff-widget { margin-left: 1.1rem; margin-right: 1.1rem; }
  .ff-wearing { flex-direction: column; }
  .ff-wearing-bust { width: 100%; height: 220px; }
  .ff-wearing-grid { grid-template-columns: 1fr 1fr; }
}

/* ================= Auth + layout editor ================= */
.turnstile-slot { margin: .2rem 0 .1rem; min-height: 0; }
.verify-banner { margin-bottom: 1.2rem; gap: 1rem; flex-wrap: wrap; border-color: rgba(250, 204, 21, .32); background: rgba(250, 204, 21, .06); }
.verify-banner strong { display: block; margin-bottom: .15rem; }
.verify-banner .dim { font-size: .84rem; }

.layout-list { display: grid; gap: .6rem; }
.layout-item { display: flex; align-items: center; gap: .85rem; padding: .8rem .9rem; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--stroke); cursor: grab; transition: border-color .2s, opacity .2s, box-shadow .2s; }
.layout-item:active { cursor: grabbing; }
.layout-item.dragging { opacity: .4; }
.layout-item.dragover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.layout-grip { width: 12px; height: 22px; flex: none; background-image: radial-gradient(var(--text-3) 1.4px, transparent 1.4px); background-size: 6px 6px; opacity: .7; }
.layout-meta { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.layout-meta .dim { font-size: .78rem; }
.layout-show { display: flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.layout-show input { width: auto; }
.layout-move { display: flex; gap: .35rem; }

/* ---------- Mobile nav ---------- */
.nav-toggle { display: none; width: 38px; height: 34px; padding: 8px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--stroke); flex-direction: column; justify-content: space-between; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--text-2); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav.has-toggle.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.has-toggle.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.has-toggle.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav.has-toggle .nav-toggle { display: inline-flex; }
  .nav.has-toggle .nav-inner { position: relative; flex-wrap: wrap; }
  .nav.has-toggle .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    padding: .8rem 1.2rem 1rem; background: rgba(9, 9, 11, .97);
    border-bottom: 1px solid var(--stroke); box-shadow: 0 22px 50px -20px rgba(0,0,0,.8);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  }
  .nav.has-toggle.open .nav-links { display: flex; }
  .nav-links a, .nav-links .btn { width: 100%; text-align: left; }
  .layout-item { flex-wrap: wrap; }
  .layout-move { margin-left: auto; }
}

@media (max-width: 480px) {
  .pf-card { border-radius: 16px; }
  .pf-head { padding: 0 1rem; }
  .pf-socials, .pf-links, .drp { margin-left: .9rem; margin-right: .9rem; }
  .ff-widget { margin-left: .9rem; margin-right: .9rem; }
  .pf-name { font-size: 1.35rem; }
  .auth-card { padding: 1.3rem; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}

/* ================= Floating profile actions ================= */
.pf-views-float {
  position: fixed; left: 1.2rem; bottom: 1.1rem; z-index: 60;
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  color: rgba(255, 255, 255, .38);
  letter-spacing: .02em; pointer-events: none; user-select: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}
.pf-actions-float {
  position: fixed; right: 1.2rem; bottom: 1.1rem; z-index: 60;
  display: flex; gap: .5rem; align-items: center;
}
.pf-action-btn {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; flex: none; position: relative;
  background: rgba(18, 18, 20, .55);
  border: 1px solid var(--stroke);
  color: var(--text-2); font-size: 1rem; line-height: 1;
  backdrop-filter: blur(14px) saturate(130%); -webkit-backdrop-filter: blur(14px) saturate(130%);
  transition: transform .18s var(--ease), color .18s, border-color .18s, background .18s;
  cursor: pointer;
}
.pf-action-btn::after {
  content: attr(data-tooltip);
  position: absolute; left: 50%; bottom: calc(100% + .55rem);
  transform: translateX(-50%) translateY(4px);
  opacity: 0; pointer-events: none;
  padding: .32rem .55rem; border-radius: 8px;
  background: rgba(9, 9, 11, .92);
  border: 1px solid var(--stroke-2);
  color: var(--text); font-size: .72rem; font-weight: 600;
  white-space: nowrap; max-width: 12rem; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .95);
  transition: opacity .16s var(--ease), transform .16s var(--ease);
}
.pf-action-btn:hover::after,
.pf-action-btn:focus-visible::after {
  opacity: 1; transform: translateX(-50%) translateY(0);
}
.pf-action-btn:hover { transform: translateY(-2px); color: var(--text); border-color: var(--stroke-2); background: rgba(18, 18, 20, .75); }
.pf-action-btn svg { width: 15px; height: 15px; }
.pf-body .claim-pill { bottom: 4.7rem; }

@media (max-width: 620px) {
  .pf-views-float { left: .8rem; bottom: .75rem; font-size: .66rem; }
  .pf-actions-float { right: .8rem; bottom: .75rem; gap: .4rem; }
  .pf-action-btn { width: 30px; height: 30px; }
  .pf-action-btn svg { width: 13px; height: 13px; }
  .pf-body .claim-pill { bottom: 4.0rem; }
}
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 70;
  display: flex; align-items: center; gap: .65rem;
  padding: .6rem .95rem .6rem .6rem;
  border-radius: 999px; color: var(--text);
  background: rgba(18, 18, 20, .78);
  border: 1px solid var(--stroke-2);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 18px 45px -18px rgba(0, 0, 0, .9);
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.claim-pill:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--text); box-shadow: 0 22px 55px -18px var(--accent); }

/* ================= Legal pages ================= */
.legal-page { max-width: 860px; margin: 0 auto; padding: 3rem 1.25rem 5rem; }
.legal-card h1 { font-size: 2rem; margin-bottom: .35rem; }
.legal-card h2 { font-size: 1.05rem; margin-top: 1.5rem; margin-bottom: .4rem; color: var(--text); }
.legal-card p { color: var(--text-2); line-height: 1.7; font-size: .95rem; }

/* ================= Nav dropdown ================= */
.nav-drop { position: relative; display: inline-block; }
.nav-drop-btn { padding: .5rem .8rem; border-radius: 8px; color: var(--text-2); font-size: .89rem; font-weight: 500; background: transparent; border: 0; cursor: pointer; transition: background .2s, color .2s; }
.nav-drop-btn:hover, .nav-drop.open .nav-drop-btn { background: var(--surface-2); color: var(--text); }
.nav-drop-menu { position: absolute; top: calc(100% + 4px); right: 0; min-width: 150px; padding: .35rem; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--stroke-2); box-shadow: var(--shadow); display: none; z-index: 80; }
.nav-drop.open .nav-drop-menu { display: grid; gap: .15rem; }
.nav-drop-menu a { padding: .55rem .7rem; border-radius: 8px; color: var(--text-2); font-size: .88rem; }
.nav-drop-menu a:hover, .nav-drop-menu a.active { background: var(--surface-2); color: var(--text); }

@media (max-width: 720px) {
  .nav-drop { width: 100%; }
  .nav-drop-btn { width: 100%; text-align: left; }
  .nav-drop-menu { position: static; box-shadow: none; border: 0; padding: .25rem 0 .25rem 1rem; background: transparent; display: none; }
  .nav-drop.open .nav-drop-menu { display: grid; }
}

.claim-pill-plus { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 1.25rem; font-weight: 600; line-height: 1; color: #09090b; background: var(--text); }
.claim-pill-text { display: flex; flex-direction: column; line-height: 1.15; }
.claim-pill-text strong { font-size: .84rem; font-weight: 700; }
.claim-pill-text span { font-family: var(--mono); font-size: .7rem; color: var(--text-3); }
@media (max-width: 620px) {
  .claim-pill { right: .7rem; bottom: .7rem; padding: .4rem .6rem .4rem .4rem; gap: .45rem; max-width: calc(100vw - 1.4rem); }
  .claim-pill-plus { width: 26px; height: 26px; font-size: .95rem; }
  .claim-pill-text strong { font-size: .74rem; }
  .claim-pill-text span { font-size: .62rem; }
}
@media (max-width: 420px) {
  .claim-pill { padding: .35rem .5rem .35rem .35rem; gap: .35rem; }
  .claim-pill-plus { width: 24px; height: 24px; font-size: .9rem; }
  .claim-pill-text strong { font-size: .7rem; }
  .claim-pill-text span { font-size: .58rem; }
}
