@font-face {
  font-family: "Prevalent Sans Pro";
  src: url("assets/fonts/PREVALENTSANSPRO-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Prevalent Sans Pro";
  src: url("assets/fonts/PREVALENTSANSPRO-Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Prevalent Sans Pro";
  src: url("assets/fonts/PREVALENTSANSPRO-SemiBold.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Prevalent Sans Pro";
  src: url("assets/fonts/PREVALENTSANSPRO-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #f2f3f5;
  --card: #ffffff;
  --card-raised: #f2f3f5;
  --activity: #f7f7f8;
  --line: #d7d9de;
  --text: #232428;
  --muted: #4e5058;
  --subtle: #6d7078;
  --accent: #40434a;
  --green: #23a55a;
  --yellow: #f0b232;
  --red: #f23f43;
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: "Prevalent Sans Pro", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.profile-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 38px 18px;
  --wing-highlight: #e6e8ed;
  --wing-mid: #c6cad1;
  --wing-shadow: #9298a2;
  --wing-glow: rgba(118, 125, 137, 0.18);
}

.refresh-page {
  position: fixed;
  top: clamp(16px, 3vw, 28px);
  left: clamp(16px, 3vw, 28px);
  z-index: 5;
  display: grid;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 8px 24px rgba(35, 36, 40, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: #303238;
  cursor: pointer;
  backdrop-filter: blur(16px) saturate(1.4);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    color 180ms ease;
}

.refresh-page svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.refresh-page:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 12px 28px rgba(35, 36, 40, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.refresh-page:hover svg {
  transform: rotate(90deg);
}

.refresh-page:active {
  transform: translateY(0) scale(0.94);
}

.refresh-page:focus-visible {
  outline: 2px solid #6f7480;
  outline-offset: 4px;
}

.cursor-eyes {
  position: fixed;
  top: clamp(24px, 3.5vw, 34px);
  left: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  filter: drop-shadow(0 5px 9px rgba(35, 36, 40, 0.14));
  transform: translateX(-50%);
}

.cursor-eye {
  display: grid;
  width: 30px;
  height: 22px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(35, 36, 40, 0.12);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff 15%, #e8eaf0 100%);
  box-shadow: inset 0 1px 3px rgba(35, 36, 40, 0.08);
}

.cursor-eye-pupil {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #626875, #24262d 58%);
  will-change: transform;
}

.cursor-eye-pupil::after {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  content: "";
}

.profile-stage[data-status="online"] {
  --wing-highlight: #fff;
  --wing-mid: #f5f5f3;
  --wing-shadow: #d7dce4;
  --wing-glow: rgba(255, 255, 255, 0.68);
}

.profile-stage[data-status="idle"] {
  --wing-highlight: #fff9e8;
  --wing-mid: #f4dfaa;
  --wing-shadow: #d9b866;
  --wing-glow: rgba(225, 190, 107, 0.32);
}

.profile-stage[data-status="dnd"] {
  --wing-highlight: #fff0ef;
  --wing-mid: #f0c2c2;
  --wing-shadow: #cf777d;
  --wing-glow: rgba(222, 92, 102, 0.3);
}

.angel-wings {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(145vw, 1400px);
  opacity: 0.78;
  overflow: visible;
  filter: drop-shadow(0 12px 24px var(--wing-glow));
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation:
    wings-breathe 12s ease-in-out infinite,
    wings-flap-glow 4.2s ease-in-out infinite;
  transition: filter 700ms ease;
}

.angel-wings stop,
.wing-shape,
.wing-primary-feathers path,
.wing-cover-feathers path {
  transition: stop-color 700ms ease, fill 700ms ease, stroke 700ms ease;
}

.status-sparkles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.status-sparkle {
  position: absolute;
  color: var(--wing-highlight);
  font-size: clamp(18px, 2.8vw, 30px);
  line-height: 1;
  opacity: 0;
  text-shadow: 0 0 14px var(--wing-glow);
}

.sparkle-one {
  top: 28%;
  left: 13%;
}

.sparkle-two {
  top: 44%;
  left: 24%;
  font-size: clamp(13px, 2vw, 22px);
}

.sparkle-three {
  top: 28%;
  right: 13%;
}

.sparkle-four {
  top: 44%;
  right: 24%;
  font-size: clamp(13px, 2vw, 22px);
}

.status-sparkle-active .status-sparkle {
  animation: status-sparkle-burst 900ms ease-out both;
}

.status-sparkle-active .sparkle-two {
  animation-delay: 80ms;
}

.status-sparkle-active .sparkle-three {
  animation-delay: 140ms;
}

.status-sparkle-active .sparkle-four {
  animation-delay: 220ms;
}

.wing-left,
.wing-right-flap {
  transform-box: view-box;
  transform-origin: 500px 258px;
  animation: wing-flap-left 4.2s ease-in-out infinite;
}

.wing-right-flap {
  animation-name: wing-flap-right;
}

.wing-right {
  transform: translateX(1000px) scaleX(-1);
}

.wing-shape {
  fill: url("#wing-shadow");
  fill-opacity: 0.48;
  stroke: var(--wing-highlight);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.wing-primary-feathers path {
  fill: url("#wing-feathers");
  fill-opacity: 0.82;
  stroke: var(--wing-highlight);
  stroke-width: 1;
  stroke-linejoin: round;
}

.wing-cover-feathers path {
  fill: url("#wing-feathers");
  fill-opacity: 0.94;
  stroke: var(--wing-highlight);
  stroke-width: 1.25;
  stroke-linejoin: round;
}

.profile-card-motion {
  z-index: 1;
  width: min(100%, 560px);
  transform-style: preserve-3d;
  will-change: transform;
}

.discord-card {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(35, 36, 40, 0.12);
  border-radius: 9px;
  background: var(--card);
  box-shadow: 0 24px 80px rgba(35, 36, 40, 0.2), 0 0 48px rgba(35, 36, 40, 0.04);
  animation:
    card-arrive 800ms cubic-bezier(0.22, 1, 0.36, 1) both,
    card-idle-rock 14s ease-in-out 800ms infinite;
  transform-style: preserve-3d;
  transition: border-color 320ms ease, box-shadow 380ms ease;
}

.discord-card::before {
  position: absolute;
  top: 0;
  left: -38%;
  z-index: 4;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(35, 36, 40, 0.28), transparent);
  content: "";
  pointer-events: none;
  animation: edge-glint 7s ease-in-out 1s infinite;
}

.discord-card:hover {
  border-color: rgba(35, 36, 40, 0.2);
  box-shadow: 0 28px 90px rgba(35, 36, 40, 0.24), 0 0 58px rgba(35, 36, 40, 0.07);
}

.discord-card[data-status="offline"] {
  --card: #111214;
  --card-raised: #1b1d21;
  --activity: #17191d;
  --line: #34363d;
  --text: #f2f3f5;
  --muted: #c3c6ce;
  --subtle: #a0a4ad;
  --accent: #f2f3f5;
  color: var(--text);
  border-color: #292b30;
  background: var(--card);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34), 0 0 48px rgba(35, 36, 40, 0.08);
}

.discord-card[data-status="offline"]:hover {
  border-color: #3a3d44;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42), 0 0 58px rgba(35, 36, 40, 0.12);
}

.discord-card[data-status="offline"]::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
}

.discord-card[data-status="offline"] .tag-chip,
.discord-card[data-status="offline"] .full-profile-link {
  background: var(--card-raised);
  color: var(--text);
}

.discord-card[data-status="offline"] .server-tag {
  background: #292b31;
}

.discord-card[data-status="offline"] .full-profile-link:hover,
.discord-card[data-status="offline"] .detail-item:hover {
  border-color: #4a4d55;
  background: #25272c;
}

.discord-card[data-status="offline"] .detail-item,
.discord-card[data-status="offline"] .activity-card {
  border-color: rgba(255, 255, 255, 0.09);
}

.discord-card[data-status="offline"] .detail-item {
  background: var(--card-raised);
  color: var(--text);
}

.discord-card[data-status="offline"] .activity-entry + .activity-entry,
.discord-card[data-status="offline"] .profile-footer {
  border-color: rgba(255, 255, 255, 0.12);
}

.discord-card[data-status="offline"] .activity-entry:hover {
  background: rgba(255, 255, 255, 0.05);
}

.discord-card[data-status="offline"] .activity-art {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.16), transparent 60%),
    #202329;
}

.discord-card[data-status="offline"] .activity-entry:hover .activity-art {
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
}

.discord-card[data-status="offline"] .pulse-dot::after {
  border-color: rgba(255, 255, 255, 0.5);
}

@keyframes card-idle-rock {
  0%, 100% {
    transform: perspective(1100px) rotateY(0) rotateX(0) rotateZ(0);
  }
  25% {
    transform: perspective(1100px) rotateY(-1.2deg) rotateX(0.4deg) rotateZ(-0.12deg);
  }
  50% {
    transform: perspective(1100px) rotateY(0) rotateX(-0.4deg) rotateZ(0);
  }
  75% {
    transform: perspective(1100px) rotateY(1.2deg) rotateX(0.4deg) rotateZ(0.12deg);
  }
}

.profile-cover {
  position: relative;
  height: 154px;
  overflow: hidden;
  background: #d9dadd;
}

.profile-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-banner[hidden] {
  display: none;
}

.profile-cover::before,
.profile-cover::after,
.cover-moon,
.cover-stars {
  display: none;
}

.profile-cover::before,
.profile-cover::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
}

.profile-cover::before {
  top: -165px;
  left: -62px;
  width: 360px;
  height: 360px;
  box-shadow:
    28px 32px 0 -26px rgba(255, 255, 255, 0.12),
    65px 72px 0 -62px rgba(255, 255, 255, 0.18),
    0 0 75px rgba(255, 255, 255, 0.08);
  animation: orbit-turn 70s linear infinite;
}

.profile-cover::after {
  top: 22px;
  right: 52px;
  width: 78px;
  height: 78px;
  background: radial-gradient(circle at 34% 30%, #c4c7ce, #555860 70%);
  box-shadow: 0 0 55px rgba(255, 255, 255, 0.14);
  animation: moon-float 7s ease-in-out infinite;
}

.cover-moon {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.2), rgba(164, 168, 176, 0.08) 65%, transparent);
}

