/* Generated by the verified runtime partition on 2026-08-29. Keep selectors scoped to this surface. */
.push-invitation,
.push-settings {
  position: relative;
  width: min(calc(100% - 2rem), 42rem);
  margin: clamp(1.5rem, 5vw, 3.5rem) auto calc(7rem + env(safe-area-inset-bottom));
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 44%, var(--line));
  border-radius: 2rem 2rem 1.25rem 1.25rem;
  box-shadow: 0 1.5rem 4rem color-mix(in srgb, var(--ink) 16%, transparent);
  overflow: hidden;
  isolation: isolate;
}
.push-invitation {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-4, 1rem);
  padding: clamp(1.25rem, 4vw, 2rem);
  transition: opacity 300ms ease, transform 300ms var(--ease-out), filter 300ms ease;
  animation: noche-panel-rise 420ms cubic-bezier(.2, .8, .2, 1) both;
}
.push-invitation.is-leaving {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(-.65rem) scale(.975);
  pointer-events: none;
}
.push-invitation[hidden],
.push-install[hidden],
.push-install-settings[hidden],
.push-reassign[hidden],
.push-disable-device[hidden],
.push-setting-action[hidden],
.push-feedback[hidden] { display: none !important; }
.push-invitation::before,
.push-settings::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: .28rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  z-index: -1;
}
.push-invitation-glow {
  position: absolute;
  width: 12rem;
  height: 12rem;
  inset: -7rem -4rem auto auto;
  border-radius: 50%;
  background: color-mix(in srgb, var(--gold) 19%, transparent);
  filter: blur(1.5rem);
  z-index: -1;
}
.push-invitation-mark,
.push-settings-emblem,
.push-category-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 3.25rem;
  height: 3.25rem;
  color: var(--ink);
  background: color-mix(in srgb, var(--gold) 22%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--gold) 62%, transparent);
  border-radius: 50%;
}
.push-invitation-mark .picto,
.push-settings-emblem .picto,
.push-category-icon .picto { width: 1.75rem; height: 1.75rem; }
.push-kicker {
  margin: 0 0 .3rem;
  color: var(--muted);
  font-size: var(--type-min, .875rem);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.push-invitation h2,
.push-settings h2,
.push-settings h3,
.push-settings h4 { color: inherit; }
.push-invitation h2,
.push-settings h2 {
  margin: 0;
  font-family: var(--font-display, "Fraunces", serif);
  font-size: clamp(1.55rem, 6vw, 2.2rem);
  line-height: 1.03;
}
.push-invitation-copy > p:not(.push-kicker, .push-device-state),
.push-settings-head p,
.push-category-card p {
  margin: .55rem 0 0;
  color: var(--muted);
  line-height: 1.45;
}
.push-device-state {
  margin: .8rem 0 0;
  color: var(--muted);
  font-size: var(--type-min, .875rem);
}
.push-invitation-actions {
  grid-column: 1 / -1;
  display: grid;
  gap: .7rem;
}
.push-invitation-actions .btn {
  width: 100%;
  min-height: 3.5rem;
  white-space: normal;
  line-height: 1.2;
}
.push-install { display: none; }
.push-invitation.is-install-required .push-primary { display: none; }
.push-invitation.is-install-required .push-install { display: inline-flex; }
.push-invitation-actions .quiet-link,
.push-disable-device {
  justify-self: center;
  min-height: 2.75rem;
}
.push-feedback {
  grid-column: 1 / -1;
  margin: 0;
  padding: .75rem 1rem;
  color: var(--ink);
  background: color-mix(in srgb, var(--gold) 11%, transparent);
  border-radius: .9rem;
  text-align: center;
}
.push-feedback.is-error { color: var(--fire); }
.push-invitation.is-loading,
.push-settings.is-loading { cursor: wait; }
.push-settings {
  width: min(calc(100% - 2rem), 38rem);
  padding: clamp(1.2rem, 4vw, 2rem);
}
.push-settings-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}
.push-settings-head p { margin-bottom: 0; }
.push-settings-intro { min-width: 0; }
.push-device-card {
  display: flex;
  gap: .85rem;
  align-items: center;
  margin-top: 1.35rem;
  padding: .85rem 1rem;
  background: color-mix(in srgb, var(--gold) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 22%, var(--line));
  border-radius: 1rem;
}
.push-device-signal {
  flex: 0 0 auto;
  width: .62rem;
  height: .62rem;
  margin-inline: .2rem;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 .3rem color-mix(in srgb, var(--gold) 15%, transparent);
}
.push-device-card h3,
.push-device-card p { margin: 0; }
.push-device-card h3 { font-size: .95rem; }
.push-device-card p { margin-top: .15rem; color: var(--muted); font-size: var(--type-min, .875rem); line-height: 1.35; }
.push-categories-title { margin: 1.6rem 0 .75rem; font-size: 1rem; }
.push-category-list {
  overflow: hidden;
  background: color-mix(in srgb, var(--surface) 88%, var(--paper));
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}
.push-category-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .85rem;
  align-items: center;
  padding: 1rem;
  background: transparent;
}
.push-category-card + .push-category-card { border-top: 1px solid var(--line); }
.push-category-card .push-category-icon { width: 2.75rem; height: 2.75rem; }
.push-category-card .push-category-icon .picto { width: 1.45rem; height: 1.45rem; }
.push-category-copy { min-width: 0; }
.push-category-card h4 { margin: .1rem 0 0; font-size: 1.05rem; }
.push-category-card p { font-size: var(--type-min, .875rem); }
.push-setting-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 2.75rem;
  padding: .45rem .7rem;
  color: var(--ink);
  background: color-mix(in srgb, white 76%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: 999px;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.push-setting-toggle:hover { border-color: color-mix(in srgb, var(--gold) 66%, var(--ink)); }
.push-setting-toggle:focus-visible { outline: 3px solid color-mix(in srgb, var(--gold) 40%, transparent); outline-offset: 2px; }
.push-setting-toggle.is-on {
  color: color-mix(in srgb, var(--ink) 92%, black);
  background: color-mix(in srgb, var(--gold) 15%, white);
  border-color: color-mix(in srgb, var(--gold) 58%, var(--ink));
}
.push-toggle-track {
  position: relative;
  flex: 0 0 auto;
  width: 2rem;
  height: 1.1rem;
  padding: .13rem;
  background: color-mix(in srgb, var(--ink) 20%, var(--paper));
  border-radius: 999px;
}
.push-toggle-track::after {
  content: "";
  display: block;
  width: .84rem;
  height: .84rem;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 3px color-mix(in srgb, var(--ink) 35%, transparent);
  transition: transform 160ms ease;
}
.push-setting-toggle.is-on .push-toggle-track { background: var(--gold-deep, var(--gold)); }
.push-setting-toggle.is-on .push-toggle-track::after { transform: translateX(.9rem); }
.push-verse-options {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8.5rem;
  gap: .65rem;
  width: 100%;
  margin-top: .1rem;
}
.push-verse-options label { display: grid; gap: .3rem; color: var(--muted); font-size: var(--type-min, .875rem); font-weight: 700; }
.push-verse-options select,
.push-verse-options input {
  width: 100%;
  min-height: 3rem;
  padding: .65rem .75rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: .8rem;
  font: inherit;
}
.push-settings-foot {
  margin: 1rem .25rem 0;
  color: var(--muted);
  font-size: var(--type-min, .875rem);
  line-height: 1.4;
  text-align: center;
}
.push-settings > .push-reassign,
.push-settings > .push-install-settings,
.push-settings > .push-feedback,
.push-disable-device { width: 100%; margin-top: 1rem; }
body.is-celestial-dark .push-invitation,
body.is-celestial-dark .push-settings,
body.is-study-run .push-invitation {
  color: var(--text-primary, var(--story-type, #fff8e8));
  background:
    radial-gradient(circle at 85% 0%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 34%),
    color-mix(in srgb, var(--surface-primary, #0a1627) 96%, black);
  border-color: color-mix(in srgb, var(--gold) 58%, transparent);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .38), 0 0 2rem color-mix(in srgb, var(--gold) 10%, transparent);
}
body.is-celestial-dark .push-invitation p,
body.is-celestial-dark .push-settings p,
body.is-study-run .push-invitation p { color: var(--story-type-soft, var(--parchment)); }
body.is-celestial-dark .push-invitation .quiet-link,
body.is-celestial-dark .push-settings .quiet-link,
body.is-study-run .push-invitation .quiet-link { color: var(--text-secondary, #f0dfbd); }
body.is-celestial-dark .push-invitation-mark,
body.is-celestial-dark .push-settings-emblem,
body.is-celestial-dark .push-category-icon,
body.is-study-run .push-invitation-mark {
  color: var(--text-primary, #fff8e8);
  background: color-mix(in srgb, var(--gold) 18%, var(--surface-primary, #0a1627));
}
@media (min-width: 720px) {
.push-invitation { grid-template-columns: auto minmax(0, 1fr) minmax(15rem, .65fr); align-items: center; }
.push-invitation-actions { grid-column: 3; }
.push-feedback { grid-column: 2 / -1; }
}
@media (max-width: 520px) {
.push-settings { width: min(calc(100% - 1rem), 38rem); padding: 1.1rem; }
.push-settings-head { align-items: start; }
.push-category-card { gap: .7rem; padding: .9rem .8rem; }
.push-category-card .push-category-icon { width: 2.5rem; height: 2.5rem; }
.push-category-card h4 { font-size: 1rem; }
.push-category-card p { font-size: .78rem; line-height: 1.35; }
.push-setting-toggle { min-width: 2.75rem; padding-inline: .45rem; }
.push-setting-toggle > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.push-verse-options { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
.push-invitation { animation: none; transition: none; }
}
.emblem-choice {
  display: grid; justify-items: center; gap: var(--space-2);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-m);
  padding: var(--space-3) var(--space-2); color: var(--ink); cursor: pointer;
  transition: transform var(--dur-press) var(--ease-out), border-color var(--dur-press) ease;
}
.emblem-choice input { position: absolute; opacity: 0; pointer-events: none; }
.emblem-choice:has(:checked) { border-color: var(--gold); background: #fff8e4; }
.emblem-choice:active,
.emblem-choice.is-pressed { transform: scale(0.97); }
.emblem-choice .emblem { width: 3.5rem; height: 3.5rem; }
.emblem-choice em { font-style: normal; font-size: var(--type-min); font-weight: 600; }
body:has(.home-paper) .chrome-tools {
  top: max(var(--space-4), env(safe-area-inset-top));
  bottom: auto;
}
body:has(.home-paper) .chrome-tools .mute {
  display: none;
}
body:has(.home-paper) .lang-menu {
  top: calc(100% + var(--space-2));
  bottom: auto;
}
.chrome-face .avatar-img,
.chrome-face .avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: var(--paper);
}
body.is-paper-hall,
body:has(.home-paper) {
  --street-hub-inset: calc((100vw - min(var(--street-hub-col), 100vw)) / 2 + var(--space-4));
}
body.is-paper-hall .shell,
body:has(.home-paper) .shell {
  width: 100%;
  max-width: none;
  padding: 0;
  gap: 0;
  min-height: 100dvh;
}
body.is-paper-hall .sky,
body:has(.home-paper) .sky {
  background-color: var(--temple-ivory);
  background-image: var(--temple-hall-bg);
  background-position: 50% 0%;
  background-size: cover;
  background-repeat: no-repeat;
}
body.is-street-profile .sky {
  background:
    radial-gradient(ellipse 70% 48% at 50% 12%, color-mix(in srgb, white 92%, transparent) 0%, transparent 72%),
    radial-gradient(circle at 18% 72%, color-mix(in srgb, var(--gold) 12%, transparent) 0%, transparent 28%),
    radial-gradient(circle at 84% 62%, color-mix(in srgb, var(--gold-bright) 10%, transparent) 0%, transparent 34%),
    linear-gradient(180deg, var(--temple-ivory) 0%, var(--temple-marble) 56%, var(--paper) 100%);
}
body.is-street-profile .hall-paper {
  padding-bottom: calc(7rem + env(safe-area-inset-bottom));
}
body.is-paper-hall .chrome-tools,
body:has(.home-paper) .chrome-tools {
  right: max(env(safe-area-inset-right), var(--street-hub-inset));
}
body.is-paper-hall .lang-switch:not(.is-drawer) > summary,
body:has(.home-paper) .lang-switch:not(.is-drawer) > summary {
  width: 2.75rem;
  height: 2.75rem;
  min-height: 2.75rem;
  border-radius: 0.75rem;
  border-color: var(--temple-gold-border, color-mix(in srgb, var(--gold-deep) 42%, transparent));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, color-mix(in srgb, var(--temple-marble, var(--surface)) 92%, white) 100%);
  box-shadow: var(--street-card-shadow, var(--shadow));
}
body.is-paper-hall .lang-switch:not(.is-drawer) > summary .lang-flag,
body.is-paper-hall .lang-switch:not(.is-drawer) > summary .lang-flag .picto,
body:has(.home-paper) .lang-switch:not(.is-drawer) > summary .lang-flag,
body:has(.home-paper) .lang-switch:not(.is-drawer) > summary .lang-flag .picto {
  width: 1.5rem;
  height: 1.5rem;
}
.home-paper {
  --street-card-shadow: 0 4px 24px rgba(28, 25, 21, 0.06), 0 1px 0 color-mix(in srgb, white 72%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  position: relative;
  isolation: isolate;
  width: min(var(--street-hub-col, 24.375rem), 100%);
  margin: 0 auto;
  min-height: 100dvh;
  padding: max(var(--space-4), env(safe-area-inset-top)) var(--space-4) var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  background: transparent;
  color: var(--ink);
}
.home-paper::before {
  content: "";
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--street-hub-col, 24.375rem), 100vw);
  height: 17rem;
  pointer-events: none;
  z-index: 0;
  background:
    var(--temple-oculus-rings),
    radial-gradient(ellipse 70% 70% at 50% -12%, rgba(255, 252, 245, 0.5) 0%, transparent 72%);
  opacity: 0.95;
}
.home-paper > * { position: relative; z-index: 1; }
.home-paper .home-brand {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  min-height: var(--space-7);
  padding: 0 3.4rem;
  text-align: center;
}
.home-paper .home-brand h1,
.home-paper .street-hub-lockup-name {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-shadow: var(--temple-type-halo);
}
.home-paper > h1 {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
  text-align: center;
  padding: 0 3.4rem;
}
.home-paper > .lede {
  margin: 0;
  text-align: center;
}
.hall-paper {
  gap: var(--space-5);
  padding-bottom: calc(var(--space-8) + env(safe-area-inset-bottom));
}
.hall-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-4);
  width: 100%;
  margin-top: var(--space-2);
  padding: calc(var(--space-5) + 0.45rem) var(--space-5) var(--space-5);
  text-align: center;
  color: var(--ink);
  border-radius: 2rem;
  border: 1.5px solid var(--temple-gold-border, color-mix(in srgb, var(--gold-deep) 55%, transparent));
  background:
    radial-gradient(ellipse 85% 38% at 50% 0%, rgba(255, 252, 245, 0.88) 0%, transparent 58%),
    linear-gradient(180deg, var(--temple-ivory, var(--surface)) 0%, color-mix(in srgb, var(--temple-marble, var(--paper)) 92%, white) 100%);
  box-shadow: var(--street-card-shadow, var(--shadow)), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.hall-sheet-apex {
  position: absolute;
  top: -0.82rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  pointer-events: none;
}
.hall-sheet-apex::before {
  content: "";
  width: 1.22rem;
  height: 1.22rem;
  clip-path: var(--temple-star4);
  background: var(--temple-gold-leaf);
  filter: drop-shadow(0 1px 2px color-mix(in srgb, var(--ink) 28%, transparent));
}
.hall-sheet-apex .picto {
  position: absolute;
  width: 1.22rem;
  height: 1.22rem;
  opacity: 0;
}
.hall-sheet h1 {
  color: var(--ink);
  font-size: clamp(1.2rem, 4.4vw, 1.42rem);
  line-height: 1.18;
  font-weight: 650;
}
.street-quien-ficha + h1 {
  font-size: clamp(1.28rem, 4.8vw, 1.55rem);
}
.hall-sheet .lede {
  margin: 0;
  font-size: var(--type-ui);
  line-height: 1.35;
}
.street-quien-ward {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-2) var(--space-3);
  margin: 0;
  color: var(--parchment);
  font-size: var(--type-min);
  font-weight: 600;
}
.street-quien-ward span {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
}
.street-quien-ward .quiet-link {
  min-height: 0;
  padding: 0;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.hall-sheet .btn-ghost {
  border-color: var(--temple-gold-hairline, color-mix(in srgb, var(--gold-deep) 38%, transparent));
  background: color-mix(in srgb, var(--temple-ivory, var(--surface)) 88%, white);
}
.street-quien-rule {
  position: relative;
  width: min(12rem, 70%);
  height: 1px;
  margin: 0 auto;
  background: var(--temple-gold-hairline, color-mix(in srgb, var(--gold-deep) 38%, transparent));
}
.street-quien-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0.72rem;
  height: 0.72rem;
  clip-path: var(--temple-star4, polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%));
  background: var(--temple-gold-leaf, var(--gold-deep));
}
.street-quien-ficha {
  display: flex;
  justify-content: center;
}
.street-quien-ficha .person-pick {
  display: inline-grid;
  width: auto;
  max-width: 100%;
  pointer-events: none;
  background:
    linear-gradient(180deg, #fffef9 0%, var(--temple-marble, var(--surface)) 72%, var(--temple-ivory, var(--paper)) 100%);
  border-color: var(--temple-gold-border, color-mix(in srgb, var(--gold-deep) 55%, transparent));
  box-shadow: var(--street-card-shadow, var(--shadow));
}
.hall-sheet .btn .picto {
  width: 1.35rem;
  height: 1.35rem;
}
.hall-sheet .join-form {
  text-align: left;
  gap: var(--space-3);
}
.hall-sheet .join-form > label,
.hall-sheet .join-form legend {
  color: var(--parchment);
  font-size: var(--type-min);
  font-weight: 650;
  letter-spacing: 0.02em;
}
.hall-sheet .year-hint {
  display: block;
  margin: 0;
  color: var(--mute);
  font-size: var(--type-min);
  font-weight: 500;
  line-height: 1.35;
  text-wrap: pretty;
}
.ficha-year {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.hall-sheet .code-input {
  min-height: 2.55rem;
  padding: 0.45rem 1.05rem;
  border: 1.5px solid var(--temple-gold-hairline, color-mix(in srgb, var(--gold-deep) 42%, transparent));
  border-radius: 999px;
  background:
    linear-gradient(180deg, #fffefb 0%, color-mix(in srgb, var(--temple-ivory, var(--surface)) 82%, white) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 1px 0 color-mix(in srgb, var(--gold-deep) 12%, transparent);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  text-align: start;
  text-transform: none;
}
.hall-sheet .code-input::placeholder {
  color: color-mix(in srgb, var(--parchment) 58%, var(--paper));
  font-weight: 450;
}
.hall-sheet .code-input:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 0 0 3px color-mix(in srgb, var(--gold-deep) 20%, transparent);
}
.hall-sheet .code-input {
  scroll-margin-bottom: 6rem;
  scroll-margin-top: 5rem;
}
.hall-sheet #favorite_year {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}
.hall-sheet .avatar-pick {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem 0.25rem;
}
.hall-sheet .avatar-choice {
  position: relative;
  padding: 0.3rem 0.1rem 0.1rem;
  gap: 0.15rem;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.hall-sheet .avatar-choice:has(:checked) {
  background: transparent;
  border: 0;
}
.hall-sheet .avatar-seal {
  position: relative;
  display: grid;
  place-items: center;
  width: 4.35rem;
  height: 4.35rem;
  overflow: hidden;
  border-radius: 50%;
  border: 3px solid transparent;
  background:
    var(--navy) padding-box,
    var(--temple-gold-leaf, linear-gradient(145deg, #c9a23a 0%, #f2d98a 42%, #a37a12 78%, #d4a017 100%)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 2px 8px color-mix(in srgb, var(--navy) 18%, transparent);
}
.hall-sheet .avatar-choice:has(:checked) .avatar-seal {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 0 0 3px color-mix(in srgb, var(--gold-bright) 75%, white),
    0 0 16px color-mix(in srgb, var(--gold-bright) 48%, transparent);
}
.hall-sheet .avatar-choice:has(:checked) .avatar-seal::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0.08rem;
  bottom: 0.08rem;
  width: 0.85rem;
  height: 0.85rem;
  clip-path: var(--temple-star4, polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%));
  background: var(--temple-gold-leaf, var(--gold));
  filter: drop-shadow(0 0 4px color-mix(in srgb, var(--gold-bright) 55%, transparent));
}
.hall-sheet .avatar-seal .avatar-img,
.hall-sheet .avatar-seal .avatar-img-lg {
  width: 4.35rem;
  height: 4.35rem;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  object-fit: cover;
  transform: scale(1.78);
}
.hall-sheet .avatar-choice em {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  font-size: var(--type-min);
  font-weight: 650;
  line-height: 1.1;
  color: var(--ink);
  text-align: center;
}
.hall-sheet-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 var(--space-5);
}
.hall-sheet-foot form.button_to {
  width: auto;
}
.hall-sheet .quiet-link {
  align-self: center;
}
.hall-still {
  margin: 0;
  overflow: hidden;
  border-radius: 1.1rem;
  border: 1.5px solid var(--temple-gold-hairline, var(--line));
  background: var(--paper-deep);
}
.hall-still .night-poster {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}
.hall-sheet .person-list {
  text-align: left;
}
.hall-sheet .person-list .person-pick {
  background:
    linear-gradient(180deg, #fffef9 0%, var(--temple-marble, var(--surface)) 72%, var(--temple-ivory, var(--paper)) 100%);
  border-color: var(--temple-gold-hairline, color-mix(in srgb, var(--gold-deep) 38%, transparent));
  box-shadow: var(--street-card-shadow, var(--shadow));
}
.hall-sheet .person-list .person-pick.is-here {
  border-color: var(--temple-gold-border, color-mix(in srgb, var(--gold-deep) 55%, transparent));
  background:
    linear-gradient(180deg, #fffef9 0%, color-mix(in srgb, var(--gold-bright) 14%, var(--temple-ivory, var(--paper))) 100%);
}
.hall-sheet .person-list .person-pick.is-away {
  border-style: dashed;
  border-color: var(--temple-gold-hairline, color-mix(in srgb, var(--gold-deep) 38%, transparent));
}
.hall-sheet .ficha-desk {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  width: 100%;
  text-align: left;
}
.hall-sheet .ficha-desk > h1,
.hall-sheet .ficha-desk > .lede {
  text-align: center;
}
.hall-sheet .year-shout {
  color: var(--ink);
}
.hall-sheet .merge-card {
  padding: var(--space-4);
  background: color-mix(in srgb, var(--temple-ivory, var(--surface)) 88%, white);
  border: 1.5px solid var(--temple-gold-hairline, var(--line));
  border-radius: var(--radius-m);
  text-align: left;
}
.street-quien-ficha .person-pick {
  padding: var(--space-3) var(--space-4);
}
.street-quien-ficha .avatar-img-lg,
.street-quien-ficha .avatar-fallback-lg {
  width: 3.5rem;
  height: 3.5rem;
}
.place-input,
select.place-input {
  width: 100%; border: 2px solid color-mix(in srgb, var(--ink) 28%, var(--line)); background: var(--surface); color: var(--ink);
  border-radius: var(--radius-m); padding: 0.95rem 1.05rem; font: inherit; font-size: 1.15rem;
  text-align: left;
  transition: border-color var(--dur-press) ease;
}
.place-input::placeholder { color: var(--parchment); opacity: 1; }
.place-input:focus,
select.place-input:focus {
  outline: 3px solid rgba(212, 160, 23, 0.35); outline-offset: 2px; border-color: var(--gold);
}
.is-kid .code-input { min-height: 4rem; font-size: 1.35rem; }
.is-kid .hall-sheet .btn {
  min-height: 2.55rem;
  padding: 0.45rem 1.05rem;
  font-size: var(--type-ui);
}
.is-kid .hall-sheet .code-input {
  min-height: 2.55rem;
  font-size: 1.12rem;
}
.is-kid .team-pick { padding: var(--space-5); }
.is-kid .emblem-choice .emblem { width: 4.5rem; height: 4.5rem; }
.ficha-desk { gap: var(--space-5); }
.ficha-grid { list-style: none; padding: 0; display: grid; gap: var(--space-3); }
.ficha-grid .person-pick { width: 100%; }
.profile-gate-new { gap: var(--space-3); }
.ficha-pages {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  justify-content: center;
}
.ficha-search {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: end;
  margin-bottom: var(--space-4);
}
.street-profile-hero .person-pick,
.street-quien-ficha .person-pick {
  display: inline-grid;
  width: auto;
  pointer-events: none;
}
body.is-street-profile {
  overflow-x: hidden;
  background: var(--temple-ivory);
}
body.is-street-profile .shell { min-height: 100dvh; }
.profile-world {
  --profile-motion-fast: var(--dur-press);
  --profile-motion-enter: 420ms;
  --profile-motion-sheet: 320ms;
  --profile-motion-exit: 200ms;
  --profile-motion-stagger: 55ms;
  --profile-motion-ease: var(--ease-out);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  width: min(100%, 44rem);
  min-height: 100dvh;
  margin-inline: auto;
  padding: calc(var(--chrome-head) + var(--space-2)) var(--space-4) calc(7rem + env(safe-area-inset-bottom));
}
.profile-rays {
  --profile-gathering-art: url("/media/profile/profile-gathering-celestial-light-v1.webp");
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 0 46%, color-mix(in srgb, var(--temple-ivory) 18%, transparent) 72%, color-mix(in srgb, var(--temple-ivory) 38%, transparent) 100%),
    var(--profile-gathering-art) 50% 42% / cover no-repeat,
    var(--temple-ivory);
  pointer-events: none;
}
.profile-rays::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -25rem;
  width: min(86rem, 160vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: conic-gradient(from 263deg at 50% 50%, transparent 0 4%, color-mix(in srgb, white 44%, transparent) 4.5% 7%, transparent 7.5% 14%, color-mix(in srgb, var(--gold-bright) 9%, transparent) 15% 17%, transparent 18% 100%);
  opacity: .42;
  filter: blur(10px);
}
.profile-rays::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, color-mix(in srgb, var(--gold-deep) 54%, transparent) 0 1px, transparent 1.5px),
    radial-gradient(circle, color-mix(in srgb, white 88%, transparent) 0 1px, transparent 1.5px);
  background-position: 1rem 2rem, 3.5rem 5rem;
  background-size: 7rem 7rem, 11rem 11rem;
  mask-image: linear-gradient(180deg, black, transparent 58%);
  opacity: .24;
}
.profile-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  width: 100%;
  color: var(--ink);
  text-align: center;
  text-shadow: 0 1px 0 color-mix(in srgb, white 88%, transparent);
}
.profile-star {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--gold-deep);
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--gold) 38%, transparent));
}
.profile-star .picto { width: 1.65rem; height: 1.65rem; }
.profile-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--type-min);
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.profile-stage h1 {
  margin: var(--space-1) 0 0;
  max-width: 13ch;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3.4rem);
  line-height: .96;
  text-wrap: balance;
}
.profile-rama {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 2rem;
  margin: var(--space-2) 0 0;
  padding: .3rem .7rem;
  color: var(--ink);
  border: 1px solid color-mix(in srgb, white 56%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--temple-ivory) 62%, transparent);
  font-size: var(--type-min);
  font-weight: 700;
  box-shadow: inset 0 1px 0 color-mix(in srgb, white 82%, transparent);
  backdrop-filter: blur(10px);
}
.profile-rama .picto { width: 1.15rem; height: 1.15rem; color: var(--gold-deep); }
.profile-rama-switcher {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  max-width: min(100%, 32rem);
}
.profile-rama-current,
.profile-rama-change {
  display: inline-flex;
  align-items: center;
}
.profile-rama-current {
  min-width: 0;
  gap: var(--space-2);
  min-height: 2.8rem;
  margin: var(--space-2) 0 0;
  padding: .35rem .75rem;
}
.profile-rama-current span {
  overflow-wrap: anywhere;
}
.profile-rama-switcher .profile-rama-change {
  position: relative;
  flex: 0 0 auto;
  width: auto;
  min-height: 1.35rem;
  overflow: visible;
  margin-top: var(--space-2);
  padding: .08rem .4rem;
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--gold-deep) 28%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--temple-ivory) 58%, transparent);
  font-size: .625rem;
  font-weight: 750;
  line-height: 1.1;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 color-mix(in srgb, white 82%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.profile-rama-switcher .profile-rama-change::after {
  position: absolute;
  inset: -.7rem -.5rem;
  content: "";
}
.profile-rama-switcher .profile-rama-change:hover {
  background: color-mix(in srgb, white 52%, transparent);
}
.profile-rama-switcher .profile-rama-change:active,
.profile-rama-switcher .profile-rama-change.is-pressed {
  transform: scale(.97);
}
.profile-rama-switcher .profile-rama-change:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--gold-deep) 48%, transparent);
  outline-offset: 2px;
}
.profile-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: min(100%, 36rem);
  margin-top: clamp(2.5rem, 6dvh, 4rem);
  padding: var(--space-4);
  border: 1px solid color-mix(in srgb, var(--temple-gold-border) 62%, transparent);
  border-radius: 1.75rem;
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, white 48%, transparent) 0%,
      color-mix(in srgb, var(--temple-ivory) 26%, transparent) 52%,
      color-mix(in srgb, white 34%, transparent) 100%
    );
  box-shadow:
    0 1.3rem 3.8rem color-mix(in srgb, var(--ink) 14%, transparent),
    inset 0 1px 0 color-mix(in srgb, white 88%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--temple-gold-border) 20%, transparent);
  backdrop-filter: blur(18px) saturate(1.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
}
@media (prefers-reduced-transparency: reduce) {
  .profile-panel:not(.is-edit) {
    background: color-mix(in srgb, var(--temple-ivory) 94%, white);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
.profile-invite,
.profile-panel > .lede {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-ui);
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
}
.profile-panel h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5vw, 1.8rem);
  text-align: center;
}
.profile-panel .person-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin: 0;
  padding: 0;
}
.profile-panel .person-list li { min-width: 0; list-style: none; }
.profile-panel .person-list form { height: 100%; }
.profile-panel .person-pick {
  position: relative;
  grid-template-columns: 3.35rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 var(--space-3);
  width: 100%;
  height: 100%;
  min-height: 6.75rem;
  padding: var(--space-3);
  color: var(--ink);
  text-align: left;
  border: 1.5px solid color-mix(in srgb, var(--gold-deep) 24%, transparent);
  border-radius: 1.25rem;
  background: linear-gradient(145deg, color-mix(in srgb, white 94%, transparent), color-mix(in srgb, var(--temple-marble) 82%, transparent));
  box-shadow: 0 .45rem 1.3rem color-mix(in srgb, var(--ink) 8%, transparent), inset 0 1px 0 white;
}
.profile-panel .person-pick .person-face { grid-row: 1 / span 2; }
.profile-panel .person-pick .avatar-img-lg,
.profile-panel .person-pick .avatar-fallback-lg { width: 3.35rem; height: 3.35rem; }
.profile-panel .person-pick strong { align-self: end; overflow: hidden; font-size: var(--type-ui); text-overflow: ellipsis; white-space: nowrap; }
.profile-panel .person-pick small { align-self: start; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.profile-panel .person-pick.is-current {
  border-color: var(--gold-deep);
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, transparent), 0 .75rem 1.8rem color-mix(in srgb, var(--ink) 14%, transparent), inset 0 1px 0 white;
}
.profile-panel .person-current {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  transform: none;
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  color: var(--ink);
  border-radius: 50%;
  background: var(--gold);
}
.profile-panel .person-current .picto { width: .85rem; height: .85rem; }
.profile-panel .btn-ghost {
  min-height: 3.25rem;
  border-color: color-mix(in srgb, var(--gold-deep) 30%, transparent);
  background: color-mix(in srgb, white 54%, transparent);
}
.profile-panel .btn-ghost:active,
.profile-panel .person-pick:active { transform: scale(.985); }
.profile-panel .join-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-align: left;
}
.profile-panel .join-form label { color: var(--muted); font-size: var(--type-min); font-weight: 700; }
.profile-panel .code-input { min-height: 3.5rem; }
.profile-merge {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid color-mix(in srgb, var(--gold-deep) 22%, transparent);
}
.profile-merge .person-list { grid-template-columns: minmax(0, 1fr); }
.profile-merge .person-pick {
  height: auto;
  min-height: 0;
  cursor: default;
}
.profile-merge .person-pick > small { white-space: normal; }
.profile-panel .profile-merge .profile-merge-form {
  grid-column: 1 / -1;
  height: auto;
  margin-top: var(--space-3);
}
.profile-merge .person-pick > .hint {
  grid-column: 1 / -1;
  margin-top: var(--space-3);
}
.profile-merge-result { margin: 0; }
.ficha-merge-current {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 var(--space-3);
  align-items: center;
  padding: var(--space-4);
  border: 2px solid var(--gold);
  border-radius: var(--radius-m);
  background: color-mix(in srgb, var(--gold) 9%, var(--paper));
}
.ficha-merge-current .person-face { grid-row: span 2; }
.ficha-merge-list { margin: 0; padding: 0; list-style: none; }
.ficha-merge-list .person-pick { cursor: default; }
.ficha-merge-form { grid-column: 1 / -1; margin-top: var(--space-3); }
.ficha-merge-form .hint { margin: 0; }
.profile-merge-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: var(--space-3);
  padding: var(--space-6);
  color: var(--ink);
  text-align: center;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(.8rem);
}
.profile-merge-overlay[hidden] { display: none; }
.profile-merge-overlay strong {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 7vw, 2.35rem);
}
.profile-merge-overlay p { max-width: 22rem; margin: 0; color: var(--muted); }
.profile-merge-motion {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 13rem;
  height: 7rem;
}
.profile-merge-orb {
  display: grid;
  place-items: center;
  width: 4.75rem;
  height: 4.75rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.75rem;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.profile-merge-orb.is-current { animation: profile-merge-left 1.35s var(--ease-out) infinite; }
.profile-merge-orb.is-keeper { animation: profile-merge-right 1.35s var(--ease-out) infinite; }
.profile-merge-spark {
  position: absolute;
  z-index: 2;
  color: var(--gold-deep);
  font-size: 2rem;
  animation: profile-merge-spark 1.35s ease-in-out infinite;
}
@keyframes profile-merge-left {
  0%, 20% { transform: translateX(-.8rem) scale(1); opacity: 1; }
  70%, 100% { transform: translateX(2.35rem) scale(.55); opacity: 0; }
}
@keyframes profile-merge-right {
  0%, 20% { transform: translateX(.8rem) scale(.92); }
  70%, 100% { transform: translateX(-2.35rem) scale(1.12); }
}
@keyframes profile-merge-spark {
  0%, 25% { transform: scale(.65) rotate(0); opacity: .4; }
  70% { transform: scale(1.35) rotate(90deg); opacity: 1; }
  100% { transform: scale(.8) rotate(130deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
.profile-merge-orb,
.profile-merge-spark { animation: none; }
}
.profile-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  width: 100%;
  padding-top: var(--space-1);
}
#street_quien .profile-actions form.button_to {
  display: flex;
  justify-content: center;
  width: 100%;
}
@media (max-width: 430px) {
.profile-world { gap: var(--space-4); padding-inline: var(--space-3); }
.profile-rays {
    background-size: auto, cover;
    background-position: 0 0, 50% 42%;
  }
.profile-panel { margin-top: var(--space-5); padding: var(--space-3); border-radius: 1.4rem; }
.profile-panel .person-list { grid-template-columns: 1fr; }
.profile-panel .person-pick { min-height: 5.5rem; }
}
@media (prefers-reduced-motion: no-preference) {
.profile-stage { animation: profile-arrive .55s ease-out both; }
.profile-panel { animation: profile-rise .6s .08s cubic-bezier(.2,.75,.25,1) both; }
}
@keyframes profile-arrive {
  from { opacity: 0; transform: translateY(-.5rem); }
}
@keyframes profile-rise {
  from { opacity: 0; transform: translateY(1.25rem); }
}
body.is-paper-hall:not(.is-stats):not(.is-rama-search):not(.is-rama-profile) {
  --street-hub-col: min(52rem, 100vw);
  --street-hub-inset: calc((100vw - min(var(--street-hub-col), 100vw)) / 2 + var(--space-4));
}
body.is-street-profile {
  --street-hub-col: min(52rem, 100vw);
  --street-hub-inset: calc((100vw - min(var(--street-hub-col), 100vw)) / 2 + var(--space-4));
}
@supports (background-image: image-set(url("/favicon-32.png") 1x)) {
body.is-rama-search {
    --rama-search-art: image-set(
      url("/media/rama/celestial-parish-path-v1.webp") type("image/webp")
    );
  }
.profile-rays {
    --profile-gathering-art: image-set(
      url("/media/profile/profile-gathering-celestial-light-v1.webp") type("image/webp")
    );
  }
}
.night-entry-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin: 0;
  color: rgba(255, 248, 232, .52);
  font-size: .72rem;
  text-align: center;
}
.night-entry-profile .picto { width: 1rem; height: 1rem; color: var(--entry-gold); }
.night-entry-person .team-pick {
  width: 100%;
  min-height: 4.6rem;
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  align-items: center;
  gap: .8rem;
  padding: .6rem .8rem;
  border: 1px solid rgba(237, 197, 104, .38);
  border-radius: 1rem;
  color: #fff8e8;
  background: rgba(2, 9, 20, .5);
}
.night-entry-person .person-face { grid-row: 1 / span 2; }
.night-entry-panel .person-list { max-height: 14rem; overflow: auto; }
@media (max-height: 700px) {
.night-entry-profile { display: none; }
}

