/* ==========================================================================
   khaleej.bio — profile view
   Shared by the public page (u.html) and the dashboard live preview.
   Layouts size against the .pv container, not the viewport, so the preview
   renders exactly like the public page does at that width.
   ========================================================================== */

:root { --kg-out: cubic-bezier(0.16, 1, 0.3, 1); }

/* ---------- page shell (u.html) ---------- */
.pub-body { display: grid; min-height: 100vh; }

.pub-custom-bg,
.pub-custom-bg.kg-page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.pub-custom-bg[data-bg-type="none"],
.pub-custom-bg:not([data-bg-type]) { display: none; }

.kg-page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, var(--kg-bg-dim, 0));
  pointer-events: none;
  z-index: 2;
}
.kg-page-bg[data-bg-type="none"]::after { display: none; }
.kg-bg-video,
.kg-page-bg > .kg-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0;
  transition: opacity 1.2s var(--kg-out);
}
.kg-bg-video.is-ready { opacity: 1; }

.fx-layer { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.kg-page-bg > .fx-layer { z-index: 0; }
.fx-aurora {
  background:
    radial-gradient(ellipse at 20% 0%, color-mix(in srgb, var(--pv-accent, #ffffff) 30%, transparent), transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(170, 170, 170, 0.16), transparent 45%);
  animation: auroraShift 12s ease-in-out infinite alternate;
}
.fx-grain { background-image: url("../img/noise.svg"); opacity: 0.18; mix-blend-mode: overlay; }
.fx-plasma {
  background: conic-gradient(from 120deg, rgba(40, 40, 40, 0.4), rgba(170, 170, 170, 0.2), rgba(150, 150, 150, 0.35), rgba(40, 40, 40, 0.4));
  filter: blur(40px);
  opacity: 0.45;
  animation: auroraShift 10s linear infinite;
}
.fx-particles i, .fx-snow i {
  position: absolute; top: -8px; width: 5px; height: 5px; border-radius: 50%;
  background: #A3A3A3; animation: fall linear infinite;
}
.fx-rain i {
  position: absolute; top: -20px; width: 1px; height: 14px;
  background: linear-gradient(#F0F0F0, transparent); animation: fall linear infinite;
}
@keyframes fall { to { transform: translateY(110vh); } }
@keyframes auroraShift { to { transform: translate3d(-4%, 3%, 0) scale(1.06); } }

.pub-wrap { position: relative; z-index: 3; width: 100%; }
.overlay-page .bg-grid { opacity: 0.12; }
.overlay-page.has-custom-bg .bg-wing,
.overlay-page.has-custom-bg .bg-grid,
.overlay-page.has-custom-bg .bg-aurora { display: none; }
.overlay-page .pub-wrap { max-width: none; min-height: 100vh; margin: 0; padding: 0; }
.overlay-page .pub-card { min-height: 100vh; }
.overlay-page .pub-foot { display: none; }

.pub-home {
  position: fixed;
  top: 20px; left: 20px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.5s var(--kg-out), border-color 0.3s, background 0.3s;
}
.pub-home img { width: 28px; height: 18px; object-fit: contain; border-radius: 0; transition: transform 0.6s var(--kg-out); }
.pub-home:hover { border-color: rgba(255, 255, 255, 0.22); background: rgba(0, 0, 0, 0.45); transform: translateY(-2px); }
.pub-home:hover img { transform: rotate(-10deg) scale(1.1); }

.pub-actions {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 40;
  display: flex;
  gap: 8px;
}
.pub-actions .btn {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff8ee;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.pub-actions .btn:hover { background: rgba(0, 0, 0, 0.45); border-color: rgba(255, 255, 255, 0.22); }

body.overlay-page:not(.is-entered) .pub-home,
body.overlay-page:not(.is-entered) .pub-actions { opacity: 0; pointer-events: none; }
body.is-entered .pub-home,
body.is-entered .pub-actions { animation: kgDrop 0.72s var(--kg-out) 0.22s backwards; }

/* ---------- profile view ---------- */
.pv { position: relative; container: pv / inline-size; }
.pv.is-glow { filter: none; }

.ov {
  --card-w: 820px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 92px 20px 80px;
  color: #fff;
  isolation: isolate;
  perspective: 1000px;
}
.ov.layout-classic { --card-w: 820px; }
.ov.layout-wide { --card-w: 920px; }
.ov.layout-left { --card-w: 820px; }
.ov.layout-minimal { --card-w: 860px; }
.ov.layout-spread { --card-w: 820px; }

/* glass card */
.ov-card {
  position: relative;
  width: min(var(--card-w), 100%);
  padding: 30px 26px 24px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015) 40%),
    rgba(12, 12, 12, calc(var(--pv-op, 0.78) * 0.62));
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(var(--pv-blur, 24px)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--pv-blur, 24px)) saturate(150%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    var(--shx, 0px) calc(40px + var(--shy, 0px)) 80px -36px rgba(0, 0, 0, 0.88);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-origin: center center;
  transform-style: preserve-3d;
  will-change: transform;
  animation: var(--pf-card-anim, none);
  transition: border-color 0.5s var(--kg-out);
}
.ov-card.is-lit { border-color: rgba(255, 255, 255, 0.14); }
/* Hover used to cancel the entrance. Turning that animation off and on
   restarted it from invisible, so the card vanished a second time. */
.ov:not(.kg-enter) .ov-card.is-lit { animation: none; }
.pv.is-glow .ov-card:not(.ov-bare) {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    var(--shx, 0px) calc(40px + var(--shy, 0px)) 80px -36px rgba(0, 0, 0, 0.88),
    0 0 90px -30px color-mix(in srgb, var(--pv-accent, #ffffff) 60%, transparent);
}
.ov-card > * { position: relative; z-index: 1; }

/* hero: avatar, name, badges, bio */
.ov-card-hero,
.ov-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ov-card-hero { margin-bottom: 20px; }

.ov-av-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  padding: 0;
  margin-bottom: 16px;
  border-radius: 50%;
}
.ov-av-wrap::before { content: none; }
.ov-av-wrap::after {
  content: "";
  position: absolute;
  inset: 14%;
  z-index: -1;
  border-radius: 50%;
  background: var(--pv-accent, #ffffff);
  filter: blur(26px);
  opacity: 0.45;
  animation: kgBreath 5s ease-in-out infinite;
}
.ov-av-lg,
.ov-av-sm {
  width: 104px;
  height: 104px;
  border: 0;
  background: transparent;
  box-shadow: 0 12px 30px -14px #000;
}
.ov-av-wrap.is-sm { padding: 0; margin: 0; }
.ov-av-wrap.is-sm::after { filter: blur(16px); opacity: 0.35; }
.ov-av-sm { width: 56px; height: 56px; }

.ov .pv-name {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #fff;
}
.uname-hit {
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: text-shadow 0.4s var(--kg-out);
}
.uname-hit:hover { text-shadow: 0 0 22px rgba(255, 255, 255, 0.35); }

.ov-badges { display: inline-flex; align-items: center; gap: calc(5px * var(--badge-scale, 1)); }
.ov-badge {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: calc(24px * var(--badge-scale, 1));
  height: calc(24px * var(--badge-scale, 1));
  min-width: calc(24px * var(--badge-scale, 1));
  min-height: calc(24px * var(--badge-scale, 1));
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  transform: translate(var(--gx, 0px), var(--gy, 0px));
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.38));
  transition: filter 0.6s var(--kg-out);
}
.ov-badge img, .ov-badge .ico {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 0;
  transform-origin: center;
  transition: transform 0.45s var(--kg-out), filter 0.45s ease;
}
.ov-badge .ico { width: 14px; height: 14px; }
.ov-badge:hover { filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.34)) brightness(1.06); }
.ov-badge:hover img, .ov-badge:hover .ico { animation: badgeBob 2.8s ease-in-out infinite; }
@keyframes badgeBob {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.07); }
}