.cover-moon-one {
  top: -63px;
  left: 91px;
  width: 174px;
  height: 174px;
  animation: moon-float 9s ease-in-out infinite reverse;
}

.cover-moon-two {
  top: 77px;
  right: 43%;
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 25px -21px 0 -7px rgba(255, 255, 255, 0.78), 59px 7px 0 -6px rgba(255, 255, 255, 0.72);
}

.cover-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.85) 0.7px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.5) 0.7px, transparent 1px);
  background-position: 12px 18px, 33px 41px;
  background-size: 57px 49px, 83px 71px;
  opacity: 0.38;
  animation: star-drift 36s linear infinite;
}

.profile-content {
  position: relative;
  padding: 0 22px 18px;
}

.identity {
  position: relative;
  padding-top: 10px;
}

.avatar-frame {
  position: relative;
  width: 90px;
  height: 90px;
  margin-top: -57px;
}

.avatar-frame::before {
  position: absolute;
  inset: -4px;
  z-index: 0;
  border: 1px solid rgba(35, 36, 40, 0.22);
  border-radius: 50%;
  content: "";
  opacity: 0.45;
  animation: avatar-halo 5s ease-in-out infinite;
}

.avatar {
  position: relative;
  z-index: 1;
  display: block;
  width: 90px;
  height: 90px;
  border: 6px solid var(--card);
  border-radius: 50%;
  background: var(--card-raised);
  object-fit: cover;
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.avatar-frame:hover .avatar {
  box-shadow: 0 0 24px rgba(35, 36, 40, 0.16);
  transform: scale(1.02);
}

.avatar-decoration {
  position: absolute;
  inset: -10px;
  z-index: 2;
  width: 110px;
  height: 110px;
  pointer-events: none;
}

.avatar-decoration[hidden] {
  display: none;
}

.avatar-status {
  position: absolute;
  right: 2px;
  bottom: 3px;
  z-index: 3;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 4px solid var(--card);
  border-radius: 50%;
  background: #80848e;
}

.status-icon {
  display: none;
  width: 14px;
  height: 14px;
  overflow: visible;
  fill: currentColor;
}

.avatar-status[data-status="online"] {
  background: var(--green);
}

.avatar-status[data-status="online"]::before,
.avatar-status[data-status="online"]::after {
  content: none;
}

.avatar-status[data-status="idle"] {
  background: var(--card);
  color: var(--yellow);
}

.avatar-status[data-status="idle"] .idle-icon,
.avatar-status[data-status="dnd"] .dnd-icon {
  display: block;
}

.avatar-status[data-status="dnd"] {
  background: var(--red);
  color: #fff;
}

.avatar-status[data-status="offline"]::before {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--card);
  content: "";
}