/* Profile dashboard — Celestial Light glass */
.profile-panel.is-dashboard {
  width: min(100%, 44rem);
  margin-top: clamp(.4rem, 2dvh, 1.2rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  animation: none;
  transform: none;
}
.profile-world:has(.profile-panel.is-dashboard) .profile-rays::after {
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 251, 241, .1) 0%,
      rgba(255, 251, 241, .26) 24%,
      rgba(255, 251, 241, .64) 52%,
      rgba(255, 251, 241, .9) 84%,
      rgba(255, 251, 241, .96) 100%
    );
  mask-image: none;
  opacity: 1;
}
.profile-dashboard {
  display: grid;
  gap: var(--space-5);
  width: 100%;
}
.profile-dashboard-hero,
.profile-glass-card,
.profile-editor-sheet,
.profile-glass-primary,
.profile-glass-secondary {
  border: 1px solid color-mix(in srgb, var(--temple-gold-border) 54%, transparent);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(250, 246, 235, .7));
  box-shadow:
    0 .9rem 2.4rem color-mix(in srgb, var(--ink) 10%, transparent),
    inset 0 1px 0 color-mix(in srgb, white 88%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--gold-deep) 12%, transparent);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}
.profile-dashboard-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: var(--space-3) var(--space-4);
  overflow: hidden;
  padding: clamp(1rem, 4vw, 1.5rem);
  border-radius: 1.75rem;
}
.profile-dashboard-hero::before {
  position: absolute;
  inset: -40% 38% 32% -18%;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold-bright) 28%, transparent), transparent 70%);
  pointer-events: none;
}
.profile-dashboard-hero::after {
  position: absolute;
  z-index: 4;
  inset: -28% auto -28% -34%;
  width: 30%;
  content: "";
  background: linear-gradient(90deg, transparent, color-mix(in srgb, white 66%, transparent), transparent);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-150%) skewX(-14deg);
}
.profile-dashboard-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(6.6rem, 21vw, 8.2rem);
  aspect-ratio: 1;
}
.profile-dashboard-avatar .avatar-img {
  position: relative;
  z-index: 2;
  width: 80%;
  height: 80%;
  border: 3px solid var(--navy);
  box-shadow: 0 0 0 3px var(--gold), 0 .8rem 1.8rem color-mix(in srgb, var(--ink) 22%, transparent);
}
.profile-dashboard-avatar-orbit {
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in srgb, var(--gold-deep) 32%, transparent);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, white 62%, transparent), color-mix(in srgb, var(--gold-bright) 10%, transparent) 62%, transparent 64%);
  box-shadow: inset 0 0 0 .35rem color-mix(in srgb, white 28%, transparent);
}
.profile-dashboard-avatar-star {
  position: absolute;
  z-index: 3;
  right: .1rem;
  bottom: .25rem;
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  color: var(--navy);
  border: 1px solid color-mix(in srgb, white 82%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--gold-bright) 74%, transparent);
  box-shadow: inset 0 1px 0 white, 0 .35rem .8rem color-mix(in srgb, var(--ink) 18%, transparent);
}
.profile-dashboard-avatar-star .picto { width: .9rem; height: .9rem; }
.profile-dashboard-heading { position: relative; min-width: 0; }
.profile-dashboard-heading > p {
  margin: 0 0 .3rem;
  color: var(--muted);
  font: 750 .7rem/1.1 var(--font-ui);
  letter-spacing: .11em;
  text-transform: uppercase;
}
.profile-panel .profile-dashboard-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 7vw, 2.7rem);
  line-height: 1;
  text-align: left;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.profile-panel .profile-dashboard-heading h2.is-long { font-size: clamp(1.3rem, 5vw, 1.8rem); }
