/* ============================================
   KELIBATMU V2 - PROFILE SHELL
   Namespace: kv2-profile-
   ============================================ */

.kv2-profile-shell {
  --kv2-profile-bg: var(--theme-page-bg-deep);
  --kv2-profile-ink: var(--color-text-primary);
  --kv2-profile-muted: var(--color-text-secondary);
  --kv2-profile-faint: var(--color-text-muted);
  --kv2-profile-line: var(--theme-border);
  --kv2-profile-surface: color-mix(in srgb, var(--theme-surface) 78%, transparent);
  --kv2-profile-surface-strong: color-mix(in srgb, var(--theme-surface-raised) 86%, transparent);
  --kv2-profile-card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)), rgba(9, 10, 12, 0.88);
  --kv2-profile-accent: var(--color-primary, #94d18a);
  --kv2-profile-accent-soft: color-mix(in srgb, var(--kv2-profile-accent) 16%, transparent);
  --kv2-profile-accent-border: color-mix(in srgb, var(--kv2-profile-accent) 28%, transparent);
  --kv2-profile-crimson: rgba(150, 48, 62, 0.92);
  --kv2-profile-ember: rgba(224, 148, 113, 0.72);
  --kv2-profile-mint: color-mix(in srgb, var(--kv2-profile-accent) 78%, white 8%);
  --kv2-profile-z-atmosphere: 0;
  --kv2-profile-z-content: 2;
  --kv2-profile-z-hero: 3;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  overflow-y: visible;
  background:
    radial-gradient(circle at 22% 8%, rgba(127, 186, 119, 0.08), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(197, 154, 82, 0.035), transparent 26%),
    linear-gradient(180deg, var(--theme-page-bg) 0%, var(--kv2-profile-bg) 42%, var(--theme-page-bg-deep) 100%);
  color: var(--kv2-profile-ink);
}

.kv2-profile-shell[data-kv2-room-theme="green-room"] {
  --kv2-profile-crimson: rgba(88, 138, 92, 0.9);
  --kv2-profile-ember: rgba(160, 255, 170, 0.72);
  --kv2-profile-mint: rgba(188, 255, 198, 0.78);
}

.kv2-profile-shell[data-kv2-room-theme="afterglow-archive"] {
  --kv2-profile-crimson: rgba(172, 78, 68, 0.9);
  --kv2-profile-ember: rgba(232, 166, 122, 0.78);
  --kv2-profile-mint: rgba(255, 205, 160, 0.66);
}

.kv2-profile-shell[data-kv2-room-theme="rain-window"] {
  --kv2-profile-crimson: rgba(74, 104, 140, 0.88);
  --kv2-profile-ember: rgba(160, 190, 224, 0.76);
  --kv2-profile-mint: rgba(170, 220, 232, 0.68);
}

.kv2-profile-stage {
  position: relative;
  z-index: var(--kv2-profile-z-content);
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 calc(64px + env(safe-area-inset-bottom));
}

.kv2-profile-atmosphere {
  position: absolute;
  inset: 0;
  z-index: var(--kv2-profile-z-atmosphere);
  pointer-events: none;
  overflow: hidden;
}

.kv2-profile-atmosphere-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(36px);
  opacity: 0.34;
  transform: translate3d(0, 0, 0);
}

.kv2-profile-atmosphere-glow-primary {
  width: 42vw;
  height: 42vw;
  top: -12vw;
  left: -14vw;
  background: rgba(150, 48, 62, 0.32);
}

.kv2-profile-atmosphere-glow-secondary {
  width: 34vw;
  height: 34vw;
  right: -12vw;
  top: 12vh;
  background: rgba(160, 255, 170, 0.13);
}

.kv2-profile-atmosphere-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.22);
  animation: kv2-profile-float 9s var(--ease-soft, ease) infinite;
}

.kv2-profile-atmosphere-particle:nth-child(3) {
  left: 18%;
  top: 36%;
  animation-delay: -2s;
}