.custom-status {
  position: absolute;
  top: -37px;
  left: 101px;
  z-index: 4;
  display: flex;
  width: max-content;
  max-width: calc(100% - 101px);
  min-height: 34px;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border: 1px solid rgba(35, 36, 40, 0.1);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(35, 36, 40, 0.12);
  color: #33343a;
  font-size: 10px;
  line-height: 1.35;
  animation: status-pop-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.custom-status::before {
  position: absolute;
  bottom: 8px;
  left: -5px;
  width: 9px;
  height: 9px;
  border-bottom: 1px solid rgba(35, 36, 40, 0.1);
  border-left: 1px solid rgba(35, 36, 40, 0.1);
  background: #fff;
  content: "";
  transform: rotate(45deg);
}

.custom-status-text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}

.custom-status-emoji {
  flex: 0 0 auto;
  font-size: 13px;
}

.custom-status-emoji[hidden] {
  display: none;
}

.custom-status-emoji img {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.discord-card[data-status="offline"] .custom-status {
  border-color: #3a3d44;
  background: #25272c;
  color: #f2f3f5;
}

.discord-card[data-status="offline"] .custom-status::before {
  border-color: #3a3d44;
  background: #25272c;
}

.identity-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 11px;
  animation: content-arrive 550ms 100ms both;
}