.profile-dashboard-rank {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  margin-top: .55rem;
  padding: .25rem .65rem;
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--gold-deep) 32%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, white 42%, transparent);
  font: 800 .7rem/1 var(--font-ui);
  box-shadow: inset 0 1px 0 color-mix(in srgb, white 84%, transparent);
}
.profile-dashboard-stats {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding-top: var(--space-3);
  border-top: 1px solid color-mix(in srgb, var(--gold-deep) 18%, transparent);
}
.profile-dashboard-stats > div {
  min-width: 0;
  padding-inline: var(--space-2);
  text-align: center;
}
.profile-dashboard-stats > div + div { border-left: 1px solid color-mix(in srgb, var(--gold-deep) 18%, transparent); }
.profile-dashboard-stats dt {
  color: var(--muted);
  font: 700 .64rem/1.1 var(--font-ui);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.profile-dashboard-stats dd {
  overflow: hidden;
  margin: .25rem 0 0;
  color: var(--ink);
  font: 760 clamp(.95rem, 4vw, 1.2rem)/1.1 var(--font-display);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-dashboard-grid { display: grid; gap: var(--space-5); }
.profile-dashboard-group { display: grid; align-content: start; gap: var(--space-2); min-width: 0; }
.profile-dashboard-group-heading {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  align-items: center;
  gap: .65rem;
  min-height: 3.25rem;
  padding-inline: .3rem;
  text-shadow: 0 1px 0 white, 0 0 14px rgba(255, 251, 241, .96);
}
.profile-dashboard-group-heading.is-text-only { grid-template-columns: minmax(0, 1fr); min-height: auto; padding-top: .25rem; }
.profile-dashboard-group-heading img {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  filter: drop-shadow(0 .35rem .55rem color-mix(in srgb, var(--ink) 14%, transparent));
}
.profile-dashboard-group-heading p {
  margin: 0 0 .1rem;
  color: var(--gold-deep);
  font: 800 .62rem/1.1 var(--font-ui);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.profile-dashboard-group-heading h3 {
  margin: 0;
  color: var(--ink);
  font: 720 clamp(1.12rem, 4.5vw, 1.38rem)/1.08 var(--font-display);
}
.profile-glass-card {
  overflow: hidden;
  border-radius: 1.25rem;
}
.profile-field-list { display: grid; }
.profile-field-row {
  display: grid;
  grid-template-columns: minmax(6rem, .8fr) minmax(0, 1.2fr) 1rem;
  align-items: center;
  gap: .6rem;
  min-height: 3.35rem;
  padding: .72rem .9rem;
  color: var(--ink);
  text-decoration: none;
  transition:
    background-color var(--profile-motion-fast) ease,
    box-shadow var(--profile-motion-fast) ease,
    transform var(--profile-motion-fast) var(--profile-motion-ease);
}
.profile-field-row + .profile-field-row { border-top: 1px solid color-mix(in srgb, var(--gold-deep) 16%, transparent); }
.profile-field-row span { color: var(--muted); font: 700 .74rem/1.2 var(--font-ui); }
.profile-field-row strong {
  font: 750 .86rem/1.2 var(--font-ui);
  overflow-wrap: anywhere;
  text-align: right;
}
.profile-field-row strong.is-empty { color: color-mix(in srgb, var(--muted) 72%, transparent); font-weight: 650; }
.profile-field-row b {
  color: var(--gold-deep);
  font: 600 1.35rem/1 var(--font-ui);
  text-align: right;
  transition: transform var(--profile-motion-fast) var(--profile-motion-ease);
}
.profile-field-row.is-readonly { grid-template-columns: minmax(6rem, .8fr) minmax(0, 1.2fr); }
.profile-field-row:not(.is-readonly):active {
  background: color-mix(in srgb, var(--gold-bright) 14%, transparent);
  transform: scale(.985);
}
.profile-destination-list { display: grid; gap: var(--space-2); }
.profile-destination-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  min-height: 4.75rem;
  padding: .65rem .85rem;
  color: var(--ink);
  text-decoration: none;
  transition:
    background-color var(--profile-motion-fast) ease,
    box-shadow var(--profile-motion-fast) ease,
    transform var(--profile-motion-fast) var(--profile-motion-ease);
}
.profile-destination-card > img {
  width: 3.3rem;
  height: 3.3rem;
  object-fit: contain;
  filter: drop-shadow(0 .25rem .45rem color-mix(in srgb, var(--ink) 13%, transparent));
  transition: transform var(--profile-motion-fast) var(--profile-motion-ease);
}
.profile-destination-card > span { display: grid; gap: .2rem; min-width: 0; }
.profile-destination-card strong { font: 760 .92rem/1.15 var(--font-ui); }
.profile-destination-card small { overflow: hidden; color: var(--muted); font: 600 .7rem/1.25 var(--font-ui); text-overflow: ellipsis; white-space: nowrap; }
.profile-destination-card > b {
  color: var(--gold-deep);
  font: 600 1.55rem/1 var(--font-ui);
  transition: transform var(--profile-motion-fast) var(--profile-motion-ease);
}
.profile-destination-card:active { transform: scale(.985); }
.profile-glass-primary,
.profile-glass-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 3.25rem;
  padding: .65rem 1rem;
  color: var(--ink);
  border-radius: 999px;
  font: 800 .85rem/1 var(--font-ui);
  text-decoration: none;
  transition:
    background-color var(--profile-motion-fast) ease,
    border-color var(--profile-motion-fast) ease,
    box-shadow var(--profile-motion-fast) ease,
    transform var(--profile-motion-fast) var(--profile-motion-ease);
}
.profile-glass-primary {
  position: relative;
  border-color: color-mix(in srgb, var(--gold-deep) 48%, transparent);
  background:
    linear-gradient(145deg, color-mix(in srgb, white 44%, transparent), color-mix(in srgb, var(--gold-bright) 54%, transparent));
  box-shadow:
    0 .75rem 1.8rem color-mix(in srgb, var(--gold-deep) 20%, transparent),
    inset 0 1px 0 color-mix(in srgb, white 88%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--gold-deep) 22%, transparent);
}
.profile-editor-backdrop.is-loading .profile-editor-sheet { cursor: progress; }
.profile-editor-backdrop.is-loading .profile-glass-primary::after {
  width: .8rem;
  height: .8rem;
  content: "";
  border: 2px solid color-mix(in srgb, var(--ink) 22%, transparent);
  border-top-color: var(--gold-deep);
  border-radius: 50%;
  animation: profile-editor-spin .7s linear infinite;
}
.profile-editor-backdrop.is-loading :disabled { cursor: progress; opacity: .72; }
.profile-glass-primary .picto,
.profile-glass-secondary .picto { width: 1rem; height: 1rem; }
.profile-glass-primary:active,
.profile-glass-secondary:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) {
  .profile-field-row:not(.is-readonly):hover {
    background: color-mix(in srgb, white 36%, transparent);
    box-shadow: inset .2rem 0 0 color-mix(in srgb, var(--gold-deep) 28%, transparent);
    transform: translateX(.12rem);
  }
  .profile-field-row:not(.is-readonly):hover b { transform: translateX(.16rem); }
  .profile-destination-card:hover {
    background: linear-gradient(145deg, color-mix(in srgb, white 72%, transparent), color-mix(in srgb, var(--gold-bright) 12%, transparent));
    transform: translateY(-.1rem);
  }
  .profile-destination-card:hover > img { transform: rotate(-2deg) scale(1.04); }
  .profile-destination-card:hover > b { transform: translateX(.16rem); }
  .profile-glass-primary:hover,
  .profile-glass-secondary:hover { transform: translateY(-.08rem); }
}
.profile-switch-player {
  min-height: 2.75rem;
  margin-top: var(--space-2);
  padding: .55rem .9rem;
  font-size: .75rem;
}
#street_quien .profile-panel.is-dashboard .profile-actions { padding-top: 0; }
#street_quien .profile-panel.is-dashboard .profile-actions .street-sign-out {
  width: min(100%, 16rem);
  margin-inline: auto;
  color: color-mix(in srgb, var(--ink) 82%, transparent);
  font-size: .78rem;
}

