/* FATED profile renderer — used by public pages and the live preview. */
.pf {
  --p-accent: #FF4D2E; --p-text: #EDEBE6; --p-muted: #8C8A85; --p-font: 'Inter'; --p-name-font: var(--p-font);
  --p-card: rgba(17,17,19,.55); --p-blur: 18px; --p-radius: 22px; --p-border: rgba(236,230,216,.09);
  --p-card-w: 440px; --p-pad: 28px; --p-shadow: 0 30px 80px -30px rgba(0,0,0,.6); --p-avatar: 104px; --p-name-size: 28px;
  --p-scale: 1; --p-speed: 1; --p-badge: 22px; --p-icon: 20px; --p-grad-from: #FF4D2E; --p-grad-to: #F5B83D; --p-gate-blur: 22px;
  position: relative; min-height: 100%; width: 100%; overflow: hidden; isolation: isolate;
  color: var(--p-text); font-family: var(--p-font), 'Inter', system-ui, sans-serif; font-size: calc(15px * var(--p-scale));
  display: grid; place-items: center; padding: 48px 18px;
}
.pf.is-page { min-height: 100vh; min-height: 100dvh; }
.pf-layers, .pf-bg, .pf-bg-img, .pf-dim, .pf-fx, .pf-grain, .pf-grid, .pf-ov, .pf-bg-video { position: absolute; inset: 0; pointer-events: none; }
.pf-layers { z-index: -6; transition: transform 600ms var(--ease-out, ease); }
.pf-bg { z-index: 0; }
.pf-bg-img { background-size: cover; background-position: center; transform: scale(1.06); }
.pf-bg-video { z-index: -5; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 600ms var(--ease-out, ease); }
.pf-dim { z-index: -3; background: #000; }
.pf-ov { z-index: -2; }
.ov-vignette { background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.75) 100%); }
.ov-scanlines { background: repeating-linear-gradient(to bottom, rgba(0,0,0,.28) 0 1px, transparent 1px 3px); }
.ov-dots { background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.2px); background-size: 14px 14px; }
.ov-noise { opacity: .15; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='turbulence' baseFrequency='.6' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.pf-fx { z-index: -2; width: 100%; height: 100%; }
.pf-grain { z-index: -1; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%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");
  animation: grain 1.2s steps(6) infinite; inset: -50px; }
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-12px,8px); } 40% { transform: translate(10px,-14px); } 60% { transform: translate(-6px,-10px); } 80% { transform: translate(14px,6px); } }
.pf-grid { z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%); }

/* Container */
.pf-wrap { position: relative; width: 100%; max-width: var(--p-card-w); perspective: 1200px; }
.pf.l-split .pf-wrap { max-width: max(var(--p-card-w), 720px); }
.pf.l-minimal .pf-wrap { max-width: min(var(--p-card-w), 400px); }
.pf-card { position: relative; border-radius: var(--p-radius); transform-style: preserve-3d; transition: transform 500ms var(--ease-out, ease); will-change: transform; }
.pf.l-card .pf-card, .pf.l-split .pf-card {
  background: var(--p-card); box-shadow: var(--p-shadow);
  backdrop-filter: blur(var(--p-blur)) saturate(1.15); -webkit-backdrop-filter: blur(var(--p-blur)) saturate(1.15);
}
.pf.has-border.l-card .pf-card, .pf.has-border.l-split .pf-card { box-shadow: 0 0 0 1px var(--p-border) inset, var(--p-shadow); }
.pf.has-glow.l-card .pf-card, .pf.has-glow.l-split .pf-card { box-shadow: 0 0 0 1px var(--p-border) inset, 0 0 60px -8px color-mix(in srgb, var(--p-accent) 55%, transparent), var(--p-shadow); }
.pf-banner { height: 128px; border-radius: var(--p-radius) var(--p-radius) 0 0; background: center/cover no-repeat; position: relative; }
.pf-banner::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.35)); }
.pf.l-stack .pf-banner, .pf.l-minimal .pf-banner { border-radius: var(--p-radius); height: 140px; margin-bottom: -48px; }
.pf-inner { padding: calc(var(--p-pad) + 2px) var(--p-pad) var(--p-pad); display: grid; gap: 16px; }
.pf.l-minimal .pf-inner, .pf.l-stack .pf-inner { padding: 0 6px; }
.pf.has-banner.l-card .pf-inner, .pf.has-banner.l-split .pf-inner { padding-top: 0; }
.pf.align-center .pf-inner { justify-items: center; text-align: center; }
.pf.l-split .pf-inner { grid-template-columns: 240px 1fr; align-items: start; gap: 28px; text-align: left; justify-items: stretch; }
.pf.l-split .pf-side { display: grid; gap: 14px; justify-items: inherit; }
.pf.l-split.align-center .pf-side { justify-items: center; text-align: center; }
.pf-main { display: grid; gap: 16px; min-width: 0; }
.pf.align-center .pf-main { justify-items: center; }
.pf.l-split .pf-main { justify-items: stretch; text-align: left; padding-top: 22px; }
@media (max-width: 720px) { .pf.l-split .pf-inner { grid-template-columns: 1fr; } .pf.l-split .pf-main { padding-top: 0; } .pf.l-split.align-center .pf-main { text-align: center; justify-items: center; } }
.pf.has-tshadow { text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 4px 18px rgba(0,0,0,.45); }