.identity-copy {
  min-width: 0;
}

h1 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.username {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.identity-meta {
  display: flex;
  min-height: 23px;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 3px;
}

.listening-badge {
  display: inline-flex;
  max-width: 100%;
  min-height: 22px;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  padding: 3px 8px;
  overflow: hidden;
  border: 1px solid rgba(29, 185, 84, 0.26);
  border-radius: 999px;
  background: rgba(29, 185, 84, 0.09);
  color: #16783a;
  font-size: 10px;
  font-weight: 600;
  animation: content-arrive 350ms ease both;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.listening-badge[href] {
  cursor: pointer;
}

.listening-badge[href]:hover {
  transform: translateY(-1px);
  border-color: rgba(29, 185, 84, 0.48);
  background: rgba(29, 185, 84, 0.16);
}

.listening-badge[hidden] {
  display: none;
}

.listening-icon {
  flex: 0 0 auto;
  font-size: 12px;
}

#listening-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discord-card[data-status="offline"] .listening-badge {
  border-color: rgba(75, 211, 121, 0.3);
  background: rgba(29, 185, 84, 0.13);
  color: #71df95;
}

.copy-username {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card-raised);
  color: var(--muted);
  cursor: pointer;
}

.copy-username:hover,
.detail-copy:hover {
  border-color: var(--accent);
  color: var(--text);
}

.copy-username svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.profile-badges {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.tag-chip {
  display: inline-flex;
  min-width: 28px;
  min-height: 21px;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f2f3f5;
  color: var(--text);
  font-size: 10px;
  font-weight: 600;
}

.server-tag {
  background: #e3e5e8;
  color: var(--text);
  letter-spacing: 0.04em;
}

.server-badge-icon {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.full-profile-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 13px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f2f3f5;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  transition: background-color 260ms ease, border-color 260ms ease, transform 260ms ease;
}

.full-profile-link:hover {
  border-color: #b9bbc2;
  background: #e8e9eb;
  transform: translateY(-1px);
}

.profile-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 13px;
}

.detail-item {
  display: flex;
  min-width: 112px;
  flex-direction: column;
  gap: 5px;
  padding: 9px 10px;
  border: 1px solid rgba(35, 36, 40, 0.08);
  border-radius: 8px;
  background: var(--card-raised);
  transition: border-color 260ms ease, background-color 260ms ease, transform 260ms ease;
}

.detail-item:hover {
  border-color: rgba(35, 36, 40, 0.2);
  background: #e8e9eb;
  transform: translateY(-1px);
}

.detail-label {
  color: var(--subtle);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.detail-value,
.detail-copy {
  color: var(--text);
  font-size: 10px;
  font-weight: 500;
}

.detail-copy {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.activity-section {
  margin-top: 17px;
}

.activity-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.activity-section-heading h2 {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.live-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--subtle);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pulse-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.pulse-dot::after {
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(35, 36, 40, 0.3);
  border-radius: 50%;
  content: "";
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  to {
    transform: scale(1.7);
    opacity: 0;
  }
}

.activity-card {
  min-height: 94px;
  padding: 8px 12px;
  border: 1px solid rgba(35, 36, 40, 0.08);
  border-radius: 9px;
  background: var(--activity);
}

.activity-list {
  display: grid;
  gap: 8px;
}

.activity-entry {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  padding: 7px 6px;
  border-radius: 7px;
  transition: background-color 260ms ease, transform 260ms ease;
}

.activity-entry:hover {
  background: rgba(35, 36, 40, 0.04);
  transform: translateX(1px);
}

.activity-entry + .activity-entry {
  border-top: 1px solid rgba(35, 36, 40, 0.1);
  padding-top: 10px;
}

.activity-art {
  display: grid;
  width: 67px;
  height: 67px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.95), transparent 60%),
    #e3e5e8;
  transition: box-shadow 280ms ease, transform 280ms ease;
}