.kv2-profile-atmosphere-particle:nth-child(4) {
  left: 68%;
  top: 18%;
  animation-delay: -4s;
}

.kv2-profile-atmosphere-particle:nth-child(5) {
  left: 84%;
  top: 62%;
  animation-delay: -6s;
}

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

.kv2-profile-main {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.kv2-profile-main--archive {
  margin-top: 18px;
}

.kv2-profile-endpoint-nav {
  display: flex;
  margin: 0 0 12px;
}

.kv2-profile-endpoint-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.055);
  font-size: var(--kv2-font-button);
  font-weight: 750;
  text-decoration: none;
}

.kv2-profile-section,
.kv2-profile-identity-panel {
  border: 1px solid var(--kv2-profile-line);
  background: var(--kv2-profile-card-bg);
  border-radius: 16px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.kv2-profile-section {
  padding: 14px;
}

.kv2-profile-identity {
  position: sticky;
  top: 92px;
}

.kv2-profile-identity-panel {
  padding: 14px;
}

.kv2-profile-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 9px;
}

.kv2-profile-section-label {
  margin: 0 0 3px;
  color: var(--kv2-profile-accent);
  font-size: var(--kv2-font-meta);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.kv2-profile-section-title {
  margin: 0;
  color: var(--kv2-profile-ink);
  font-size: var(--kv2-font-section-title);
  font-weight: var(--kv2-weight-section-title);
  line-height: var(--kv2-line-section-title);
  letter-spacing: var(--kv2-track-section-title);
}

.kv2-profile-empty-state {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  color: var(--kv2-profile-muted);
  background: rgba(255, 255, 255, 0.025);
}

.kv2-profile-empty-state h3 {
  margin: 0 0 6px;
  color: var(--kv2-profile-ink);
  font-size: 1rem;
  font-weight: 620;
}

.kv2-profile-empty-state p {
  margin: 0;
  font-size: var(--kv2-font-caption);
  line-height: var(--kv2-line-body);
}

.kv2-profile-identity-text {
  margin: 7px 0 9px;
  color: var(--kv2-profile-muted);
  font-size: var(--kv2-font-body);
  line-height: var(--kv2-line-body);
}

.kv2-profile-identity-list {
  display: grid;
  gap: 6px;
}

.kv2-profile-identity-row {
  display: grid;
  grid-template-columns: minmax(88px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.kv2-profile-identity-row--note {
  grid-template-columns: 1fr;
  gap: 6px;
}

.kv2-profile-identity-row--note .kv2-profile-identity-value {
  display: -webkit-box;
  overflow: hidden;
  text-align: left;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

/* Stacked layout for Favorite artist, Genres, Quote, and Links */
.kv2-profile-identity-row--stacked {
  grid-template-columns: 1fr;
  gap: 6px;
}

.kv2-profile-identity-row--stacked .kv2-profile-identity-key {
  display: block;
}

.kv2-profile-identity-row--stacked .kv2-profile-identity-value {
  display: block;
  width: 100%;
  text-align: left;
  overflow-wrap: anywhere;
}

.kv2-profile-identity-row--stacked .kv2-profile-identity-links {
  justify-content: flex-start;
}

.kv2-profile-identity-key,
.kv2-profile-identity-value {
  font-size: var(--kv2-font-caption);
  line-height: var(--kv2-line-caption);
}

.kv2-profile-identity-key {
  color: var(--kv2-profile-faint);
}

.kv2-profile-identity-value {
  color: rgba(255, 255, 255, 0.78);
  text-align: right;
  overflow-wrap: anywhere;
}

.kv2-profile-identity-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.kv2-profile-identity-links a {
  color: var(--kv2-profile-mint);
  font-size: var(--kv2-font-caption);
  font-weight: 750;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.kv2-profile-identity-links a svg {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  color: var(--kv2-profile-mint);
}

.kv2-profile-future-expansion {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.kv2-profile-future-node {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--kv2-profile-faint);
  background: rgba(255, 255, 255, 0.025);
  font-size: var(--kv2-font-caption);
}

.kv2-profile-edit-header {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.kv2-profile-edit-cover {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 118px;
  max-height: 210px;
  margin-bottom: -42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.58);
  background:
    linear-gradient(135deg, rgba(150, 48, 62, 0.38), rgba(20, 22, 28, 0.9)),
    rgba(255, 255, 255, 0.04);
  font-size: var(--kv2-font-caption);
  font-weight: 800;
  text-transform: uppercase;
}

.kv2-profile-edit-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kv2-profile-edit-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin-bottom: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(150, 48, 62, 0.38), rgba(160, 255, 170, 0.12));
}

.kv2-profile-edit-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.kv2-profile-edit-avatar-letter {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--kv2-font-page-title);
  font-weight: 700;
}

.kv2-profile-edit-display-name {
  color: rgba(255, 255, 255, 0.94);
  font-size: var(--kv2-font-card-title);
  font-weight: 700;
}

.kv2-profile-edit-username {
  color: rgba(224, 148, 113, 0.72);
  font-size: var(--kv2-font-caption);
}

.kv2-upload-guidance,
.kv2-field-counter {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: var(--kv2-font-caption);
  line-height: 1.35;
}

body.kv2-image-editor-open {
  overflow: hidden;
}

.kv2-image-editor[hidden] {
  display: none;
}

.kv2-image-editor {
  position: fixed;
  inset: 0;
  z-index: 15000;
  display: grid;
  place-items: center;
  padding: 18px;
}

.kv2-image-editor__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(148, 209, 138, 0.12), transparent 36%),
    rgba(3, 5, 8, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.kv2-image-editor__panel {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(560px, 100%);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  border: 1px solid rgba(148, 209, 138, 0.18);
  border-radius: 18px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.024)),
    rgba(9, 11, 15, 0.92);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
}

