:root {
  --brand: #fdb8fd;
  --brand-strong: #f192f1;
  --brand-soft: #fff2ff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-border: rgba(255, 255, 255, 0.7);
  --text-primary: #3f2945;
  --text-secondary: #755b7d;
  --shadow-soft: 0 18px 48px rgba(180, 116, 181, 0.18);
  --shadow-hover: 0 28px 60px rgba(180, 116, 181, 0.24);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  --hero-progress: 0;
  --header-progress: 0;
  margin: 0;
  min-height: 100vh;
  font-family: "Outfit", sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(circle at top left, rgba(253, 184, 253, 0.85), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.95), transparent 28%),
    linear-gradient(180deg, #ffe7ff 0%, #fff7fd 46%, #fffdfd 100%);
  overflow-x: hidden;
}

body.is-scrolled {
  --header-offset: 1;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  position: relative;
  width: min(1120px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 0 1rem 2rem;
  text-align: center;
}

.site-footer-link {
  color: #111111;
  font-size: 0.98rem;
  font-weight: 600;
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-footer-link:hover,
.site-footer-link:focus-visible {
  opacity: 0.72;
  transform: translateY(-1px);
}

.floating-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "welcome avatar"
    "social social";
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 0.9rem;
  background: rgba(255, 249, 255, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(241, 146, 241, 0.1);
  opacity: var(--header-progress);
  pointer-events: none;
  transform: translateY(calc((-115%) + (115% * var(--header-progress))));
  transition: box-shadow 220ms ease, background 220ms ease;
}

.header-left-cluster {
  display: contents;
}

.header-center-note {
  display: none;
  margin: 0;
  color: var(--brand-strong);
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  pointer-events: none;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

.header-center-logo {
  width: 2rem;
  height: auto;
  flex: 0 0 auto;
}

body.is-scrolled .floating-header {
  pointer-events: auto;
}

.page-glow {
  position: fixed;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(16px);
  opacity: 0.42;
  z-index: 0;
}

.page-glow-left {
  top: 5rem;
  left: -5rem;
  background: rgba(253, 184, 253, 0.55);
}

.page-glow-right {
  top: 20rem;
  right: -7rem;
  background: rgba(255, 217, 250, 0.7);
}

.hero-card,
.links-section {
  position: relative;
  z-index: 1;
}

.hero-card {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  min-height: min(78vh, 34rem);
  padding: 1.1rem 1.15rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: calc(var(--radius-xl) + 0.5rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.68)),
    linear-gradient(135deg, rgba(253, 184, 253, 0.24), rgba(255, 255, 255, 0.14));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
  transform-origin: top center;
  position: sticky;
  top: 1rem;
  transform: translateY(calc(-8rem * var(--hero-progress)));
  opacity: calc(1 - (1.15 * var(--hero-progress)));
  filter: blur(calc(8px * var(--hero-progress)));
  pointer-events: auto;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(253, 184, 253, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.brand-pill:hover,
.brand-pill:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(241, 146, 241, 0.16);
  border-color: rgba(241, 146, 241, 0.8);
}

.brand-pill-logo {
  width: 3rem;
  height: auto;
}

.brand-pill-logo-goat {
  width: 2.6rem;
}

.welcome-pill,
.header-pill {
  user-select: none;
}

.header-pill {
  grid-area: welcome;
  padding: 0.65rem 0.9rem;
  -webkit-touch-callout: none;
  user-select: none;
}

.header-pill .brand-pill-logo {
  width: 2.35rem;
}

.header-avatar-link {
  grid-area: avatar;
  justify-self: end;
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  flex: 0 0 auto;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-avatar-link:hover,
.header-avatar-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(241, 146, 241, 0.18);
}

.header-avatar-frame {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  padding: 0.16rem;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(253, 184, 253, 0.82), rgba(255, 255, 255, 0.95));
  box-shadow: 0 10px 22px rgba(180, 116, 181, 0.18);
}

.header-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.85);
  border: 2px solid rgba(255, 255, 255, 0.96);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
}

.hero-visual-stack {
  display: grid;
  justify-items: center;
  align-items: center;
  transition: transform 160ms linear;
}

.hero-photo-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
}

