:root {
  color-scheme: dark;
  --accent-h: 220;
  --accent-s: 70%;
  --accent-l: 65%;
  --accent: hsl(var(--accent-h), var(--accent-s), var(--accent-l));
  --accent-glow: hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.35);
}

@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: rgba(255, 255, 255, 0.92);
  background: #05060a;
  overflow: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
}

/* ── Particle canvas ── */
.particle-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}


/* ── Reveal animations ── */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealScale {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes revealFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  animation: revealUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal--scale {
  animation-name: revealScale;
}

.reveal--delay-1 {
  animation-delay: 0.08s;
}

.reveal--delay-2 {
  animation-delay: 0.18s;
}

.reveal--delay-3 {
  animation-delay: 0.30s;
}

.reveal--delay-4 {
  animation-delay: 0.44s;
}

.reveal--delay-5 {
  animation-delay: 0.58s;
}

/* ── Page transition ── */
.page-transition {
  animation: revealFadeIn 0.5s ease forwards;
}

.bg__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05) brightness(0.8);
  pointer-events: none;
}

.bg__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(1200px 600px at 20% 20%, rgba(255, 255, 255, 0.08), transparent 55%),
    radial-gradient(900px 500px at 80% 70%, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

/* Toast / notification (copied from YouTube Lookup site) */
.toast {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  transform: translateX(-50%) translateY(-10px);
  opacity: 0;
  pointer-events: none;

  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition: opacity 180ms ease, transform 220ms ease;
}

.toast--hide {
  opacity: 0;
  transform: translateX(-50%) translateY(-10px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.toast__text {
  font-size: 14px;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.2px;
}

.page {
  min-height: 100svh;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
}

.navTop {
  position: fixed;
  top: 18px;
  z-index: 5;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.1);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
}

a.navTop,
a.navTop.navTop--link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
}

.navTopWrap {
  position: fixed;
  top: 18px;
  z-index: 6;
  display: flex;
  gap: 10px;
  align-items: center;
}

.navTopWrap--right {
  right: 18px;
}

.navTopWrap .navTop {
  position: static;
  top: auto;
  right: auto;
  left: auto;
}

.navTop--right {
  right: 18px;
}

.navTop:hover {
  background: rgba(0, 0, 0, 0.18);
}

.navTop:active {
  transform: translateY(1px);
}

.cardStack {
  display: grid;
  place-items: center;
}

.bentoSection {
  width: min(860px, 94vw);
  margin-top: 38px;
}

.bentoGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  justify-items: center;
}

.bentoTile {
  min-height: 110px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  display: grid;
  align-content: space-between;
  gap: 8px;
  transition: transform 260ms ease, background 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
  position: relative;
}

.bentoTile:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 30px -8px rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.bentoTile:active {
  transform: translateY(1px);
}

.bentoTile--wide {
  grid-column: span 2;
  min-height: 130px;
}

.bentoTile--single {
  width: min(200px, 40vw);
  min-height: 52px;
  padding: 8px 10px;
  align-content: center;
  place-items: center;
}

