.account-entry {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(94, 224, 255, 0.52);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, rgba(21, 122, 172, 0.9), rgba(193, 50, 145, 0.9));
  font: 900 0.75rem/1 "Nunito", sans-serif;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.account-view {
  background:
    radial-gradient(circle at 12% 10%, rgba(38, 215, 255, 0.14), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(255, 76, 180, 0.14), transparent 32%);
}

.account-notice {
  margin: 0 0 18px;
  padding: 12px 16px;
  border: 1px solid rgba(117, 229, 255, 0.35);
  border-radius: 14px;
  color: #dff9ff;
  background: rgba(7, 19, 52, 0.84);
  font-weight: 800;
}

.account-notice[data-state="success"] {
  border-color: rgba(121, 255, 185, 0.55);
  color: #c9ffe0;
}

.account-notice[data-state="error"] {
  border-color: rgba(255, 126, 157, 0.58);
  color: #ffd6df;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.account-panel {
  padding: clamp(22px, 4vw, 38px);
}

.account-panel--featured {
  box-shadow: 0 20px 70px rgba(0, 8, 35, 0.42), inset 0 0 34px rgba(46, 209, 255, 0.06);
}

.account-panel h2 {
  margin: 4px 0 10px;
  color: #fff;
}

.account-form {
  display: grid;
  gap: 15px;
  margin-top: 24px;
}

.account-form label {
  display: grid;
  gap: 7px;
  color: #f7f8ff;
  font-weight: 900;
}

.account-form label small,
.account-footnote {
  color: #bfc9e9;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.account-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid rgba(145, 171, 235, 0.46);
  border-radius: 12px;
  color: #fff;
  background: rgba(4, 10, 35, 0.78);
  font: 800 1rem/1.2 "Nunito", sans-serif;
}

.account-form input:focus-visible {
  outline: 3px solid rgba(91, 221, 255, 0.46);
  outline-offset: 2px;
  border-color: #75e5ff;
}

.account-form button,
.account-actions button {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #137db0, #b83291);
  font: 900 0.9rem/1 "Nunito", sans-serif;
  cursor: pointer;
}

.account-form button:disabled {
  cursor: wait;
  opacity: 0.64;
}

.account-check {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  gap: 10px !important;
  font-size: 0.86rem;
  line-height: 1.4;
}

.account-check input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: #3ad2ee;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.account-actions button {
  padding: 0 18px;
}

@media (max-width: 820px) {
  .account-entry {
    min-height: 38px;
    padding: 0 11px;
    font-size: 0.68rem;
  }

  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-panel {
    padding: 20px 16px;
  }
}
.profile-editor-dialog {
  width: min(560px, calc(100vw - 32px));
  max-width: 560px;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #fff;
  background:
    radial-gradient(circle at 85% 0%, rgba(67, 224, 255, 0.18), transparent 34%),
    radial-gradient(circle at 10% 100%, rgba(255, 71, 190, 0.16), transparent 38%),
    #0b0922;
  border: 1px solid rgba(104, 225, 255, 0.72);
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(255, 85, 208, 0.3), 0 24px 80px rgba(0, 0, 0, 0.72);
}

.profile-editor-dialog::backdrop {
  background: rgba(3, 3, 18, 0.8);
  backdrop-filter: blur(7px);
}

.profile-editor-form {
  display: grid;
  gap: 22px;
  padding: 28px;
}

.profile-editor-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(150, 175, 255, 0.24);
}

.profile-editor-heading small {
  display: block;
  margin-bottom: 7px;
  color: #67e7ff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.profile-editor-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 5vw, 2rem);
}

.profile-editor-close,
.profile-editor-save {
  appearance: none;
  min-height: 44px;
  padding: 10px 18px;
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  border: 1px solid rgba(91, 224, 255, 0.72);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(32, 74, 146, 0.94), rgba(119, 32, 135, 0.94));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 8px 22px rgba(0, 0, 0, 0.28);
}

.profile-editor-close {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 7px 13px;
  font-size: 0.88rem;
  border-color: rgba(179, 190, 233, 0.48);
  background: rgba(25, 25, 61, 0.82);
}