.hero-photo-frame {
  position: relative;
  width: min(100%, 20rem);
  aspect-ratio: 1;
  padding: 0.7rem;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.92), rgba(253, 184, 253, 0.46)),
    linear-gradient(135deg, rgba(253, 184, 253, 0.62), rgba(255, 255, 255, 0.8));
  box-shadow:
    0 26px 60px rgba(172, 112, 179, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.hero-photo-button:hover .hero-photo-frame,
.hero-photo-button:focus-visible .hero-photo-frame {
  transform: translateY(-3px);
  box-shadow:
    0 34px 70px rgba(172, 112, 179, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.hero-profile {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 50%;
  box-shadow:
    0 24px 60px rgba(172, 112, 179, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transform: scale(1.54);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-profile:hover {
  transform: scale(1.57);
  box-shadow:
    0 34px 70px rgba(172, 112, 179, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.hero-profile-photo {
  border: 6px solid rgba(255, 255, 255, 0.86);
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 0.55rem;
  text-align: center;
}

.hero-title-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-title-row-centered {
  justify-content: center;
}

.hero-inline-logo {
  width: clamp(3rem, 8vw, 4rem);
  height: auto;
  flex: 0 0 auto;
}

.hero-copy-logo {
  width: clamp(4.25rem, 16vw, 5.6rem);
  margin: 0 auto 0.15rem;
}

.hero-copy-logo-goat {
  width: clamp(5rem, 18vw, 6.4rem);
}

.hero-copy h1,
.section-heading h2,
.important-copy h3 {
  font-family: "Sora", sans-serif;
  margin: 0;
}

.hero-copy h1 {
  font-size: clamp(2rem, 7vw, 3.85rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-copy p,
.important-copy p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.04rem;
  line-height: 1.6;
}

.hero-copy p {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.social-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.social-badge-row-header {
  grid-area: social;
  justify-content: flex-start;
}

.social-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid rgba(253, 184, 253, 0.76);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 244, 252, 0.88));
  color: var(--brand-strong);
  box-shadow: 0 14px 24px rgba(241, 146, 241, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.social-badge:hover,
.social-badge:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(241, 146, 241, 0.92);
  box-shadow: 0 20px 30px rgba(241, 146, 241, 0.18);
}

.social-badge-icon {
  width: 1.32rem;
  height: 1.32rem;
}

.social-badge-row-header .social-badge {
  width: 3rem;
  height: 3rem;
}

.links-section {
  margin-top: 1.15rem;
  display: grid;
  gap: 1rem;
  transform: translateY(calc(-12rem * var(--hero-progress)));
}

.section-heading {
  display: grid;
  gap: 0.4rem;
  padding: 0.5rem 0.25rem 0;
}

.section-heading h2 {
  font-size: clamp(1.45rem, 5vw, 2.2rem);
  letter-spacing: -0.04em;
}

.eyebrow {
  margin: 0;
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.link-grid {
  display: grid;
  gap: 0.9rem;
}

.link-card {
  display: grid;
  gap: 1rem;
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow-soft);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.link-card:hover,
.link-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(253, 184, 253, 0.82);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 243, 252, 0.92));
}

.link-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.link-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  background: rgba(253, 184, 253, 0.24);
  color: var(--brand-strong);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  font-size: 1.15rem;
  transition: transform 180ms ease, background 180ms ease;
}

.link-arrow-icon {
  width: 1.2rem;
  height: 1.2rem;
}

.link-card:hover .link-arrow,
.link-card:focus-within .link-arrow {
  transform: translateX(4px);
  background: rgba(253, 184, 253, 0.28);
}

.link-card-title {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.link-card-copy {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.55;
}

.link-card-anchor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  color: inherit;
}

.link-card-meta {
  color: var(--brand-strong);
  font-size: 0.93rem;
  font-weight: 700;
}

.important-card {
  display: grid;
  gap: 1.25rem;
  padding: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: calc(var(--radius-lg) + 0.2rem);
  background:
    linear-gradient(145deg, rgba(253, 184, 253, 0.26), rgba(255, 255, 255, 0.95)),
    rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.important-copy {
  display: grid;
  gap: 0.5rem;
}

.important-copy h3 {
  font-size: clamp(1.4rem, 5vw, 2rem);
  letter-spacing: -0.04em;
}

.important-grid {
  display: grid;
  gap: 0.85rem;
}

.updates-placeholder {
  display: grid;
  gap: 0.65rem;
  padding: 1.1rem 1.15rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 28px rgba(241, 146, 241, 0.12);
}

.updates-pill {
  width: fit-content;
  padding: 0.52rem 0.8rem;
  border-radius: 999px;
  background: rgba(253, 184, 253, 0.22);
  color: var(--brand-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.updates-placeholder p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.announcement-feed {
  display: grid;
  gap: 0.85rem;
}

.announcement-card {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1.05rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 28px rgba(241, 146, 241, 0.12);
}

.announcement-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.announcement-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.65;
}

.announcement-author {
  color: var(--brand-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.announcement-time {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
}

.announcement-link {
  width: fit-content;
  color: var(--brand-strong);
  font-size: 0.95rem;
  font-weight: 700;
}

.contact-card .about-inline-link {
  font-size: 1.08rem;
}

.partnership-grid {
  display: grid;
  gap: 0.9rem;
}

.partnership-card {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 28px rgba(241, 146, 241, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.partnership-card strong {
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  line-height: 1.35;
}

.partnership-label {
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.partnership-card-link:hover,
.partnership-card-link:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 34px rgba(241, 146, 241, 0.18);
  border-color: rgba(241, 146, 241, 0.84);
}

.about-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.about-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.about-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(55, 30, 61, 0.34);
  backdrop-filter: blur(12px);
}

.about-panel {
  position: relative;
  z-index: 1;
  width: min(33rem, 100%);
  display: grid;
  gap: 0.9rem;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 253, 0.92));
  box-shadow: 0 28px 68px rgba(111, 68, 117, 0.22);
  transform: translateY(18px) scale(0.97);
  transition: transform 180ms ease;
}

.about-modal.is-open .about-panel {
  transform: translateY(0) scale(1);
}

.about-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: rgba(253, 184, 253, 0.22);
  color: var(--text-primary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.about-panel h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.about-text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.03rem;
  line-height: 1.7;
}

.about-inline-link {
  color: var(--brand-strong);
  font-weight: 700;
}

.about-discord-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  width: fit-content;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, #ffd7fb 100%);
  color: var(--text-primary);
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(241, 146, 241, 0.24);
}

.tracker-page {
  --hero-progress: 0;
  --header-progress: 0;
}

.maps-headline {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.maps-headline h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.3rem);
  letter-spacing: -0.04em;
}

.maps-headline p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.admin-shell {
  padding-bottom: 4rem;
}

.tracker-copy-centered {
  text-align: center;
}

.tracker-copy-centered .hero-copy-logo {
  margin-left: auto;
  margin-right: auto;
}

.admin-form {
  display: grid;
  gap: 1rem;
}

.admin-links-grid,
.admin-announcement-list {
  display: grid;
  gap: 0.9rem;
}

.admin-login-panel {
  width: min(30rem, 100%);
}

.admin-login-intro {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  padding-top: 0.35rem;
  text-align: center;
}

.admin-login-logo {
  width: 4.35rem;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(241, 146, 241, 0.2));
}

.admin-login-copy {
  display: grid;
  gap: 0.45rem;
}

.admin-login-shell {
  width: min(34rem, 100%);
  margin: 0 auto;
}

.dubby-panel {
  width: min(32rem, 100%);
}

.dubby-actions {
  display: grid;
  gap: 0.85rem;
}

.dubby-copy-button,
.dubby-site-button {
  width: 100%;
}

.admin-link-card,
.admin-announcement-card {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 28px rgba(241, 146, 241, 0.12);
}

.admin-link-header,
.admin-announcement-top,
.admin-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.admin-field {
  display: grid;
  gap: 0.45rem;
}

.admin-textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(253, 184, 253, 0.55);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-primary);
  font: inherit;
  line-height: 1.6;
  resize: vertical;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.admin-textarea-small {
  min-height: 7rem;
}

.admin-textarea:focus-visible {
  outline: 3px solid rgba(241, 146, 241, 0.32);
  outline-offset: 3px;
}

.admin-button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
}

.admin-secondary-button {
  min-height: 3.2rem;
  padding: 0 1.2rem;
  border: 1px solid rgba(253, 184, 253, 0.62);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 24px rgba(241, 146, 241, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.admin-secondary-button:hover,
.admin-secondary-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(241, 146, 241, 0.88);
  box-shadow: 0 20px 30px rgba(241, 146, 241, 0.18);
}

.admin-message {
  min-height: 1.4rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 700;
}

.admin-message[data-state="success"] {
  color: #4f8460;
}

.admin-message[data-state="error"] {
  color: #a84c6c;
}

.admin-status-line,
.admin-error-line {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
}

.admin-status-line {
  color: var(--text-secondary);
}

.admin-error-line {
  color: #a84c6c;
  font-weight: 600;
}

.admin-announcement-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.65;
}

.admin-announcement-time {
  color: var(--brand-strong);
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-delete-button {
  min-height: 2.5rem;
  padding: 0 0.9rem;
  border: 0;
  border-radius: 999px;
  background: rgba(253, 184, 253, 0.2);
  color: var(--text-primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.admin-delete-button:hover,
.admin-delete-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(241, 146, 241, 0.14);
}

.maps-grid {
  display: grid;
  gap: 0.9rem;
}

.map-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 0.9rem;
  align-content: start;
  padding: 0 1.1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 28px rgba(241, 146, 241, 0.12);
}

.map-card-themed {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 253, 0.92)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    0 18px 34px rgba(241, 146, 241, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.map-card-themed::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(253, 184, 253, 0.18), transparent 45%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.36), transparent 32%);
}

.map-card-art {
  width: calc(100% + 2.2rem);
  margin: 0 -1.1rem;
  min-height: 13rem;
  border-radius: 1.5rem 1.5rem 1.15rem 1.15rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--map-art) center / cover no-repeat;
  border-bottom: 1px solid rgba(253, 184, 253, 0.18);
  box-shadow: inset 0 -60px 80px rgba(255, 255, 255, 0.08);
}