.ov-meta { display: flex; flex-direction: column; align-items: center; }
.ov-meta:empty { display: none; }
.ov-status {
  margin: 8px 0 0;
  max-width: 36ch;
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.64);
}
.ov-status:empty { display: none; }

/* tooltips */
.kg-tip { position: relative; }
.kg-tip::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(6px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  padding: 6px 10px;
  border-radius: 9px;
  background: rgba(12, 12, 14, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #eee;
  font-size: 0.7rem;
  font-weight: 450;
  letter-spacing: 0.01em;
  text-transform: none;
  text-shadow: none;
  white-space: nowrap;
  box-shadow: 0 12px 28px -14px #000;
  z-index: 40;
  transition: opacity 0.3s var(--kg-out), transform 0.3s var(--kg-out);
}
.kg-tip:hover::after,
.kg-tip:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }

/* socials */
.ov .ov-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 0 0 18px;
  background: none;
}
.ov .ov-socials a {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  color: #fff !important;
  filter: none;
  transition: transform 0.5s var(--kg-out), background 0.3s, color 0.3s;
}
.ov .ov-socials a .ico { width: 30px; height: 30px; shape-rendering: geometricPrecision; }
.ov .ov-socials a { transform: translate(var(--gx, 0px), var(--gy, 0px)); }
.ov .ov-socials a:hover {
  transform: translate(var(--gx, 0px), calc(var(--gy, 0px) - 4px)) scale(1.06);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
.ov .ov-socials a:active { transform: translate(var(--gx, 0px), var(--gy, 0px)) scale(0.92); transition-duration: 0.15s; }
.pv.is-mono .ov-socials a { color: color-mix(in srgb, var(--pv-accent, #ffffff) 70%, #fff) !important; }

/* about, skills, widgets */
.ov .pv-about {
  margin: 0 0 16px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}
.ov .pv-about a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ov .pv-skills { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 0 16px; }
.ov .pv-skills .chip {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 450;
}
.ov .pv-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  transition: transform 0.5s var(--kg-out), border-color 0.3s, background 0.3s;
}
.ov .pv-widget b { display: block; font-size: 0.86rem; font-weight: 500; }
.ov .pv-widget span { font-size: 0.74rem; color: rgba(255, 255, 255, 0.5); }
.ov .pv-widget .ico { width: 20px; height: 20px; }
.ov .pv-widget .w-dot { box-shadow: 0 0 0 3px rgba(59, 165, 93, 0.2); animation: kgBreath 2.4s ease-in-out infinite; }
.ov .pv-widget.valo:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.07); }
.ov .pv-widget .w-track { color: rgba(255, 255, 255, 0.45); }

/* links */
.ov .pv-links { display: grid; gap: 10px; }
.ov .pv-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--kg-out), background 0.35s, border-color 0.35s, box-shadow 0.5s var(--kg-out);
}
.ov .pv-link > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov .pv-link .ico { width: 17px; height: 17px; flex: none; color: color-mix(in srgb, var(--pv-accent, #ffffff) 55%, #fff); }
.ov .pv-link .arr {
  margin-left: auto;
  width: 15px;
  height: 15px;
  color: rgba(255, 255, 255, 0.32);
  transition: transform 0.5s var(--kg-out), color 0.3s;
}
.ov .pv-link::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.11) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform 0.9s var(--kg-out);
}
.ov .pv-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: color-mix(in srgb, var(--pv-accent, #ffffff) 45%, rgba(255, 255, 255, 0.2));
  box-shadow: 0 16px 34px -20px color-mix(in srgb, var(--pv-accent, #ffffff) 90%, transparent);
}
.ov .pv-link:hover::after { transform: translateX(110%); }
.ov .pv-link:hover .arr { transform: translate(2px, -2px); color: #fff; }
.ov .pv-link:active { transform: translateY(0) scale(0.985); transition-duration: 0.15s; }

/* audio player — night-blue glass, same family as the site */
.ov .pv-player.audio-only {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--player-accent, #3b6ef0) 38%, transparent), color-mix(in srgb, var(--player-accent, #1d4ed8) 14%, rgba(8, 16, 36, 0.78)));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.4s, box-shadow 0.6s var(--kg-out);
}
.ov .pv-player.audio-only.is-glass,
.ov .pv-player.audio-only.is-volume.is-glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
}
.ov .pv-player.audio-only.is-glass:not(.has-aura) {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 18px 40px -28px rgba(0, 0, 0, 0.55) !important;
}
.ov .pv-player.audio-only.is-player.has-aura {
  border-color: color-mix(in srgb, var(--player-aura, #8eb4ff) 75%, transparent);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--player-aura, #8eb4ff) 42%, #fff),
    0 0 22px color-mix(in srgb, var(--player-aura, #8eb4ff) 55%, transparent),
    0 0 48px color-mix(in srgb, var(--player-aura, #8eb4ff) 32%, transparent);
}
.ov .pv-player.audio-only.is-player { display: grid; gap: 10px; }
.ov .pv-player.audio-only.is-volume {
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.ov .pv-player.playing { border-color: rgba(255, 255, 255, 0.2); }
.ov .pv-player.is-player.has-aura.playing {
  border-color: var(--player-aura, #8eb4ff);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--player-aura, #8eb4ff) 50%, #fff),
    0 0 28px var(--player-aura, #8eb4ff),
    0 0 64px color-mix(in srgb, var(--player-aura, #8eb4ff) 45%, transparent);
}
.ov .pv-player .pp {
  width: 38px;
  height: 38px;
  color: var(--player-ink, #fff);
  background: linear-gradient(180deg, color-mix(in srgb, var(--player-accent, #6b93f5) 62%, #fff), var(--player-accent, #1d4ed8));
  box-shadow: 0 8px 22px -8px var(--player-accent, #3b6ef0);
  transition: transform 0.45s var(--kg-out);
}
.ov .pv-player.is-volume .pp {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}
.ov .pv-player .pp:hover { transform: scale(1.08); }
.ov .pv-player .pp:active { transform: scale(0.94); }
.ov .pv-player .ap-cover {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: contain;
  flex: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.45));
}
.ov .pv-player.is-volume .ap-cover { width: 34px; height: 34px; border-radius: 10px; }
.ov .pv-player .pm { text-align: left; flex: 1; min-width: 0; }
.ov .pv-player .pm b { color: #eef3ff; font-size: 0.9rem; }
.ov .pv-player .pm b:empty,
.ov .pv-player .pm span:empty { display: none; }
.ov .pv-player .pm span { color: color-mix(in srgb, var(--player-accent, #c5d4f0) 28%, #eef3ff); }
.ov .pv-player .seek-bar { height: 4px; background: color-mix(in srgb, var(--player-accent, #8eb4ff) 28%, transparent); transition: height 0.3s var(--kg-out); }
.ov .pv-player .seek-bar:hover { height: 6px; }
.ov .pv-player .seek-fill { background: linear-gradient(90deg, var(--player-accent, #3b6ef0), color-mix(in srgb, var(--player-accent, #3b6ef0) 35%, #fff)); transition: width 0.25s linear; }
.ov .pv-player .ap-times { color: rgba(197, 212, 240, 0.62); font-variant-numeric: tabular-nums; }
.ov .pv-player .vol-btn {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  color: #eef3ff;
  cursor: pointer;
  flex: none;
}
.ov .pv-player .vol-ico { width: 16px; height: 16px; color: #eef3ff; }
.ov .pv-player .ap-vol { min-width: 0; }
.ov .pv-player .vol {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 118px;
  width: 118px;
  min-width: 96px;
  height: 22px;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  touch-action: none;
}
.ov .pv-player .vol::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--player-accent, #fff) var(--v, 80%), rgba(255, 255, 255, 0.28) var(--v, 80%));
}
.ov .pv-player .vol::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.ov .pv-player .vol::-moz-range-track {
  height: 4px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--player-accent, #fff) var(--v, 80%), rgba(255, 255, 255, 0.28) var(--v, 80%));
}
.ov .pv-player .vol::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: #fff;
}
.ov .pv-player.is-volume .vol::-webkit-slider-runnable-track,
.ov .pv-player.is-volume .vol::-moz-range-track {
  background: linear-gradient(90deg, #fff var(--v, 80%), rgba(255, 255, 255, 0.28) var(--v, 80%));
}
.ov .pv-player .ap-eq { display: none; align-items: flex-end; gap: 2px; height: 14px; margin-left: auto; flex: none; }
.ov .pv-player .ap-eq i {
  display: block;
  width: 3px;
  height: 4px;
  border-radius: 2px;
  background: #8eb4ff;
}
.pf-eqBars .ov .pv-player .ap-eq { display: inline-flex; }
.pf-eqBars .ov .pv-player .ap-eq i { animation: pfEq 0.55s ease-in-out infinite alternate; }
.pf-eqBars .ov .pv-player .ap-eq i:nth-child(2) { animation-delay: 0.12s; height: 9px; }
.pf-eqBars .ov .pv-player .ap-eq i:nth-child(3) { animation-delay: 0.22s; height: 6px; }
.pf-eqBars .ov .pv-player .ap-eq i:nth-child(4) { animation-delay: 0.08s; height: 11px; }
.pf-coverSpin .ap-cover { animation: pfSpin 9s linear infinite; }
.pf-playerGlow .ov .pv-player.audio-only {
  box-shadow: inset 0 1px 0 rgba(196, 216, 255, 0.28), 0 0 32px rgba(107, 147, 245, 0.55);
}
.pv-player.audio-only .pv-media-host,
.pv-player.audio-only .art { display: none !important; }


/* location */
.ov-foot {
  display: flex;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
}
.ov-foot:empty { display: none; }
.ov-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.ov-loc .ico { width: 13px; height: 13px; }

/* ---------- layouts ---------- */
/* classic: small avatar beside the name */
.ov-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; text-align: left; }
.ov-who { min-width: 0; }
.ov-who .pv-name { justify-content: flex-start; font-size: 1.25rem; }
.ov-who .ov-status { margin-top: 4px; max-width: none; font-size: 0.86rem; }
.ov-who .ov-meta:empty { display: none; }

/* minimal: no glass */
.ov .ov-card.ov-bare {
  background: none;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ov-bare .pv-name { font-size: 1.9rem; }
.ov-bare .ov-status { margin: 10px 0 18px; }
.ov-bare .pv-player,
.ov-bare .pv-apps,
.ov-bare .pv-widget,
.ov-bare .pv-guild,
.ov-bare .pv-roblox { width: 100%; align-self: stretch; text-align: left; }
.ov-bare .pv-apps { margin-top: 8px; }

/* spread: stacked when narrow, side by side when wide */
.ov.layout-spread .ov-hero .ov-av-lg { width: 120px; height: 120px; }
.ov.layout-spread .ov-hero .pv-name { font-size: 2rem; }

@container pv (min-width: 700px) {
  .ov.layout-wide .pv-links { grid-template-columns: 1fr 1fr; }
}

@container pv (min-width: 780px) {
  .ov { padding-bottom: 92px; }
  .ov-foot { position: absolute; left: 32px; bottom: 28px; }
}

@container pv (min-width: 900px) {
  .ov.layout-left { align-items: flex-start; padding-left: 8cqw; }
  .ov.layout-left .ov-card-hero { align-items: flex-start; text-align: left; }
  .ov.layout-left .ov-card-hero .pv-name { justify-content: flex-start; }
  .ov.layout-left .ov-meta { align-items: flex-start; }

  .ov.layout-spread {
    display: grid;
    grid-template-columns: minmax(260px, 420px) minmax(360px, var(--card-w));
    justify-content: center;
    align-content: center;
    align-items: center;
    gap: 72px;
    padding-inline: 6cqw;
  }
  .ov.layout-spread .ov-hero { align-items: flex-start; text-align: left; }
  .ov.layout-spread .ov-hero .ov-av-lg { width: 140px; height: 140px; }
  .ov.layout-spread .ov-hero .pv-name { justify-content: flex-start; font-size: 2.6rem; }
  .ov.layout-spread .ov-hero .ov-meta { align-items: flex-start; }
  .ov.layout-spread .ov-hero .ov-status { font-size: 1.02rem; }
  .ov.layout-spread .ov-loc { margin-top: 18px; }
  .ov.layout-spread .ov-card { width: 100%; }
}

@container pv (max-width: 420px) {
  .ov { padding: 76px 14px 56px; }
  .ov-card { padding: 26px 18px 20px; border-radius: 24px; }
  .ov .pv-name { font-size: 1.5rem; }
  .ov-av-lg { width: 92px; height: 92px; }
  .ov .pv-link { padding: 13px 14px; }
}

/* ---------- fonts ---------- */
.ov { font-family: var(--pv-font, inherit); }
.pv.font-pixel { --pv-font: "Pixelify Sans", ui-monospace, monospace; }
.pv.font-mono { --pv-font: "JetBrains Mono", ui-monospace, monospace; }
.pv.font-serif { --pv-font: "Instrument Serif", Georgia, serif; }
.pv.font-serif .ov .pv-name { font-weight: 400; letter-spacing: -0.01em; }
.pv.font-pixel .ov .pv-name { letter-spacing: 0; }

/* ---------- shadows (always on) ---------- */
.ov .pv-name { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65); }
.ov .ov-status, .ov .pc-joined { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.ov .ov-socials a .ico,
.ov .pv-link .ico,
.ov .pv-widget .dw-mark .ico {
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.7));
  transition: filter 0.4s var(--kg-out);
}
.ov-av-lg, .ov-av-sm, .dw-av img { box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.9); }

/* ---------- icon glow ---------- */
.pv.ig-white { --ig: #ffffff; }
.pv.ig-accent { --ig: color-mix(in srgb, var(--pv-accent, #ffffff) 75%, #fff); }
.pv.ig-rainbow { --ig: #ff5bd6; }
.pv:is(.ig-white, .ig-accent, .ig-rainbow) .ov .ov-socials a .ico,
.pv:is(.ig-white, .ig-accent, .ig-rainbow) .ov .pv-link .ico,
.pv:is(.ig-white, .ig-accent, .ig-rainbow) .ov .pv-widget .dw-mark .ico,
.pv:is(.ig-white, .ig-accent, .ig-rainbow) .ov .pc-views .ico {
  filter:
    drop-shadow(0 0 1.5px color-mix(in srgb, var(--ig) 85%, transparent))
    drop-shadow(0 0 7px color-mix(in srgb, var(--ig) 45%, transparent))
    drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6));
}
.pv.badge-glow .ov .ov-badge,
.pv.badge-glow .ov .dw-badge {
  filter:
    drop-shadow(0 0 4px color-mix(in srgb, var(--ig, var(--pv-accent, #ffffff)) 80%, transparent))
    drop-shadow(0 0 10px color-mix(in srgb, var(--ig, var(--pv-accent, #ffffff)) 40%, transparent))
    drop-shadow(0 3px 8px rgba(0, 0, 0, 0.55));
}
.pv.badge-glow .ov .ov-badge:hover {
  filter:
    drop-shadow(0 0 6px color-mix(in srgb, var(--ig, var(--pv-accent, #ffffff)) 90%, transparent))
    drop-shadow(0 0 14px color-mix(in srgb, var(--ig, var(--pv-accent, #ffffff)) 50%, transparent))
    drop-shadow(0 8px 12px rgba(0, 0, 0, 0.45));
}
.pv:is(.ig-white, .ig-accent, .ig-rainbow) .ov .ov-socials a:hover .ico {
  filter:
    drop-shadow(0 0 2px var(--ig))
    drop-shadow(0 0 12px color-mix(in srgb, var(--ig) 70%, transparent))
    drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6));
}
.pv:is(.ig-white, .ig-accent, .ig-rainbow) .ov .pv-name .uname { text-shadow: 0 0 16px color-mix(in srgb, var(--ig) 45%, transparent), 0 2px 14px rgba(0, 0, 0, 0.65); }
.pv.ig-rainbow .ov .ov-socials a .ico,
.pv.ig-rainbow .ov .pv-link .ico,
.pv.ig-rainbow.badge-glow .ov .ov-badge { animation: igHue 6s linear infinite; }
@keyframes igHue {
  from { filter: drop-shadow(0 0 3px var(--ig)) drop-shadow(0 0 10px var(--ig)) hue-rotate(0deg); }
  to { filter: drop-shadow(0 0 3px var(--ig)) drop-shadow(0 0 10px var(--ig)) hue-rotate(360deg); }
}

/* ---------- card layout ---------- */
.ov.layout-card { --card-w: 720px; }
.ov .ov-pcard {
  padding: 34px 30px 22px;
  border-radius: 24px;
  border: 2px solid color-mix(in srgb, var(--pv-accent, #ffffff) 18%, rgba(255, 255, 255, 0.26));
  background: rgba(0, 0, 0, var(--pv-op, 0.78));
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 0 50px -18px rgba(255, 255, 255, 0.14),
    0 40px 90px -40px rgba(0, 0, 0, 1);
}
.pv.is-glow .ov .ov-pcard {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 0 60px -16px color-mix(in srgb, var(--pv-accent, #ffffff) 45%, rgba(255, 255, 255, 0.2)),
    0 40px 90px -40px rgba(0, 0, 0, 1);
}
.ov-pcard.is-lit { border-color: color-mix(in srgb, var(--pv-accent, #ffffff) 30%, rgba(255, 255, 255, 0.4)); }
.pc-head { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; }
.pc-head .ov-av-wrap { margin: 0; padding: 0; }
.pc-head .ov-av-wrap::before { display: none; }
.pc-head .ov-av-lg { width: 96px; height: 96px; }
.pc-who { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.pc-who .pv-name { justify-content: flex-start; font-size: 1.6rem; }
.layout-card .ov-badges {
  gap: 4px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.8);
}
.layout-card .ov-badge { width: calc(24px * var(--badge-scale, 1)); height: calc(24px * var(--badge-scale, 1)); }
.pc-joined { margin: 6px 0 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.62); }
.pc-who .ov-status { margin-top: 6px; max-width: 46ch; }
.layout-card .pv-about,
.layout-card .pv-skills { text-align: left; justify-content: flex-start; }
.layout-card .pv-links { margin-top: 14px; }
.layout-card .pv-player.audio-only { margin-top: 14px; }
.ov .layout-card .ov-socials,
.ov.layout-card .ov-socials { gap: 8px; margin: 24px 0 4px; }
.ov.layout-card .ov-socials a { width: 56px; height: 56px; }
.ov.layout-card .ov-socials a .ico { width: 36px; height: 36px; }
.pc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.9rem;
}
.pc-views { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; }
.pc-views .ico { width: 18px; height: 18px; }
.pc-foot .ov-loc { margin-left: auto; }

/* discord presence card */
.ov .pv-widget.discord {
  gap: 14px;
  padding: 12px 14px 12px 12px;
  border-radius: 22px;
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 1);
}
.dw-av { position: relative; flex: none; width: 66px; height: 66px; }
.dw-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.dw-mark {
  position: absolute;
  right: -2px;
  bottom: -2px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1e1f22;
  border: 3px solid #151515;
  color: #b5bac1;
}
.ov .pv-widget .dw-mark .ico { width: 12px; height: 12px; }
.dw-txt { min-width: 0; text-align: left; }
.dw-id { display: flex; align-items: center; gap: 6px; min-width: 0; }
.dw-badges { display: inline-flex; align-items: center; gap: 3px; flex: none; }
.dw-badge { width: 22px; height: 22px; object-fit: contain; display: block; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.38)); }
.ov .pv-widget.discord .dw-txt b { font-size: 1.05rem; font-weight: 600; }
.ov .pv-widget.discord .dw-txt > span[data-dw-line],
.ov .pv-widget.discord:not(.is-live) .dw-txt > span:last-child { font-size: 0.86rem; font-style: italic; color: rgba(255, 255, 255, 0.62); }

@container pv (max-width: 560px) {
  .pc-head { flex-direction: column; text-align: center; gap: 14px; }
  .pc-who { align-items: center; text-align: center; }
  .pc-who .pv-name { justify-content: center; }
  .ov .ov-pcard { padding: 28px 18px 18px; }
  .ov.layout-card .ov-socials { gap: 4px; }
  .ov.layout-card .ov-socials a { width: 46px; height: 46px; }
  .ov.layout-card .ov-socials a .ico { width: 30px; height: 30px; }
}
@container pv (max-width: 420px) {
  .ov .ov-socials a { width: 44px; height: 44px; }
  .ov .ov-socials a .ico { width: 27px; height: 27px; }
}

/* ---------- glass layout ---------- */
.ov.layout-glass { --card-w: 860px; gap: 0; }
.ov .ov-gcard {
  padding: 40px 28px 24px;
  border-radius: 28px;
  background:
    radial-gradient(120% 70% at 50% -10%, color-mix(in srgb, var(--pv-accent, #ffffff) 16%, transparent), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02) 46%),
    rgba(7, 7, 7, var(--pv-op, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(var(--pv-blur, 22px)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--pv-blur, 22px)) saturate(160%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 50px 120px -40px rgba(0, 0, 0, 0.95);
}
.pv.is-glow .ov .ov-gcard {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 50px 120px -40px rgba(0, 0, 0, 0.95),
    0 0 140px -50px color-mix(in srgb, var(--pv-accent, #ffffff) 80%, transparent);
}
.ov-gcard.is-lit { border-color: rgba(255, 255, 255, 0.17); }

.gc-hero { display: flex; flex-direction: column; align-items: center; text-align: center; }
.gc-hero .ov-av-wrap { padding: 0; margin-bottom: 18px; }
.gc-hero .ov-av-wrap::after { inset: 4%; filter: blur(34px); opacity: 0.6; }
.gc-hero .ov-av-lg { width: 116px; height: 116px; }

.layout-glass .pv-name { flex-direction: column; gap: 12px; font-size: 2.1rem; font-weight: 700; letter-spacing: -0.04em; }
.layout-glass .uname {
  background: linear-gradient(180deg, #fff 30%, color-mix(in srgb, var(--pv-accent, #ffffff) 35%, #fff));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--pv-accent, #ffffff) 55%, transparent)) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
}
.pv .ov.layout-glass .pv-name .uname { text-shadow: none; }
.layout-glass .uname-hit { padding: 0 6px; }
.layout-glass .ov-badges {
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 24px -14px #000, 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
.layout-glass .ov-badge { width: calc(24px * var(--badge-scale, 1)); height: calc(24px * var(--badge-scale, 1)); }
.layout-glass .ov-status { margin-top: 14px; font-size: 1rem; color: rgba(255, 255, 255, 0.74); max-width: 40ch; }

.sparks { position: absolute; inset: 0; pointer-events: none; }
.sp {
  position: absolute;
  width: calc(12px * var(--s, 1));
  height: calc(12px * var(--s, 1));
  background: #fff;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 4px #fff);
  opacity: 0;
  animation: kgSpark 2.8s ease-in-out infinite;
}
@keyframes kgSpark {
  0%, 100% { opacity: 0; scale: 0.2; rotate: 0deg; }
  45% { opacity: 1; scale: 1; rotate: 90deg; }
  70% { opacity: 0; scale: 0.4; rotate: 140deg; }
}

.gc-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-top: 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
.gc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.gc-meta .ico { width: 14px; height: 14px; opacity: 0.8; }

.gc-views {
  position: absolute;
  top: 16px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.85);
  z-index: 3;
}
.gc-views .ico { width: 15px; height: 15px; }
.gc-views b { font-weight: 600; }
.gc-views.kg-tip::after { bottom: auto; top: calc(100% + 8px); }

.ov .pv-guild,
.guild-live .pv-guild {
  display: grid;
  gap: 12px;
  width: 100%;
  margin: 4px 0 12px;
  padding: 14px;
  border-radius: 14px;
  background: #1e1f22;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #f2f3f5;
  text-align: left;
  box-shadow: 0 16px 40px -28px rgba(0, 0, 0, 0.8);
}
.pv-guild-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pv-guild-icon {
  width: 52px; height: 52px; border-radius: 50%; object-fit: contain; flex: none;
  background: transparent;
}
.pv-guild-icon.is-letter {
  display: grid; place-items: center;
  background: #5865f2;
  color: #fff; font-weight: 700; font-size: 1.25rem;
}
.pv-guild-meta { min-width: 0; }
.pv-guild-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pv-guild-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 5px;
  color: #dbdee1;
  font-size: 0.88rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.pv-guild-stats span { display: inline-flex; align-items: center; gap: 6px; }
.pv-guild-stats .ico { width: 15px; height: 15px; color: #b5bac1; }
.pv-guild-stats em { font-style: normal; font-weight: 600; }
.pv-guild-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #23a559;
  box-shadow: 0 0 0 3px rgba(35, 165, 89, 0.18);
}
.pv-guild-join {
  display: grid;
  place-items: center;
  height: 40px;
  border-radius: 8px;
  background: #5865f2;
  color: #fff;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: background 0.2s ease;
}
.pv-guild-join:hover { background: #4752c4; color: #fff; }
.ov .pv-guild.is-glass,
.guild-live .pv-guild.is-glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 18px 40px -28px rgba(0, 0, 0, 0.55);
}
.layout-glass .pv-guild { margin-top: 18px; }

.ov .pv-roblox,
.rbx-live .pv-roblox {
  display: grid;
  gap: 12px;
  width: 100%;
  margin: 4px 0 12px;
  padding: 14px;
  border-radius: 18px;
  background: #16161a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 16px 40px -28px rgba(0, 0, 0, 0.85);
}
.pv-roblox:hover { color: #fff; border-color: rgba(255, 255, 255, 0.16); }
.ov .pv-roblox.is-glass,
.rbx-live .pv-roblox.is-glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 18px 40px -28px rgba(0, 0, 0, 0.55);
}
.pv-rbx-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pv-rbx-av {
  width: 58px; height: 58px; border-radius: 50%; object-fit: contain; flex: none;
  background: transparent;
}
.pv-rbx-av.is-letter {
  display: grid; place-items: center;
  background: #2a2a2e;
  color: #fff; font-weight: 700; font-size: 1.2rem;
}
.pv-rbx-meta { min-width: 0; }
.pv-rbx-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.pv-rbx-name .ico { width: 16px; height: 16px; color: #fff; flex: none; }
.pv-rbx-user {
  display: block;
  margin-top: 2px;
  color: #a9a9ad;
  font-size: 0.88rem;
  font-weight: 500;
}
.pv-rbx-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #d4d4d8;
  font-size: 0.86rem;
  font-weight: 550;
}
.pv-rbx-stats span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.pv-rbx-stat small { font-size: inherit; font-weight: inherit; color: inherit; }
.pv-rbx-stats .ico { width: 15px; height: 15px; color: #c4c4c8; }
.pv-rbx-stats em { font-style: normal; font-weight: 700; color: #fff; }
.pv-rbx-fill { display: contents; }
.pv-rbx-about,
.pv-rbx-joined,
.pv-rbx-go { display: none; }
.layout-glass .pv-roblox { margin-top: 18px; }
.pv-social-card {
  display: grid;
  gap: 12px;
  width: 100%;
  margin: 4px 0 12px;
  padding: 14px;
  border-radius: 18px;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 16px 40px -28px rgba(0, 0, 0, 0.85);
}
.pv-soc-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pv-soc-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  flex: none;
}
.pv-soc-mark .ico { width: 26px; height: 26px; }
.pv-social-card.is-tiktok .pv-soc-mark { background: #111; color: #fff; }
.pv-social-card.is-instagram .pv-soc-mark { background: linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7); color: #fff; }
.pv-social-card.is-snapchat .pv-soc-mark { background: #fffc00; color: #111; }
.pv-soc-meta { min-width: 0; }
.pv-soc-meta b {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pv-soc-meta span { display: block; margin-top: 2px; color: rgba(255, 255, 255, 0.62); font-size: 0.86rem; }
.pv-soc-go {
  display: grid;
  place-items: center;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-weight: 700;
  font-size: 0.92rem;
}
.pv-social-card.is-tiktok .pv-soc-go { background: #fe2c55; color: #fff; }
.pv-social-card.is-instagram .pv-soc-go { background: #e4405f; color: #fff; }
.pv-social-card.is-snapchat .pv-soc-go { background: #fffc00; color: #111; }
.layout-glass .pv-social-card { margin-top: 14px; }

.layout-glass .pv-about,
.layout-glass .pv-skills,
.layout-glass .pv-widget { margin-top: 22px; }
.layout-glass .pv-widget + .pv-widget { margin-top: 10px; }
.ov.layout-glass .ov-socials { gap: 6px; margin: 24px 0 2px; }
.ov.layout-glass .ov-socials a { width: 54px; height: 54px; }
.ov.layout-glass .ov-socials a .ico { width: 33px; height: 33px; }
.layout-glass .pv-links { margin-top: 18px; grid-template-columns: 1fr 1fr; gap: 8px; }
.layout-glass .pv-link { min-width: 0; }
.ov.layout-glass { padding-top: 70px; padding-bottom: 60px; }
.layout-glass .pv-player.audio-only { margin-top: 16px; }

@container pv (max-width: 560px) {
  .ov .ov-gcard { padding: 52px 18px 20px; border-radius: 24px; }
  .layout-glass .pv-name { font-size: 1.75rem; }
  .layout-glass .pv-links { grid-template-columns: 1fr; }
  .ov.layout-glass .ov-socials { gap: 2px; }
  .ov.layout-glass .ov-socials a { width: 44px; height: 44px; }
  .ov.layout-glass .ov-socials a .ico { width: 27px; height: 27px; }
  .gc-hero .ov-av-lg { width: 108px; height: 108px; }
}

/* ---------- nebula background ---------- */
.fx-nebula { background: radial-gradient(ellipse 80% 60% at 50% 110%, color-mix(in srgb, var(--pv-accent, #ffffff) 22%, transparent), transparent 70%); }
.fx-nebula::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: url("../img/noise.svg");
  opacity: 0.12;
  mix-blend-mode: overlay;
}
.fx-nebula::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.75) 100%);
}
.fx-nebula .nb {
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  will-change: transform;
  animation: nbDrift 28s ease-in-out infinite alternate;
}
.fx-nebula .nb1 { left: -18%; top: -26%; background: var(--pv-accent, #ffffff); }
.fx-nebula .nb2 { right: -20%; bottom: -30%; background: color-mix(in srgb, var(--pv-accent, #ffffff) 45%, #6b6b6b); opacity: 0.16; animation-duration: 34s; animation-delay: -9s; }
.fx-nebula .nb3 { left: 30%; top: 30%; width: 40%; background: color-mix(in srgb, var(--pv-accent, #ffffff) 40%, #b8b8b8); opacity: 0.08; animation-duration: 40s; animation-delay: -17s; }
.fx-nebula .nb4 { left: -10%; bottom: -36%; width: 50%; background: color-mix(in srgb, var(--pv-accent, #ffffff) 70%, #000); opacity: 0.2; animation-duration: 31s; animation-delay: -4s; }
.preview-scroll > .fx-nebula .nb { width: max(62%, 420px); filter: blur(70px); }
@keyframes nbDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(12%, 8%, 0) scale(1.12); }
  100% { transform: translate3d(-6%, 14%, 0) scale(0.94); }
}

/* ---------- stars ---------- */
.preview-scroll > .fx-layer,
.preview-scroll.kg-page-bg > .fx-layer { position: absolute; z-index: 0; }
.fx-stars i,
.fx-nebula i {
  position: absolute;
  width: calc(11px * var(--s, 1));
  height: calc(11px * var(--s, 1));
  background: #fff;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation-name: starDrift, starTwinkle;
  animation-timing-function: ease-in-out, ease-in-out;
  animation-iteration-count: infinite, infinite;
  animation-direction: alternate, normal;
}
@keyframes starDrift { from { translate: 0 -24px; } to { translate: 10px 24px; } }
@keyframes starTwinkle {
  0%, 100% { opacity: 0.12; scale: 0.55; rotate: 0deg; }
  50% { opacity: 0.95; scale: 1; rotate: 45deg; }
}

/* ---------- motion layer ---------- */
@property --kg-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* a soft light that travels around the card edge */
.ov-card:not(.ov-bare)::after {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--bw, 1px));
  padding: var(--bw, 1px);
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(
    from var(--kg-a),
    transparent 0deg 240deg,
    rgba(255, 255, 255, 0.05) 270deg,
    color-mix(in srgb, var(--pv-accent, #ffffff) 55%, #fff) 330deg,
    rgba(255, 255, 255, 0.85) 345deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0.7;
  animation: kgOrbit 9s linear infinite;
  transition: opacity 0.6s var(--kg-out);
}
.ov .ov-pcard { --bw: 2px; }
.pf-noShadow .ov-card::after { opacity: 0; }
.pf-rainbowEdge .ov-card::after {
  opacity: 1;
  --bw: 2px;
  background: conic-gradient(from var(--kg-a), #8eb4ff, #eef3ff, #3b6ef0, #d6e4ff, #8eb4ff);
  animation: kgOrbit 3.4s linear infinite;
}
@keyframes kgOrbit { to { --kg-a: 360deg; } }

/* avatar drifts gently */
.ov-av-wrap { animation: kgFloat 6.5s ease-in-out infinite; }
@keyframes kgFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }

/* link icons nudge on hover */
.ov .pv-link > .ico:not(.arr) { transition: transform 0.6s var(--kg-out), filter 0.4s; }
.ov .pv-link:hover > .ico:not(.arr) { transform: scale(1.15) rotate(-8deg); }

/* presence card */
.ov .pv-widget.discord { transition: transform 0.6s var(--kg-out), border-color 0.4s, background 0.4s; }
.ov .pv-widget.discord:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.07); }
.ov .pv-widget.is-glass,
.ov .pv-social-card.is-glass,
.ov .pv-widget.discord.is-glass:hover,
.ov .pv-widget.valo.is-glass:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 18px 40px -28px rgba(0, 0, 0, 0.55) !important;
}
.dw-av::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  animation: kgPing 3.2s var(--kg-out) infinite;
  pointer-events: none;
}
@keyframes kgPing {
  0% { transform: scale(1); opacity: 0.55; }
  70%, 100% { transform: scale(1.32); opacity: 0; }
}

/* click ripple */
.ov .pv-widget.valo,
.ov .pv-player .pp { position: relative; overflow: hidden; }
.kg-ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 62%);
  transform: scale(0);
  animation: kgRipple 0.75s var(--kg-out) forwards;
}
@keyframes kgRipple { to { transform: scale(1); opacity: 0; } }

/* view counter */
.pc-views b { font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .ov-badge:hover img, .ov-badge:hover .ico,
  .badge-card:hover .b-mark { animation: none; }
  .ov.kg-enter .ov-card,
  .ov.kg-enter .kg-in,
  .splash,
  .splash-in { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
}
@media (hover: none) {
  .ov .ov-socials a:hover { transform: none; background: transparent !important; }
  .ov .pv-link:hover { transform: none; box-shadow: none; }
  .ov .pv-link:hover::after { transform: translateX(-110%); }
}

/* ---------- entrance ---------- */
.ov.kg-hold .ov-card,
.ov.kg-hold .kg-in { opacity: 0; }
.ov.kg-hold .ov-card {
  transform: perspective(1200px) translate3d(0, 92px, 0) rotateX(18deg) scale(0.86);
}

.ov.kg-enter .ov-card {
  animation: kgCardIn 0.96s cubic-bezier(0.16, 1, 0.3, 1) var(--kg-delay, 0ms) both;
}
.ov.kg-enter .kg-in {
  animation: kgRise 0.74s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--kg-delay, 0ms) + 120ms + var(--i, 0) * 38ms) both;
}
.ov.kg-enter .ov-av-wrap.kg-in {
  animation-name: kgPop;
  animation-duration: 0.82s;
  animation-timing-function: cubic-bezier(0.18, 1.25, 0.32, 1);
}
.ov.kg-enter .ov-badge.kg-in { animation-name: kgBadge; animation-duration: 0.66s; }
.ov.kg-enter .ov-foot.kg-in,
.ov.kg-enter .ov-badges.kg-in { animation-name: kgFade; animation-duration: 0.55s; }
.ov.kg-enter .pv-widget.kg-in,
.ov.kg-enter .pv-roblox.kg-in,
.ov.kg-enter .pv-guild.kg-in,
.ov.kg-enter .pv-social-card.kg-in { animation-name: kgBlock; animation-duration: 0.78s; }

@keyframes kgCardIn {
  0% {
    opacity: 0;
    transform: perspective(1200px) translate3d(0, 92px, 0) rotateX(18deg) scale(0.86);
  }
  52% {
    opacity: 1;
    transform: perspective(1200px) translate3d(0, -16px, 0) rotateX(-3deg) scale(1.03);
  }
  74% {
    transform: perspective(1200px) translate3d(0, 6px, 0) rotateX(1.2deg) scale(0.992);
  }
  100% {
    opacity: 1;
    transform: perspective(1200px) translate3d(0, 0, 0) rotateX(0deg) scale(1);
  }
}
@keyframes kgRise {
  0% { opacity: 0; translate: 0 36px; scale: 0.94; }
  58% { opacity: 1; translate: 0 -6px; scale: 1.02; }
  100% { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes kgBlock {
  0% { opacity: 0; translate: 0 28px; scale: 0.9; }
  62% { opacity: 1; translate: 0 -5px; scale: 1.025; }
  100% { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes kgPop {
  0% { opacity: 0; scale: 0.28; rotate: -18deg; }
  55% { opacity: 1; scale: 1.16; rotate: 7deg; }
  78% { scale: 0.96; rotate: -3deg; }
  100% { opacity: 1; scale: 1; rotate: 0deg; }
}
@keyframes kgBadge {
  0% { opacity: 0; translate: 0 12px; scale: 0.42; rotate: -14deg; }
  58% { opacity: 1; scale: 1.16; rotate: 5deg; }
  100% { opacity: 1; translate: 0 0; scale: 1; rotate: 0deg; }
}
@keyframes kgFade { from { opacity: 0; } }
@keyframes kgDrop {
  0% { opacity: 0; translate: 0 -22px; scale: 0.9; }
  62% { opacity: 1; translate: 0 4px; scale: 1.04; }
  100% { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes kgSpin { to { transform: rotate(360deg); } }
@keyframes kgBreath { 0%, 100% { opacity: 0.32; } 50% { opacity: 0.6; } }

/* typewriter caret */
.ov-status.typing::after,
.pv-bio.typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: color-mix(in srgb, var(--pv-accent, #ffffff) 60%, #fff);
  animation: caret 1s steps(2) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

/* ---------- splash gate ---------- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9400;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(ellipse 50% 40% at 50% 50%, color-mix(in srgb, var(--pv-accent, #7ec8e3) 28%, transparent), transparent 70%),
    rgba(4, 16, 24, 0.62);
  backdrop-filter: blur(34px) saturate(140%);
  -webkit-backdrop-filter: blur(34px) saturate(140%);
  cursor: pointer;
  transition: opacity 0.42s var(--kg-out), visibility 0.42s;
}
.splash-in {
  display: grid;
  justify-items: center;
  gap: 22px;
  transition: transform 0.42s var(--kg-out), opacity 0.32s var(--kg-out);
}
.splash-quote {
  margin: 0;
  max-width: 720px;
  font-size: clamp(1.05rem, 2.6vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.6;
  color: #e8f6fb;
  text-align: center;
  text-shadow: none;
}
.splash-quote.is-plain {
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  animation: kgHint 2.8s ease-in-out 1.6s infinite;
}
.splash-quote .w {
  display: inline-block;
  white-space: pre;
  animation: kgRise 1s var(--kg-out) calc(150ms + var(--w, 0) * 70ms) backwards;
}
.splash-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(232, 246, 251, 0.62);
  animation: kgFade 1.2s ease 0.9s backwards, kgHint 2.6s ease-in-out 2.1s infinite;
}
.splash-hint::before,
.splash-hint::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.splash:hover .splash-hint { color: rgba(232, 246, 251, 0.92); }
.splash.gone {
  opacity: 0;
  visibility: hidden;
}
.splash.gone .splash-in { transform: translate3d(0, -42px, 0) scale(1.14); opacity: 0; }
@keyframes kgHint { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

/* ---------- not found ---------- */
.pub-404 { display: grid; place-items: center; min-height: 100vh; padding: 40px 22px; position: relative; z-index: 2; }
.nf-in { display: grid; justify-items: center; gap: 16px; text-align: center; max-width: 460px; }
.nf-in > * { animation: kgRise 0.9s var(--kg-out) backwards; }
.nf-in > :nth-child(2) { animation-delay: 0.08s; }
.nf-in > :nth-child(3) { animation-delay: 0.16s; }
.nf-in > :nth-child(4) { animation-delay: 0.24s; }
.nf-in img { width: 96px; height: 64px; object-fit: contain; border-radius: 0; filter: drop-shadow(0 16px 30px rgba(150, 150, 150, 0.35)); }
.nf-in h1 { font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -0.045em; }
.nf-in p { color: var(--text-dim); font-weight: 300; }
.nf-in b { color: var(--text); font-weight: 500; }

@media (max-width: 560px) {
  .pub-home { top: 14px; left: 14px; width: 40px; height: 40px; }
  .pub-actions { top: 14px; right: 14px; }
  .pub-actions .btn { padding-inline: 12px; }
}

/* ---------- views pill (non-glass layouts) ---------- */
.ov-views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.8);
}
.ov-views .ico { width: 14px; height: 14px; }
.ov-views b { font-weight: 600; }
.layout-classic .ov-views { align-self: flex-start; }

/* ---------- hidden audio (still plays) ---------- */
.ov .pv-player.is-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

/* ---------- 3D tilt ---------- */



/* ---------- live Discord presence ---------- */
.ov .pv-widget.discord.is-live { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
.dw-row { display: flex; align-items: center; gap: 14px; min-width: 0; }
.dw-row .dw-txt { flex: 1; min-width: 0; }
.dw-row .dw-txt b, .dw-row .dw-txt > span[data-dw-line] { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dw-row .dw-id { overflow: hidden; flex-wrap: nowrap; }
.dw-row .dw-id b { min-width: 0; flex: 0 1 auto; }
.dw-row .dw-badge { width: 18px; height: 18px; }
.ov .pv-widget.discord.is-live .dw-txt > span[data-dw-line] { font-style: normal; }
.dw-logo { width: 20px; height: 20px; flex: none; color: rgba(255, 255, 255, 0.35); }
.dw-dot {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid #1a1b1e;
  background: #80848e;
  transition: background 0.4s;
}
.dw-dot.is-online { background: #23a55a; box-shadow: 0 0 10px rgba(35, 165, 90, 0.6); }
.dw-dot.is-idle { background: #f0b232; }
.dw-dot.is-dnd { background: #f23f43; }
.is-live .dw-av::before { display: none; }
.dw-act {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 14px;
  min-height: 0;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 16px 36px -28px rgba(0, 0, 0, 0.65);
  text-align: left;
  animation: kgRise 0.6s var(--kg-out) backwards;
}
.dw-act.is-track {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  border-color: rgba(255, 255, 255, 0.24);
}
.dw-act[hidden] { display: none; }
.dw-last-k {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82);
}
.dw-last-k .ico { width: 14px; height: 14px; color: rgba(255, 255, 255, 0.88); }
.dw-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dd68c;
  box-shadow: 0 0 8px rgba(61, 214, 140, 0.85);
  animation: dwPulse 1.5s ease-out infinite;
  flex: none;
}
@keyframes dwPulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 214, 140, 0.55); }
  100% { box-shadow: 0 0 0 7px rgba(61, 214, 140, 0); }
}
.dw-last-row { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }
.pv-apps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  justify-items: stretch;
  width: 100%;
  margin: 0 0 14px;
  box-sizing: border-box;
}
.layout-glass .pv-apps { margin-top: 32px; }
.ov .pv-apps > .pv-widget,
.ov .pv-apps > .pv-roblox,
.layout-glass .pv-apps > .pv-roblox { margin: 0; min-width: 0; height: 100%; }
.ov .pv-apps > .discord.is-live,
.ov .pv-apps > .pv-roblox { display: flex; flex-direction: column; }
.ov .pv-apps > .pv-roblox { gap: 14px; padding: 16px; }
.ov .pv-apps .pv-rbx-stats { margin-top: auto; }
.pv-apps:has(.discord.has-act) > .discord.is-live > .dw-act,
.pv-apps:has(.discord.has-act) > .pv-roblox > .pv-rbx-fill { flex: 1; }
.pv-apps:has(.discord.has-act) > .discord.is-live > .dw-friend,
.pv-apps:has(.discord.has-act) > .pv-roblox > .pv-rbx-go { flex: none; }
.pv-apps:has(.discord.has-act) .pv-rbx-fill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-height: 0;
  margin-top: 0;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: kgRise 0.5s var(--kg-out);
}
.pv-apps:has(.discord.has-act) .pv-rbx-about:not([hidden]) {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.45;
}
.pv-apps:has(.discord.has-act) .pv-rbx-joined:not([hidden]) {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  font-weight: 600;
}
.pv-apps:has(.discord.has-act) .pv-rbx-stats {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.pv-apps:has(.discord.has-act) .pv-rbx-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  min-height: 78px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.pv-apps:has(.discord.has-act) .pv-rbx-stat em {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pv-apps:has(.discord.has-act) .pv-rbx-stat small {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}
.pv-apps:has(.discord.has-act) .pv-rbx-go {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  border-radius: 12px;
  background: #f3f4f6;
  color: #16161a;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  animation: kgRise 0.5s var(--kg-out) 0.06s both;
}
.pv-apps:has(.discord.has-act) .pv-rbx-go .ico { width: 16px; height: 16px; color: #16161a; }
.pv-roblox:hover .pv-rbx-go { background: #fff; }
.ov .pv-widget.discord.is-live .dw-av { width: 58px; height: 58px; }
.dw-friend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  border-radius: 12px;
  background: #5865f2;
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.dw-friend:hover { background: #4752c4; color: #fff; }
@container pv (max-width: 560px) {
  .pv-apps { grid-template-columns: 1fr; }
}
.dw-friend .ico { width: 18px; height: 18px; }
.ov-bare .dw-friend { margin-top: 14px; }
.ov .pv-widget .dw-art {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.ov .pv-widget .dw-art.is-empty { display: grid; place-items: center; color: rgba(255, 255, 255, 0.7); }
.dw-info { flex: 1; min-width: 0; display: grid; gap: 4px; align-content: center; }
.dw-info em { font-style: normal; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.dw-info b, .dw-info span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dw-info b { font-size: 1.05rem; font-weight: 650; letter-spacing: -0.02em; }
.dw-info span { font-size: 0.84rem; color: rgba(255, 255, 255, 0.68); }
.dw-play { display: grid; gap: 7px; margin-top: auto; }
.dw-info .dw-time,
.dw-play .dw-time { font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.62); font-size: 0.78rem; }
.dw-bar { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.dw-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: #fff; box-shadow: 0 0 12px rgba(255, 255, 255, 0.45); transition: width 1s linear; }
.dw-times { display: flex; justify-content: space-between; font-size: 0.72rem !important; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.62); }
.dw-times span { font-size: inherit !important; }

/* ---------- volume dock (top left) ---------- */
.pub-vol {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 45;
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.12) inset;
  transition: background 0.3s, border-color 0.3s;
}
.pub-vol:hover, .pub-vol:focus-within { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.22); }
.pub-vol-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
}
.pub-vol-btn .ico { width: 24px; height: 24px; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45)); transition: transform 0.4s var(--kg-out); }
.pub-vol-btn:active .ico { transform: scale(0.88); }
.pub-vol-track {
  display: grid;
  align-items: center;
  width: 0;
  overflow: hidden;
  opacity: 0;
  transition: width 0.5s var(--kg-out), opacity 0.3s, padding 0.5s var(--kg-out);
}
.pub-vol:hover .pub-vol-track,
.pub-vol:focus-within .pub-vol-track { width: 118px; padding-right: 16px; opacity: 1; }
.pub-vol-range {
  -webkit-appearance: none;
  appearance: none;
  width: 102px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #fff var(--v, 80%), rgba(255, 255, 255, 0.22) var(--v, 80%));
  cursor: pointer;
}
.pub-vol-range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }
.pub-vol-range::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }
body.has-vol .pub-home { left: 82px; }
body.overlay-page:not(.is-entered) .pub-vol { opacity: 0; pointer-events: none; }
body.is-entered .pub-vol { animation: kgDrop 0.72s var(--kg-out) 0.28s backwards; }
@media (max-width: 560px) {
  .pub-vol { top: 14px; left: 14px; height: 44px; }
  .pub-vol-btn { width: 42px; height: 42px; }
  body.has-vol .pub-home { left: 68px; }
}

/* ---------- Discord avatar status dot ---------- */
.ov-av-wrap > .av-dot {
  right: 7%;
  bottom: 7%;
  width: 24px;
  height: 24px;
  border: 4px solid #0b0b0b;
  z-index: 2;
}
.ov-av-wrap.is-sm > .av-dot { right: 0; bottom: 0; width: 16px; height: 16px; border-width: 3px; }
.pc-head .ov-av-wrap > .av-dot { right: 4%; bottom: 4%; }

/* ---------- copy-username socials ---------- */
.ov .ov-socials a.is-copied .ico { animation: kgCopied 0.6s var(--kg-out); }
@keyframes kgCopied { 0% { scale: 1; } 35% { scale: 0.8; } 70% { scale: 1.15; } 100% { scale: 1; } }