.profile-editor-form > label:not(.profile-editor-switch) {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.profile-editor-form input[type="text"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  color: #fff;
  font: inherit;
  background: rgba(4, 6, 27, 0.86);
  border: 1px solid rgba(131, 156, 234, 0.58);
  border-radius: 11px;
  outline: none;
}

.profile-editor-form input[type="text"]:focus {
  border-color: #69e7ff;
  box-shadow: 0 0 0 3px rgba(65, 220, 255, 0.16);
}

.profile-editor-form label small,
.profile-editor-switch small {
  display: block;
  color: #bbb9d4;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
}

.profile-editor-switch {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 13px;
  padding: 15px;
  cursor: pointer;
  border: 1px solid rgba(154, 166, 224, 0.3);
  border-radius: 13px;
  background: rgba(17, 17, 54, 0.72);
}

.profile-editor-switch input {
  width: 21px;
  height: 21px;
  margin: 0;
  accent-color: #49d9ff;
}

.profile-editor-switch strong {
  display: block;
  margin-bottom: 3px;
}

.profile-editor-status {
  min-height: 1.4em;
  margin: -7px 0 0;
  color: #ffd36a;
  font-weight: 800;
}

.profile-editor-save {
  justify-self: start;
  min-width: 150px;
}

.profile-editor-save:disabled {
  cursor: wait;
  opacity: 0.62;
}

.private-profile-notice {
  display: grid;
  gap: 8px;
  text-align: center;
}

@media (max-width: 560px) {
  .profile-editor-form {
    gap: 18px;
    padding: 21px;
  }

  .profile-editor-heading {
    gap: 12px;
  }

  .profile-editor-save {
    width: 100%;
  }
}

/* Public player profile */
.public-profile-view { --public-profile-accent: #55e8ff; --public-profile-pink: #ff62bd; }
.public-profile-view .public-preview { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 18px; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; overflow: visible; }
.public-profile-hero { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(18px, 3vw, 32px); min-height: 240px; padding: clamp(24px, 4vw, 42px); overflow: hidden; border-color: rgba(91, 230, 255, .38); background: radial-gradient(circle at 18% 25%, rgba(255, 76, 179, .2), transparent 34%), radial-gradient(circle at 82% 35%, rgba(47, 218, 255, .18), transparent 36%), linear-gradient(135deg, rgba(24, 17, 67, .96), rgba(7, 11, 42, .98)); }
.public-profile-hero::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(to right, black, transparent 80%); pointer-events: none; }
.public-profile-spark { position: absolute; width: 7px; aspect-ratio: 1; border-radius: 50%; background: #fff8c3; box-shadow: 0 0 12px 3px #ff72cf; transform: rotate(45deg); }
.public-profile-spark--one { top: 24px; right: 30%; }
.public-profile-spark--two { right: 8%; bottom: 24px; width: 5px; box-shadow: 0 0 11px 3px #47ddff; }
.public-profile-avatar { position: relative; z-index: 1; width: clamp(118px, 15vw, 170px); height: auto; aspect-ratio: 1; border: 3px solid rgba(255,255,255,.88); border-radius: 30%; box-shadow: 0 0 0 6px rgba(63, 225, 255, .12), 0 0 34px rgba(255, 74, 185, .3); }
.public-profile-identity { position: relative; z-index: 1; min-width: 0; }
.public-profile-identity h2 { margin: 3px 0 8px; color: #fff; font: 900 clamp(2rem, 5vw, 4rem)/1.05 "Bungee", sans-serif; overflow-wrap: anywhere; text-shadow: 0 0 24px rgba(255, 76, 190, .38); }
.public-profile-identity > p:last-of-type { max-width: 590px; margin: 0; color: #c7d0ee; font-weight: 800; line-height: 1.5; }
.public-profile-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.public-profile-chips span { padding: 7px 11px; border: 1px solid rgba(85, 232, 255, .38); border-radius: 999px; color: #dcfaff; background: rgba(13, 77, 105, .34); font-size: .69rem; font-weight: 1000; letter-spacing: .05em; text-transform: uppercase; }
.public-profile-actions { position: relative; z-index: 1; display: grid; gap: 9px; min-width: 160px; }
.public-profile-actions button { min-height: 44px; padding: 10px 15px; border: 1px solid rgba(107, 228, 255, .4); border-radius: 13px; color: #fff; background: linear-gradient(120deg, rgba(229, 56, 150, .86), rgba(52, 165, 208, .8)); font-weight: 950; cursor: pointer; }
.public-profile-actions .secondary-button { background: rgba(10, 12, 46, .72); }
.public-profile-overview { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 18px; }
.public-showcase-card, .public-passport-card { position: relative; min-height: 260px; padding: clamp(20px, 3vw, 28px); overflow: hidden; }
.public-showcase-card { border-color: rgba(255, 196, 76, .4); background: radial-gradient(circle at 80% 20%, rgba(255, 187, 55, .17), transparent 34%), linear-gradient(145deg, rgba(36, 18, 68, .96), rgba(8, 11, 43, .96)); }
.public-showcase-card h3, .public-passport-card h3 { margin: 3px 0 0; color: #fff; font: 900 clamp(1.3rem, 2.5vw, 1.8rem)/1.1 "Bungee", sans-serif; }
.public-showcase-label { padding: 7px 10px; border: 1px solid rgba(255, 210, 104, .42); border-radius: 999px; color: #ffe6a0; background: rgba(91, 58, 7, .32); font-size: .64rem; font-weight: 1000; letter-spacing: .08em; }
.public-showcase-empty, .public-showcase-content { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px; margin: 24px 0 20px; }
.public-showcase-gem { width: 88px; aspect-ratio: 1; display: grid; place-items: center; border: 2px solid rgba(255, 230, 153, .72); border-radius: 30%; color: #21113f; background: linear-gradient(145deg, #fff3b7, #ffbd42 38%, #f554b1 72%, #50e6ff); box-shadow: 0 0 28px rgba(255, 104, 193, .3); font: 900 1.35rem/1 "Bungee", sans-serif; transform: rotate(4deg); }
.public-showcase-empty strong, .public-showcase-content strong { display: block; color: #fff; font: 900 clamp(1.05rem, 2vw, 1.35rem)/1.2 "Bungee", sans-serif; }
.public-showcase-content small { color: #ffcf66; font-size: .67rem; font-weight: 1000; letter-spacing: .1em; }
.public-showcase-empty p, .public-showcase-content p { margin: 6px 0 0; color: #bfc8e8; font-size: .85rem; font-weight: 750; line-height: 1.45; }
.public-showcase-picker { min-height: 42px; padding: 9px 14px; border: 1px solid rgba(255, 208, 91, .44); border-radius: 12px; color: #fff3c8; background: rgba(91, 56, 8, .28); font-weight: 950; cursor: pointer; }
.public-passport-card { border-color: rgba(83, 225, 255, .32); background: linear-gradient(155deg, rgba(13, 46, 80, .78), rgba(10, 9, 42, .96)); }
.public-passport-mark { width: 48px; aspect-ratio: 1; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.72); border-radius: 16px; color: #fff; background: linear-gradient(135deg, #f451aa, #42dff4); font: 900 .9rem/1 "Bungee", sans-serif; box-shadow: 0 0 20px rgba(66, 223, 244, .2); }
.public-passport-card dl { display: grid; gap: 10px; margin: 24px 0 0; }
.public-passport-card dl div { padding: 11px 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(5, 8, 35, .55); }
.public-passport-card dt { color: #91a3d5; font-size: .64rem; font-weight: 1000; letter-spacing: .09em; text-transform: uppercase; }
.public-passport-card dd { margin: 4px 0 0; color: #fff; font-weight: 950; }
.public-profile-records-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 20px 4px 2px; }
.public-profile-records-heading h2 { margin: 2px 0 0; color: #fff; font: 900 clamp(1.55rem, 3vw, 2.2rem)/1.1 "Bungee", sans-serif; }
.public-profile-records-heading > p { max-width: 390px; margin: 0; color: #9eabd5; font-size: .82rem; font-weight: 800; text-align: right; }
#view-public-profile .prism-profile-records, #view-public-profile .rhythm-profile-records { margin: 0; }
.achievement-card .achievement-showcase-button { display: inline-flex; min-height: 34px; align-items: center; margin: 0 0 .72rem; padding: .42rem .72rem; border: 1px solid rgba(79, 226, 255, .5); border-radius: 999px; color: #dffbff; background: rgba(17, 91, 116, .34); font: 900 .68rem/1 "Nunito", sans-serif; cursor: pointer; }
.achievement-card .achievement-showcase-button.is-showcased { border-color: rgba(255, 209, 89, .58); color: #fff0b0; background: rgba(94, 60, 8, .38); cursor: default; }
.achievement-card .achievement-showcase-note { margin: -.2rem 0 .72rem; color: #ffcf72; font-size: .65rem; }

@media (max-width: 820px) {
  .public-profile-hero { grid-template-columns: auto 1fr; }
  .public-profile-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .public-profile-overview { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .public-profile-hero { grid-template-columns: 1fr; text-align: center; }
  .public-profile-avatar { margin-inline: auto; }
  .public-profile-identity > p:last-of-type { margin-inline: auto; }
  .public-profile-chips { justify-content: center; }
  .public-profile-actions { grid-column: auto; grid-template-columns: 1fr; width: 100%; }
  .public-showcase-empty, .public-showcase-content { grid-template-columns: 1fr; text-align: center; }
  .public-showcase-gem { margin-inline: auto; }
  .public-profile-records-heading { display: grid; }
  .public-profile-records-heading > p { text-align: left; }
}

.prism-profile-records {
  position: relative;
  display: grid;
  gap: 20px;
  margin-top: 22px;
  padding: clamp(20px, 3vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(74, 224, 255, 0.45);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 65, 190, 0.2), transparent 34%),
    radial-gradient(circle at 8% 92%, rgba(33, 205, 255, 0.18), transparent 38%),
    linear-gradient(145deg, rgba(12, 16, 60, 0.96), rgba(31, 12, 67, 0.94));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), 0 18px 42px rgba(0, 4, 28, 0.32);
}

.prism-profile-records::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.06) 48%, transparent 70%);
}

.prism-profile-records__heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.prism-profile-records__heading small {
  color: #70eaff;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.16em;
}

.prism-profile-records__heading h3 {
  margin: 4px 0 0;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.prism-profile-records__badge {
  padding: 8px 12px;
  border: 1px solid rgba(255, 219, 105, 0.5);
  border-radius: 999px;
  color: #ffe991;
  background: rgba(84, 50, 9, 0.38);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.prism-profile-records__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.prism-profile-stat {
  display: grid;
  gap: 7px;
  min-height: 96px;
  padding: 16px;
  align-content: center;
  border: 1px solid rgba(148, 163, 235, 0.3);
  border-radius: 15px;
  background: rgba(5, 8, 36, 0.62);
}

.prism-profile-stat--featured {
  border-color: rgba(255, 80, 196, 0.5);
  box-shadow: inset 0 0 24px rgba(255, 47, 184, 0.08);
}

.prism-profile-stat span {
  color: #adb9e5;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prism-profile-stat strong {
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.15;
}

.prism-profile-records__ranges {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.prism-profile-records__ranges > span {
  display: inline-flex;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #bfc9eb;
  background: rgba(4, 7, 31, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
}

.prism-profile-records__ranges strong {
  color: #72e9ff;
}

@media (max-width: 820px) {
  .prism-profile-records__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .prism-profile-records__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .prism-profile-records__grid {
    grid-template-columns: 1fr;
  }

  .prism-profile-stat {
    min-height: 78px;
  }
}

.rhythm-profile-records {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: clamp(20px, 3vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(255, 91, 190, 0.46);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 65, 190, 0.2), transparent 36%),
    radial-gradient(circle at 92% 88%, rgba(59, 220, 255, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(27, 12, 61, 0.97), rgba(8, 20, 59, 0.95));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), 0 18px 42px rgba(0, 4, 28, 0.32);
}

.rhythm-profile-records__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rhythm-profile-records__heading small { color: #ff86d0; font-size: 0.72rem; font-weight: 1000; letter-spacing: 0.16em; }
.rhythm-profile-records__heading h3 { margin: 4px 0 0; color: #fff; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.rhythm-profile-records__badge { padding: 8px 12px; border: 1px solid rgba(91, 226, 255, 0.5); border-radius: 999px; color: #8deeff; background: rgba(12, 68, 91, 0.34); font-size: 0.72rem; font-weight: 900; }

.rhythm-profile-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rhythm-profile-summary > div { display: grid; gap: 6px; min-height: 88px; padding: 14px; align-content: center; border: 1px solid rgba(149, 163, 234, 0.3); border-radius: 14px; background: rgba(4, 7, 32, 0.62); }
.rhythm-profile-summary span { color: #aeb9e4; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; }
.rhythm-profile-summary strong { color: #fff; font-size: clamp(1rem, 2vw, 1.32rem); }

.rhythm-profile-progression { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.rhythm-tier { display: grid; grid-template-columns: auto 1fr; gap: 1px 9px; align-items: center; padding: 10px; border: 1px solid rgba(133, 143, 207, 0.28); border-radius: 12px; background: rgba(8, 9, 38, 0.62); }
.rhythm-tier i { display: grid; grid-row: 1 / 3; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #0c1535; background: #687296; font-size: 0.7rem; font-style: normal; font-weight: 1000; }
.rhythm-tier strong { color: #d7dbef; font-size: 0.8rem; }
.rhythm-tier small { color: #8189af; font-size: 0.64rem; font-weight: 800; text-transform: uppercase; }
.rhythm-tier.is-unlocked { border-color: rgba(76, 224, 255, 0.44); background: linear-gradient(135deg, rgba(29, 100, 142, 0.35), rgba(111, 34, 127, 0.3)); }
.rhythm-tier.is-unlocked i { background: linear-gradient(135deg, #ff70c8, #61eaff); }
.rhythm-tier.is-unlocked strong { color: #fff; }
.rhythm-tier.is-unlocked small { color: #80edff; }

.rhythm-profile-songs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.rhythm-song-record { display: grid; gap: 11px; padding: 15px; border: 1px solid rgba(255, 101, 201, 0.28); border-radius: 14px; background: rgba(14, 10, 48, 0.68); }
.rhythm-song-record small { color: #ff8fd4; font-size: 0.63rem; font-weight: 1000; letter-spacing: 0.07em; }
.rhythm-song-record h4 { margin: 3px 0 0; color: #fff; font-size: 1rem; }
.rhythm-song-record p { margin: 4px 0; color: #9fa7ca; font-size: 0.78rem; }
.rhythm-song-grade { color: #ffe080; font-family: "Bungee", sans-serif; font-size: 0.9rem; }
.rhythm-song-record dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 0; }
.rhythm-song-record dl div { display: grid; gap: 2px; }
.rhythm-song-record dt { color: #929bc3; font-size: 0.61rem; font-weight: 900; text-transform: uppercase; }
.rhythm-song-record dd { margin: 0; color: #e9ebff; font-size: 0.76rem; font-weight: 900; }
.rhythm-profile-message { margin: 0; color: #adb6da; font-size: 0.78rem; font-weight: 800; }

@media (max-width: 820px) {
  .rhythm-profile-summary, .rhythm-profile-progression { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rhythm-profile-songs { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
.rhythm-profile-records__heading { align-items: flex-start; flex-direction: column; }
  .rhythm-profile-summary, .rhythm-profile-progression { grid-template-columns: 1fr; }
}

.account-policy-check a { color: #71e9ff; font-weight: 1000; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.account-policy-check a:hover, .account-policy-check a:focus-visible { color: #fff2a6; }

.policy-dialog { width: min(680px, calc(100vw - 28px)); max-height: min(780px, calc(100dvh - 28px)); padding: 0; overflow: auto; border: 1px solid rgba(103, 227, 255, .72); border-radius: 26px; color: #fff; background: #0a0b2a; box-shadow: 0 30px 100px rgba(0, 0, 0, .72), 0 0 46px rgba(70, 210, 255, .2); }
.policy-dialog::backdrop { background: rgba(2, 3, 18, .88); backdrop-filter: blur(12px); }
.policy-dialog__shell { display: grid; gap: 18px; padding: clamp(24px, 5vw, 42px); background: radial-gradient(circle at 100% 0%, rgba(255, 70, 187, .2), transparent 38%), linear-gradient(145deg, rgba(24, 17, 67, .98), rgba(7, 16, 46, .99)); }
.policy-dialog__shell h2, .policy-dialog__shell p { margin: 0; }
.policy-dialog__shell > p:not(.eyebrow) { color: #bac3e3; line-height: 1.65; }
.policy-dialog__shell label { display: grid; gap: 8px; color: #f7f8ff; font-weight: 900; }
.policy-dialog__shell label small { color: #aeb8d9; font-weight: 700; line-height: 1.5; }
.policy-dialog__shell input[type="date"] { min-height: 48px; padding: 10px 13px; border: 1px solid rgba(139, 154, 226, .48); border-radius: 13px; color: #fff; color-scheme: dark; background: rgba(2, 5, 28, .76); }
.policy-dialog__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.policy-dialog__links a { display: grid; min-height: 52px; padding: 10px; place-items: center; border: 1px solid rgba(105, 224, 255, .4); border-radius: 13px; color: #7cecff; background: rgba(17, 52, 94, .5); font-weight: 1000; text-align: center; text-decoration: none; }
.policy-dialog__links a:hover, .policy-dialog__links a:focus-visible { color: #fff; border-color: #ff78ca; }
.policy-dialog__message { min-height: 1.4em; color: #ff9ebd; font-weight: 900; }
.policy-dialog__actions { display: flex; justify-content: flex-end; gap: 12px; }
.policy-dialog__actions button { min-height: 48px; padding: 10px 18px; }
@media (max-width: 560px) { .policy-dialog__links { grid-template-columns: 1fr; } .policy-dialog__actions { align-items: stretch; flex-direction: column-reverse; } }