.map-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: -2.15rem;
  position: relative;
  z-index: 1;
  padding: 0 0.15rem;
}

.map-card-label,
.map-card-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(253, 184, 253, 0.2);
  color: var(--brand-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
}

.map-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.map-code-chip {
  width: fit-content;
  padding: 0.85rem 1.05rem;
  border: 1px solid rgba(253, 184, 253, 0.68);
  border-radius: 999px;
  background: rgba(255, 247, 253, 0.92);
  color: var(--text-primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.map-code-chip:hover,
.map-code-chip:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(241, 146, 241, 0.88);
  box-shadow: 0 16px 28px rgba(241, 146, 241, 0.14);
}

.map-copy-button {
  width: fit-content;
  min-width: 10rem;
}

.map-card-themed .map-card-label,
.map-card-themed .map-card-status,
.map-card-themed .map-code-chip {
  background: rgba(255, 247, 253, 0.9);
  backdrop-filter: blur(8px);
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  z-index: 50;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: rgba(63, 41, 69, 0.96);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 20px 36px rgba(63, 41, 69, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.tracker-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
  display: grid;
  gap: 1.15rem;
}

.tracker-hero,
.tracker-panel,
.table-panel {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: calc(var(--radius-xl) + 0.2rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.74)),
    linear-gradient(135deg, rgba(253, 184, 253, 0.18), rgba(255, 255, 255, 0.14));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.tracker-hero {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
}

.tracker-hero-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-primary);
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(241, 146, 241, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.back-home:hover,
.back-home:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(241, 146, 241, 0.18);
}

.tracker-back-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 4.4rem;
  padding: 0 1.2rem;
  border: 1px solid rgba(253, 184, 253, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text-primary);
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 16px 28px rgba(241, 146, 241, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tracker-back-bar:hover,
.tracker-back-bar:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(241, 146, 241, 0.88);
  box-shadow: 0 22px 34px rgba(241, 146, 241, 0.2);
}

.tracker-back-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: rgba(253, 184, 253, 0.24);
  color: var(--brand-strong);
  font-size: 1.05rem;
}