/* Personal quiz-answer history */
.profile-answer-world { width: min(100%, 52rem); }
.profile-answer-world .profile-rays::after {
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 251, 241, .12), rgba(255, 251, 241, .68) 56%, rgba(255, 251, 241, .95));
  mask-image: none;
  opacity: 1;
}
.profile-answer-stage {
  position: relative;
  isolation: isolate;
  gap: var(--space-2);
}
.profile-answer-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -.85rem -1.75rem -1.1rem;
  pointer-events: none;
  background: radial-gradient(ellipse 72% 78% at 50% 48%, rgba(255, 253, 247, .9), rgba(255, 251, 241, .52) 58%, transparent 82%);
}
.profile-answer-stage h1 {
  max-width: 16ch;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .96), 0 3px 22px rgba(255, 255, 255, .9);
}
.profile-answer-kicker {
  margin: var(--space-2) 0 0;
  color: var(--ink);
  font: 800 .68rem/1 var(--font-ui);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.profile-answer-lede {
  width: min(100%, 36rem);
  margin: 0;
  color: color-mix(in srgb, var(--ink) 68%, white);
  font: 650 .86rem/1.45 var(--font-ui);
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .94), 0 2px 14px rgba(255, 255, 255, .78);
}
.profile-answer-history {
  display: grid;
  gap: var(--space-4);
  width: 100%;
}
.profile-answer-back {
  justify-self: start;
  min-height: 2.75rem;
  padding: .55rem .9rem;
  font-size: .78rem;
}
.profile-answer-back > span { font-size: 1.25rem; line-height: .7; }
.profile-answer-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: var(--space-3);
}
.profile-answer-overview > div {
  display: grid;
  justify-items: center;
  gap: .25rem;
  min-width: 0;
  padding: .35rem var(--space-2);
  text-align: center;
}
.profile-answer-overview > div + div { border-left: 1px solid color-mix(in srgb, var(--gold-deep) 18%, transparent); }
.profile-answer-overview strong {
  color: var(--ink);
  font: 760 clamp(1.1rem, 4vw, 1.45rem)/1 var(--font-display);
}
.profile-answer-overview span {
  color: var(--muted);
  font: 750 .68rem/1.2 var(--font-ui);
}
.profile-answer-sessions { display: grid; gap: var(--space-4); }
.profile-answer-session { padding: 0; }
.profile-answer-session-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border-bottom: 1px solid color-mix(in srgb, var(--gold-deep) 20%, transparent);
}
.profile-answer-session-head > div { min-width: 0; }
.profile-answer-session-head p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0 0 .4rem;
}
.profile-answer-source {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: .25rem .55rem;
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--navy) 18%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, white 48%, transparent);
  font: 800 .62rem/1 var(--font-ui);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.profile-answer-source.is-word { border-color: color-mix(in srgb, var(--gold-deep) 28%, transparent); }