.kv2-image-editor__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.kv2-image-editor__header p,
.kv2-image-editor__header h2 {
  margin: 0;
}

.kv2-image-editor__header p {
  color: rgba(148, 209, 138, 0.82);
  font-size: var(--kv2-font-meta);
  font-weight: 760;
  text-transform: uppercase;
}

.kv2-image-editor__header h2 {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.94);
  font-size: var(--kv2-font-card-title);
  letter-spacing: 0;
}

.kv2-image-editor__icon,
.kv2-image-editor__controls button,
.kv2-image-editor__actions button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  cursor: pointer;
}

.kv2-image-editor__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.kv2-image-editor__stage {
  display: grid;
  place-items: center;
}

.kv2-image-editor__frame {
  position: relative;
  width: min(100%, 440px);
  max-height: 54dvh;
  overflow: hidden;
  border: 1px solid rgba(148, 209, 138, 0.26);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.4);
  box-shadow:
    0 0 0 999px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  cursor: grab;
  touch-action: none;
}

.kv2-image-editor__frame:active {
  cursor: grabbing;
}

.kv2-image-editor__frame img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  user-select: none;
  pointer-events: none;
  transform-origin: center;
}

.kv2-image-editor__controls {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  gap: 10px;
  align-items: center;
}

.kv2-image-editor__controls button {
  height: 38px;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 800;
}

.kv2-image-editor__controls input[type="range"] {
  width: 100%;
  accent-color: rgba(148, 209, 138, 0.9);
}

.kv2-image-editor__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 10px;
}

.kv2-image-editor__actions button {
  min-height: 38px;
  border-radius: 999px;
  padding: 0 14px;
  font-size: var(--kv2-font-button);
  font-weight: 760;
}

.kv2-image-editor__actions [data-editor-save] {
  border-color: rgba(148, 209, 138, 0.38);
  color: #071008;
  background: linear-gradient(135deg, rgba(180, 238, 167, 0.96), rgba(113, 176, 103, 0.94));
}

.kv2-field-counter {
  text-align: right;
}

.kv2-field-counter--warning {
  color: #f2b84b;
}

.kv2-field-counter--danger {
  color: #ff7a7a;
}

.kv2-my-sound-editor {
  display: grid;
  gap: 12px;
}