.activity-entry:hover .activity-art {
  box-shadow: 0 0 18px rgba(35, 36, 40, 0.12);
  transform: scale(1.02);
}

.activity-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-image[hidden],
.activity-image-fallback[hidden] {
  display: none;
}

.activity-image-fallback {
  color: var(--text);
  font-size: 27px;
}

.activity-copy {
  min-width: 0;
  flex: 1;
}

.activity-type {
  color: var(--subtle);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.activity-title {
  margin: 3px 0 2px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.activity-detail {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.activity-duration {
  margin: 5px 0 0;
  color: var(--green);
  font-size: 10px;
  font-weight: 600;
}

.activity-empty {
  margin: 8px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.activity-empty span {
  display: block;
  margin-top: 3px;
  color: var(--subtle);
  font-size: 10px;
}

.lanyard-invite {
  display: inline-block;
  margin-top: 9px;
  color: var(--text);
  font-size: 10px;
}

.lanyard-invite[hidden] {
  display: none;
}

.profile-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(35, 36, 40, 0.1);
  color: var(--subtle);
  font-size: 9px;
  animation: content-arrive 550ms 300ms both;
}

@keyframes wings-breathe {
  0%, 100% { opacity: 0.68; scale: 0.99 0.99; }
  50% { opacity: 0.9; scale: 1 1.008; }
}

@keyframes wings-flap-glow {
  0%, 100% { filter: drop-shadow(0 8px 16px var(--wing-glow)); }
  38% { filter: drop-shadow(0 16px 34px var(--wing-glow)); }
  58% { filter: drop-shadow(0 10px 22px var(--wing-glow)); }
  76% { filter: drop-shadow(0 13px 27px var(--wing-glow)); }
}

@keyframes wing-flap-left {
  0%, 100% { transform: rotate(0deg); }
  38% { transform: rotate(9deg); }
  58% { transform: rotate(-2deg); }
  76% { transform: rotate(2deg); }
}

@keyframes wing-flap-right {
  0%, 100% { transform: rotate(0deg); }
  38% { transform: rotate(-9deg); }
  58% { transform: rotate(2deg); }
  76% { transform: rotate(-2deg); }
}

@keyframes status-sparkle-burst {
  0% { opacity: 0; transform: scale(0.25) rotate(-35deg); }
  28% { opacity: 1; transform: scale(1.15) rotate(12deg); }
  68% { opacity: 0.8; transform: scale(0.9) rotate(-8deg); }
  100% { opacity: 0; transform: scale(0.6) rotate(20deg); }
}

@keyframes card-arrive {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes content-arrive {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes status-pop-in {
  from { opacity: 0; transform: translateY(4px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes edge-glint {
  0%, 62%, 100% { left: -38%; opacity: 0; }
  68% { opacity: 1; }
  82% { left: 108%; opacity: 0.8; }
}

@keyframes moon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@keyframes orbit-turn {
  to { transform: rotate(360deg); }
}

@keyframes star-drift {
  to { background-position: 69px 67px, -50px 112px; }
}

@keyframes avatar-halo {
  0%, 100% { opacity: 0.3; transform: scale(0.995); }
  50% { opacity: 0.62; transform: scale(1.025); }
}

.online-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #80848e;
}

.status-dot[data-status="online"] {
  background: var(--green);
}

.status-dot[data-status="idle"] {
  background: var(--yellow);
}

.status-dot[data-status="dnd"] {
  background: var(--red);
}

.platform-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 16px;
}

.platform-indicator {
  display: inline-grid;
  min-width: 16px;
  place-items: center;
  font-size: 13px;
  line-height: 1;
}

.copy-feedback {
  width: 100%;
  color: var(--text);
  text-align: right;
}

@media (max-width: 480px) {
  .profile-stage {
    min-height: 100svh;
    padding: 14px 10px;
  }

  .discord-card {
    border-radius: 11px;
  }

  .profile-cover {
    height: 132px;
  }

  .profile-content {
    padding: 0 15px 15px;
  }

  .detail-item {
    min-width: 0;
    flex: 1 1 30%;
  }

  .activity-card {
    padding: 7px 9px;
  }

  .activity-entry {
    gap: 10px;
  }

  .activity-art {
    width: 58px;
    height: 58px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