.profile-answer-session-head time,
.profile-answer-session-head > div > span { color: var(--muted); font: 650 .7rem/1.3 var(--font-ui); }
.profile-answer-session-head h2 {
  margin: 0 0 .2rem;
  color: var(--ink);
  font: 720 clamp(1.1rem, 4vw, 1.4rem)/1.1 var(--font-display);
  overflow-wrap: anywhere;
}
.profile-answer-session-head > strong {
  color: var(--ink);
  font: 800 .78rem/1.1 var(--font-ui);
  white-space: nowrap;
}
.profile-answer-list { margin: 0; padding: 0; list-style: none; }
.profile-answer-row { display: grid; gap: .65rem; padding: var(--space-4); }
.profile-answer-row + .profile-answer-row { border-top: 1px solid color-mix(in srgb, var(--gold-deep) 16%, transparent); }
.profile-answer-row > header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem .65rem;
  color: var(--muted);
  font: 720 .67rem/1.2 var(--font-ui);
}
.profile-answer-result {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--navy);
  font-weight: 850;
}
.profile-answer-row.is-wrong .profile-answer-result { color: var(--fire); }
.profile-answer-result b {
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  color: white;
  border-radius: 50%;
  background: var(--navy);
  font-size: .82rem;
}
.profile-answer-row.is-wrong .profile-answer-result b { background: var(--fire); }
.profile-answer-duration {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}
.profile-answer-duration .picto { width: .9rem; height: .9rem; }
.profile-answer-row h3 {
  margin: 0;
  color: var(--ink);
  font: 760 clamp(.95rem, 3.6vw, 1.08rem)/1.3 var(--font-ui);
  overflow-wrap: anywhere;
}
.profile-answer-scripture { margin: -.35rem 0 0; color: var(--muted); font: 700 .68rem/1.2 var(--font-ui); }
.profile-answer-row dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
  margin: 0;
}
.profile-answer-row dl > div {
  display: grid;
  gap: .2rem;
  min-width: 0;
  padding: .65rem .75rem;
  border: 1px solid color-mix(in srgb, var(--gold-deep) 14%, transparent);
  border-radius: .85rem;
  background: color-mix(in srgb, white 34%, transparent);
}
.profile-answer-row dt { color: var(--muted); font: 720 .64rem/1.2 var(--font-ui); }
.profile-answer-row dd { margin: 0; color: var(--ink); font: 760 .79rem/1.3 var(--font-ui); overflow-wrap: anywhere; }
.profile-answer-row.is-wrong dl > div:first-child { border-color: color-mix(in srgb, var(--fire) 22%, transparent); }
.profile-answer-row dl > div:last-child { border-color: color-mix(in srgb, var(--navy) 20%, transparent); }
.profile-answer-pagination {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: var(--space-2);
}
.profile-answer-pagination > :first-child { justify-self: start; }
.profile-answer-pagination > :last-child { justify-self: end; }
.profile-answer-pagination > strong { color: var(--muted); font: 750 .7rem/1.2 var(--font-ui); text-align: center; }
.profile-answer-pagination .profile-glass-secondary { min-height: 2.75rem; padding: .5rem .8rem; font-size: .72rem; }
.profile-answer-empty {
  display: grid;
  justify-items: center;
  gap: var(--space-3);
  padding: clamp(1.5rem, 7vw, 3rem);
  text-align: center;
}
.profile-answer-empty > span {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  color: var(--navy);
  border-radius: 50%;
  background: color-mix(in srgb, var(--gold-bright) 24%, white);
}
.profile-answer-empty .picto { width: 1.8rem; height: 1.8rem; }
.profile-answer-empty h2 { margin: 0; color: var(--ink); font: 720 1.4rem/1.1 var(--font-display); }
.profile-answer-empty p { max-width: 34rem; margin: 0; color: var(--muted); font: 650 .82rem/1.45 var(--font-ui); }
.profile-answer-empty .profile-glass-primary { min-width: min(100%, 15rem); }