/* Avatar */
.pf-avatar { position: relative; width: var(--p-avatar); height: var(--p-avatar); flex: none; }
.pf.has-banner .pf-avatar { margin-top: calc(var(--p-avatar) / -2); }
.pf.l-minimal .pf-avatar { width: calc(var(--p-avatar) * .8); height: calc(var(--p-avatar) * .8); }
.pf-avatar img:not(.pf-deco-img), .pf-avatar .pf-av-fallback { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: #1B1B1F; }
.pf-avatar .pf-av-fallback { display: grid; place-items: center; font: 600 calc(var(--p-avatar) * .37) var(--p-font); color: var(--p-text); background: linear-gradient(145deg, color-mix(in srgb, var(--p-accent) 45%, #111), #111); }
.pf.av-squircle .pf-avatar img:not(.pf-deco-img), .pf.av-squircle .pf-av-fallback { border-radius: 30%; }
.pf.av-square .pf-avatar img:not(.pf-deco-img), .pf.av-square .pf-av-fallback { border-radius: 10px; }
.pf.av-ring .pf-avatar::before { content: ''; position: absolute; z-index: 2; inset: -4px; border-radius: 50%; padding: 2px;
  background: conic-gradient(from 210deg, var(--p-accent), transparent 40%, var(--p-accent) 70%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: ringspin var(--p-spin, 8s) linear infinite; }
.pf.av-ring.av-squircle .pf-avatar::before { border-radius: 33%; } .pf.av-ring.av-square .pf-avatar::before { border-radius: 13px; }
@keyframes ringspin { to { rotate: 360deg; } }
.pf.av-hidden .pf-avatar { display: none; }

/* Identity */
.pf-id { display: grid; gap: 5px; justify-items: inherit; }
.pf-name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: inherit; }
.pf.align-center .pf-name-row { justify-content: center; }
.pf-name { position: relative; font-family: var(--p-name-font), 'Inter', sans-serif; font-size: var(--p-name-size); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; overflow-wrap: anywhere; }
.pf.f-anton .pf-name, .pf.f-archivo .pf-name { letter-spacing: 0; font-weight: 400; }
.pf.name-upper .pf-name { text-transform: uppercase; letter-spacing: .02em; }
.pf.name-grad .pf-name, .pf.name-grad .pf-name .wv { background: linear-gradient(100deg, var(--p-grad-from), var(--p-grad-to)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pf-handle { font-size: .93em; color: var(--p-muted); display: flex; align-items: center; gap: 8px; justify-content: inherit; flex-wrap: wrap; }
.pf.align-center .pf-handle { justify-content: center; }
.pf-chip { font-size: .8em; padding: 1px 8px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset; }
.n-glow .pf-name { text-shadow: 0 0 18px color-mix(in srgb, var(--p-accent) 70%, transparent), 0 0 2px color-mix(in srgb, var(--p-accent) 60%, transparent); }
.n-shimmer .pf-name { background: linear-gradient(100deg, var(--p-text) 30%, var(--p-accent) 50%, var(--p-text) 70%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer-text 3.6s linear infinite; }
@keyframes shimmer-text { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.n-glitch .pf-name::before, .n-glitch .pf-name::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; }
.n-glitch .pf-name::before { color: #0ff; clip-path: inset(0 0 60% 0); animation: gl1 2.6s steps(1) infinite; mix-blend-mode: screen; }
.n-glitch .pf-name::after { color: #f0f; clip-path: inset(55% 0 0 0); animation: gl2 2.6s steps(1) infinite; mix-blend-mode: screen; }
@keyframes gl1 { 0%, 88%, 100% { transform: none; opacity: 0; } 89% { transform: translate(-3px, -1px); opacity: .9; } 93% { transform: translate(2px, 1px); opacity: .9; } }
@keyframes gl2 { 0%, 90%, 100% { transform: none; opacity: 0; } 91% { transform: translate(3px, 1px); opacity: .9; } 95% { transform: translate(-2px, 0); opacity: .9; } }
.n-wave .wv { display: inline-block; animation: wave 1.8s ease-in-out infinite; }
@keyframes wave { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-5px); } }
.pf-caret { display: inline-block; width: 2px; height: .95em; background: var(--p-accent); margin-left: 3px; vertical-align: -0.08em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.pf-status { display: inline-flex; align-items: center; gap: 8px; font-size: .87em; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.05); box-shadow: 0 0 0 1px rgba(255,255,255,.07) inset; color: color-mix(in srgb, var(--p-text) 88%, transparent); max-width: 100%; }
.pf-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #3DD68C; box-shadow: 0 0 0 3px rgba(61,214,140,.18); flex: none; }

/* Badges */
.pf-badges { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: inherit; margin-top: 4px; }
.pf.align-center .pf-badges { justify-content: center; }
.pf-badge { width: var(--p-badge); height: var(--p-badge); border-radius: 6px; transition: transform 260ms var(--spring, ease), filter 260ms; cursor: default; }
.pf-badge img { width: 100%; height: 100%; }
.pf-badge:hover, .pf-badge:focus-visible { transform: translateY(-2px) scale(1.2); filter: drop-shadow(0 4px 10px color-mix(in srgb, var(--bc) 55%, transparent)); }
.bs-glow .pf-badge { filter: drop-shadow(0 0 6px color-mix(in srgb, var(--bc) 60%, transparent)); }

.pf-bio { font-size: 1em; line-height: 1.55; color: color-mix(in srgb, var(--p-text) 88%, transparent); white-space: pre-line; max-width: 46ch; overflow-wrap: anywhere; transition: opacity 280ms, transform 280ms; }
.pf-bio.swap { opacity: 0; transform: translateY(4px); }
.pf-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .83em; color: var(--p-muted); justify-content: inherit; }
.pf.align-center .pf-meta { justify-content: center; }
.pf-meta span { display: inline-flex; align-items: center; gap: 5px; }
.pf-meta b { font-weight: 500; }
.pf-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: inherit; }
.pf.align-center .pf-tags { justify-content: center; }
.pf-tag { font-size: .78em; padding: 3px 10px; border-radius: 999px; color: color-mix(in srgb, var(--p-accent) 75%, #fff); background: color-mix(in srgb, var(--p-accent) 12%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--p-accent) 30%, transparent) inset; }

/* Links */
.pf-section { display: grid; gap: 10px; width: 100%; }
.pf-sec-title { font: 500 10.5px 'FATED Mono', monospace; text-transform: uppercase; letter-spacing: .14em; color: var(--p-muted); display: flex; align-items: center; gap: 10px; }
.pf.align-center .pf-sec-title { justify-content: center; }
.pf-sec-title::before, .pf-sec-title::after { content: ''; height: 1px; flex: 1; max-width: 60px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.15)); }
.pf-sec-title::after { background: linear-gradient(90deg, rgba(255,255,255,.15), transparent); }
.pf-links { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.pf.align-center .pf-links { justify-content: center; }
.pf-link { position: relative; display: inline-flex; align-items: center; gap: 8px; color: var(--p-text); border: 0; background: none; cursor: pointer; font: inherit;
  transition: transform 220ms var(--ease-out, ease), background 180ms, box-shadow 180ms, color 180ms, filter 180ms; --lc: var(--p-accent); }
.pf-link .ic { transition: transform 220ms var(--spring, ease); }
.pf-link-text { display: grid; text-align: inherit; line-height: 1.2; }
.pf-link-text small { font-size: .78em; color: var(--p-muted); font-weight: 400; margin-top: 2px; }
.ic-accent .pf-link .ic, .pf-link.has-lc .ic { color: var(--lc); }
.ls-icons .pf-links .pf-link { width: calc(var(--p-icon) + 22px); height: calc(var(--p-icon) + 22px); justify-content: center; border-radius: 12px; color: color-mix(in srgb, var(--p-text) 80%, transparent); }
.ls-pills .pf-links .pf-link { height: 36px; padding: 0 14px 0 12px; border-radius: 999px; font-size: .87em; font-weight: 500; background: rgba(255,255,255,.05); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset; }
.ls-buttons .pf-links { flex-direction: column; }
.ls-buttons .pf-links .pf-link { width: 100%; min-height: 50px; padding: 8px 46px; border-radius: calc(var(--p-radius) * .55); font-size: .93em; font-weight: 500; justify-content: center; text-align: center;
  background: rgba(255,255,255,.05); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset; }
.ls-buttons .pf-links .pf-link > .ic:first-child { position: absolute; left: 16px; }
.ls-buttons .pf-links .pf-link .go { position: absolute; right: 16px; opacity: 0; transform: translateX(-4px); transition: all 200ms var(--ease-out, ease); }
.ls-buttons .pf-links .pf-link:hover .go { opacity: 1; transform: none; }
/* Hover styles */
.lh-lift .pf-link:hover { transform: translateY(-2px); }
.lh-scale .pf-link:hover { transform: scale(1.05); }
.lh-glow .pf-link:hover { filter: drop-shadow(0 0 10px color-mix(in srgb, var(--lc) 60%, transparent)); }
.lh-fill .pf-links .pf-link:hover { background: var(--lc); color: #fff; }
.lh-fill .pf-links .pf-link:hover .ic { color: #fff; }
.ls-icons .pf-links .pf-link:hover { color: var(--lc); background: color-mix(in srgb, var(--lc) 10%, transparent); }
.ls-pills .pf-links .pf-link:hover, .ls-buttons .pf-links .pf-link:hover { background: color-mix(in srgb, var(--lc) 16%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--lc) 45%, transparent) inset; }
.lh-none .pf-link:hover { transform: none; filter: none; }
/* Featured buttons */
.pf-buttons { display: grid; gap: 8px; width: 100%; }
.pf-buttons .pf-link { width: 100%; min-height: 48px; padding: 8px 44px; border-radius: calc(var(--p-radius) * .55); justify-content: center; text-align: center; font-weight: 600; font-size: .93em;
  background: var(--lc); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 30px -12px var(--lc); }
.pf-buttons .pf-link > .ic:first-child { position: absolute; left: 16px; color: #fff; }
.pf-buttons .pf-link .pf-link-text small { color: rgba(255,255,255,.75); }
.pf-buttons .pf-link:hover { filter: brightness(1.08); }
.pf-link:active { transform: scale(.97) !important; }
/* Highlight & copy */
.pf-link.hl::after { content: ''; position: absolute; inset: -3px; border-radius: inherit; box-shadow: 0 0 0 2px var(--lc); opacity: 0; animation: hl 2.2s ease-out infinite; pointer-events: none; }
.ls-icons .pf-link.hl::after { border-radius: 14px; }
@keyframes hl { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12); } }
.pf-copied { position: absolute; left: 50%; bottom: calc(100% + 6px); translate: -50% 0; padding: 4px 8px; border-radius: 6px; font: 600 11px Inter, sans-serif; background: #ECE6D8; color: #0A0A0B; white-space: nowrap; animation: tipIn 160ms ease-out; }

.pf-about { width: 100%; text-align: left; font-size: .93em; line-height: 1.6; color: color-mix(in srgb, var(--p-text) 82%, transparent); white-space: pre-line; overflow-wrap: anywhere;
  padding: 14px 16px; border-radius: calc(var(--p-radius) * .55); background: rgba(255,255,255,.03); box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset; }
.pf-about h4 { font: 500 10.5px 'FATED Mono', monospace; text-transform: uppercase; letter-spacing: .1em; color: var(--p-muted); margin-bottom: 6px; }

/* Music player */
.pf-player { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: calc(var(--p-radius) * .55); background: rgba(0,0,0,.25); box-shadow: 0 0 0 1px rgba(255,255,255,.07) inset; }
.pf-player .pp-btn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--p-text); color: #0A0A0B; flex: none; transition: transform 160ms; }
.pf-player .pp-btn:hover { transform: scale(1.06); }
.pf-player .pp-mid { flex: 1; min-width: 0; display: grid; gap: 6px; text-align: left; }
.pf-player .pp-title { font-size: .83em; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-player .pp-bar { height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; cursor: pointer; }
.pf-player .pp-fill { height: 100%; width: 0; background: var(--p-accent); }
.pf-player .pp-mute { color: var(--p-muted); padding: 4px; border-radius: 6px; } .pf-player .pp-mute:hover { color: var(--p-text); }
.mp-compact .pf-player { padding: 8px 10px; }
.pf-player-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: auto; padding: 6px; border-radius: 999px; background: rgba(10,10,11,.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.pf.is-preview .pf-player-float { position: absolute; }
.pf-player-float .pp-eq { margin-right: 8px; }
.pp-eq { display: flex; gap: 2px; align-items: flex-end; height: 12px; } .pp-eq i { width: 2px; background: var(--p-accent); height: 30%; border-radius: 1px; }
.no-viz .pp-eq { display: none; }
.playing .pp-eq i { animation: eq .9s ease-in-out infinite; } .playing .pp-eq i:nth-child(2) { animation-delay: -.3s; } .playing .pp-eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%,100% { height: 25%; } 50% { height: 100%; } }

/* Entrance */
.pf.e-fade .pf-anim { animation: e-fade calc(700ms * var(--p-speed)) var(--ease-out, ease) both; }
.pf.e-rise .pf-anim { animation: e-rise calc(800ms * var(--p-speed)) var(--ease-out, ease) both; }
.pf.e-blur .pf-anim { animation: e-blur calc(900ms * var(--p-speed)) var(--ease-out, ease) both; }
.pf.e-scale .pf-anim { animation: e-scale calc(700ms * var(--p-speed)) var(--spring, ease) both; }
@keyframes e-fade { from { opacity: 0; } }
@keyframes e-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes e-blur { from { opacity: 0; filter: blur(12px); transform: scale(.98); } }
@keyframes e-scale { from { opacity: 0; transform: scale(.85); } }
.pf.no-anim .pf-anim { animation: none !important; }

/* Gates & dialogs */
.pf-gate { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(5,5,6,.6); backdrop-filter: blur(var(--p-gate-blur, 22px)); -webkit-backdrop-filter: blur(var(--p-gate-blur, 22px)); cursor: pointer; transition: opacity 700ms ease; }
.pf-gate > span { font: 500 13px 'FATED Mono', monospace; letter-spacing: .3em; text-transform: lowercase; color: rgba(236,230,216,.8); animation: breathe 2.6s ease-in-out infinite; }
.pf-gate.open { opacity: 0; pointer-events: none; }
@keyframes breathe { 50% { opacity: .35; } }
.pf-age { cursor: default; backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px); background: rgba(5,5,6,.75); padding: 20px; }
.pf-age-card { max-width: 360px; display: grid; gap: 10px; justify-items: center; text-align: center; padding: 28px; border-radius: 18px; background: rgba(20,20,23,.92); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px -20px #000; color: #EDEBE6; font-family: Inter, sans-serif; }
.pf-age-card .ic { color: #F5B83D; }
.pf-age-card h2 { font-size: 18px; font-weight: 600; }
.pf-age-card p { font-size: 13.5px; color: #8C8A85; line-height: 1.5; }
.pf-age-actions { display: grid; gap: 8px; width: 100%; margin-top: 8px; }
.pf-age-go { height: 42px; border-radius: 10px; background: #ECE6D8; color: #0A0A0B; font-weight: 600; font-size: 13.5px; display: grid; place-items: center; }
.pf-age-leave { height: 38px; border-radius: 10px; color: #B4B1AA; font-size: 13px; display: grid; place-items: center; }
.pf-age-leave:hover { background: rgba(255,255,255,.05); }
/* Lock */
.pf-lock .pf-inner { justify-items: center; text-align: center; }
.pf-lock-form { display: flex; gap: 8px; width: 100%; max-width: 300px; }
.pf-lock-form input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: 10px; border: 0; background: rgba(255,255,255,.07); color: var(--p-text); box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset; font: inherit; outline: none; }
.pf-lock-form input:focus { box-shadow: 0 0 0 1px var(--p-accent) inset; }
.pf-lock-form button { height: 40px; padding: 0 16px; border-radius: 10px; background: var(--p-accent); color: #fff; font-weight: 600; }
.pf-lock-err { font-size: 12.5px; color: #FF8A8D; min-height: 18px; }

/* Click effects */
.pf-ripple { position: absolute; z-index: 30; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 2px solid var(--p-accent); pointer-events: none; animation: ripple 650ms var(--ease-out, ease) forwards; }
@keyframes ripple { to { transform: scale(7); opacity: 0; } }
.pf-burst { position: absolute; z-index: 30; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--p-accent); box-shadow: 0 0 8px var(--p-accent); pointer-events: none; animation: burst 600ms var(--ease-out, ease) forwards; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }
.pf-trail { position: fixed; inset: 0; z-index: 55; pointer-events: none; }

/* Cursors */
.pf.c-image, .pf.c-image * { cursor: var(--pf-cur) !important; }
.pf.c-image a, .pf.c-image button, .pf.c-image [role=button], .pf.c-image .pf-badge, .pf.c-image label { cursor: var(--pf-cur-h, var(--pf-cur)) !important; }
.pf.c-cross, .pf.c-cross * { cursor: url('/assets/cursors/cross.svg') 12 12, crosshair !important; }
.pf.c-blade, .pf.c-blade * { cursor: url('/assets/cursors/blade.svg') 3 3, auto !important; }
.pf.c-dot, .pf.c-dot *, .pf.c-ring, .pf.c-ring * { cursor: none !important; }
.pf-cursor { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; border-radius: 50%; translate: -50% -50%; transition: width 200ms, height 200ms, opacity 200ms; }
.pf-cursor.dot { width: 8px; height: 8px; background: var(--p-accent, #FF4D2E); box-shadow: 0 0 12px var(--p-accent, #FF4D2E); }
.pf-cursor.ring { width: 30px; height: 30px; border: 1.5px solid var(--p-accent, #FF4D2E); }
.pf-cursor.ring.hover { width: 46px; height: 46px; }
.pf-cursor.dot.hover { width: 14px; height: 14px; }
@media (hover: none) { .pf-cursor, .pf-trail { display: none; }
  .pf.c-image, .pf.c-image * { cursor: auto !important; } .pf.c-dot, .pf.c-dot *, .pf.c-ring, .pf.c-ring * { cursor: auto !important; } }

/* Discord avatar decorations: 120% of the avatar, centred, above the image (matches Discord's own sizing). */
.pf .pf-avatar .pf-deco-img { position: absolute; left: -10%; top: -10%; width: 120%; height: 120%; max-width: none; margin: 0; z-index: 4; border-radius: 0; background: none; object-fit: contain; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.pf.has-deco.av-ring .pf-avatar::before { opacity: 0; }

/* ===== Premium free layout ===== */
.pf.l-free { display: block; padding: 0; }
.preview-frame .pf.l-free { padding: 0; }
.pf-free { position: relative; width: 100%; min-height: calc(var(--free-h, 100) * 1dvh); container-type: inline-size; }
.pf.is-preview .pf-free { min-height: calc(var(--free-h, 100) * 1%); height: calc(var(--free-h, 100) * 1%); }
.pf-fb { position: absolute; translate: -50% -50%; max-width: calc(100% - 24px); display: grid; gap: 12px; justify-items: center; text-align: center; }
.pf.align-left .pf-fb { justify-items: start; text-align: left; }
.pf-fb.fb-avatar { gap: 0; }
.pf-fb > .pf-section { width: 100%; }
.pf-free.panels .pf-fb:not(.fb-avatar) { padding: 16px 18px; border-radius: var(--p-radius); background: var(--p-card);
  backdrop-filter: blur(var(--p-blur)) saturate(1.1); -webkit-backdrop-filter: blur(var(--p-blur)) saturate(1.1); }
.pf.has-border .pf-free.panels .pf-fb:not(.fb-avatar) { box-shadow: 0 0 0 1px var(--p-border) inset, var(--p-shadow); }
.pf.has-glow .pf-free.panels .pf-fb:not(.fb-avatar) { box-shadow: 0 0 0 1px var(--p-border) inset, 0 0 50px -10px color-mix(in srgb, var(--p-accent) 50%, transparent); }
.pf-free-banner { position: absolute; inset: 0 0 auto; height: 32%; background: center / cover no-repeat; -webkit-mask-image: linear-gradient(#000 35%, transparent); mask-image: linear-gradient(#000 35%, transparent); pointer-events: none; }
.pf-fb.fb-hidden { opacity: .3; }
/* Narrow screens: the free layout falls back to a clean stack, in the order blocks appear top-to-bottom. */
@container (max-width: 700px) {
  .pf-free { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 44px 16px 56px; height: auto !important; }
  .pf-fb { position: static; translate: none; width: 100% !important; max-width: 460px; }
  .pf-fb.fb-avatar { width: auto !important; }
  .pf-free-banner { height: 200px; }
}

/* ===== Text effects (name, @handle, bio, enter screen) ===== */
.tfx-glow { text-shadow: 0 0 16px color-mix(in srgb, var(--p-accent) 65%, transparent), 0 0 2px color-mix(in srgb, var(--p-accent) 55%, transparent); }
.tfx-shimmer { background: linear-gradient(100deg, currentColor 30%, var(--p-accent) 50%, currentColor 70%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer-text 3.6s linear infinite; }
.tfx-glitch { position: relative; display: inline-block; }
.tfx-glitch::before, .tfx-glitch::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; }
.tfx-glitch::before { color: #0ff; clip-path: inset(0 0 60% 0); animation: gl1 2.6s steps(1) infinite; mix-blend-mode: screen; }
.tfx-glitch::after { color: #f0f; clip-path: inset(55% 0 0 0); animation: gl2 2.6s steps(1) infinite; mix-blend-mode: screen; }
.tfx-wave .wv { display: inline-block; animation: wave 1.8s ease-in-out infinite; }
.tfx-flicker { animation: tfx-flicker 4.5s linear infinite; }
@keyframes tfx-flicker { 0%, 19%, 21%, 23%, 54%, 56%, 100% { opacity: 1; text-shadow: 0 0 12px color-mix(in srgb, var(--p-accent) 55%, transparent); } 20%, 22%, 55% { opacity: .35; text-shadow: none; } }
.tfx-float { display: inline-block; animation: tfx-float 3.2s ease-in-out infinite; }
@keyframes tfx-float { 50% { transform: translateY(-4px); } }
.pf-bio .pf-caret, .pf-gate-text .pf-caret { height: 1em; }
.pf-gate-text { display: inline-block; min-height: 1.2em; }
@media (prefers-reduced-motion: reduce) { .tfx-shimmer, .tfx-wave .wv, .tfx-flicker, .tfx-float, .tfx-glitch::before, .tfx-glitch::after { animation: none !important; } }

/* ===================== Page sections (v3.8) ===================== */
.pf.has-sections { place-items: start center; align-content: start; row-gap: 0; }
/* First screen: the card, centred. Everything else scrolls in below it. */
.pf.has-sections > .pf-wrap { min-height: calc(var(--pf-vh, 100dvh) - 96px); display: flex; align-items: center; justify-content: center; }
.pf.has-sections > .pf-wrap > .pf-card { width: 100%; }
.pf.free-sections > .pf-free { min-height: calc(var(--pf-vh, 100dvh) - 96px); }
/* Keep the background still while the page scrolls */
.pf.is-page.has-sections > :is(.pf-layers, .pf-bg-video, .pf-dim, .pf-fx, .pf-grain) { position: fixed; }
.pf.is-preview.has-sections > :is(.pf-layers, .pf-bg-video, .pf-dim, .pf-fx, .pf-grain) { top: var(--sy, 0px); bottom: auto; height: 100%; }

.pf-sections { position: relative; z-index: 2; width: min(100%, 1000px); container-type: inline-size; padding: 8px 0 72px; }
.ps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; align-items: stretch; }
.ps-grid > .w-full { grid-column: 1 / -1; }
@container (max-width: 620px) { .ps-grid { grid-template-columns: minmax(0, 1fr); } }

.ps-reveal { opacity: 0; transform: translateY(22px) scale(.985); transition: opacity 800ms cubic-bezier(.16,1,.3,1), transform 900ms cubic-bezier(.16,1,.3,1); }
.ps-reveal.in { opacity: 1; transform: none; }
.pf.is-preview .ps-reveal { transition-duration: 450ms; }

.ps-heading { margin: 26px 4px 2px; font: 700 calc(1.75em) var(--p-name-font), 'Inter', sans-serif; letter-spacing: -.02em; line-height: 1.1; color: var(--p-text); text-shadow: 0 2px 18px rgba(0,0,0,.35); overflow-wrap: anywhere; }
.ps-heading.al-center { text-align: center; }

.ps { position: relative; min-width: 0; padding: 18px 20px; border-radius: 30px; background: var(--p-card); backdrop-filter: blur(var(--p-blur)) saturate(1.1); -webkit-backdrop-filter: blur(var(--p-blur)) saturate(1.1);
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--p-text) 26%, transparent) inset, var(--p-shadow); transition: box-shadow 300ms, transform 400ms cubic-bezier(.16,1,.3,1); }
.ps:hover { box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--p-text) 40%, transparent) inset, var(--p-shadow); }
.ps-tag { position: absolute; top: 12px; right: 18px; display: inline-flex; align-items: center; gap: 4px; font-size: .68em; font-weight: 600; color: color-mix(in srgb, var(--p-text) 38%, transparent); }
.ps-row { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.ps-text { display: grid; gap: 3px; min-width: 0; flex: 1; }
.ps-text b { font-size: 1.06em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 54px; }
.ps-sub { font-size: .8em; color: var(--p-muted); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.ps-activity { font-size: .76em; color: color-mix(in srgb, var(--p-text) 48%, transparent); font-style: italic; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .78em; font-weight: 600; color: var(--p-muted); }
.ps-meta span { display: inline-flex; align-items: center; gap: 4px; }
.ps-meta .dot { width: 7px; height: 7px; border-radius: 50%; background: color-mix(in srgb, var(--p-text) 45%, transparent); display: inline-block; margin-right: -4px; }
.ps-meta .dot.on { background: #23A55A; }
.ps-ic { width: 60px; height: 60px; flex: none; border-radius: 16px; object-fit: cover; background: rgba(255,255,255,.08); }
.ps-letter, .ps-missing { display: grid; place-items: center; font-size: 1.5em; font-weight: 700; color: var(--p-text); }
.ps-missing { background: color-mix(in srgb, var(--p-text) 22%, transparent); }
.ps-rbx { background: transparent; border-radius: 12px; }
.ps-btn { flex: none; display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 9px; font-weight: 600; font-size: .9em; color: #fff; text-decoration: none; transition: filter 200ms, transform 200ms; }
.ps-btn.join { background: #248046; } .ps-btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.ps-pill { justify-self: start; display: inline-flex; align-items: center; height: 19px; padding: 0 10px; margin-top: 2px; border-radius: 999px; background: #23A55A; color: #fff; font-size: .72em; font-weight: 700; text-decoration: none; }
.ps-pill:hover { filter: brightness(1.12); }
.ps-av-wrap { position: relative; flex: none; }
.ps-av { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; display: block; background: rgba(255,255,255,.08); }
.ps-status { position: absolute; right: -1px; bottom: 1px; width: 18px; height: 18px; border-radius: 50%; border: 3.5px solid color-mix(in srgb, var(--p-card) 100%, #000); background: #80848E; box-sizing: border-box; }
.st-online .ps-status { background: #23A55A; } .st-idle .ps-status { background: #F0B232; } .st-dnd .ps-status { background: #F23F43; }

.ps-dial { width: 66px; height: 66px; flex: none; filter: drop-shadow(0 3px 8px rgba(0,0,0,.4)); }
.ps-dial .face { fill: #151517; stroke: #2B2B2F; stroke-width: 2; }
.ps-dial .tick { stroke: #6B6B72; stroke-width: 1; } .ps-dial .tick.big { stroke: #E8E8EA; stroke-width: 2.2; }
.ps-dial .hand { stroke: #F2F2F4; stroke-linecap: round; } .ps-dial .hand.s { stroke: #E5484D; } .ps-dial .pin { fill: #E5484D; }
.ps-time { font-size: 1.12em; font-weight: 700; letter-spacing: .01em; font-variant-numeric: tabular-nums; padding-right: 0 !important; }
.ps-row.digital .ps-time { font-size: 2em; letter-spacing: -.01em; }

.ps-title { margin: 0 0 6px; font-size: 1.05em; font-weight: 700; padding-right: 60px; }
.ps-body { margin: 0; font-size: .92em; line-height: 1.6; color: color-mix(in srgb, var(--p-text) 82%, transparent); white-space: pre-line; overflow-wrap: anywhere; }

.ps-skills { display: flex; flex-wrap: wrap; gap: 10px; padding: 2px 0; }
.ps-chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 15px; border-radius: 999px; font-size: .86em; font-weight: 600;
  background: color-mix(in srgb, var(--p-card) 70%, transparent); backdrop-filter: blur(calc(var(--p-blur) * .6)); -webkit-backdrop-filter: blur(calc(var(--p-blur) * .6));
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--p-text) 26%, transparent) inset; transition: transform 250ms cubic-bezier(.16,1,.3,1), box-shadow 250ms; }
.ps-chip:hover { transform: translateY(-2px); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--p-text) 45%, transparent) inset; }
.ps-chip i { width: 9px; height: 9px; border-radius: 3px; }

.ps-projects { display: grid; gap: 8px; }
.ps-project { position: relative; display: grid; gap: 2px; padding: 12px 40px 12px 14px; border-radius: 16px; color: inherit; text-decoration: none; background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px color-mix(in srgb, var(--p-text) 10%, transparent) inset; transition: background 200ms, transform 250ms cubic-bezier(.16,1,.3,1); }
a.ps-project:hover { background: rgba(255,255,255,.08); transform: translateX(2px); }
.ps-project b { font-size: .95em; }
.ps-go { position: absolute; right: 14px; top: 50%; translate: 0 -50%; color: var(--p-muted); }

.ps-sk { background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.14), rgba(255,255,255,.06)); background-size: 200% 100%; animation: psShimmer 1.3s linear infinite; border-radius: 8px; }
.ps-sk-l { height: 14px; width: 55%; } .ps-sk-s { height: 10px; width: 35%; margin-top: 6px; }
@keyframes psShimmer { to { background-position: -200% 0; } }

.pf-scroll-hint { position: fixed; left: 50%; bottom: 22px; translate: -50% 0; z-index: 30; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--p-text);
  background: color-mix(in srgb, var(--p-card) 80%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--p-text) 20%, transparent) inset;
  animation: psBob 2.4s ease-in-out infinite; transition: opacity 400ms, translate 400ms; cursor: pointer; }
.pf-scroll-hint.gone { opacity: 0; pointer-events: none; }
.pf.is-preview .pf-scroll-hint { position: absolute; top: calc(var(--sy, 0px) + var(--pf-vh, 100%) - 58px); bottom: auto; }
@keyframes psBob { 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .ps-reveal { opacity: 1; transform: none; } .pf-scroll-hint { animation: none; } }

/* Avatar zoom & focal point: the picture is zoomed inside this frame */
.pf-av-clip { position: relative; z-index: 1; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; background: #1B1B1F; }
.pf-av-clip img { display: block; border-radius: 0 !important; will-change: transform; }
.pf.av-squircle .pf-av-clip { border-radius: 30%; }
.pf.av-square .pf-av-clip { border-radius: 10px; }

/* Spin the whole avatar with the ring: picture, fallback letter and Discord decoration turn together */
.pf.av-ring.av-spin-all .pf-av-clip, .pf.av-ring.av-spin-all .pf-avatar > .pf-av-fallback, .pf.av-ring.av-spin-all .pf-avatar .pf-deco-img { animation: ringspin var(--p-spin, 8s) linear infinite; }

/* Links section */
.ps-links-title { display: block; margin-bottom: 10px; font-size: .95em; }
.ps-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.ps-linkbtn { position: relative; display: flex; align-items: center; gap: 10px; padding: 11px 36px 11px 12px; border-radius: 14px; color: inherit; text-decoration: none; background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px color-mix(in srgb, var(--p-text) 10%, transparent) inset; transition: background 200ms, transform 250ms cubic-bezier(.16,1,.3,1); }
.ps-linkbtn:hover { background: rgba(255,255,255,.08); transform: translateY(-1px); }
.ps-linkic { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 9px; background: rgba(255,255,255,.06); }
.ps-linklabel { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .92em; font-weight: 600; }
.ps-linkbtn .ps-go { position: absolute; right: 12px; opacity: .5; }


/* Discord status on the card */
.pf-status-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pf-dc { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 11px; border-radius: 99px; font-size: .8em; color: color-mix(in srgb, var(--p-text) 80%, transparent); background: color-mix(in srgb, var(--p-text) 7%, transparent); }
.pf-dc:empty { display: none; }
.pf-dc span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-dc .ic { color: #8c96ff; flex: none; }
.pf-dc-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: #80848e; }
.pf-dc-dot.st-online { background: #23a55a; } .pf-dc-dot.st-idle { background: #f0b232; } .pf-dc-dot.st-dnd { background: #f23f43; }
