/* cry.best/<name> bio pages */
:root {
  --accent: #a6c4ec;
  --text: #ffffff;
  --muted: #a1a1aa;
  --card: rgba(0, 0, 0, 0.35);
  --blur: 14px;
  --radius: 22px;
  --glow: #a6c4ec;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --border: rgba(255, 255, 255, 0.09);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
body.bp {
  background: #07070a;
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body.bp.c-dot, body.bp.c-dot a, body.bp.c-dot button { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Ccircle cx='8' cy='8' r='4' fill='white' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") 8 8, auto; }
body.bp.c-ring, body.bp.c-ring a, body.bp.c-ring button { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='14' cy='14' r='9' fill='none' stroke='white' stroke-width='2'/%3E%3Ccircle cx='14' cy='14' r='2' fill='white'/%3E%3C/svg%3E") 14 14, auto; }
body.bp.c-crosshair, body.bp.c-crosshair a, body.bp.c-crosshair button { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M14 2v8M14 18v8M2 14h8M18 14h8' stroke='white' stroke-width='2'/%3E%3C/svg%3E") 14 14, crosshair; }
body.bp.c-heart, body.bp.c-heart a, body.bp.c-heart button { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.6 4.5c2.1 0 3.6 1.2 5.4 3.1 1.8-1.9 3.3-3.1 5.4-3.1 3.6 0 5.7 3.9 4.2 7.3C19.5 16.4 12 21 12 21Z' fill='%23ff6b9a' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") 12 12, auto; }
body.bp.c-star, body.bp.c-star a, body.bp.c-star button { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.2 5.8 20.9l1.6-7L2 9.2l7.1-.6Z' fill='%23ffd54a' stroke='white' stroke-width='1.4'/%3E%3C/svg%3E") 12 12, auto; }

/* background */
.bp-bg { position: fixed; inset: -40px; z-index: 0; background: #07070a; background-size: cover; background-position: center; }
.bp-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bp-bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, var(--dim, 0.4)); }
.bp-fx, .bp-trail { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.bp-trail { z-index: 50; }

/* enter screen */
.bp-enter {
  position: fixed; inset: 0; z-index: 60; border: 0; padding: 24px; width: 100%;
  display: grid; place-items: center; color: var(--text); font: inherit; font-size: clamp(18px, 4vw, 24px); letter-spacing: .02em;
  background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); cursor: pointer;
  transition: opacity .6s ease, visibility .6s;
}
.bp-enter span { animation: bp-pulse 2.4s ease-in-out infinite; text-shadow: 0 0 18px var(--glow); }
.bp-enter.gone { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes bp-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* stage + card */
.bp-stage { position: relative; z-index: 2; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 72px 16px 96px; }
.bp-loading { display: grid; place-items: center; }
.bp-spin { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255,255,255,.15); border-top-color: #fff; animation: bp-rot .8s linear infinite; }
@keyframes bp-rot { to { transform: rotate(360deg); } }

.bp-card {
  position: relative; width: min(100%, 520px); padding: 28px 24px 22px;
  border-radius: var(--radius); background: var(--card);
  -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur));
  text-align: center; transform-style: preserve-3d; transition: transform .2s ease-out;
  animation: bp-in .8s cubic-bezier(.2,.8,.2,1) both;
}
.bp-card.bordered { border: 1px solid var(--border); box-shadow: 0 20px 60px -20px rgba(0,0,0,.6); }
.bp-card.left { text-align: left; }
.bp-card.minimal { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.bp-card.wide { width: min(100%, 760px); }
.bp-card.split { width: min(100%, 760px); display: grid; grid-template-columns: 200px 1fr; gap: 24px; text-align: left; align-items: start; }
.bp-card.split .bp-head { flex-direction: column; align-items: center; text-align: center; }
@keyframes bp-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.bp-hidden-until-enter .bp-card { visibility: hidden; animation: none; }

.bp-banner { height: 120px; margin: -28px -24px 0; border-radius: var(--radius) var(--radius) 0 0; background-size: cover; background-position: center; }
.bp-banner + .bp-head .bp-avatar-wrap { margin-top: -54px; }
.bp-head { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.left .bp-head { align-items: flex-start; }
.bp-avatar-wrap { position: relative; width: 104px; height: 104px; flex: none; }
.bp-avatar { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; background: rgba(255,255,255,.06); }
.bp-avatar.rounded { border-radius: 26%; }
.bp-avatar.square { border-radius: 10px; }
.bp-avatar.ring { box-shadow: 0 0 0 3px rgba(0,0,0,.35), 0 0 0 5px var(--accent), 0 0 26px -2px var(--glow); }
.bp-deco { position: absolute; inset: -12%; width: 124%; height: 124%; pointer-events: none; }
.bp-status { position: absolute; right: 4px; bottom: 4px; width: 22px; height: 22px; border-radius: 50%; border: 4px solid #111; background: #80848e; }
.bp-status.online { background: #23a55a; } .bp-status.idle { background: #f0b232; } .bp-status.dnd { background: #f23f43; }

.bp-name { margin: 4px 0 0; font-size: clamp(26px, 6vw, 34px); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; overflow-wrap: anywhere; }
.fx-glow { text-shadow: 0 0 10px var(--glow), 0 0 26px var(--glow); }
.fx-rainbow { background: linear-gradient(90deg, #ff5f6d, #ffc371, #47e891, #4fc3f7, #b388ff, #ff5f6d); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: bp-slide 6s linear infinite; }
.fx-gradient { background: linear-gradient(90deg, var(--text), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx-shine { background: linear-gradient(100deg, var(--text) 40%, #fff 50%, var(--text) 60%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: bp-slide 3s linear infinite; }
@keyframes bp-slide { to { background-position: -300% 0; } }
.fx-glitch { position: relative; animation: bp-glitch 3s infinite steps(1); }
@keyframes bp-glitch { 0%, 92%, 100% { text-shadow: none; transform: none; } 93% { text-shadow: -2px 0 #ff2a6d, 2px 0 #05d9e8; transform: translateX(1px); } 95% { text-shadow: 2px 0 #ff2a6d, -2px 0 #05d9e8; transform: translateX(-1px); } 97% { text-shadow: -1px 0 #ff2a6d, 1px 0 #05d9e8; } }
.fx-sparkle { text-shadow: 0 0 8px var(--glow); }
.bp-spark { position: absolute; width: 6px; height: 6px; pointer-events: none; background: radial-gradient(circle, #fff 0 30%, transparent 70%); border-radius: 50%; animation: bp-spark 1.2s ease-out forwards; }
@keyframes bp-spark { from { opacity: 1; transform: scale(.4); } to { opacity: 0; transform: scale(1.6) translateY(-8px); } }
.caret::after { content: "|"; margin-left: 2px; opacity: .8; animation: bp-blink 1s steps(1) infinite; }
@keyframes bp-blink { 50% { opacity: 0; } }

.bp-badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 2px; }
.left .bp-badges { justify-content: flex-start; }
.bp-badge { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: rgba(255,255,255,.06); position: relative; }
.bp-badge img { width: 18px; height: 18px; }
.bp-badge svg { width: 15px; height: 15px; fill: var(--accent); filter: drop-shadow(0 0 4px var(--glow)); }
.bp-badge[data-tip]:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: rgba(0,0,0,.85); color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 6px; pointer-events: none; z-index: 5; }

.bp-bio { margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; min-height: 1.55em; }
.bp-meta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 10px; color: var(--muted); font-size: 13px; }
.left .bp-meta { justify-content: flex-start; }
.bp-meta span { display: inline-flex; align-items: center; gap: 5px; }
.bp-meta svg { width: 14px; height: 14px; fill: currentColor; opacity: .8; }

/* discord status */
.bp-discord { display: flex; gap: 12px; align-items: center; margin-top: 18px; padding: 12px; border-radius: calc(var(--radius) * .6); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); text-align: left; }
.bp-discord .dav { position: relative; width: 48px; height: 48px; flex: none; }
.bp-discord .dav img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.bp-discord .dav .bp-status { width: 16px; height: 16px; border-width: 3px; right: -2px; bottom: -2px; }
.bp-discord .dtext { min-width: 0; flex: 1; }
.bp-discord .dname { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-discord .dsub { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; gap: 5px; align-items: center; }
.bp-discord .dsub img { width: 16px; height: 16px; }
.bp-act { display: flex; gap: 12px; align-items: center; margin-top: 10px; padding: 12px; border-radius: calc(var(--radius) * .6); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); text-align: left; }
.bp-act img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; }
.bp-act .atext { min-width: 0; flex: 1; font-size: 13px; color: var(--muted); }
.bp-act .atext b { display: block; color: var(--text); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-act .atext span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-act .kind { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 2px; }
.bp-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); margin-top: 7px; overflow: hidden; }
.bp-bar i { display: block; height: 100%; background: #1ed760; width: 0; }
.bp-times { display: flex; justify-content: space-between; font-size: 11px; margin-top: 3px; font-variant-numeric: tabular-nums; }

/* links */
.bp-icons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.left .bp-icons { justify-content: flex-start; }
.bp-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; transition: transform .2s, background .2s; }
.bp-icon:hover { transform: translateY(-3px) scale(1.08); background: rgba(255,255,255,.06); }
.bp-icon img, .bp-icon svg { width: 28px; height: 28px; fill: var(--text); filter: drop-shadow(0 0 7px var(--glow)); transition: filter .2s; }
.bp-icon:hover img, .bp-icon:hover svg { filter: drop-shadow(0 0 12px var(--glow)); }
.bp-links { display: grid; gap: 10px; margin-top: 18px; }
.bp-link {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: calc(var(--radius) * .55);
  color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  transition: transform .18s, background .18s, border-color .18s, box-shadow .18s;
}
.bp-link:hover { transform: translateY(-2px); background: rgba(255,255,255,.1); border-color: var(--accent); box-shadow: 0 0 22px -8px var(--glow); }
.bp-link img, .bp-link svg { width: 22px; height: 22px; flex: none; }
.bp-link span { flex: 1; min-width: 0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.left .bp-link span { text-align: left; }
.bp-link .arrow { width: 16px; height: 16px; opacity: .5; fill: currentColor; }

.bp-views { position: absolute; left: 16px; bottom: 14px; display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; color: var(--text); opacity: .85; }
.bp-views svg { width: 16px; height: 16px; fill: currentColor; }
.bp-views.free { position: fixed; z-index: 3; top: 16px; left: 16px; bottom: auto; background: rgba(0,0,0,.3); padding: 6px 10px; border-radius: 999px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.bp-card.has-views:not(.minimal) { padding-bottom: 46px; }
.bp-flash { position: fixed; z-index: 70; left: 50%; top: 20px; transform: translate(-50%, -16px); opacity: 0; padding: 9px 14px; border-radius: 12px; background: rgba(0,0,0,.75); color: #fff; font-size: 14px; pointer-events: none; transition: opacity .2s, transform .2s; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); max-width: calc(100% - 32px); overflow-wrap: anywhere; }
.bp-flash.show { opacity: 1; transform: translate(-50%, 0); }

/* music */
.bp-player { position: fixed; z-index: 4; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); max-width: calc(100% - 32px); }
.bp-play { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 0; background: var(--accent); color: #000; display: grid; place-items: center; cursor: pointer; }
.bp-play svg { width: 18px; height: 18px; fill: currentColor; }
.bp-play .i-pause, .bp-player.playing .bp-play .i-play { display: none; }
.bp-player.playing .bp-play .i-pause { display: block; }
.bp-track { width: 150px; overflow: hidden; font-size: 13px; color: var(--text); white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.bp-track span { display: inline-block; padding-left: 100%; animation: bp-marquee 12s linear infinite; }
@keyframes bp-marquee { to { transform: translateX(-100%); } }
.bp-vol { width: 80px; accent-color: var(--accent); }

.bp-made { position: fixed; z-index: 3; right: 14px; bottom: 14px; font-size: 12px; color: rgba(255,255,255,.4); text-decoration: none; }
.bp-made:hover { color: #fff; }

/* not found */
.bp-404 { text-align: center; max-width: 420px; }
.bp-404 h1 { font-size: 30px; margin: 0 0 8px; }
.bp-404 p { color: #a1a1aa; margin: 0 0 18px; }
.bp-404 a { display: inline-block; padding: 12px 18px; border-radius: 12px; background: #fff; color: #000; text-decoration: none; font-weight: 600; }

@media (max-width: 720px) {
  .bp-card.split { grid-template-columns: 1fr; text-align: center; }
  .bp-card.split .bp-badges, .bp-card.split .bp-meta, .bp-card.split .bp-icons { justify-content: center; }
  .bp-card { padding: 24px 18px 18px; }
  .bp-banner { margin: -24px -18px 0; }
  .bp-track { width: 100px; }
  .bp-vol { width: 60px; }
  .bp-made { bottom: auto; top: 18px; right: 16px; }
}
@media (hover: none) { .bp-vol { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .fx-rainbow, .fx-shine, .fx-glitch, .bp-enter span, .bp-track span { animation: none; }
}

/* ---------- name font ---------- */
.bp-name { font-family: var(--name-font, var(--font)); }

/* ---------- row layout: avatar left, text right ---------- */
.bp-card.row { width: min(100%, 780px); text-align: left; }
.bp-row-head { display: flex; gap: 24px; align-items: center; }
.bp-row-head .bp-avatar-wrap { width: 140px; height: 140px; }
.bp-row-text { min-width: 0; flex: 1; }
.bp-row-text .bp-badges, .bp-row-text .bp-meta { justify-content: flex-start; }
.bp-row-text .bp-bio { margin-top: 8px; font-size: 16px; }
.bp-sep { border: 0; height: 1px; background: rgba(255,255,255,.14); margin: 20px 0 4px; }
.bp-card.row .bp-icons { justify-content: center; }
@media (max-width: 640px) {
  .bp-row-head { flex-direction: column; text-align: center; gap: 14px; }
  .bp-row-head .bp-avatar-wrap { width: 112px; height: 112px; }
  .bp-row-text .bp-badges, .bp-row-text .bp-meta { justify-content: center; }
}

/* ---------- avatar effects ---------- */
.bp-avatar-wrap { cursor: default; }
.av-orbit { cursor: pointer; }
.av-orbit::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 5px, var(--accent) 0 5px, transparent 9px);
  filter: blur(1px) drop-shadow(0 0 6px var(--accent)); animation: bp-orbit 3s linear infinite;
}
.av-orbit::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); pointer-events: none; }
.av-orbit.fast::after { animation-duration: .45s; }
@keyframes bp-orbit { to { transform: rotate(360deg); } }
.av-pulse .bp-avatar { animation: bp-avpulse 2.4s ease-in-out infinite; }
@keyframes bp-avpulse { 0%, 100% { box-shadow: 0 0 0 0 var(--glow); } 50% { box-shadow: 0 0 0 6px transparent, 0 0 28px 2px var(--glow); } }
.av-spin .bp-avatar { animation: bp-orbit 14s linear infinite; }

/* ---------- framed badges ---------- */
.bp-badges.boxed { display: inline-flex; padding: 5px 7px; margin-top: 6px; border-radius: 12px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.15); box-shadow: inset 0 0 10px rgba(255,255,255,.12); }
.bp-badges.boxed .bp-badge { background: none; transition: transform .25s; }
.bp-badges.boxed .bp-badge:hover { transform: scale(1.2); }

/* ---------- icons hover ---------- */
.bp-icon:hover { transform: translateY(-2px) scale(1.25) rotateY(15deg); }

/* ---------- random glitch ---------- */
.bp-glitch { animation: bp-jit .22s steps(2) 1; text-shadow: -2px 0 #ff2a6d, 2px 0 #05d9e8 !important; }
@keyframes bp-jit { 0% { transform: translate(2px, -1px); } 50% { transform: translate(-2px, 1px); } 100% { transform: none; } }

/* ---------- visitor controls + scenes ---------- */
.bp-controls, .bp-scenes { position: fixed; z-index: 5; top: 16px; display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 999px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.bp-controls { right: 16px; }
.bp-scenes { left: 50%; transform: translateX(-50%); gap: 7px; padding: 6px; }
.bp-ctl, .bp-ctl-ic { width: 26px; height: 26px; display: grid; place-items: center; border: 0; background: none; color: #fff; cursor: pointer; padding: 0; }
.bp-ctl svg, .bp-ctl-ic svg { width: 20px; height: 20px; fill: currentColor; }
.bp-ctl-ic { cursor: default; opacity: .8; }
.bp-controls input[type="range"] { -webkit-appearance: none; appearance: none; width: 78px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); outline: none; }
.bp-controls input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #fff; cursor: pointer; }
.bp-controls input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; }
.bp-scenes button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); background: radial-gradient(circle at 35% 30%, var(--c), rgba(0,0,0,.6)); color: #fff; font: 600 12px/1 var(--font); cursor: pointer; transition: transform .2s, border-color .2s; }
.bp-scenes button:hover { transform: scale(1.1); }
.bp-scenes button.on { border-color: #fff; box-shadow: 0 0 12px var(--c); }
@media (max-width: 640px) {
  .bp-scenes { top: auto; bottom: 74px; }
  .bp-controls { top: 12px; right: 12px; }
  .bp-controls input[type="range"] { width: 56px; }
}

/* ---------- skills panel ---------- */
.bp-skill-btn { margin-top: 16px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: var(--text); font: 500 13px/1 var(--font); cursor: pointer; transition: background .2s, border-color .2s; }
.bp-skill-btn:hover { background: rgba(255,255,255,.12); border-color: var(--accent); }
.bp-skills h2 { margin: 0 0 18px; font-size: 22px; text-align: center; font-family: var(--name-font, var(--font)); }
.bp-skills { text-align: left; }
.bp-skills .bp-skill-btn { display: block; margin: 20px auto 0; }
.bp-skill-list { display: grid; gap: 14px; }
.bp-skill-top { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.bp-skill-top b { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.bp-skill-bar { height: 10px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; }
.bp-skill-bar i { display: block; height: 100%; width: var(--w); border-radius: 6px; transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.slide-out-l { animation: bp-out-l .28s ease-in forwards; }
.slide-out-r { animation: bp-out-r .28s ease-in forwards; }
.slide-in-r { animation: bp-in-r .45s cubic-bezier(.2,.8,.2,1) both; }
.slide-in-l { animation: bp-in-l .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes bp-out-l { to { opacity: 0; transform: translateX(-80px); } }
@keyframes bp-out-r { to { opacity: 0; transform: translateX(80px); } }
@keyframes bp-in-r { from { opacity: 0; transform: translateX(80px); } }
@keyframes bp-in-l { from { opacity: 0; transform: translateX(-80px); } }
@media (prefers-reduced-motion: reduce) { .av-orbit::after, .av-pulse .bp-avatar, .av-spin .bp-avatar { animation: none; } }
.bp-card.row .bp-skill-btn { display: block; margin: 16px auto 0; }

/* icon size + glow (set from the editor) */
.bp-icon { width: calc(var(--icon-size, 28px) + 14px); height: calc(var(--icon-size, 28px) + 14px); }
.bp-icon img, .bp-icon svg { width: var(--icon-size, 28px); height: var(--icon-size, 28px); filter: drop-shadow(0 0 var(--icon-glow, 7px) var(--icon-glow-color, var(--glow))); }
.bp-icon:hover img, .bp-icon:hover svg { filter: drop-shadow(0 0 calc(var(--icon-glow, 7px) + 5px) var(--icon-glow-color, var(--glow))); }

/* cry.best badges */
.bp-badge.early svg { fill: #ffd54a; filter: drop-shadow(0 0 5px rgba(255,213,74,.7)); }
.bp-badge.uid { width: auto; min-width: 24px; padding: 0 7px; font: 700 11px/24px var(--font); color: var(--text); letter-spacing: .02em; font-variant-numeric: tabular-nums; }

/* ---------- now playing ---------- */
.bp-np { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px; border-radius: calc(var(--radius) * .6); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); text-align: left; }
.bp-np-art { width: 56px; height: 56px; flex: none; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.06); }
.bp-np-art > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-np.src-youtube .bp-np-art { width: 112px; height: 63px; }
.bp-yt, .bp-yt iframe { width: 100%; height: 100%; display: block; border: 0; pointer-events: none; }
.bp-np-text { min-width: 0; flex: 1; font-size: 12px; color: var(--muted); }
.bp-np-text b { display: block; color: var(--text); font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-np-text > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-np-kind { display: flex; align-items: center; gap: 5px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 1px; }
.bp-np-kind img { width: 12px; height: 12px; }
.bp-np-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); margin-top: 7px; overflow: hidden; }
.bp-np-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 4px; transition: width .5s linear; }
.bp-np-times { display: flex; justify-content: space-between; font-size: 10px; margin-top: 3px; font-variant-numeric: tabular-nums; }
.bp-np-btn { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 0; background: var(--accent); color: #000; display: grid; place-items: center; cursor: pointer; transition: transform .15s; }
.bp-np-btn:hover { transform: scale(1.06); }
.bp-np-btn svg { width: 17px; height: 17px; fill: currentColor; }
.bp-np-embed { margin-top: 12px; border-radius: 12px; overflow: hidden; }
.bp-np-embed iframe { display: block; width: 100%; border: 0; }
.bp-np-embed.src-soundcloud iframe { height: 120px; border-radius: 12px; }
.bp-np-embed.src-spotify iframe { border-radius: 12px; }
/* the real players live off-screen; only our card is visible */
.bp-np-engine { position: fixed; left: 0; bottom: 0; z-index: -1; width: 300px; height: 200px; overflow: hidden; opacity: 0; pointer-events: none; }
.bp-np-art > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-np.src-youtube .bp-np-art { width: 56px; height: 56px; }
.bp-np-bar { cursor: pointer; }
.bp-badge.pic img { width: 20px; height: 20px; object-fit: contain; }
.bp-badge.pic[data-tip=""]:hover::after { display: none; }

/* ---------- synced lyrics in the music card ---------- */
.bp-np.has-lyrics { position: relative; flex-wrap: wrap; overflow: hidden; padding-top: 0; }
.bp-np.has-lyrics::before { content: ""; position: absolute; inset: 0; background: var(--np-art) center / cover no-repeat; filter: blur(30px) saturate(1.4); opacity: .35; transform: scale(1.3); pointer-events: none; }
.bp-np.has-lyrics > * { position: relative; }
.bp-np-lyrics { flex-basis: 100%; padding: 16px 8px 12px; text-align: left; min-height: 96px; }
.bp-np-lyrics p { margin: 0; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .3s, opacity .3s; }
.bp-np-lyrics .ly-prev, .bp-np-lyrics .ly-next { font-size: 15px; color: var(--muted); opacity: .45; }
.bp-np-lyrics .ly-cur { font-size: 19px; font-weight: 700; color: var(--text); margin: 4px 0; text-shadow: 0 0 18px rgba(255,255,255,.15); white-space: normal; }
.bp-np-lyrics.step .ly-cur { animation: bp-lyin .35s cubic-bezier(.2,.8,.2,1); }
@keyframes bp-lyin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- account cards ---------- */
.bp-widgets { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
.bp-widgets.n2 { grid-template-columns: 1fr 1fr; }
.bp-widget { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: calc(var(--radius) * .6); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); text-align: left; min-width: 0; transition: transform .2s, border-color .2s; }
.bp-widget:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.14); }
.wg-pic { position: relative; width: 52px; height: 52px; flex: none; }
.wg-av { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; font: 800 22px/1 var(--font); }
.wg-fortnite .wg-av, .wg-steam .wg-av { border-radius: 14px; }
.wg-deco { position: absolute; inset: -10%; width: 120%; height: 120%; pointer-events: none; }
.wg-pic .bp-status { width: 15px; height: 15px; border-width: 3px; right: -1px; bottom: -1px; }
.wg-text { min-width: 0; flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.wg-text b { max-width: 100%; font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wg-text span { max-width: 100%; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wg-btn { margin-top: 5px; padding: 3px 10px; border-radius: 999px; color: #fff; font: 600 11px/1.6 var(--font); text-decoration: none; transition: filter .15s; }
.wg-btn:hover { filter: brightness(1.15); }
.wg-ic { position: absolute; top: 10px; right: 10px; width: 14px; height: 14px; opacity: .55; }
@media (max-width: 520px) { .bp-widgets.n2 { grid-template-columns: 1fr; } }

/* ---------- TV switch-on after "click to enter" ---------- */
body.tv-on .bp-stage, body.tv-on .bp-bg { animation: bp-tv 1.1s cubic-bezier(.2,.8,.2,1) both; }
body.tv-on::after { content: ""; position: fixed; z-index: 70; left: 0; right: 0; top: 50%; height: 2px; background: #fff; box-shadow: 0 0 24px 6px rgba(255,255,255,.8); animation: bp-tvline .9s ease-out both; pointer-events: none; }
@keyframes bp-tv { 0% { transform: scale(1, .004); filter: brightness(4); opacity: .9; } 35% { transform: scale(1, .004); filter: brightness(4); } 70% { transform: scale(1, 1); filter: brightness(1.6); } 100% { transform: none; filter: none; opacity: 1; } }
@keyframes bp-tvline { 0% { transform: scaleX(0); opacity: 1; } 35% { transform: scaleX(1); opacity: 1; } 60% { opacity: .6; } 100% { transform: scaleX(1) scaleY(40); opacity: 0; } }

/* ---------- "claim your page" banner ---------- */
.bp-claim { position: fixed; z-index: 55; top: 14px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 7px 8px 7px 14px; border-radius: 999px; background: rgba(12,12,14,.82); border: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 12px 40px rgba(0,0,0,.45); animation: bp-clin .45s cubic-bezier(.2,.8,.2,1) both; max-width: calc(100% - 24px); font-family: var(--font); }
.bp-claim.out { animation: bp-clout .3s ease forwards; }
.cl-link { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; min-width: 0; }
.cl-star { width: 22px; height: 22px; flex: none; fill: #a6c4ec; filter: drop-shadow(0 0 6px rgba(166,196,236,.8)); }
.cl-link span { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; padding-right: 8px; }
.cl-link b { font-size: 14px; }
.cl-link small { font-size: 12px; color: #a1a1aa; white-space: nowrap; }
.cl-x { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: #a1a1aa; cursor: pointer; }
.cl-x:hover { background: rgba(255,255,255,.08); color: #fff; }
.cl-x svg { width: 15px; height: 15px; fill: currentColor; }
@keyframes bp-clin { from { opacity: 0; transform: translate(-50%, -16px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes bp-clout { to { opacity: 0; transform: translate(-50%, -16px); } }
@media (max-width: 640px) { .bp-claim { top: auto; bottom: 16px; } }