@media (max-width: 430px) {
  .profile-answer-world { padding-inline: .75rem; }
  .profile-answer-lede { font-size: .8rem; }
  .profile-answer-session-head { align-items: start; padding: var(--space-3); }
  .profile-answer-session-head > strong { padding-top: .25rem; }
  .profile-answer-row { padding: var(--space-3); }
  .profile-answer-row dl { grid-template-columns: minmax(0, 1fr); }
  .profile-answer-duration { width: 100%; margin-left: 0; }
}

body.is-profile-editor { overflow: hidden; }
body.is-profile-editor .navigation-dock { visibility: hidden; pointer-events: none; }
.profile-editor-backdrop {
  position: fixed;
  box-sizing: border-box;
  z-index: 110;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: var(--space-3);
  background: color-mix(in srgb, var(--navy) 28%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.profile-editor-backdrop.is-leaving { pointer-events: none; }
.profile-editor-sheet {
  position: relative;
  box-sizing: border-box;
  display: grid;
  gap: var(--space-4);
  width: min(100%, 36rem);
  max-height: calc(100dvh - 1.5rem);
  overflow-y: auto;
  padding: 1rem clamp(1rem, 4vw, 1.5rem) calc(1rem + env(safe-area-inset-bottom));
  border-radius: 1.8rem 1.8rem 1.35rem 1.35rem;
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, white 78%, transparent), transparent 34%),
    rgba(250, 246, 235, .965);
  backdrop-filter: blur(24px) saturate(1.08);
  -webkit-backdrop-filter: blur(24px) saturate(1.08);
  overscroll-behavior: contain;
}
.profile-editor-heading {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) max(2.75rem, 45px);
  align-items: center;
  gap: .7rem;
}
.profile-editor-heading > img { width: 3.5rem; height: 3.5rem; object-fit: contain; }
.profile-editor-heading p { margin: 0 0 .15rem; color: var(--gold-deep); font: 800 .62rem/1.1 var(--font-ui); letter-spacing: .11em; text-transform: uppercase; }
.profile-panel .profile-editor-heading h2 { margin: 0; font-size: clamp(1.25rem, 5vw, 1.7rem); line-height: 1.05; text-align: left; }
.profile-editor-close {
  display: grid;
  place-items: center;
  width: max(2.75rem, 45px);
  height: max(2.75rem, 45px);
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--gold-deep) 26%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, white 44%, transparent);
  font: 400 1.55rem/1 var(--font-ui);
  text-decoration: none;
  box-shadow: inset 0 1px 0 color-mix(in srgb, white 84%, transparent);
  transition:
    background-color var(--profile-motion-fast) ease,
    border-color var(--profile-motion-fast) ease,
    transform var(--profile-motion-fast) var(--profile-motion-ease);
}
.profile-editor-close:active { transform: scale(.94); }
.profile-editor-form,
.profile-editor-merge { display: grid; gap: var(--space-4); }
.profile-editor-lede,
.profile-editor-merge > p { margin: 0; color: var(--muted); font: 600 .82rem/1.4 var(--font-ui); }
.profile-editor-field { display: grid; gap: .45rem; color: var(--ink); font: 750 .75rem/1.2 var(--font-ui); }
.profile-editor-error {
  margin: 0;
  padding: .7rem .8rem;
  color: color-mix(in srgb, var(--fire) 82%, var(--ink));
  border: 1px solid color-mix(in srgb, var(--fire) 32%, transparent);
  border-radius: .85rem;
  background: color-mix(in srgb, var(--fire) 8%, white 36%);
  font: 700 .78rem/1.35 var(--font-ui);
}
.profile-editor-count {
  justify-self: end;
  margin-top: -.2rem;
  color: var(--muted);
  font: 700 .68rem/1 var(--font-ui);
}
.profile-editor-field input {
  width: 100%;
  min-height: 3.8rem;
  padding: .65rem .9rem;
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--gold-deep) 34%, transparent);
  border-radius: 1rem;
  outline: 0;
  background: color-mix(in srgb, white 58%, transparent);
  font: 720 clamp(1.05rem, 4vw, 1.35rem)/1.2 var(--font-display);
  box-shadow: inset 0 1px 0 white, 0 .45rem 1.1rem color-mix(in srgb, var(--ink) 6%, transparent);
  transition:
    border-color var(--profile-motion-fast) ease,
    box-shadow var(--profile-motion-fast) ease;
}
.profile-editor-field input:focus { border-color: var(--gold-deep); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold-bright) 28%, transparent), inset 0 1px 0 white; }
.profile-editor-avatars,
.profile-editor-locales { margin: 0; padding: 0; border: 0; }
.profile-editor-avatars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; }
.profile-editor-avatars legend,
.profile-editor-locales legend { grid-column: 1 / -1; margin-bottom: .45rem; color: var(--ink); font: 800 .75rem/1.2 var(--font-ui); }
.profile-editor-avatar {
  position: relative;
  display: grid;
  justify-items: center;
  gap: .35rem;
  min-width: 0;
  padding: .5rem .15rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  transition:
    background-color var(--profile-motion-fast) ease,
    border-color var(--profile-motion-fast) ease,
    box-shadow var(--profile-motion-fast) ease,
    transform var(--profile-motion-fast) var(--profile-motion-ease);
}
.profile-editor-avatar input,
.profile-editor-locale input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.profile-editor-avatar-seal {
  display: grid;
  place-items: center;
  width: clamp(3.2rem, 15vw, 4rem);
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid var(--gold-deep);
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 .35rem .8rem color-mix(in srgb, var(--ink) 16%, transparent);
  transition:
    box-shadow var(--profile-motion-fast) ease,
    transform var(--profile-motion-fast) var(--profile-motion-ease);
}
.profile-editor-avatar-seal .avatar-img { width: 100%; height: 100%; border: 0; transform: scale(1.7); }
.profile-editor-avatar em { overflow: hidden; max-width: 100%; color: var(--ink); font: 700 .65rem/1.1 var(--font-ui); text-overflow: ellipsis; white-space: nowrap; }
.profile-editor-avatar:has(input:checked) { border-color: color-mix(in srgb, var(--gold-deep) 48%, transparent); background: color-mix(in srgb, var(--gold-bright) 16%, transparent); box-shadow: inset 0 1px 0 white; }
.profile-editor-avatar:has(input:checked) .profile-editor-avatar-seal { box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 34%, transparent), 0 .45rem 1rem color-mix(in srgb, var(--ink) 18%, transparent); }
.profile-editor-avatar:active { transform: scale(.97); }
.profile-editor-locales { display: grid; gap: .5rem; }
.profile-editor-locale {
  position: relative;
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr) 1.25rem;
  align-items: center;
  gap: .7rem;
  min-height: 3.25rem;
  padding: .65rem .8rem;
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--gold-deep) 20%, transparent);
  border-radius: 1rem;
  background: color-mix(in srgb, white 36%, transparent);
  transition:
    background-color var(--profile-motion-fast) ease,
    border-color var(--profile-motion-fast) ease,
    box-shadow var(--profile-motion-fast) ease,
    transform var(--profile-motion-fast) var(--profile-motion-ease);
}
.profile-editor-locale > span,
.profile-editor-locale > span .picto { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; }
.profile-editor-locale strong { font: 750 .84rem/1.1 var(--font-ui); }
.profile-editor-locale i { display: none; color: var(--gold-deep); }
.profile-editor-locale i .picto { width: 1rem; height: 1rem; }
.profile-editor-locale:has(input:checked) { border-color: var(--gold-deep); background: color-mix(in srgb, var(--gold-bright) 16%, transparent); box-shadow: inset 0 1px 0 white; }
.profile-editor-locale:has(input:checked) i { display: grid; }
.profile-editor-locale:active { transform: scale(.985); }
.profile-editor-actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: .65rem; }
.profile-editor-empty { padding: 1rem; color: var(--muted); border: 1px dashed color-mix(in srgb, var(--gold-deep) 32%, transparent); border-radius: 1rem; font: 650 .8rem/1.4 var(--font-ui); text-align: center; }
.profile-editor-merge .profile-merge { margin-top: 0; padding-top: 0; border-top: 0; }