.tracker-hero-grid {
  display: grid;
  gap: 1.1rem;
  align-items: center;
}

.tracker-copy {
  display: grid;
  gap: 0.75rem;
  text-align: center;
}

.tracker-copy h1,
.table-panel-head h2,
.results-empty h2,
.results-headline h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.tracker-copy h1 {
  font-size: clamp(2.1rem, 7vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.tracker-copy .hero-copy-logo {
  width: clamp(5.75rem, 18vw, 8rem);
  margin-left: auto;
  margin-right: auto;
}

.tracker-copy p,
.table-note,
.results-empty p,
.results-headline p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tracker-hero-visual {
  display: flex;
  justify-content: center;
}

.tracker-profile-frame {
  position: relative;
  width: min(100%, 18rem);
  aspect-ratio: 1;
  padding: 0.7rem;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.94), rgba(253, 184, 253, 0.46)),
    linear-gradient(135deg, rgba(253, 184, 253, 0.62), rgba(255, 255, 255, 0.82));
  box-shadow:
    0 24px 56px rgba(172, 112, 179, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.tracker-profile-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.7);
  border: 6px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 24px 60px rgba(172, 112, 179, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.tracker-panel,
.table-panel {
  padding: 1.2rem;
}

.search-form {
  display: grid;
  gap: 0.6rem;
}

.search-label {
  color: var(--brand-strong);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-row {
  display: grid;
  gap: 0.75rem;
}

.search-input {
  width: 100%;
  min-height: 3.6rem;
  padding: 0 1rem;
  border: 1px solid rgba(253, 184, 253, 0.55);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-primary);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.search-input:focus-visible {
  outline: 3px solid rgba(241, 146, 241, 0.32);
  outline-offset: 3px;
}

.search-button {
  min-height: 3.6rem;
  padding: 0 1.35rem;
  border: 0;
  border-radius: 1.15rem;
  background: linear-gradient(135deg, var(--brand) 0%, #ffd7fb 100%);
  color: var(--text-primary);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 28px rgba(241, 146, 241, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.search-button:hover,
.search-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 34px rgba(241, 146, 241, 0.24);
}

.results-panel {
  margin-top: 1rem;
}

.results-empty,
.results-headline {
  display: grid;
  gap: 0.4rem;
}

.result-cards {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.result-card {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 28px rgba(241, 146, 241, 0.12);
}

.result-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.result-badge,
.result-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(253, 184, 253, 0.2);
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.result-card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.28rem;
  line-height: 1.2;
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.result-stats div {
  padding: 0.8rem 0.9rem;
  border-radius: 1rem;
  background: rgba(253, 184, 253, 0.1);
}

.result-stats dt {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 700;
}

.result-stats dd {
  margin: 0.25rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.table-panel-head {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.table-note {
  font-size: 0.96rem;
}

.leaderboard-table-shell {
  max-height: 60vh;
  overflow: auto;
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.82);
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
}

.leaderboard-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(255, 244, 253, 0.96);
  backdrop-filter: blur(8px);
}

.leaderboard-table th,
.leaderboard-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(241, 146, 241, 0.14);
}

.leaderboard-table th {
  font-size: 0.88rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.leaderboard-table tbody tr:hover {
  background: rgba(253, 184, 253, 0.08);
}

.table-row-match {
  background: rgba(253, 184, 253, 0.16);
}

.leaderboard-table tbody td:first-child {
  font-weight: 800;
}

.link-card-anchor:focus-visible,
.brand-pill:focus-visible,
.header-avatar-link:focus-visible,
.hero-photo-button:focus-visible,
.social-badge:focus-visible,
.about-close:focus-visible,
.about-discord-pill:focus-visible,
.back-home:focus-visible,
.tracker-back-bar:focus-visible,
.search-button:focus-visible,
.map-code-chip:focus-visible,
.partnership-card-link:focus-visible,
.admin-textarea:focus-visible,
.admin-delete-button:focus-visible {
  outline: 3px solid rgba(241, 146, 241, 0.42);
  outline-offset: 4px;
}

@media (max-width: 699px) {
  .link-card-meta {
    display: none;
  }
}

@media (min-width: 700px) {
  .floating-header {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    padding: 0.85rem 1.25rem;
    position: fixed;
  }

  .header-left-cluster {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-right: auto;
    min-width: 0;
  }

  .header-pill {
    flex: 0 0 auto;
  }

  .social-badge-row-header {
    justify-content: flex-start;
    flex: 0 0 auto;
  }

  .header-center-note {
    display: inline-flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .page-shell {
    width: min(1120px, calc(100% - 2rem));
    padding-top: 1.5rem;
  }

  .tracker-shell {
    width: min(1120px, calc(100% - 2rem));
    padding-top: 1.5rem;
  }

  .hero-card {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas: "copy visual";
    align-items: center;
    min-height: 30rem;
    padding: 1.5rem 1.6rem;
  }

  .hero-visual {
    grid-area: visual;
    justify-content: flex-end;
  }

  .hero-copy {
    grid-area: copy;
    text-align: left;
    padding-right: 1.2rem;
  }

  .hero-title-row {
    justify-content: flex-start;
  }

  .hero-copy p {
    margin-left: 0;
    margin-right: 0;
  }

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

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

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

  .tracker-hero {
    padding: 1.55rem;
  }

  .tracker-hero-top {
    align-items: center;
    justify-content: space-between;
  }

  .tracker-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .tracker-copy {
    text-align: left;
  }

  .tracker-copy .hero-title-row {
    justify-content: flex-start;
  }

  .tracker-copy .hero-copy-logo {
    margin-left: 0;
    margin-right: 0;
  }

  .search-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .search-button {
    min-width: 9rem;
  }

}

@media (min-width: 1024px) {
  .page-shell {
    width: min(1180px, calc(100% - 3rem));
    padding-bottom: 4rem;
  }

  .tracker-shell {
    width: min(1180px, calc(100% - 3rem));
    padding-bottom: 4rem;
  }

  .hero-card {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    min-height: 31rem;
    padding: 1.6rem 1.9rem;
  }

  .hero-photo-frame {
    width: min(100%, 24rem);
  }

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

  .important-card {
    padding: 1.5rem;
  }

  .partnership-grid,
  .maps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-links-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