.bentoTile__label {
  font-size: clamp(14px, 2.2vw, 18px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.2px;
}

.bentoTile__meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.viewCard {
  grid-area: 1 / 1;
}

.card {
  width: min(860px, 94vw);
  padding: clamp(20px, 4.6vw, 34px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 12px 42px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  --border-angle: 0deg;
  transition: box-shadow 0.4s ease;
}

.card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  padding: 1px;
  background: conic-gradient(from var(--border-angle), transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
  animation: borderSpin 3s linear infinite;
}

.card:hover {
  box-shadow:
    0 12px 42px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 40px -12px rgba(255, 255, 255, 0.25);
}

@keyframes borderSpin {
  to {
    --border-angle: 360deg;
  }
}

.card__title {
  margin: 0 0 14px 0;
  font-size: clamp(26px, 3.6vw, 44px);
  letter-spacing: 0.2px;
  line-height: 1.12;
}

.card__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.card__heading {
  min-width: 0;
}

.card__subtitle {
  margin: 0;
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.card__avatar {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.card__right {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}

.card__email {
  background: transparent;
  border: none;
  color: inherit;
  padding: 0;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  text-decoration: none;
  font-size: 16px;
}

.card__email {
  margin-right: 8px;
  transform: translateX(-8px);
}

.card__email {
  display: inline-grid;
  place-items: center;
  white-space: nowrap;
  min-width: 11ch;
  text-align: center;
}

.card__email:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
}

/* Preserve the left offset while still moving down slightly on active/click */
.card__email:active {
  transform: translateX(-8px) translateY(1px);
}

.card__emailText {
  pointer-events: none;
}

.card__body {
  margin-top: 16px;
}

.card__text {
  margin: 0;
  line-height: 1.6;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.card__text+.card__text {
  margin-top: 12px;
}

.contactAction {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-grid;
  place-items: center;
  font-size: 15px;
  min-height: 40px;
}

.contactAction:hover {
  background: rgba(255, 255, 255, 0.11);
}

.contactAction:active {
  transform: translateY(1px);
}

/* Ensure the bio email keeps its left offset when active (overrides .contactAction:active) */
.contactAction.card__email:active {
  transform: translateX(-8px) translateY(1px);
}

.contactAction.is-copied {
  animation: copiedPulse 520ms ease;
}

/* Email-specific copied animation that preserves the left offset */
@keyframes copiedPulseEmail {
  0% {
    transform: translateX(-8px) translateY(0) scale(1);
    background: rgba(255, 255, 255, 0.08);
  }

  35% {
    transform: translateX(-8px) translateY(0) scale(1.03);
    background: rgba(255, 255, 255, 0.14);
  }

  100% {
    transform: translateX(-8px) translateY(0) scale(1);
    background: rgba(255, 255, 255, 0.08);
  }
}

.contactAction.card__email.is-copied {
  animation: copiedPulseEmail 520ms ease;
}

@keyframes copiedPulse {
  0% {
    transform: translateY(0) scale(1);
    background: rgba(255, 255, 255, 0.08);
  }

  35% {
    transform: translateY(0) scale(1.03);
    background: rgba(255, 255, 255, 0.14);
  }

  100% {
    transform: translateY(0) scale(1);
    background: rgba(255, 255, 255, 0.08);
  }
}

.audio {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.audio:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.audio__btn {
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
  line-height: 1;
}

.audio__btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.audio__btn:active {
  transform: scale(0.92);
}

.audio__btn--playing {
  animation: audioPulse 2s ease-in-out infinite;
}

@keyframes audioPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.65;
  }
}

/* ── Equalizer bars ── */
.audio__eq {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 18px;
  flex-shrink: 0;
}

.audio__eqBar {
  width: 3px;
  border-radius: 1.5px;
  background: var(--accent);
  transition: height 0.12s ease;
}

.audio__eq--paused .audio__eqBar {
  height: 3px !important;
  transition: height 0.4s ease;
}

.audio__sliderWrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.audio__label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  display: none;
}

/* ── Custom range slider ── */
.audio__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 90px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  transition: background 0.2s ease;
}

.audio__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.audio__slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.audio__slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.bgAppearanceToggle {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 7;
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.bgAppearance {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
}

.bgAppearance[hidden] {
  display: none !important;
}

.bgAppearance__panel {
  width: min(540px, 96vw);
  max-height: min(88vh, 860px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.45);
  padding: 18px;
  min-height: 0;
}

.bgAppearance__scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  margin-right: -4px;
}

.bgAppearance__section {
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.bgAppearance__section:last-of-type {
  margin-bottom: 0;
}

.bgAppearance__sectionTitle {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
}

.bgAppearance__field--tightBottom {
  margin-bottom: 0 !important;
}

.bgAppearance__textInput,
.bgAppearance__textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  line-height: 1.45;
}

.bgAppearance__textarea {
  resize: vertical;
  min-height: 88px;
}

.bgAppearance__row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
}

.bgAppearance__row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: rgba(140, 180, 255, 0.85);
}

.bgAppearance .bgAppearance__actions {
  flex-shrink: 0;
  margin-top: 14px;
  padding-top: 4px;
}

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

.bgAppearance__title {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 22px);
}

.bgAppearance__close {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  width: 34px;
  height: 34px;
  font-size: 16px;
  cursor: pointer;
}