@media (min-width: 720px) {
  .profile-dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .profile-dashboard-identity { grid-row: span 2; }
  .profile-dashboard-journeys { grid-row: span 2; }
  .profile-editor-backdrop { place-items: center; padding: var(--space-6); }
  .profile-editor-sheet { max-height: calc(100dvh - 4rem); border-radius: 2rem; }
}
@media (max-width: 430px) {
  .profile-world:has(.profile-panel.is-dashboard) { padding-inline: .75rem; }
  .profile-stage h1 { font-size: clamp(1.9rem, 9vw, 2.55rem); }
  .profile-dashboard { gap: var(--space-4); }
  .profile-dashboard-grid { gap: var(--space-4); }
  .profile-dashboard-hero { border-radius: 1.45rem; }
  .profile-field-row { min-height: 3.15rem; padding: .65rem .78rem; }
  .profile-editor-backdrop { height: 100dvh; max-height: 100dvh; padding: 0 0 .75rem; }
  .profile-editor-sheet { width: 100%; max-height: calc(100dvh - .5rem); border-right: 0; border-bottom: 0; border-left: 0; border-radius: 1.65rem 1.65rem 0 0; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .profile-dashboard-hero,
  .profile-glass-card,
  .profile-editor-sheet,
  .profile-glass-primary,
  .profile-glass-secondary { background: color-mix(in srgb, var(--temple-ivory) 96%, white); }
  .profile-editor-backdrop { background: color-mix(in srgb, var(--navy) 58%, transparent); }
}
@media (prefers-reduced-transparency: reduce) {
  .profile-dashboard-hero,
  .profile-glass-card,
  .profile-editor-sheet,
  .profile-glass-primary,
  .profile-glass-secondary { background: color-mix(in srgb, var(--temple-ivory) 96%, white); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .profile-editor-backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-reduced-motion: no-preference) {
  body:not(.is-profile-editor) .profile-dashboard-hero {
    animation: profile-dashboard-hero-enter var(--profile-motion-enter) var(--profile-motion-ease) 40ms both;
  }
  body:not(.is-profile-editor) .profile-dashboard-hero::after {
    animation: profile-dashboard-light-pass 460ms var(--profile-motion-ease) 170ms both;
  }
  body:not(.is-profile-editor) .profile-dashboard-avatar-orbit {
    animation: profile-dashboard-orbit-enter 420ms var(--profile-motion-ease) 80ms both;
  }
  body:not(.is-profile-editor) .profile-dashboard-avatar-star {
    animation: profile-dashboard-star-enter 320ms var(--profile-motion-ease) 170ms both;
  }
  body:not(.is-profile-editor) .profile-dashboard-group {
    animation: profile-dashboard-group-enter 360ms var(--profile-motion-ease) both;
  }
  body:not(.is-profile-editor) .profile-dashboard-group:nth-child(1) { animation-delay: 80ms; }
  body:not(.is-profile-editor) .profile-dashboard-group:nth-child(2) { animation-delay: calc(80ms + var(--profile-motion-stagger)); }
  body:not(.is-profile-editor) .profile-dashboard-group:nth-child(3) { animation-delay: 190ms; }
  body:not(.is-profile-editor) .profile-dashboard-group:nth-child(4) { animation-delay: 245ms; }
  body:not(.is-profile-editor) .profile-dashboard-group-heading img {
    animation: profile-dashboard-medallion-enter 360ms var(--profile-motion-ease) both;
  }
  body:not(.is-profile-editor) .profile-dashboard-group:nth-child(1) .profile-dashboard-group-heading img { animation-delay: 130ms; }
  body:not(.is-profile-editor) .profile-dashboard-group:nth-child(2) .profile-dashboard-group-heading img { animation-delay: calc(130ms + var(--profile-motion-stagger)); }
  body:not(.is-profile-editor) .profile-dashboard-group:nth-child(4) .profile-dashboard-group-heading img { animation-delay: 295ms; }
  .profile-field-row.is-saved { animation: profile-dashboard-saved 700ms var(--profile-motion-ease) both; }
  .profile-editor-backdrop { animation: profile-editor-backdrop-enter 180ms ease-out both; }
  .profile-editor-sheet { animation: profile-editor-sheet-enter var(--profile-motion-sheet) var(--profile-motion-ease) both; }
  .profile-editor-backdrop.is-leaving { animation: profile-editor-backdrop-leave var(--profile-motion-exit) ease-in both; }
  .profile-editor-backdrop.is-leaving .profile-editor-sheet { animation: profile-editor-sheet-leave var(--profile-motion-exit) ease-in both; }
  .profile-editor-error { animation: profile-editor-error-enter 280ms var(--profile-motion-ease) both; }
  .profile-answer-back { animation: profile-answer-group-enter 280ms var(--profile-motion-ease) 80ms both; }
  .profile-answer-overview { animation: profile-answer-group-enter 340ms var(--profile-motion-ease) 120ms both; }
  .profile-answer-sessions,
  .profile-answer-empty { animation: profile-answer-group-enter 380ms var(--profile-motion-ease) 180ms both; }
  .profile-answer-pagination { animation: profile-answer-group-enter 320ms var(--profile-motion-ease) 220ms both; }
  body.is-profile-editor .profile-stage { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-dashboard-hero,
  .profile-dashboard-hero::after,
  .profile-dashboard-avatar-orbit,
  .profile-dashboard-avatar-star,
  .profile-dashboard-group,
  .profile-dashboard-group-heading img,
  .profile-field-row.is-saved,
  .profile-editor-backdrop,
  .profile-editor-sheet,
  .profile-editor-error,
  .profile-answer-back,
  .profile-answer-overview,
  .profile-answer-sessions,
  .profile-answer-empty,
  .profile-answer-pagination {
    animation: none !important;
    transform: none !important;
  }
  .profile-editor-backdrop.is-loading .profile-glass-primary::after {
    animation: none;
    border-color: var(--gold-deep);
  }
}
@keyframes profile-dashboard-hero-enter {
  from { opacity: 0; transform: translateY(1rem) scale(.992); }
}
@keyframes profile-dashboard-group-enter {
  from { opacity: 0; transform: translateY(.8rem); }
}
@keyframes profile-dashboard-orbit-enter {
  from { opacity: 0; transform: rotate(-8deg) scale(.88); }
}
@keyframes profile-dashboard-star-enter {
  from { opacity: 0; transform: translate(-.25rem, .25rem) rotate(-16deg) scale(.6); }
}
@keyframes profile-dashboard-medallion-enter {
  from { opacity: 0; transform: rotate(-6deg) scale(.84); }
}
@keyframes profile-dashboard-light-pass {
  0% { opacity: 0; transform: translateX(-150%) skewX(-14deg); }
  34% { opacity: .58; }
  100% { opacity: 0; transform: translateX(520%) skewX(-14deg); }
}
@keyframes profile-dashboard-saved {
  0%, 100% { background-color: transparent; box-shadow: none; }
  42% {
    background-color: color-mix(in srgb, var(--gold-bright) 22%, transparent);
    box-shadow: inset .22rem 0 0 color-mix(in srgb, var(--gold-deep) 54%, transparent);
  }
}
@keyframes profile-editor-backdrop-enter {
  from { background-color: transparent; }
}
@keyframes profile-editor-backdrop-leave {
  to { background-color: transparent; }
}
@keyframes profile-editor-sheet-enter {
  from { transform: translateY(1.5rem) scale(.985); }
}
@keyframes profile-editor-sheet-leave {
  to { opacity: 0; transform: translateY(1rem) scale(.99); }
}
@keyframes profile-editor-error-enter {
  from { opacity: 0; transform: translateY(-.35rem); }
}
@keyframes profile-answer-group-enter {
  from { opacity: 0; transform: translateY(.75rem); }
}
@keyframes profile-editor-spin { to { transform: rotate(1turn); } }
