/* ============ Profile renderer ============
   Profiles are their owners' pages, so this layer deliberately does NOT use the repent.bio chrome.
   Each card reads its own variables: --acc --acc2 (colors) --op --bl (glass) --rad (corners) --fd --fb --fw (type) --tc (text). */

.stage { position: relative; overflow: hidden; isolation: isolate; display: grid; place-items: center; min-height: 520px; color: #f2f2f4; background: #050507; container-type: inline-size; }
.stage canvas.fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.bgm-layer { position: absolute; inset: 0; z-index: 0; }
.bgm { position: absolute; inset: 0; overflow: hidden; }
.bgm-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, var(--dim, .45)); }
.fitm { width: 100%; height: 100%; display: block; }
.fit-cover { object-fit: cover; } .fit-contain { object-fit: contain; } .fit-fill { object-fit: fill; }
.stage-in { position: relative; z-index: 2; width: 100%; display: grid; place-items: center; padding: 28px 18px; }
[data-customcur], [data-customcur] * { cursor: var(--cur) !important; }

/* ---------- the card ---------- */
.pcard {
  --muted: color-mix(in srgb, var(--tc, #f2f2f4) 62%, transparent);
  --pad: 28px; --gap: 12px;
  position: relative; width: min(390px, 100%); text-align: center; padding: var(--pad) calc(var(--pad) - 2px) calc(var(--pad) - 6px);
  border-radius: var(--rad, 20px); color: var(--tc, #f2f2f4); font-family: var(--fb, "Geist", sans-serif);
  background: rgba(16, 17, 23, var(--op, .55)); backdrop-filter: blur(var(--bl, 14px)); -webkit-backdrop-filter: blur(var(--bl, 14px));
  border: 1px solid rgba(255, 255, 255, .09); transition: transform .25s ease-out;
  animation: cardIn .7s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.pcard.dn-compact { --pad: 20px; --gap: 8px; }
.pcard.dn-airy { --pad: 38px; --gap: 18px; }
.pcard.al-left { text-align: left; }
.pcard.al-left .av-wrap { margin-left: 0; }
.pcard.al-left :is(.badges, .socials, .meta, .cnames, .bs-place) { justify-content: flex-start; margin-inline: 0; }
.pcard.cs-solid { background: color-mix(in srgb, #101117 calc(var(--op, .55) * 100% + 30%), #000); backdrop-filter: none; -webkit-backdrop-filter: none; }
.pcard.cs-outline { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: color-mix(in srgb, var(--acc) 45%, transparent); }
.pcard.cs-bare { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none !important; }
.pcard.glowb:not(.cs-bare) { box-shadow: 0 0 60px -22px color-mix(in srgb, var(--acc) 45%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--acc) 22%, transparent); }

/* liquid glass */
.pcard.liquid { background: linear-gradient(140deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .03) 42%, rgba(255, 255, 255, .09)), rgba(12, 12, 18, .42); backdrop-filter: blur(calc(var(--bl, 14px) * 1.5)) saturate(1.9) brightness(1.08); -webkit-backdrop-filter: blur(calc(var(--bl, 14px) * 1.5)) saturate(1.9) brightness(1.08); border: 1px solid rgba(255, 255, 255, .3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -1px 0 rgba(255, 255, 255, .14), inset 0 0 34px rgba(255, 255, 255, .08), 0 26px 70px -20px rgba(0, 0, 0, .6); text-shadow: 0 1px 10px rgba(0, 0, 0, .35); --muted: #e3e3ea; }
.pcard.liquid::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; background: radial-gradient(120% 55% at 14% -8%, rgba(255, 255, 255, .38), transparent 58%), linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, .13) 50%, transparent 62%); background-size: 100% 100%, 240% 100%; animation: liquidSheen 9s ease-in-out infinite; mix-blend-mode: soft-light; }
@keyframes liquidSheen { 0%, 100% { background-position: 0 0, 110% 0; } 50% { background-position: 0 0, -10% 0; } }
.pcard.liquid :is(.wcard, .player, .lk-btn, .lk-tile) { background: linear-gradient(140deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03)), rgba(8, 8, 12, .34); border: 1px solid rgba(255, 255, 255, .24); }

/* banner */
.cbanner { position: relative; margin: calc(var(--pad) * -1) calc(var(--pad) * -1 + 2px) 0; border-radius: calc(var(--rad, 20px) - 1px) calc(var(--rad, 20px) - 1px) 0 0; overflow: hidden; }
.cb-in, .cb-in .fitm { width: 100%; height: 100%; }
.pcard.has-banner > .av-wrap, .pcard.has-banner > .bs-place { margin-top: -46px; }

/* ---------- avatar ---------- */
.av-wrap { position: relative; width: max-content; margin: 0 auto; }
.av-wrap:has(.orbit) { margin: 18px auto 32px; }
.av { --s: 88px; position: relative; width: var(--s); height: var(--s); border-radius: 50%; display: grid; place-items: center; font-family: var(--fd, "Geist"); font-weight: 700; font-size: calc(var(--s) * .4); color: #fff; background: conic-gradient(from 200deg, var(--acc, #fff), var(--acc2, #7b95ff), var(--acc, #fff)); box-shadow: 0 0 0 3px rgba(0, 0, 0, .35); text-shadow: 0 1px 8px rgba(0, 0, 0, .45); flex: none; }
.av img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.av:has(> img) { background: #111; }
.deco { position: absolute; left: 50%; top: 50%; width: 120%; height: 120%; transform: translate(-50%, -50%); pointer-events: none; z-index: 2; display: block; font-size: 0; }
.deco svg, .deco img { display: block; width: 100%; height: 100%; border-radius: 0 !important; object-fit: contain; overflow: visible; }
.av .status { position: absolute; right: 2px; bottom: 2px; z-index: 3; width: 22%; height: 22%; border-radius: 50%; border: 3px solid #121218; }
.s-online { background: #3ddc97; } .s-idle { background: #f5b94d; } .s-dnd { background: #ff5d6c; } .s-offline { background: #777; }

/* ---------- type ---------- */
.pname { position: relative; display: inline-block; margin: 14px 0 2px; min-height: 1.1em; font-family: var(--fd, "Geist"); font-weight: var(--fw, 650); font-size: 30px; line-height: 1.08; letter-spacing: -.03em; color: var(--tc, #fff); overflow-wrap: anywhere; --fxc: var(--tc, #fff); }
.ff-editorial .pname { letter-spacing: -.01em; font-size: 36px; }
.ff-gothic .pname, .ff-hand .pname { letter-spacing: 0; font-size: 36px; }
.ff-pixel .pname { letter-spacing: 0; }
.ff-wide .pname { letter-spacing: -.02em; }
.pname.glow { text-shadow: 0 0 18px color-mix(in srgb, var(--acc) 70%, transparent); }
.pname-wrap { position: relative; display: inline-block; max-width: 100%; outline: none; }
.pname-wrap.has-norbit { margin: 24px 22px 10px; }
.handle { font-size: 14px; color: var(--hc, var(--muted)); --fxc: var(--hc, var(--muted)); display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 8px; font-family: var(--fb); }
.al-left .handle { justify-content: flex-start; }
.pronouns { font-size: 12px; padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .07); color: var(--muted); }
.bio { margin: var(--gap, 12px) 0 0; font-size: 15px; line-height: 1.55; color: var(--tc, #dcdce0); white-space: pre-line; overflow-wrap: anywhere; --fxc: var(--tc, #dcdcdc); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; margin-top: 14px; font-size: 13px; color: var(--muted); }
.meta span { display: inline-flex; gap: 5px; align-items: center; }
.meta .i, .vc-inline .i, .vc-corner .i { width: 14px; height: 14px; }
.vc-corner { position: absolute; top: 14px; right: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }
.vc-corner.pill { color: #e6e6e6; background: rgba(0, 0, 0, .45); backdrop-filter: blur(6px); padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .09); }
.vc-inline { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.vc-inline.pill { background: rgba(255, 255, 255, .07); padding: 3px 9px; border-radius: 999px; }
.cnames { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.cn-line { font-size: 13px; line-height: 1.35; color: var(--muted); }
.cn-line b { font-weight: 600; color: var(--rc, #fff); }
.uidtip { position: absolute; left: 50%; bottom: calc(100% - 4px); z-index: 6; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border-radius: 9px; background: rgba(22, 23, 30, .96); color: #f2f2f2; font: 600 12.5px var(--fb); white-space: nowrap; border: 1px solid rgba(255, 255, 255, .13); box-shadow: 0 10px 28px rgba(0, 0, 0, .5); pointer-events: none; opacity: 0; transform: translate(-50%, 8px) scale(.9); transition: opacity .22s ease, transform .3s cubic-bezier(.2, .9, .25, 1.2); }
.uidtip .i { width: 14px; height: 14px; opacity: .7; }
.pname-wrap:hover .uidtip, .pname-wrap:focus-visible .uidtip { opacity: 1; transform: translate(-50%, -6px) scale(1); }
.defpop { position: fixed; left: 0; top: 0; z-index: 2147483000; width: max-content; max-width: min(270px, calc(100vw - 16px)); padding: 11px 14px 12px; border-radius: 12px; color: #fff; font: 500 12.5px/1.45 "Geist", sans-serif; text-align: left; background: rgba(14, 15, 21, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 12px 34px rgba(0, 0, 0, .45); pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .16s ease, transform .16s ease; }
.defpop.on { opacity: 1; transform: none; }
.defpop .dp-h { display: block; font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.defpop .dp-l { display: block; color: rgba(255, 255, 255, .8); }
.defpop .dp-d { display: block; margin-top: 6px; color: rgba(255, 255, 255, .72); }
[data-dn] { cursor: default; }

/* text effects */
.fx-gradient { background: linear-gradient(90deg, var(--acc), var(--acc2), var(--acc)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: fxShineG 6s linear infinite; }
.pname.glow.fx-gradient { text-shadow: none; filter: drop-shadow(0 0 12px color-mix(in srgb, var(--acc) 55%, transparent)); }
@keyframes fxShineG { to { background-position: 200% 0; } }
.fx-glitch::before, .fx-glitch::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; }
.fx-glitch::before { color: var(--acc2); animation: g1 2.6s infinite steps(1); clip-path: inset(0 0 60% 0); }
.fx-glitch::after { color: var(--acc); animation: g2 2.2s infinite steps(1); clip-path: inset(55% 0 0 0); }
@keyframes g1 { 0%, 86%, 100% { transform: none; opacity: 0; } 88% { transform: translate(-3px, -1px); opacity: .9; } 92% { transform: translate(3px, 1px); opacity: .9; } }
@keyframes g2 { 0%, 80%, 100% { transform: none; opacity: 0; } 82% { transform: translate(3px, 0); opacity: .9; } 86% { transform: translate(-2px, 1px); opacity: .9; } }
.fx-typewriter::after { content: ""; display: inline-block; width: .08em; height: .9em; margin-left: 3px; background: var(--acc); vertical-align: -.08em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.spk { position: absolute; pointer-events: none; color: var(--acc2); font-size: 12px; animation: spk 1.1s ease-out forwards; font-style: normal; }
@keyframes spk { 0% { transform: scale(0) rotate(0); opacity: 1; } 60% { opacity: 1; } 100% { transform: scale(1.2) rotate(90deg) translateY(-10px); opacity: 0; } }
.fx-sparkle, .fx-magic { position: relative; }
.fx-fuzzy { animation: fxFuzzy 2.6s steps(3) infinite; }
@keyframes fxFuzzy { 0%, 100% { filter: blur(0) brightness(1); } 30% { filter: blur(.6px) brightness(1.12); } 55% { filter: blur(0) brightness(.94); } 80% { filter: blur(.4px) brightness(1.06); } }
.fx-blur { animation: fxBlur 3.2s ease-in-out infinite; }
@keyframes fxBlur { 0%, 100% { filter: blur(0); } 50% { filter: blur(2.5px); } }
.fx-shine { position: relative; background: linear-gradient(100deg, var(--fxc, #fff) 42%, #fff 50%, var(--fxc, #fff) 58%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: fxShine 3.4s linear infinite; }
@keyframes fxShine { 0% { background-position: 220% 0; } 100% { background-position: -60% 0; } }
.fx-pulse { display: inline-block; animation: fxPulse 1.7s ease-in-out infinite; }
@keyframes fxPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.045); opacity: .82; } }
.fx-wave span { display: inline-block; animation: fxWave 1.4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes fxWave { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }
.fx-matrix { position: relative; color: var(--hc, #3ddc97) !important; text-shadow: 0 0 9px color-mix(in srgb, var(--hc, #3ddc97) 65%, transparent); font-family: "Geist Mono", monospace !important; }
.fx-matrix::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: color-mix(in srgb, var(--hc, #3ddc97) 60%, transparent); animation: fxMatrixScan 2.6s linear infinite; }
@keyframes fxMatrixScan { 0% { top: 0; opacity: 0; } 10%, 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* ---------- badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 10px 0 0; font-size: 15px; }
.badges span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 9px; color: var(--bc, #fff); background: color-mix(in srgb, var(--bc, #fff) 13%, rgba(255, 255, 255, .04)); box-shadow: 0 0 16px -5px var(--bc, #fff), inset 0 0 0 1px color-mix(in srgb, var(--bc, #fff) 32%, transparent); }
.badges span .i { width: 15px; height: 15px; }
.badges span img { width: 16px; height: 16px; border-radius: 4px; object-fit: cover; }
.badges span.emb { width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)) drop-shadow(0 0 7px color-mix(in srgb, var(--bc, #fff) 60%, transparent)); transition: transform .18s; }
.badges span.emb:hover { transform: translateY(-2px) scale(1.14); }
.badges span.emb svg { display: block; width: 27px; height: 27px; }
.badges.plain { gap: 10px; }
.badges.plain span { width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; font-size: 22px; }
.bs-sh-square { --brad: 2px; } .bs-sh-soft { --brad: 6px; } .bs-sh-rounded { --brad: 10px; } .bs-sh-extra { --brad: 15px; } .bs-sh-pill { --brad: 999px; }
.badges[class*="bs-sh-"] span, [class*="bs-sh-"] :is(.orb-i, .nb) { border-radius: var(--brad, 9px); }
.badges[class*="bs-sh-"] { zoom: var(--bsz, 1); }
[class*="bs-sh-"] :is(.orb-i, .nb) { scale: var(--bsz, 1); }
.bs-io.badges span:not(.emb), .bs-io .orb-i, .bs-io .nb { background: none; box-shadow: none; backdrop-filter: none; }
.bs-io.badges span:not(.emb) .i { width: 20px; height: 20px; }
.badges.bs-ct { width: fit-content; max-width: 100%; margin-inline: auto; padding: 6px 10px; border-radius: calc(var(--brad, 10px) + 4px); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.bs-cc.badges span, .bs-cc .orb-i, .bs-cc .nb { --bc: var(--bcol) !important; }
.bs-glow.badges span:not(.emb), .bs-glow .orb-c, .bs-glow .nb-c { filter: drop-shadow(0 0 calc(5px * var(--gl, 1)) var(--bc, #fff)); }
.bs-fx-8bit :is(svg, img) { filter: url(#bs-px8); image-rendering: pixelated; }
.bs-fx-pulse :is(svg, img) { animation: bsGlowPulse 2s ease-in-out infinite; }
.bs-fx-rainbow :is(svg, img) { animation: bsRainbow 4s linear infinite; }
.bs-fx-shake :is(svg, img) { animation: bsShake .7s ease-in-out infinite; }
@keyframes bsGlowPulse { 0%, 100% { filter: drop-shadow(0 0 1px var(--bc, #fff)); } 50% { filter: drop-shadow(0 0 4px var(--bc, #fff)) drop-shadow(0 0 12px var(--bc, #fff)) brightness(1.25); } }
@keyframes bsRainbow { 0%, 100% { filter: hue-rotate(0); } 100% { filter: hue-rotate(360deg); } }
@keyframes bsShake { 0%, 100% { transform: translateX(0) rotate(0); } 25% { transform: translateX(-2px) rotate(-9deg); } 75% { transform: translateX(2px) rotate(9deg); } }
.bs-place { display: flex; align-items: center; justify-content: center; gap: 16px; width: fit-content; max-width: 100%; margin: 0 auto; }
.bs-place.up { flex-direction: column; gap: 2px; }
.bs-place .badges { margin: 0; }
.bs-place.left .badges, .bs-place.right .badges { flex-direction: column; }
.bs-place.up .badges { margin-bottom: 8px; }

.orbit { position: absolute; inset: 0; z-index: 2; animation: orbit var(--dur, 26s) linear infinite; }
.orb { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translate(var(--r)); }
.orb-i, .nb { position: absolute; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: var(--bc, #fff); background: color-mix(in srgb, var(--bc, #fff) 16%, rgba(12, 12, 12, .75)); backdrop-filter: blur(4px); box-shadow: 0 0 18px -4px var(--bc, #fff), inset 0 0 0 1px color-mix(in srgb, var(--bc, #fff) 40%, transparent); }
.orb-i { transform: translate(-50%, -50%) rotate(calc(var(--a) * -1)); }
.orb-c, .nb-c { display: grid; place-items: center; font-size: 15px; }
.orb-c { animation: orbit-c var(--dur, 26s) linear infinite; }
.orb-c .i, .nb-c .i { width: 15px; height: 15px; }
.orb-c img, .nb-c img { width: 17px; height: 17px; border-radius: 5px; object-fit: cover; }
.orb-i.emb, .nb.emb { background: none; box-shadow: none; backdrop-filter: none; }
.orb-i.emb svg, .nb.emb svg { display: block; width: 27px; height: 27px; filter: drop-shadow(0 0 8px var(--bc, #fff)); }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes orbit-c { to { transform: rotate(-360deg); } }
.bs-static.orbit, .bs-static.orbit .orb-c { animation: none; }
.orbit-fix { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.orb-fx { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: translate(var(--px), var(--py)); }
.orb-fx .orb-i { transform: translate(-50%, -50%); pointer-events: auto; }
.bs-float .orb-fx .orb-i { animation: bsBob 3.6s ease-in-out infinite; animation-delay: var(--dl, 0s); }
@keyframes bsBob { 50% { translate: 0 -5px; } }
.norbit { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.nb { left: 50%; top: 50%; pointer-events: auto; will-change: transform; }
.sp, .sp2 { position: absolute; width: var(--s, 3px); height: var(--s, 3px); border-radius: 50%; background: #fff; box-shadow: 0 0 6px 1px rgba(255, 255, 255, .95); opacity: 0; animation: twinkle var(--d, 2.4s) ease-in-out infinite; animation-delay: var(--dl, 0s); pointer-events: none; }
.sp { left: 50%; top: 50%; margin: -1px 0 0 -1px; transform: rotate(var(--a, 0deg)) translate(var(--r, 60px)); }
.sp.star, .sp2.star { width: auto; height: auto; background: none; box-shadow: none; font-style: normal; font-size: 10px; line-height: 1; color: #fff; text-shadow: 0 0 6px #fff, 0 0 12px #fff; }
@keyframes twinkle { 0%, 100% { opacity: 0; scale: .3; } 50% { opacity: 1; scale: 1; } }
.sp.v-classic, .sp2.v-classic { animation-name: spSteady; animation-duration: 3.4s; }
.sp.v-burst { animation-name: spBurst; } .sp2.v-burst { animation-name: spBurst2; }
.sp.v-pulse, .sp2.v-pulse { animation-name: spPulse; }
@keyframes spSteady { 0%, 100% { opacity: .2; } 50% { opacity: .95; } }
@keyframes spBurst { 0% { opacity: 1; transform: rotate(var(--a, 0deg)) translate(calc(var(--r, 60px) * .55)); } 100% { opacity: 0; transform: rotate(var(--a, 0deg)) translate(calc(var(--r, 60px) * 1.35)); } }
@keyframes spBurst2 { 0% { opacity: 1; scale: .4; } 100% { opacity: 0; scale: 2; } }
@keyframes spPulse { 0%, 100% { opacity: .3; scale: .6; } 50% { opacity: 1; scale: 1.8; } }

/* ---------- links: icons ---------- */
.lm { font-weight: 700; font-size: .62em; letter-spacing: -.02em; line-height: 1; font-family: "Geist", sans-serif; }
.socials { display: flex; flex-wrap: wrap; gap: var(--sgap, 8px); justify-content: center; margin-top: 16px; font-size: 19px; }
.socials a, .socials button { display: grid; place-items: center; width: var(--sz, 40px); height: var(--sz, 40px); border-radius: 12px; color: #ececf0; transition: background .16s, color .16s, transform .16s, box-shadow .16s; }
.socials .bi, .socials .i { width: 19px; height: 19px; }
.sh-circle :is(a, button) { border-radius: 50%; } .sh-square :is(a, button) { border-radius: 6px; }
.ss-soft :is(a, button) { background: rgba(255, 255, 255, .06); }
.ss-solid :is(a, button) { background: rgba(255, 255, 255, .14); }
.ss-outline :is(a, button) { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.sc-brand :is(a, button) { color: var(--brand); }
.sc-accent :is(a, button) { color: var(--acc); }
.socials :is(a, button):hover, .socials :is(a, button):focus-visible { background: color-mix(in srgb, var(--brand) 26%, transparent); color: #fff; box-shadow: 0 0 18px -6px var(--brand); }
.socials.lb :is(a, button) { width: auto; min-width: var(--sz, 40px); padding: 0 14px; grid-auto-flow: column; gap: 9px; }
.socials.lb span { font-size: 13px; font-weight: 500; }
.sa-pop :is(a, button):hover { transform: scale(1.16); }
.sa-bounce :is(a, button):hover { animation: sbounce .55s ease; }
.sa-pulse :is(a, button) { animation: spulse 2.6s ease-in-out infinite; animation-delay: var(--d); }
.sa-spin :is(a, button):hover { animation: sspin .6s ease; }
@keyframes sbounce { 30% { transform: translateY(-8px); } 55% { transform: translateY(0); } 75% { transform: translateY(-3px); } }
@keyframes spulse { 50% { box-shadow: 0 0 20px -4px var(--brand); transform: translateY(-2px); } }
@keyframes sspin { to { transform: rotate(360deg); } }

/* ---------- links: buttons / list / grid ---------- */
.links { display: flex; flex-direction: column; gap: 8px; margin-top: calc(var(--gap, 12px) + 6px); text-align: left; }
.lk-btn { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px 8px 10px; border-radius: calc(var(--rad, 20px) * .6); background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .08); color: var(--tc, #f2f2f4); transition: background .2s, border-color .2s, transform .2s cubic-bezier(.16, 1, .3, 1); width: 100%; text-align: left; font: inherit; animation: lkIn .6s cubic-bezier(.16, 1, .3, 1) both; animation-delay: var(--d); }
.lk-btn:hover, .lk-btn:focus-visible { background: color-mix(in srgb, var(--acc) 12%, rgba(255, 255, 255, .06)); border-color: color-mix(in srgb, var(--acc) 40%, transparent); transform: translateY(-1px); }
.lk-ic { width: 34px; height: 34px; display: grid; place-items: center; flex: none; border-radius: calc(var(--rad, 20px) * .4); background: rgba(255, 255, 255, .07); font-size: 17px; }
.lk-ic .bi, .lk-ic .i { width: 18px; height: 18px; }
.sc-brand .lk-ic { color: var(--brand); } .sc-accent .lk-ic { color: var(--acc); }
.lk-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lk-t b { font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-t small { font-size: 12px; color: var(--muted); }
.lk-go { color: var(--muted); display: grid; transition: transform .2s, color .2s; }
.lk-go .i { width: 16px; height: 16px; }
:is(.lk-btn, .lk-row):hover .lk-go { color: var(--tc, #fff); transform: translate(2px, -2px); }
.lk-list { gap: 0; }
.lk-row { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 13px 2px; border-top: 1px solid color-mix(in srgb, var(--tc, #fff) 12%, transparent); color: var(--tc, #f2f2f4); text-align: left; width: 100%; font: inherit; animation: lkIn .6s cubic-bezier(.16, 1, .3, 1) both; animation-delay: var(--d); }
.lk-row:last-child { border-bottom: 1px solid color-mix(in srgb, var(--tc, #fff) 12%, transparent); }
.lk-row .lk-n { grid-row: span 2; font: 500 11px "Geist Mono", monospace; color: var(--muted); align-self: start; padding-top: 4px; }
.lk-row b { font-family: var(--fd); font-weight: var(--fw, 600); font-size: 17px; letter-spacing: -.01em; }
.lk-row small { grid-column: 2; font: 12px "Geist Mono", monospace; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-row .lk-go { grid-column: 3; grid-row: 1 / span 2; }
.lk-row:hover b { color: var(--acc); }
.lk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lk-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 12px; border-radius: calc(var(--rad, 20px) * .6); background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .08); color: var(--tc, #f2f2f4); font: inherit; text-align: left; transition: background .2s, border-color .2s, transform .2s; animation: lkIn .6s cubic-bezier(.16, 1, .3, 1) both; animation-delay: var(--d); }
.lk-tile b { font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.lk-tile:hover { border-color: color-mix(in srgb, var(--acc) 40%, transparent); transform: translateY(-2px); }
@keyframes lkIn { from { opacity: 0; transform: translateY(8px); } }

/* ---------- widgets ---------- */
.wds { display: grid; gap: 8px; margin-top: 16px; text-align: left; }
.wcard { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: calc(var(--rad, 20px) * .7); background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .07); color: inherit; text-align: left; min-width: 0; }
a.wcard { transition: background .15s, transform .15s; }
a.wcard:hover { background: rgba(255, 255, 255, .08); transform: translateY(-1px); }
.wds.transp :is(.wcard, .player) { background: transparent; border-color: transparent; }
.w-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(255, 255, 255, .07); font-size: 19px; flex: none; overflow: hidden; }
.w-ic img { width: 100%; height: 100%; object-fit: cover; }
.w-mid { display: grid; gap: 1px; min-width: 0; flex: 1; }
.w-mid small { font-size: 10px; font-weight: 700; letter-spacing: .07em; color: var(--muted); }
.w-mid b { font-size: 14px; font-weight: 650; color: var(--tc, #fff); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-sub { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.w-dot { width: 6px; height: 6px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 6px #3ddc97; display: inline-block; }
.w-chev { margin-left: auto; color: var(--muted); flex: none; }
.w-valorant { flex-direction: column; align-items: stretch; gap: 8px; }
.w-vtop { display: flex; align-items: center; gap: 8px; }
.w-vtop small { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.w-lvl { margin-left: auto; text-align: right; font-size: 16px; font-weight: 700; }
.w-lvl small { display: block; font-size: 9px; color: var(--muted); }
.w-riotid { color: var(--muted); font-size: 12px; }
.w-rbx { padding: 12px 16px; }
.rbx-av { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: rgba(255, 255, 255, .1); flex: none; font-size: 20px; }
.rbx-av img { width: 100%; height: 100%; object-fit: cover; }
.rbx-body { min-width: 0; display: grid; gap: 3px; }
.rbx-name { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rbx-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; font-weight: 600; color: var(--muted); }
.rbx-stats span { display: inline-flex; align-items: center; gap: 5px; }
.rbx-stats .i { width: 13px; height: 13px; }
.w-dcard { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 16px; background: rgba(20, 20, 26, .6); }
.w-dcard.clear { background: transparent !important; border-color: transparent !important; box-shadow: none !important; }
.wd-top { display: flex; align-items: center; gap: 12px; }
.wd-av { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .1); flex: none; font-size: 18px; font-weight: 700; }
.wd-av > img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.wd-st { position: absolute; right: -2px; bottom: -2px; z-index: 3; width: 15px; height: 15px; border-radius: 50%; border: 3px solid #17171d; }
.wd-info { min-width: 0; display: grid; gap: 5px; }
.wd-l1 { display: flex; align-items: center; gap: 7px; min-width: 0; }
.wd-name { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wd-tag { display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 2px 8px 2px 5px; border-radius: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); font-size: 12px; font-weight: 700; }
.wd-tag img { width: 14px; height: 14px; border-radius: 3px; }
.wd-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.wd-b { display: grid; place-items: center; filter: drop-shadow(0 0 6px var(--bc, #fff)); transition: transform .18s; }
.wd-b:hover { transform: translateY(-2px) scale(1.14); }
.wd-b svg { display: block; width: 22px; height: 22px; }
.w-dact { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .06); }
.w-dact > small { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.w-drow { display: flex; align-items: center; gap: 10px; }
.w-dicon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: rgba(255, 255, 255, .07); font-size: 17px; flex: none; overflow: hidden; }
.w-dicon img { width: 100%; height: 100%; object-fit: cover; }
.w-delapsed { color: var(--muted); font-size: 11px; }

/* player: cover on the left, title / artist / progress in the middle, transport on the right, three lines of lyrics underneath */
.player { --lh: 28px; text-align: left; border-radius: calc(var(--rad, 20px) * .8); background: rgba(14, 14, 17, .78); border: 1px solid rgba(255, 255, 255, .08); padding: 12px 14px 8px; color: #f2f2f2; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pl-main { display: flex; align-items: center; gap: 12px; }
.cover { width: 56px; height: 56px; border-radius: 9px; flex: none; background: radial-gradient(circle at 30% 30%, var(--acc2, #8a8a8a), transparent 60%), linear-gradient(135deg, var(--acc, #fff), #1a1a1a); }
.pl-mid { flex: 1; min-width: 0; }
.pl-mid b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-mid small { display: block; margin-top: 1px; font-size: 12.5px; color: #a3a3a3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-prog { display: flex; align-items: center; gap: 8px; margin-top: 6px; font: 11px "Geist Mono", monospace; color: #a3a3a3; }
.pl-prog input[type="range"] { -webkit-appearance: none; appearance: none; flex: 1; min-width: 30px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #fff var(--p, 0%), rgba(255, 255, 255, .18) var(--p, 0%)); cursor: pointer; }
.pl-prog input[type="range"]::-webkit-slider-runnable-track { background: transparent; height: 3px; }
.pl-prog input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 9px; height: 9px; margin-top: -3px; border-radius: 50%; background: #fff; box-shadow: none; opacity: 0; transition: opacity .15s; }
.pl-prog input[type="range"]:hover::-webkit-slider-thumb, .pl-prog input[type="range"]:focus-visible::-webkit-slider-thumb { opacity: 1; }
.pl-prog input[type="range"]::-moz-range-thumb { width: 9px; height: 9px; border: 0; border-radius: 50%; background: #fff; }
.pl-ctrl { display: flex; align-items: center; gap: 4px; flex: none; }
.pl-ctrl .ib { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: #a8a8a8; }
.pl-ctrl .ib:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.pl-ctrl .ib .i { width: 14px; height: 14px; }
.pl-ctrl .play { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #0a0a0a; flex: none; }
.pl-ctrl .play .i { width: 15px; height: 15px; fill: currentColor; }
.lyrics { position: relative; height: calc(var(--lh) * 3); overflow: hidden; margin-top: 4px; -webkit-mask-image: linear-gradient(transparent, #000 28%, #000 72%, transparent); mask-image: linear-gradient(transparent, #000 28%, #000 72%, transparent); }
.ly-track { transition: transform .45s cubic-bezier(.3, .7, .2, 1); }
.ly-track p { height: var(--lh); line-height: var(--lh); margin: 0; text-align: center; font-size: 14px; color: rgba(255, 255, 255, .3); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.ly-track p.on { color: #fff; }
.player.nolyrics { padding-bottom: 12px; }
@media (max-width: 380px) { .pl-ctrl .ib { display: none; } }

/* ---------- layouts ---------- */
/* minimal */
.l-minimal { background: transparent !important; border-color: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important; }
.l-minimal .pname { font-size: 40px; }
.l-minimal .cbanner { margin: 0 0 14px; border-radius: var(--rad, 20px); }

/* editorial: no card, big type, numbered links */
.l-editorial { width: min(560px, 100%); text-align: left; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none !important; padding: 8px 4px; }
.l-editorial.cs-glass, .l-editorial.cs-solid { background: rgba(10, 10, 14, calc(var(--op, .55) * .7)); backdrop-filter: blur(var(--bl)); -webkit-backdrop-filter: blur(var(--bl)); padding: var(--pad); border-color: rgba(255, 255, 255, .06); }
.l-editorial .cbanner { margin: 0 0 22px; border-radius: var(--rad, 20px); }
.l-editorial .ed-top { display: flex; align-items: center; gap: 12px; }
.l-editorial .ed-top .av-wrap { margin: 0; }
.l-editorial .ed-id { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.l-editorial .ed-id .handle { justify-content: flex-start; }
.l-editorial .ed-id .badges { justify-content: flex-start; margin: 0; }
.l-editorial .pname { display: block; margin: 26px 0 0; font-size: clamp(44px, 13cqi, 76px); line-height: .95; letter-spacing: -.045em; }
.l-editorial.ff-editorial .pname, .l-editorial.ff-gothic .pname, .l-editorial.ff-hand .pname { letter-spacing: -.02em; line-height: 1; }
.l-editorial .bio { font-size: 17px; line-height: 1.6; max-width: 46ch; margin-top: 18px; color: color-mix(in srgb, var(--tc, #fff) 82%, transparent); }
.l-editorial .meta, .l-editorial .cnames { justify-content: flex-start; }
.l-editorial .links { margin-top: 28px; }
.l-editorial .socials { justify-content: flex-start; }

/* niche: an arched frame (the alcove) */
.l-niche { width: min(380px, 100%); border-radius: 999px 999px var(--rad, 20px) var(--rad, 20px); padding-top: 54px; }
.l-niche .niche-arch { position: relative; }
.l-niche .niche-arch .cbanner { position: absolute; inset: -54px calc(var(--pad) * -1 + 2px) auto; height: 150px !important; margin: 0; border-radius: 999px 999px 0 0; }
.l-niche .niche-arch .av-wrap, .l-niche .niche-arch .bs-place { position: relative; }
.l-niche::after { content: ""; position: absolute; inset: 7px; border-radius: inherit; border: 1px solid color-mix(in srgb, var(--acc) 22%, transparent); pointer-events: none; }
.l-niche .pname { font-size: 32px; }
.l-niche .av { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 20px 50px -18px color-mix(in srgb, var(--acc2) 70%, transparent); }

/* portfolio: two columns */
.l-portfolio { width: min(940px, 100%); display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; text-align: left; padding: 28px; }
.l-portfolio .pf-side { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.l-portfolio .pf-side .cbanner { margin: -28px -14px 18px -28px; width: calc(100% + 42px); border-radius: var(--rad) 0 0 0; }
.l-portfolio .pf-side .av-wrap { margin: 0; }
.l-portfolio .pf-side :is(.handle, .badges, .meta, .socials, .cnames) { justify-content: flex-start; }
.l-portfolio .pname { font-size: 34px; margin-top: 16px; }
.l-portfolio .pf-main { min-width: 0; border-left: 1px solid rgba(255, 255, 255, .08); padding-left: 28px; }
.l-portfolio .pf-main > .links:first-child, .l-portfolio .pf-main > .wds:first-child { margin-top: 0; }
.l-portfolio .pf-main .mo-sec { margin-top: 30px; }
.l-portfolio .pf-main .mo-h { font-size: 22px; }
.l-portfolio .pf-main .mo-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.l-portfolio .pf-main .mo-card { min-height: 150px; border-radius: calc(var(--rad, 20px) * .7); }
.l-portfolio .pf-main .mo-cap b { font-size: 17px; }
@container (max-width: 760px) { .l-portfolio { grid-template-columns: 1fr; } .l-portfolio .pf-main { border-left: 0; padding-left: 0; } .l-portfolio .pf-side .cbanner { margin-right: -28px; width: calc(100% + 56px); border-radius: var(--rad) var(--rad) 0 0; } }

/* compact */
.l-compact { width: min(340px, 100%); text-align: left; --pad: 18px; }
.l-compact .cp-head { display: flex; align-items: center; gap: 12px; }
.l-compact .cp-head .av-wrap { margin: 0; }
.l-compact .cp-id { min-width: 0; }
.l-compact .pname { font-size: 21px; margin: 0; }
.l-compact .handle { justify-content: flex-start; font-size: 13px; }
.l-compact :is(.badges, .meta, .socials, .cnames) { justify-content: flex-start; }
.l-compact .bio { font-size: 14px; }
.l-compact .lk-row { padding: 10px 0; }
.l-compact .lk-row b { font-size: 15px; }

/* split */
.l-split { width: min(580px, 100%); display: grid; grid-template-columns: 160px 1fr; gap: 22px; text-align: left; }
.l-split .cbanner { grid-column: 1 / -1; margin-bottom: 0; }
.l-split .left { text-align: center; border-right: 1px solid rgba(255, 255, 255, .08); padding-right: 18px; }
.l-split .left .handle { justify-content: center; }
.l-split .pname { font-size: 24px; }
.l-split .right :is(.socials, .meta) { justify-content: flex-start; }
.l-split .right > .bio:first-child { margin-top: 0; }
@container (max-width: 520px) { .l-split { grid-template-columns: 1fr; } .l-split .left { border-right: 0; padding-right: 0; } }

/* discord */
.l-discord { padding: 0; text-align: left; overflow: hidden; }
.l-discord .banner { height: 96px; background: linear-gradient(120deg, var(--acc), var(--acc2)); }
.l-discord .cbanner.dbanner { margin: 0; border-radius: 0; }
.l-discord .dhead { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 18px; margin-top: -44px; }
.l-discord .dhead .av-wrap { margin: 0; }
.l-discord .dhead .av { box-shadow: 0 0 0 6px #15151b; }
.l-discord .dhead .badges { padding: 6px 8px; border-radius: 10px; background: rgba(0, 0, 0, .35); margin: 0; }
.l-discord .dbody { padding: 6px 18px 18px; }
.l-discord .dbox { margin-top: 12px; padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, .28); }
.l-discord .dbox small { font-size: 11px; font-weight: 600; color: var(--muted); }
.l-discord .dbox .bio { margin: 4px 0 0; }
.l-discord :is(.socials, .meta, .handle, .cnames) { justify-content: flex-start; }

/* window */
.l-macos { padding: 0; overflow: hidden; text-align: left; }
.mac-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: linear-gradient(180deg, #34343a, #222227); border-bottom: 1px solid rgba(0, 0, 0, .5); }
.mac-dot { width: 11px; height: 11px; border-radius: 50%; }
.mac-dot.r { background: #ff5f57; } .mac-dot.y { background: #febc2e; } .mac-dot.g { background: #28c840; }
.mac-title { flex: 1; text-align: center; font: 600 12px "Geist Mono", monospace; color: #9a9a9a; margin-right: 35px; }
.mac-body { padding: 24px; }
.mac-body .cbanner { margin: -24px -24px 18px; border-radius: 0; }
.mac-id { display: flex; align-items: center; gap: 14px; }
.mac-id .av-wrap { margin: 0; }
.mac-id .pname { margin: 0; }
.mac-body :is(.badges, .socials, .meta, .cnames, .handle) { justify-content: flex-start; }

/* messages */
.l-imessage { text-align: left; }
.imsg-head { display: flex; align-items: center; gap: 12px; }
.imsg-head .av-wrap { margin: 0; }
.imsg-head .pname { margin: 0; font-size: 19px; }
.l-imessage :is(.cnames, .badges, .socials, .meta, .handle) { justify-content: flex-start; }
.imsg-thread { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 16px; }
.imsg-thread .bio { display: inline-block; max-width: 88%; margin: 0; padding: 10px 15px; border-radius: 18px 18px 18px 4px; background: #26262c; color: #f0f0f0; }
.imsg-thread .wds { width: 100%; }

/* console */
.l-xbox { padding: 0; overflow: hidden; text-align: left; border-radius: min(var(--rad, 20px), 6px); }
.xbox-bar { height: 8px; background: linear-gradient(90deg, var(--acc), var(--acc2)); }
.xbox-body { padding: 26px; }
.xbox-body .cbanner { margin: -26px -26px 18px; border-radius: 0; }
.xbox-head { display: flex; align-items: center; gap: 16px; }
.xbox-head .av-wrap { margin: 0; }
.xbox-head .av, .xbox-head .av img { border-radius: 6px; }
.xbox-head .deco { display: none; }
.xbox-head .pname { margin: 0; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.l-xbox :is(.cnames, .badges, .socials, .meta, .handle) { justify-content: flex-start; }
.l-xbox :is(.wcard, .socials a, .socials button, .lk-btn) { border-radius: 2px !important; }

/* ---------- scene effects ---------- */
.thunder { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: radial-gradient(70% 60% at var(--tx, 50%) 0%, rgba(205, 220, 255, .55), rgba(140, 165, 255, .14) 50%, transparent 75%), rgba(190, 205, 255, .07); }
.thunder.flash { animation: thunderFlash .7s ease-out; }
@keyframes thunderFlash { 0% { opacity: 0; } 4% { opacity: 1; } 10% { opacity: .22; } 16% { opacity: .95; } 24% { opacity: .3; } 100% { opacity: 0; } }
.thunder svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.thunder .bolt { fill: none; stroke: #cfe0ff; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 6px #9db7ff) drop-shadow(0 0 18px #6f8dff); }
.thunder .bolt.core { stroke: #fff; stroke-width: 1.1; filter: none; }
.stage > .flash { position: absolute; inset: 0; z-index: 7; pointer-events: none; background: radial-gradient(circle var(--fs, 220px) at var(--fx, 50%) var(--fy, 50%), transparent 0, transparent 22%, rgba(0, 0, 0, calc(var(--fd, .88) * .35)) 55%, rgba(0, 0, 0, var(--fd, .88)) 100%); }
.trail { position: fixed; width: 8px; height: 8px; border-radius: 50%; pointer-events: none; z-index: 30; background: var(--acc); box-shadow: 0 0 12px var(--acc); animation: trail .7s ease-out forwards; }
@keyframes trail { to { transform: scale(0); opacity: 0; } }
@keyframes trailFloat { to { transform: translate(var(--dx, 0), var(--dy, -24px)) scale(.3) rotate(var(--rot, 0deg)); opacity: 0; } }
.trail.t-ch { width: auto; height: auto; border-radius: 0; background: none; box-shadow: none; font-size: 14px; line-height: 1; font-style: normal; color: var(--acc); animation: trailFloat .9s ease-out forwards; }
.trail.t-sparkle { color: var(--acc2); text-shadow: 0 0 8px var(--acc); }
.trail.t-snow { color: #dff4ff; text-shadow: 0 0 6px #9fd8ff; }
.trail.t-fire { background: radial-gradient(circle, #fff3b0, #ff9d2e 55%, #ff3d00); box-shadow: 0 0 10px #ff6a00; animation: trailFloat .8s ease-out forwards; }

/* ---------- scroll-down sections ---------- */
.mo-sec { min-width: 0; }
.mo-h { margin: 0 0 clamp(16px, 3vh, 26px); font-family: var(--fd, "Geist"); font-weight: var(--fw, 650); font-size: clamp(26px, 4vw, 48px); line-height: 1.05; letter-spacing: -.02em; color: #fff; }
.mo-h::after { content: ""; display: block; width: clamp(80px, 14vw, 160px); height: 2px; margin-top: 14px; background: linear-gradient(90deg, var(--macc, var(--acc, #fff)), transparent); }
.mo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 18px; }
.mo-card { position: relative; display: block; aspect-ratio: 16 / 9; min-height: 200px; border-radius: clamp(16px, 2.6vw, 28px); overflow: hidden; background: #0b0b0e; border: 1px solid rgba(255, 255, 255, .08); color: #fff; isolation: isolate; transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s; }
.mo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.mo-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .8)); }
.mo-tags { position: absolute; top: 16px; left: 18px; right: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.mo-tags span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 7px; font: 500 11.5px "Geist Mono", monospace; background: rgba(20, 20, 24, .7); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .12); }
.mo-cap { position: absolute; left: clamp(16px, 3vw, 28px); right: clamp(16px, 3vw, 28px); bottom: clamp(14px, 2.6vw, 24px); }
.mo-cap b { display: block; font-family: var(--fd, "Geist"); font-size: clamp(19px, 2.4vw, 28px); font-weight: var(--fw, 650); line-height: 1.15; }
.mo-cap small { display: block; margin-top: 5px; font-size: 13.5px; color: rgba(255, 255, 255, .66); }
a.mo-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .85); }
a.mo-card:hover img { transform: scale(1.04); }

/* ---------- public page chrome ---------- */
.pp { min-height: 100vh; min-height: 100dvh; border-radius: 0; }
.pp .stage-in { min-height: 100vh; min-height: 100dvh; padding: 72px 16px 96px; }
.pp.has-more { display: block; overflow: visible; }
.pp.has-more .bgm-layer, .pp.has-more > canvas.fx { position: fixed; }
.pp.has-more:not(.entered) { height: 100vh; height: 100dvh; overflow: hidden; }
.pp-more { position: relative; z-index: 2; width: 100%; max-width: 1080px; margin: 0 auto; padding: clamp(40px, 8vh, 90px) clamp(18px, 4vw, 40px) 140px; display: grid; gap: clamp(56px, 10vh, 110px); color: #f4f4f4; }
.pp:not(.entered) :is(.pp-more, .pp-hint) { display: none; }
.pp-more.rv .mo-sec { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1); }
.pp-more.rv .mo-sec.in { opacity: 1; transform: none; }
.pp-hint { position: absolute; left: 50%; top: calc(100vh - 96px); top: calc(100dvh - 96px); transform: translateX(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 4px; font: 500 13px "Geist", sans-serif; color: rgba(255, 255, 255, .85); text-shadow: 0 2px 14px rgba(0, 0, 0, .75); animation: moHint 2.2s ease-in-out infinite; }
@keyframes moHint { 50% { transform: translate(-50%, 5px); } }

.enter { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); cursor: pointer; color: #fff; transition: opacity .6s ease; }
.enter span { font: 500 15px "Geist Mono", monospace; letter-spacing: .14em; text-transform: lowercase; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.enter span::before { content: ""; width: 10px; height: 10px; border-radius: 0 50% 50% 50%; transform: rotate(45deg); background: linear-gradient(180deg, #cdd7ff, #5576ff); box-shadow: 0 0 14px rgba(85, 118, 255, .7); animation: enterTear 2.2s ease-in-out infinite; }
@keyframes enterTear { 0%, 100% { transform: rotate(45deg) translate(-2px, -2px); opacity: .5; } 50% { transform: rotate(45deg) translate(3px, 3px); opacity: 1; } }
.enter img { display: block; max-width: 86vw; max-height: 70vh; object-fit: contain; }
.enter.gone { opacity: 0; pointer-events: none; }

.pp-ui { position: fixed; z-index: 15; display: flex; align-items: center; gap: 6px; }
.pp-top { top: 14px; left: 14px; right: 14px; justify-content: space-between; pointer-events: none; }
.pp-top > * { pointer-events: auto; }
.pp-chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 10px; background: rgba(8, 8, 12, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .86); font: 500 13px "Geist", sans-serif; transition: background .2s, color .2s; }
.pp-chip:hover { background: rgba(20, 20, 26, .75); color: #fff; }
.pp-chip .mark { width: 18px; height: 18px; }
.pp-chip .i { width: 15px; height: 15px; }
.pp-chip.icon { width: 34px; padding: 0; justify-content: center; }
.pp-bottom { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); right: 16px; padding: 4px; border-radius: 12px; background: rgba(8, 8, 12, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .1); transition: opacity .25s, transform .25s; }
.pp-bottom button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 8px; font: 500 13px "Geist Mono", monospace; color: rgba(255, 255, 255, .8); }
.pp-bottom button:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.pp-bottom button.on { background: #f3f2ee; color: #0a0a0e; }
.pp-bottom .i { width: 14px; height: 14px; }
.pp.scrolled .pp-bottom { opacity: 0; pointer-events: none; transform: translateY(14px); }
.pp:not(.entered) .pp-ui { opacity: 0; pointer-events: none; }

.volctl { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 16; display: flex; align-items: center; padding: 4px; border-radius: 12px; background: rgba(8, 8, 12, .5); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .1); transition: gap .2s, padding .2s; }
.volctl button { width: 30px; height: 30px; display: grid; place-items: center; color: #fff; border-radius: 8px; }
.volctl button .i { width: 16px; height: 16px; }
.volctl input { width: 0; opacity: 0; margin: 0; transition: width .2s, opacity .2s; }
.volctl:hover, .volctl:focus-within { gap: 8px; padding-right: 12px; }
.volctl:hover input, .volctl:focus-within input { width: 88px; opacity: 1; }
@media (hover: none) { .volctl { gap: 8px; padding-right: 12px; } .volctl input { width: 100px; opacity: 1; } }

.cmt-panel { position: fixed; right: 14px; bottom: 64px; z-index: 18; width: min(360px, calc(100vw - 28px)); max-height: min(62vh, 480px); display: flex; flex-direction: column; background: rgba(12, 12, 16, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; color: #fff; overflow: hidden; animation: menuIn .25s cubic-bezier(.16, 1, .3, 1); font-family: "Geist", sans-serif; }
.cmt-h { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.cmt-h button { color: #bbb; display: grid; place-items: center; }
.cmt-list { overflow-y: auto; padding: 6px; display: flex; flex-direction: column; gap: 2px; min-height: 60px; }
.cmt { position: relative; display: flex; gap: 10px; padding: 8px; border-radius: 10px; }
.cmt:hover { background: rgba(255, 255, 255, .05); }
.cmt-av { flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; font-size: 12px; font-weight: 700; overflow: hidden; }
.cmt-av img { width: 100%; height: 100%; object-fit: cover; }
.cmt-b { min-width: 0; flex: 1; }
.cmt-m { display: flex; gap: 8px; align-items: baseline; font-size: 12px; font-weight: 600; }
.cmt-m small { color: #999; font-weight: 400; }
.cmt-b p { margin: 2px 0 0; font-size: 13px; line-height: 1.4; color: #e6e6e6; overflow-wrap: anywhere; }
.cmt-act { display: flex; gap: 2px; align-items: flex-start; opacity: 0; transition: opacity .15s; }
.cmt:hover .cmt-act, .cmt:focus-within .cmt-act, .cmt-act:has(.on) { opacity: 1; }
.cmt-act button, .cmt-act .lk { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; color: #bbb; }
.cmt-act button:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.cmt-act .i { width: 15px; height: 15px; }
.cmt-act .on { color: #ff5d7a; } .cmt-act .on .i { fill: #ff5d7a; }
@media (hover: none) { .cmt-act { opacity: 1; } }
.cmt-f { display: flex; gap: 8px; padding: 10px; border-top: 1px solid rgba(255, 255, 255, .08); }
.cmt-f input { flex: 1; min-width: 0; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 9px; padding: 8px 10px; color: #fff; font-size: 13px; }
.cmt-empty { margin: 0; padding: 14px; text-align: center; font-size: 13px; color: #999; }
.cmt-empty a { color: #fff; text-decoration: underline; }

@media (max-width: 480px) {
  .pcard { --pad: 22px; }
  .pname { font-size: 27px; }
  .l-minimal .pname { font-size: 34px; }
  .l-portfolio { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .pcard, .lk-btn, .lk-row, .lk-tile { animation: none; }
  .orbit, .orb-c, .sp, .sp2, .pcard.liquid::before, .bs-fx-pulse :is(svg, img), .bs-fx-rainbow :is(svg, img), .bs-fx-shake :is(svg, img), .bs-float .orb-fx .orb-i { animation: none !important; }
  .sp, .sp2 { opacity: .8; }
}
.pp-ui-r { display: flex; gap: 6px; }
.pp-notice { position: fixed; z-index: 16; top: 58px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 28px); padding: 8px 8px 8px 14px; border-radius: 12px; background: rgba(13, 14, 20, .9); border: 1px solid rgba(123, 149, 255, .38); backdrop-filter: blur(10px); color: #e8e8ee; font: 13px "Geist", sans-serif; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); }
.pp-notice .i { width: 15px; height: 15px; color: #7b95ff; flex: none; }
.pp-notice a { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 6px 10px; border-radius: 8px; background: #f3f2ee; color: #0a0a0e; font-weight: 500; }
.pp-notice a .i { color: inherit; width: 14px; height: 14px; }
.pp-sound { position: fixed; left: 14px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 16; animation: fadeIn .4s .6s both; }
.nf-page { position: relative; isolation: isolate; min-height: 100vh; }
.nf-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; height: 64px; }
.pp .pcard .pname { outline: none; }

/* the "make your own" popup shown once to visitors without an account */
.pp-promo { position: fixed; z-index: 40; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); left: 50%; display: flex; align-items: center; gap: 4px; max-width: calc(100vw - 32px); padding: 8px 8px 8px 8px; border-radius: 18px; background: rgba(40, 40, 44, .82); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .8); color: #fff; font-family: "Geist", sans-serif; opacity: 0; transform: translate(-50%, 18px) scale(.94); transform-origin: 50% 100%; pointer-events: none; transition: opacity .35s ease, transform .6s cubic-bezier(.34, 1.4, .64, 1); }
.pp-promo.in { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.pp-promo-body { display: flex; align-items: center; gap: 12px; padding: 2px 6px 2px 2px; min-width: 0; }
.pp-promo-ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.pp-promo-ic .mark { width: 26px; height: 26px; }
.pp-promo-t { min-width: 0; }
.pp-promo-t b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.pp-promo-t small { display: block; margin-top: 1px; font-size: 13px; color: rgba(255, 255, 255, .62); }
.pp-promo-x { flex: none; display: grid; place-items: center; width: 28px; height: 28px; margin-left: 6px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .8); transition: background .2s, color .2s; }
.pp-promo-x:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.pp-promo-x .i { width: 14px; height: 14px; }
@media (max-width: 520px) { .pp-promo { bottom: calc(68px + env(safe-area-inset-bottom, 0px)); width: calc(100vw - 24px); max-width: none; } .pp-promo-body { flex: 1; } .pp-bottom { right: 12px; } }
@media (prefers-reduced-motion: reduce) { .pp-promo { transition: opacity .2s; transform: translate(-50%, 0); } }

/* favorites: a "top pick" card, then a row of posters */
.mo-fav { display: grid; gap: 14px; }
.mo-fav .mo-h { margin-bottom: 4px; }
.fav-top { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 22px); padding: clamp(14px, 2vw, 18px); border-radius: clamp(16px, 2vw, 22px); background: rgba(14, 14, 16, .72); border: 1px solid rgba(255, 255, 255, .08); color: #fff; text-decoration: none; transition: transform .35s cubic-bezier(.16, 1, .3, 1), border-color .25s; }
a.fav-top:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .18); }
.fav-glow { position: absolute; inset: -30%; z-index: -1; background-size: cover; background-position: center; filter: blur(44px) saturate(1.5); opacity: .5; }
.fav-top::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 8, 10, .35), rgba(8, 8, 10, .6)); }
.fav-poster { flex: none; width: clamp(64px, 10vw, 100px); aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, .06); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .8); }
.fav-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fav-t { min-width: 0; display: grid; gap: 6px; }
.fav-t small { font: 600 11px "Geist Mono", monospace; letter-spacing: .14em; color: rgba(255, 255, 255, .72); }
.fav-t b { font-family: var(--fd, "Geist"); font-weight: var(--fw, 650); font-size: clamp(20px, 3vw, 30px); line-height: 1.1; letter-spacing: -.015em; overflow-wrap: anywhere; }
.fav-t em { font-style: normal; font-size: 13.5px; color: rgba(255, 255, 255, .62); }
.fav-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 128px), 1fr)); gap: 12px; }
.fav-card { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: clamp(14px, 1.6vw, 18px); background: rgba(255, 255, 255, .05); color: #fff; text-decoration: none; transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s; }
a.fav-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .85); }
.fav-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
a.fav-card:hover img { transform: scale(1.05); }
.fav-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, .82)); }
.fav-cap { position: absolute; left: 10px; right: 10px; bottom: 9px; display: grid; gap: 1px; }
.fav-cap b { font-family: var(--fd, "Geist"); font-size: 13.5px; font-weight: 650; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fav-cap small { font-size: 11px; color: rgba(255, 255, 255, .66); }
.l-portfolio .pf-main .fav-row { grid-template-columns: repeat(auto-fill, minmax(min(100%, 108px), 1fr)); }

/* badges: plain white icons by default (the color comes only from the "colorful" option or a custom color), and a speech-bubble
   with the badge's name and what it means on hover, focus or tap */
.badges span:not(.emb), .orb-c:not(.emb), .nb-c { color: var(--bc, #fff); }
.bs-glow.badges span:not(.emb), .bs-glow .orb-c, .bs-glow .nb-c { filter: drop-shadow(0 0 calc(5px * var(--gl, 1)) color-mix(in srgb, var(--bc, #fff) 70%, transparent)); }
.badges span, .orb-c, .nb-c { position: relative; cursor: default; outline: none; }
.bt { position: absolute; z-index: 60; left: 50%; bottom: calc(100% + 12px); display: grid; gap: 2px; width: max-content; max-width: 220px; padding: 9px 13px 10px; border-radius: 12px; background: #fff; color: #0b0b0e; text-align: center; font-style: normal; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .7); pointer-events: none; opacity: 0; transform: translate(-50%, 6px) scale(.94); transform-origin: 50% 100%; transition: opacity .18s ease, transform .3s cubic-bezier(.34, 1.45, .64, 1); filter: none; }
.bt::after { content: ""; position: absolute; left: 50%; top: 100%; width: 12px; height: 12px; margin: -6px 0 0 -6px; background: #fff; transform: rotate(45deg); border-radius: 0 0 3px 0; }
.bt b { font: 700 14px/1.2 "Geist", sans-serif; letter-spacing: -.01em; }
.bt em { font: 400 12.5px/1.35 "Geist", sans-serif; font-style: normal; color: #3b3d4a; white-space: normal; }
:is(.badges span, .orb-c, .nb-c):is(:hover, :focus) .bt { opacity: 1; transform: translate(-50%, 0) scale(1); }
.badges span .bt, .orb-c .bt, .nb-c .bt { text-shadow: none; }
@media (prefers-reduced-motion: reduce) { .bt { transition: opacity .15s; transform: translate(-50%, 0); } }
/* the glow belongs to the icon, not the bubble */
.bs-glow.badges span:not(.emb), .bs-glow .orb-c, .bs-glow .nb-c { filter: none; }
.bs-glow.badges span:not(.emb) > :is(.i, svg, img), .bs-glow .orb-c > :is(.i, svg, img), .bs-glow .nb-c > :is(.i, svg, img) { filter: drop-shadow(0 0 calc(5px * var(--gl, 1)) color-mix(in srgb, var(--bc, #fff) 70%, transparent)); }

/* badge glyphs are solid, like a sticker: the main shape is filled, any inner detail is cut out in dark */
.bfill { fill: currentColor; stroke: currentColor; stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; }
.bfill path:not(:first-child), .bfill circle:not(:first-child), .bfill line, .bfill polyline { fill: none; stroke: rgba(8, 8, 12, .92); stroke-width: 1.9; }
.bfill-crown path:not(:first-child) { stroke: currentColor; }
.bfill-snowflake, .bfill-candy-cane, .bfill-feather, .bfill-wand-sparkles, .bfill-link, .bfill-music, .bfill-droplet, .bfill-waves { fill: none; stroke-width: 2.2; }
.bfill-snowflake path, .bfill-candy-cane path, .bfill-feather path, .bfill-wand-sparkles path, .bfill-link path, .bfill-music path, .bfill-waves path { stroke: currentColor !important; fill: none !important; stroke-width: 2.2 !important; }
.badges span .bfill, .orb-c .bfill, .nb-c .bfill { width: 20px; height: 20px; }
.bfill-handshake, .bfill-bug, .bfill-rocket, .bfill-trophy, .bfill-ghost, .bfill-music, .bfill-layers, .bfill-eye, .bfill-award { fill: none; stroke-width: 2.2; }
.bfill-handshake path, .bfill-bug path, .bfill-rocket path, .bfill-trophy path, .bfill-ghost path, .bfill-music path, .bfill-layers path, .bfill-eye path, .bfill-eye circle, .bfill-award path, .bfill-award circle, .bfill-bug line, .bfill-trophy line { stroke: currentColor !important; fill: none !important; stroke-width: 2.2 !important; }
.bfill-music circle { stroke: currentColor !important; fill: currentColor !important; stroke-width: 1.6 !important; }

/* Discord server + Roblox widgets: a big image on the left, name, a couple of stat lines, a white pill button */
.w-srv, .w-rbx2 { align-items: flex-start; gap: 14px; padding: 14px; flex-wrap: wrap; }
.srv-ic { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .06); }
.srv-ic img { width: 100%; height: 100%; object-fit: cover; }
.srv-ic .bi { width: 30px; height: 30px; }
.srv-body, .rbx2-body { min-width: 0; flex: 1; display: grid; gap: 6px; justify-items: start; }
.srv-body > b, .rbx2-name { font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-meta { display: flex; flex-wrap: wrap; gap: 3px 14px; font-size: 13px; color: var(--muted, rgba(255, 255, 255, .62)); }
.w-meta span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.w-meta .i { width: 14px; height: 14px; }
.w-meta .w-dot { width: 7px; height: 7px; border-radius: 50%; background: #3ba55d; box-shadow: 0 0 8px rgba(59, 165, 93, .8); }
.w-pill { display: inline-flex; align-items: center; gap: 5px; height: 28px; margin-top: 4px; padding: 0 13px; border-radius: 999px; background: #fff; color: #0a0a0a; font-size: 12.5px; font-weight: 600; text-decoration: none; transition: transform .2s cubic-bezier(.16, 1, .3, 1), box-shadow .2s; }
.w-pill:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(255, 255, 255, .5); }
.w-pill .i { width: 12px; height: 12px; }
.rbx2-av { display: grid; place-items: center; width: 88px; height: 88px; flex: none; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, .06); }
.rbx2-av img { width: 100%; height: 100%; object-fit: cover; }
.rbx2-items { display: flex; gap: 8px; width: 100%; padding-top: 4px; overflow-x: auto; scrollbar-width: none; }
.rbx2-items::-webkit-scrollbar { display: none; }
.rbx2-items img { width: 56px; height: 56px; flex: none; object-fit: contain; border-radius: 12px; background: rgba(255, 255, 255, .06); transition: transform .25s cubic-bezier(.34, 1.4, .64, 1); }
.rbx2-items img:hover { transform: translateY(-3px) scale(1.06); }

/* links: "Icons" is icons only (the name appears as a tooltip), "List" has its own options: numbers, addresses, service icons, lines or cards */
.socials > :is(a, button) { position: relative; }
.socials > :is(a, button)::after { content: attr(aria-label); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px); padding: 5px 9px; border-radius: 8px; background: #fff; color: #0a0a0e; font: 600 12px/1.2 "Geist", sans-serif; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, transform .25s cubic-bezier(.34, 1.45, .64, 1); z-index: 30; }
.socials > :is(a, button):hover::after, .socials > :is(a, button):focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.lk-row.no-n { grid-template-columns: 1fr auto; }
.lk-row.no-n b, .lk-row.no-n small { grid-column: 1; }
.lk-row.has-ic { grid-template-columns: auto auto 1fr auto; }
.lk-row.has-ic .lk-ic { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; color: var(--tc, #fff); }
.lk-row.has-ic .lk-ic .i, .lk-row.has-ic .lk-ic svg { width: 20px; height: 20px; }
.lk-row.has-ic b { grid-column: 3; } .lk-row.has-ic small { grid-column: 3; }
.lk-row.has-ic.no-n { grid-template-columns: auto 1fr auto; }
.lk-row.has-ic.no-n b, .lk-row.has-ic.no-n small { grid-column: 2; }
.lk-row.cards { padding: 12px 14px; margin-bottom: 8px; border: 1px solid color-mix(in srgb, var(--tc, #fff) 14%, transparent); border-radius: calc(var(--rad, 20px) * .6); background: rgba(255, 255, 255, .04); }
.lk-row.cards:last-child { border-bottom: 1px solid color-mix(in srgb, var(--tc, #fff) 14%, transparent); }
.lk-row.cards:hover { background: color-mix(in srgb, var(--acc) 10%, rgba(255, 255, 255, .05)); }
/* favorite songs use square cover art */
.fav-card.sq { aspect-ratio: 1; }
.fav-top.sq .fav-poster { aspect-ratio: 1; }

.mo-tags span[style*="--lc"]::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lc); box-shadow: 0 0 8px -1px var(--lc); }

/* project styles: cards (default), wide (one per row), compact (small tiles) */
.mo-proj.st-wide .mo-grid { grid-template-columns: 1fr; }
.mo-proj.st-wide .mo-card { aspect-ratio: 21 / 9; }
.mo-proj.st-compact .mo-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.mo-proj.st-compact .mo-card { aspect-ratio: 4 / 3; min-height: 150px; }
.mo-proj.st-compact .mo-cap b { font-size: 16px; }
.mo-proj.st-compact .mo-cap small { display: none; }

/* Telegram gifts next to the name */
.gifts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 10px 0 2px; }
.al-left .gifts { justify-content: flex-start; }
.gf { position: relative; display: block; width: 42px; height: 42px; border-radius: 12px; transition: transform .25s cubic-bezier(.34, 1.4, .64, 1); }
.gf img { width: 100%; height: 100%; object-fit: contain; border-radius: 11px; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .45)); }
.gf:hover { transform: translateY(-3px) scale(1.12); z-index: 2; }
.gf-tip { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px); padding: 5px 9px; border-radius: 8px; background: rgba(12, 12, 16, .94); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-size: 12px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s, transform .15s; }
.gf:hover .gf-tip, .gf:focus-visible .gf-tip { opacity: 1; transform: translate(-50%, 0); }

/* widget effects (Dashboard → Widgets → Customize); each widget can override them with its own style */
.wx { position: relative; border-radius: var(--wr, 18px); }
.wx.glow { filter: drop-shadow(0 0 14px color-mix(in srgb, var(--acc2, #7b95ff) 55%, transparent)); }
.wx.fx-shine { overflow: hidden; }
.wx.fx-shine::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .16) 50%, transparent 65%); transform: translateX(-120%); animation: wxShine 3.6s ease-in-out infinite; }
.wx.fx-float { animation: wxFloat 4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.7s); }
.wx.fx-pulse { animation: wxPulse 2.6s ease-in-out infinite; }
@keyframes wxShine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes wxFloat { 50% { transform: translateY(-4px); } }
@keyframes wxPulse { 50% { filter: drop-shadow(0 0 16px color-mix(in srgb, var(--acc2, #7b95ff) 70%, transparent)); } }
.wds.wfx-hover .wx.fx-float, .wds.wfx-hover .wx.fx-pulse { animation: none; }
.wds.wfx-hover .wx.fx-shine::after { animation: none; }
.wds.wfx-hover .wx.fx-float:hover { animation: wxFloat 1.4s ease-in-out infinite; }
.wds.wfx-hover .wx.fx-pulse:hover { animation: wxPulse 1.4s ease-in-out infinite; }
.wds.wfx-hover .wx.fx-shine:hover::after { animation: wxShine 1.4s ease-in-out infinite; }
.wds.wfx-turns .wx[class*="fx-"]:not(.on), .wds.wfx-turns .wx[class*="fx-"]:not(.on)::after { animation-play-state: paused; }
.wds.wfx-turns .wx[class*="fx-"]:not(.on)::after { opacity: 0; }
.wds.wfx-colors .wcard, .wds.wfx-colors .player { background: color-mix(in srgb, var(--acc2, #7b95ff) 10%, rgba(14, 14, 16, .72)); border-color: color-mix(in srgb, var(--acc2, #7b95ff) 38%, transparent); }
.wds.wfx-border .wcard, .wds.wfx-border .player { border: 1px solid rgba(255, 255, 255, .2); }
@media (prefers-reduced-motion: reduce) { .wx.fx-float, .wx.fx-pulse, .wx.fx-shine::after { animation: none !important; } }

/* page indicator for pages with sections */
.pp-dots { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pp:not(.entered) .pp-dots { display: none; }
.pp-dot { position: relative; width: 6px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .38); cursor: pointer; transition: height .35s cubic-bezier(.16, 1, .3, 1), background .25s; }
.pp-dot::after { content: ""; position: absolute; inset: -6px -10px; }
.pp-dot:hover { background: rgba(255, 255, 255, .7); }
.pp-dot[aria-current="true"] { height: 28px; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .35); }
@media (max-width: 520px) { .pp-dots { right: 8px; } }

/* watermark at the bottom of every public page */
.pp-wm { position: absolute; z-index: 5; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; font: 500 13.5px "Geist", system-ui, sans-serif; letter-spacing: .01em; color: rgba(255, 255, 255, .5); text-decoration: none; transition: color .2s, opacity .2s, transform .25s cubic-bezier(.16, 1, .3, 1); }
.pp-wm:hover, .pp-wm:focus-visible { color: #fff; transform: translateX(-50%) translateY(-1px); }
.pp-wm-i { width: 17px; height: 17px; opacity: .85; }
.pp:not(.entered) .pp-wm { display: none; }