.bgAppearance__hint {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.bgAppearance__field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.bgAppearance__field>span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.bgAppearance__field input[type="range"] {
  width: 100%;
}

.bgAppearance__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

.bgAppearance__btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.bgAppearance__btn--primary {
  background: rgba(255, 255, 255, 0.18);
}

.usersPage {
  padding-top: 80px;
}

.usersPanel {
  width: min(860px, 94vw);
  padding: clamp(20px, 4.6vw, 34px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 12px 42px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.usersPanel__heading {
  margin-bottom: 14px;
}

.usersPanel__title {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 40px);
}

.usersPanel__subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.usersFilters {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.usersFilter {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 9px 13px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
}

.usersFilter:hover {
  background: rgba(255, 255, 255, 0.1);
}

.usersFilter:active {
  transform: translateY(1px);
}

.usersFilter--active {
  background: rgba(255, 255, 255, 0.18);
}

.usersGrid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.userTile {
  min-height: 88px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  padding: 10px;
}

.userTile__link {
  min-height: 88px;
  color: inherit;
  text-decoration: none;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  border-radius: 12px;
}

.userTile__link:hover {
  background: rgba(255, 255, 255, 0.04);
}

.usernamesEditorToggle {
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.userTile__name {
  font-size: 18px;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: 0.2px;
}

.userTile__platform {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.2px;
}

.userTile__year {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.5);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.25), 0 0 14px rgba(255, 255, 255, 0.1);
  pointer-events: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.userTile:hover .userTile__year {
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4), 0 0 20px rgba(255, 255, 255, 0.2);
}

.userTile[hidden] {
  display: none !important;
}

.usersEditor {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
}

.usersEditor[hidden] {
  display: none !important;
}

.usersEditor__panel {
  width: min(980px, 96vw);
  max-height: min(86svh, 920px);
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.45);
  padding: 18px;
}

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

.usersEditor__title {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 24px);
}

.usersEditor__close {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  width: 34px;
  height: 34px;
  font-size: 16px;
  cursor: pointer;
}

.usersEditorGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.usersEditorAdd {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr 0.9fr 90px auto;
  gap: 10px;
  margin-bottom: 12px;
}

.usersEditorCard {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.usersEditorCard__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.usersEditorCard__index {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.usersEditorCard__platform {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.88);
}

.usersEditorCard__field {
  display: grid;
  gap: 7px;
}

.usersEditorCard__field>span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.usersEditorCard__input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
}

.usersEditorCard__delete {
  appearance: none;
  border: 1px solid rgba(255, 120, 120, 0.5);
  background: rgba(255, 90, 90, 0.12);
  color: rgba(255, 190, 190, 0.95);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  justify-self: end;
}

.usersEditorCard__delete:hover {
  background: rgba(255, 90, 90, 0.2);
}

.usersEditor__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.usersEditor__btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.usersEditor__btn--primary {
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 520px) {
  body {
    overflow: auto;
    overflow-x: hidden;
  }

  .page {
    min-height: 100svh;
    place-items: center;
    height: auto;
    padding: 16px;
    padding-top: calc(16px + env(safe-area-inset-top));
    padding-bottom: calc(132px + env(safe-area-inset-bottom));
  }

  .card {
    width: min(720px, 94vw);
    border-radius: 18px;
    padding: 18px;
  }

  .card__title {
    font-size: clamp(22px, 6.2vw, 32px);
    margin-bottom: 10px;
  }

  .card__text {
    font-size: 16px;
    line-height: 1.65;
  }

  .bentoSection {
    margin-top: 12px;
  }

  .bentoGrid {
    grid-template-columns: 1fr;
  }

  .bentoTile--wide {
    grid-column: auto;
  }

  .audio {
    right: calc(12px + env(safe-area-inset-right));
    bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 8px 12px;
    border-radius: 14px;
  }

  .audio__slider {
    width: 70px;
  }

  .bgAppearanceToggle {
    left: calc(12px + env(safe-area-inset-left));
    bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .navTop {
    top: calc(12px + env(safe-area-inset-top));
    border-radius: 14px;
  }

  .navTopWrap {
    top: calc(12px + env(safe-area-inset-top));
  }

  .navTop--right {
    right: calc(12px + env(safe-area-inset-right));
  }

  .navTopWrap--right {
    right: calc(12px + env(safe-area-inset-right));
  }

  .audio__slider {
    width: 150px;
  }

  .card__top {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: center;
    justify-items: center;
  }

  .card__heading {
    text-align: center;
  }

  .card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    justify-self: center;
  }

  .card__body {
    text-align: center;
  }

  .usersGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .usersEditorGrid {
    grid-template-columns: 1fr;
  }

  .usersEditorAdd {
    grid-template-columns: 1fr;
  }
}