[v-cloak] {
  display: none !important;
}

.profile-page {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: -0.5rem;
}

.profile-page--has-bg .profile-card,
.profile-page--has-bg .stats-panel,
.profile-page--has-bg .score-panel {
  background: oklch(0.14 0 0 / 0.88);
  backdrop-filter: blur(10px);
}

.profile-card {
  overflow: hidden;
}

.profile-cover {
  height: clamp(120px, 22vw, 180px);
  background-color: var(--surface-3);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.profile-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 64px;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  display: block;
}

.avatar-frame {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  padding: 3px;
  border-radius: 14px;
  background: transparent;
}

.avatar-frame .profile-avatar {
  border: none;
}

.avatar-frame.frame-ink {
  background: linear-gradient(135deg, #d0d0d0, #5a5a5a 45%, #f2f2f2);
  box-shadow: 0 0 0 1px oklch(1 0 0 / 0.08);
}

.avatar-frame.frame-neon {
  background: linear-gradient(135deg, #39ff14, #00e5ff, #ff00aa);
  box-shadow: 0 0 12px oklch(0.75 0.2 150 / 0.35);
}

.avatar-frame.frame-gold {
  background: linear-gradient(135deg, #fff1a8, #c9a227 40%, #fff6c8 70%, #8a6a12);
  box-shadow: 0 0 10px oklch(0.78 0.1 95 / 0.3);
}

.avatar-frame.frame-sakura {
  background: linear-gradient(135deg, #ffd6e7, #ff8fb8 50%, #ffe8f1);
  box-shadow: 0 0 10px oklch(0.8 0.08 350 / 0.28);
}

.avatar-frame.frame-void {
  background: linear-gradient(135deg, #1a1028, #6b3fa0 50%, #0d0818);
  box-shadow: 0 0 14px oklch(0.45 0.14 300 / 0.45);
}

.avatar-frame.frame-ice {
  background: linear-gradient(135deg, #e8fbff, #7ad7ff 40%, #f4ffff 70%, #3aa0d8);
  box-shadow: 0 0 12px oklch(0.8 0.08 230 / 0.35);
}

.profile-info {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.profile-name-row {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  height: 22px;
}

.profile-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  margin-left: auto;
  align-self: center;
}

.profile-friend-btn {
  height: 32px;
  min-height: 32px;
  min-width: 7.5rem;
  padding: 0 0.9rem;
  font-size: 12px;
  white-space: nowrap;
}

.profile-friend-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.profile-flag {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
  flex: 0 0 18px;
  display: block;
}

.profile-identity {
  display: inline-flex;
  flex-flow: row nowrap;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  height: 22px;
}

.profile-clan-tag {
  display: inline;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.profile-clan-tag:hover {
  color: var(--ink);
}

.profile-name {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(100%, 280px);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 18px;
  padding: 0 7px;
  margin: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  flex: 0 0 auto;
}

.status-badge.online {
  border-color: oklch(0.5 0.1 145);
  color: oklch(0.8 0.1 145);
}

.profile-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  min-width: 0;
}

.profile-badges > li {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  height: 18px;
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 18px;
  padding: 0 7px;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.profile-badge-verified {
  border-color: oklch(0.45 0.06 145);
  color: oklch(0.78 0.08 145);
}

.profile-badge-player {
  border-color: oklch(0.5 0.04 250);
  color: oklch(0.82 0.04 250);
}

.profile-badge-supporter {
  border-color: oklch(0.55 0.08 85);
  color: oklch(0.84 0.08 85);
}

.profile-badge-moderator {
  border-color: oklch(0.5 0.05 220);
  color: oklch(0.8 0.05 220);
}

.profile-badge-staff {
  border-color: oklch(0.7 0 0);
  color: oklch(0.92 0 0);
  background: oklch(0.2 0 0);
}

.profile-activity {
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.2;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.profile-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--border);
}

.filter-group {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.filter-group + .filter-group {
  margin-left: 4px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

.filter-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 26px;
  min-width: 0;
  padding: 0 10px;
  margin: 0;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 550;
  line-height: 1;
  letter-spacing: 0;
  cursor: pointer;
  white-space: nowrap;
  vertical-align: middle;
}

.filter-btn:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.filter-btn.active {
  color: var(--ink);
  background: var(--surface-2);
  border-color: var(--border-strong);
}

.filter-btn:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.profile-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.stats-panel {
  padding: 12px 14px;
}

.score-panel {
  padding: 10px 12px;
}

.panel-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}

.panel-head .panel-label {
  margin: 0;
}

.stats-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stats-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.stats-list li:first-child {
  padding-top: 0;
}

.stats-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.stats-list span {
  color: var(--muted);
}

.stats-list b {
  color: var(--ink);
  font-weight: 600;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.stats-country-rank {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}

.stats-country-rank:hover b {
  text-decoration: underline;
}

.stats-country-rank img {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
}

.grades {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.grade-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 11px;
  font-family: var(--font-mono);
}

.grade-item em {
  font-style: normal;
  font-weight: 700;
}

.g-xh, .g-x { color: oklch(0.92 0 0); }
.g-sh, .g-s { color: oklch(0.82 0.12 95); }
.g-a { color: oklch(0.75 0.14 145); }
.g-b { color: oklch(0.72 0.12 250); }
.g-c { color: oklch(0.7 0.14 320); }
.g-d, .g-f { color: var(--danger); }

.scores-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.score-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.score-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  min-width: 0;
}

.score-list li:first-child .score-item {
  padding-top: 0;
}

.score-list li:last-child .score-item {
  border-bottom: 0;
  padding-bottom: 0;
}

.first-places-count {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}

.first-place-rank {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 650;
  text-align: center;
}

/* Most played — compact Morphis list with covers */
.most-played-panel {
  padding-bottom: 12px;
}

.most-played-head {
  margin-bottom: 8px;
}

.most-played-count {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.most-played-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.most-played-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  overflow: hidden;
  transition: border-color 160ms ease-out;
}

.most-played-item:hover {
  border-color: oklch(0.4 0 0);
}

.most-played-cover {
  display: block;
  width: 72px;
  min-height: 48px;
  background-color: var(--surface);
  background-size: cover;
  background-position: center;
  border-right: 1px solid var(--border);
}

.most-played-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 8px 10px;
}

.most-played-meta strong {
  font-size: 13px;
  font-weight: 550;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.most-played-by {
  color: var(--muted);
  font-weight: 450;
}

.most-played-meta small {
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.most-played-plays {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: center;
  padding: 0 12px 0 4px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.most-played-plays svg {
  flex: 0 0 auto;
  opacity: 0.75;
}

.show-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 160ms ease-out;
}

.show-more-btn:hover {
  border-color: oklch(0.4 0 0);
}

.show-more-btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .most-played-item,
  .show-more-btn {
    transition: none;
  }
}

.score-item .g {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
}

.score-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.score-text strong {
  font-size: 13px;
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.score-text small {
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.score-pp {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}

.empty {
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.stats-skeleton {
  height: 180px;
}

.score-skeleton {
  height: 40px;
}

@media (max-width: 920px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-name {
    max-width: 100%;
    white-space: normal;
  }

  .score-item {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .score-item:not(.score-item--map) .score-pp {
    grid-column: 2;
  }

  .most-played-item {
    grid-template-columns: 56px minmax(0, 1fr) auto;
  }

  .most-played-cover {
    width: 56px;
    min-height: 44px;
  }

  .most-played-meta {
    padding: 7px 8px;
  }

  .most-played-meta strong {
    font-size: 12px;
  }

  .most-played-plays {
    padding-right: 10px;
    font-size: 11px;
  }
}

/* ── Profile sidebar (stats + bio) ──────────────────────────────────── */
.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Bio panel (in main content column, full width) ──────────────────── */
.profile-bio-panel {
  padding: 12px 14px;
}

.profile-bio-content {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink);
  word-wrap: break-word;
  overflow-wrap: break-word;
  margin-top: 8px;
}

/* BBCode formatting styles (osu!-inspired) */
.profile-bio-content strong {
  font-weight: 650;
  color: var(--ink);
}

.profile-bio-content em {
  font-style: italic;
}

.profile-bio-content u {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.profile-bio-content s {
  text-decoration: line-through;
  opacity: 0.75;
}

.profile-bio-content .bio-heading {
  margin: 18px 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.3;
}

.profile-bio-content .bio-heading:first-child {
  margin-top: 0;
}

.profile-bio-content .bio-subheading {
  margin: 14px 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.profile-bio-content .bio-center {
  text-align: center;
  margin: 10px 0;
}

.profile-bio-content .bio-right {
  text-align: right;
  margin: 10px 0;
}

.profile-bio-content a {
  color: oklch(0.65 0.12 250);
  text-decoration: none;
  border-bottom: 1px solid oklch(0.65 0.12 250 / 0.3);
  transition: border-color 0.15s ease;
}

.profile-bio-content a:hover {
  border-bottom-color: oklch(0.65 0.12 250);
}

.profile-bio-content .bio-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 14px auto;
  display: block;
  border: 1px solid var(--border);
  background: var(--surface);
}

.profile-bio-content .bio-box {
  margin: 14px 0;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
}

.profile-bio-content .bio-notice {
  margin: 14px 0;
  padding: 14px 16px;
  border-left: 3px solid oklch(0.65 0.12 250);
  border-radius: 8px;
  background: oklch(0.65 0.12 250 / 0.08);
}

.profile-bio-content .bio-list {
  margin: 10px 0;
  padding-left: 28px;
  list-style: disc;
}

.profile-bio-content .bio-list li {
  margin: 5px 0;
  padding-left: 4px;
  line-height: 1.6;
}

.profile-bio-content .bio-quote {
  margin: 14px 0;
  padding: 12px 16px;
  border-left: 3px solid var(--border-strong);
  background: var(--surface-2);
  border-radius: 8px;
  font-style: italic;
  color: var(--muted);
}

.profile-bio-content .bio-code {
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
}

.profile-bio-content .bio-spoiler {
  padding: 2px 8px;
  border-radius: 5px;
  background: var(--surface-3);
  color: transparent;
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.profile-bio-content .bio-spoiler:hover {
  background: var(--surface-2);
}

.profile-bio-content .bio-spoiler.revealed {
  color: var(--ink);
  background: transparent;
  cursor: default;
}

/* ── Drag-and-drop handle ─────────────────────────────────────────────── */
.panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-drag-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 4px;
  color: var(--muted);
  cursor: grab;
  opacity: 0;
  transition: opacity 0.15s ease, color 0.15s ease;
  user-select: none;
}

.panel-drag-handle:active {
  cursor: grabbing;
}

/* Show handle on hover of the whole panel */
.score-panel:hover .panel-drag-handle,
.most-played-panel:hover .panel-drag-handle {
  opacity: 1;
}

.panel-drag-handle:hover {
  color: var(--ink);
  background: var(--surface-2);
}

/* Source block while being moved */
[data-block].is-dragging {
  opacity: 0.3;
}

/* ── Streak Panel ─────────────────────────────────────────────────────── */
.streak-panel {
  padding: 14px 16px;
}

.streak-display {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.streak-current {
  display: flex;
  align-items: center;
  gap: 16px;
}

.streak-fire {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border);
  color: var(--muted);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.streak-fire svg {
  filter: drop-shadow(0 0 3px currentColor);
  transition: transform 0.3s ease;
}

.streak-fire--active {
  background: radial-gradient(circle at 30% 30%, 
    oklch(0.28 0.12 45), 
    oklch(0.22 0.1 35), 
    oklch(0.18 0.08 25)
  );
  border-color: oklch(0.55 0.18 40);
  color: oklch(0.78 0.2 45);
  box-shadow: 
    0 0 15px oklch(0.6 0.2 40 / 0.5),
    0 0 30px oklch(0.6 0.2 40 / 0.25),
    inset 0 -8px 20px oklch(0.6 0.25 35 / 0.3);
  animation: fireGlow 2.5s ease-in-out infinite;
}

.streak-fire--active svg {
  animation: flicker 1.5s ease-in-out infinite;
}

@keyframes fireGlow {
  0%, 100% {
    box-shadow: 
      0 0 15px oklch(0.6 0.2 40 / 0.5),
      0 0 30px oklch(0.6 0.2 40 / 0.25),
      inset 0 -8px 20px oklch(0.6 0.25 35 / 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 
      0 0 20px oklch(0.65 0.22 42 / 0.6),
      0 0 40px oklch(0.65 0.22 42 / 0.35),
      inset 0 -8px 25px oklch(0.65 0.25 38 / 0.4);
    transform: scale(1.03);
  }
}

@keyframes flicker {
  0%, 100% { transform: scale(1) translateY(0); }
  25% { transform: scale(1.05) translateY(-1px); }
  50% { transform: scale(0.98) translateY(1px); }
  75% { transform: scale(1.02) translateY(-0.5px); }
}

.streak-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.streak-number {
  font-size: 32px;
  font-weight: 700;
  font-family: var(--font-mono);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.streak-label {
  font-size: 12px;
  color: var(--muted);
  line-height: 1;
  letter-spacing: 0.01em;
}

.streak-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
}

.streak-progress-text {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.streak-progress-bar {
  height: 8px;
  background: var(--surface-3);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}

.streak-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, 
    oklch(0.62 0.2 35), 
    oklch(0.7 0.22 42), 
    oklch(0.78 0.2 45)
  );
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 0 12px oklch(0.65 0.2 40 / 0.6),
    inset 0 1px 0 oklch(1 0 0 / 0.2);
  position: relative;
}

.streak-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, 
    oklch(1 0 0 / 0.3), 
    transparent
  );
  border-radius: 999px 999px 0 0;
}

.streak-record {
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .streak-fire--active,
  .streak-fire--active svg {
    animation: none;
  }
  
  .streak-progress-fill {
    transition: none;
  }
}

/* Drop target highlight — not used in pointer mode */

@media (max-width: 760px) {
  .profile-page {
    margin-top: 0;
    gap: 12px;
  }

  .profile-cover {
    height: 110px;
  }

  .profile-body {
    padding: 12px 12px 14px;
  }

  .profile-avatar {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .profile-top {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .profile-info {
    flex: 1 1 calc(100% - 76px);
  }

  .profile-name {
    max-width: min(100%, 160px);
  }

  .profile-actions {
    flex: 1 1 100%;
    margin-left: 0;
    width: 100%;
    justify-content: stretch;
  }

  .profile-friend-btn {
    width: 100%;
    min-width: 0;
  }
}