.kv2-my-sound-editor__preview,
.kv2-my-sound-editor__trim {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.kv2-my-sound-editor__preview {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.kv2-my-sound-editor__art {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  overflow: hidden;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  font-size: var(--kv2-font-card-title);
  font-weight: 800;
}

.kv2-my-sound-editor__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kv2-my-sound-editor__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.kv2-my-sound-editor__copy strong,
.kv2-my-sound-editor__copy span,
.kv2-my-sound-editor__copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kv2-my-sound-editor__copy strong {
  color: rgba(255, 255, 255, 0.94);
  font-size: var(--kv2-font-small);
}

.kv2-my-sound-editor__copy span {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--kv2-font-caption);
}

.kv2-my-sound-editor__copy small {
  color: rgba(224, 148, 113, 0.72);
  font-size: var(--kv2-font-meta);
  font-weight: 800;
  text-transform: uppercase;
}

.kv2-my-sound-editor__trim {
  display: grid;
  gap: 10px;
}

.kv2-my-sound-editor__trim[hidden] {
  display: none;
}

.kv2-my-sound-editor__trim audio {
  width: 100%;
}

.kv2-my-sound-editor__trim input[type="range"] {
  width: 100%;
  accent-color: rgba(224, 148, 113, 0.9);
}

.kv2-my-sound-editor__trim-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.52);
  font-size: var(--kv2-font-caption);
}

.kv2-my-sound-editor__preview-button {
  justify-self: start;
  min-height: 38px;
  border: 1px solid rgba(212, 175, 55, 0.36);
  border-radius: 999px;
  padding: 0 14px;
  color: #0b0b0d;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.95), rgba(147, 109, 28, 0.95));
  font: inherit;
  font-size: var(--kv2-font-button);
  font-weight: var(--kv2-weight-button);
  cursor: pointer;
}

textarea.auth-input,
.kv2-profile-status__composer-input,
.kv2-profile-status-edit__textarea,
.kv2-profile-status-comment-form textarea {
  resize: none;
  overflow-y: hidden;
}

@media (max-width: 560px) {
  .kv2-profile-edit-cover {
    min-height: 96px;
    margin-bottom: -36px;
    border-radius: 16px;
  }

  .kv2-profile-edit-avatar {
    width: 96px;
    height: 96px;
    border-radius: 24px;
  }
}

.kv2-profile-social-card {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  border: 1px solid var(--kv2-profile-line);
  border-radius: 16px;
  padding: 13px;
  background: var(--kv2-profile-card-bg);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.kv2-profile-social-card__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.kv2-profile-social-card__heading h2,
.kv2-profile-social-card__heading a,
.kv2-profile-social-card__heading span {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.2;
}

.kv2-profile-social-card__heading h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--kv2-profile-accent);
  font-weight: 720;
}

.kv2-profile-social-card__heading a,
.kv2-profile-social-card__heading span {
  flex: 0 0 auto;
  color: var(--kv2-profile-accent);
  font-weight: 620;
  text-decoration: none;
}

.kv2-profile-social-card svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kv2-profile-suggestion-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.kv2-profile-suggestion {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
  color: var(--kv2-profile-ink);
  text-decoration: none;
}

.kv2-profile-suggestion__avatar,
.kv2-profile-common-avatars span,
.kv2-profile-my-sound__art {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--kv2-profile-accent-border);
  color: var(--kv2-profile-accent);
  background: var(--kv2-profile-accent-soft);
}

.kv2-profile-suggestion__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.kv2-profile-suggestion__avatar img,
.kv2-profile-common-avatars img,
.kv2-profile-my-sound__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.kv2-profile-suggestion__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.kv2-profile-suggestion__copy strong,
.kv2-profile-suggestion__copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kv2-profile-suggestion__copy strong {
  color: var(--kv2-profile-ink);
  font-size: 0.82rem;
}

.kv2-profile-suggestion__copy small {
  color: var(--kv2-profile-muted);
  font-size: 0.72rem;
}

.kv2-profile-common-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.kv2-profile-common-avatars {
  display: flex;
  align-items: center;
}

.kv2-profile-common-avatars span {
  width: 34px;
  height: 34px;
  margin-right: -8px;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 760;
}

.kv2-profile-common-row a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--kv2-profile-muted);
  text-decoration: none;
}

.kv2-profile-mobile-tabs {
  display: none;
}

.kv2-profile-my-sound-card .kv2-profile-my-sound {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 14px;
  padding: 8px;
  color: inherit;
  background: rgba(255, 255, 255, 0.028);
  text-align: left;
}

.kv2-profile-my-sound__art {
  width: 58px;
  height: 58px;
  border-radius: 10px;
}

.kv2-profile-my-sound__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.kv2-profile-my-sound__copy strong,
.kv2-profile-my-sound__copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kv2-profile-my-sound__copy strong {
  color: var(--kv2-profile-ink);
  font-size: 0.96rem;
  font-weight: 720;
}

.kv2-profile-my-sound__copy small {
  color: var(--kv2-profile-muted);
  font-size: 0.78rem;
}

.kv2-profile-my-sound__preview {
  display: inline-grid;
  justify-items: center;
  gap: 4px;
  color: var(--kv2-profile-accent);
  font-size: 0.72rem;
  font-weight: 620;
}

.kv2-profile-my-sound__preview svg {
  width: 30px;
  height: 30px;
  padding: 8px;
  border: 1px solid var(--kv2-profile-accent-border);
  border-radius: 50%;
  fill: currentColor;
  stroke: none;
}

@media (max-width: 760px) {
  .kv2-profile-shell {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.16), transparent 180px),
      var(--theme-page-bg-deep);
  }

  .kv2-profile-stage {
    display: grid;
    gap: 10px;
  }

  .kv2-profile-layout {
    gap: 10px;
    margin-top: 0;
  }

  .kv2-profile-social-card,
  .kv2-profile-section,
  .kv2-profile-identity-panel {
    border-radius: 14px;
  }

  .kv2-profile-suggestion-list {
    grid-template-columns: 1fr;
  }

  .kv2-profile-mobile-tabs {
    display: flex;
    gap: 22px;
    align-items: center;
    overflow-x: auto;
    padding: 0 2px 4px;
    border-bottom: 1px solid var(--kv2-profile-line);
  }

  .kv2-profile-mobile-tabs a {
    position: relative;
    flex: 0 0 auto;
    padding: 8px 0 10px;
    color: var(--kv2-profile-muted);
    font-size: 0.9rem;
    font-weight: 620;
    text-decoration: none;
  }

  .kv2-profile-mobile-tabs a.is-active {
    color: var(--kv2-profile-accent);
  }

  .kv2-profile-mobile-tabs a.is-active::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--kv2-profile-accent);
    content: "";
  }
}

:root[data-theme-preference="light"] .kv2-profile-shell {
  --kv2-profile-card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 246, 239, 0.88));
  --kv2-profile-accent: #5f7f4b;
  --kv2-profile-accent-soft: rgba(95, 127, 75, 0.1);
  --kv2-profile-accent-border: rgba(95, 127, 75, 0.22);
}

@media (prefers-color-scheme: light) {
  :root[data-theme-preference="system"] .kv2-profile-shell {
    --kv2-profile-card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 246, 239, 0.88));
    --kv2-profile-accent: #5f7f4b;
    --kv2-profile-accent-soft: rgba(95, 127, 75, 0.1);
    --kv2-profile-accent-border: rgba(95, 127, 75, 0.22);
  }
}

@keyframes kv2-profile-float {
  0%,
  100% {
    opacity: 0.18;
    transform: translate3d(0, 0, 0);
  }
  50% {
    opacity: 0.46;
    transform: translate3d(0, -18px, 0);
  }
}

/* Allow links to wrap on very narrow screens */
@media (max-width: 420px) {
  .kv2-profile-identity-links a {
    white-space: normal;
    word-break: keep-all;
  }
}
