:root {
  --aurora-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --aurora-ink: #1B1B1D;
  --aurora-anchor: #253047;
  --aurora-link: #2563EB;
  --aurora-mint: #7DE2B8;
  --aurora-lav: #B3B6F5;
  --aurora-peach: #FFB3A7;
  --aurora-mist: #DDE5EA;
  --aurora-paper: rgba(255, 255, 255, 0.98);
  --aurora-bg1: #D9FFF3;
  --aurora-bg2: #E9E5FF;
  --aurora-bg3: #FFE2DD;
  --aurora-shadow: rgba(0, 0, 0, 0.12);
  --aurora-radius: 16px;
  --aurora-space: 20px;
  --aurora-space-lg: 48px;
  --aurora-maxw: 1200px;
}

body.aurora-theme {
  margin: 0;
  min-height: 100vh;
  font-family: var(--aurora-font);
  color: var(--aurora-ink);
  line-height: 1.65;
  background: linear-gradient(135deg, var(--aurora-bg1) 0%, var(--aurora-bg2) 45%, var(--aurora-bg3) 100%);
  background-attachment: fixed;
}

body.aurora-theme * {
  box-sizing: border-box;
}

body.aurora-theme a {
  color: var(--aurora-link);
  transition: color 0.15s ease;
}

body.aurora-theme a:hover,
body.aurora-theme a:focus {
  color: var(--aurora-anchor);
}

body.aurora-theme .container-primary {
  max-width: var(--aurora-maxw);
  margin: 0 auto;
  padding: 20px var(--aurora-space) 36px;
}

body.aurora-theme .main-shell {
  min-height: calc(100vh - 220px);
}

body.aurora-theme .main-content {
  padding-top: 56px;
}

body.aurora-theme .section-heading {
  color: var(--aurora-anchor);
  margin: 0 0 6px;
}

body.aurora-theme h1 {
  font-size: 2.1rem;
  line-height: 1.15;
}

body.aurora-theme h2 {
  font-size: 1.4rem;
  margin-top: 14px;
}

body.aurora-theme h3 {
  font-size: 1.1rem;
  margin-top: 10px;
}

body.aurora-theme .lede {
  color: #2a2a2d;
}

body.aurora-theme header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(37, 48, 71, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

body.aurora-theme .navwrap {
  max-width: var(--aurora-maxw);
  margin: 0 auto;
  padding: 14px var(--aurora-space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

body.aurora-theme .brand {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--aurora-anchor);
  text-decoration: none;
}

body.aurora-theme nav.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.aurora-theme nav.nav a {
  position: relative;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 700;
  color: var(--aurora-anchor);
  text-decoration: none;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.25s ease;
}

body.aurora-theme nav.nav a.admin-link {
  color: #d93025;
  border: none;
}

body.aurora-theme nav.nav a.admin-link:visited {
  color: #d93025;
}

body.aurora-theme nav.nav a.admin-link:hover,
body.aurora-theme nav.nav a.admin-link:focus {
  color: #b2221b;
  border: none;
  background: transparent;
}

body.aurora-theme nav.nav a:hover,
body.aurora-theme nav.nav a:focus {
  border-color: transparent;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.9), 0 0 0 4px rgba(125, 226, 184, 0.45), 0 0 0 6px rgba(179, 182, 245, 0.35), 0 0 0 8px rgba(255, 179, 167, 0.35);
}

body.aurora-theme nav.nav a.active,
body.aurora-theme nav.nav a[data-active="true"] {
  border-color: transparent;
  box-shadow: none;
  background: transparent;
}

body.aurora-theme nav.nav a.active:not(.admin-link):hover,
body.aurora-theme nav.nav a.active:not(.admin-link):focus,
body.aurora-theme nav.nav a[data-active="true"]:not(.admin-link):hover,
body.aurora-theme nav.nav a[data-active="true"]:not(.admin-link):focus {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.9), 0 0 0 4px rgba(125, 226, 184, 0.45), 0 0 0 6px rgba(179, 182, 245, 0.35), 0 0 0 8px rgba(255, 179, 167, 0.35);
}

body.aurora-theme nav.nav a.admin-link.active,
body.aurora-theme nav.nav a.admin-link[data-active="true"] {
  border: none;
}

body.aurora-theme nav.nav a::after,
body.aurora-theme nav.nav a:hover::after,
body.aurora-theme nav.nav a:focus::after {
  display: none;
}

body.aurora-theme nav.nav a.subscribe-link--prominent {
  background: linear-gradient(135deg, var(--aurora-mint), var(--aurora-lav));
  color: var(--aurora-anchor);
  font-weight: 800;
  border: none;
  padding: 8px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 14px -4px rgba(125, 226, 184, 0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

body.aurora-theme nav.nav a.subscribe-link--prominent:hover,
body.aurora-theme nav.nav a.subscribe-link--prominent:focus {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 8px 20px -4px rgba(125, 226, 184, 0.55),
              0 0 0 2px rgba(179, 182, 245, 0.3);
  background: linear-gradient(135deg, var(--aurora-mint), var(--aurora-lav));
}

body.aurora-theme .mobile-drawer a.subscribe-link--prominent {
  background: linear-gradient(135deg, var(--aurora-mint), var(--aurora-lav));
  color: var(--aurora-anchor);
  font-weight: 800;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  text-align: center;
  align-self: stretch;
  box-shadow: 0 4px 14px -4px rgba(125, 226, 184, 0.5);
}

body.aurora-theme .mobile-drawer a.subscribe-link--prominent:hover,
body.aurora-theme .mobile-drawer a.subscribe-link--prominent:focus {
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow: 0 8px 20px -4px rgba(125, 226, 184, 0.55),
              0 0 0 2px rgba(179, 182, 245, 0.3);
  background: linear-gradient(135deg, var(--aurora-mint), var(--aurora-lav));
}

body.aurora-theme .header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.aurora-theme .mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 12px;
  border: 2px solid transparent;
  color: var(--aurora-anchor);
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

body.aurora-theme .mobile-menu-btn:hover,
body.aurora-theme .mobile-menu-btn:focus {
  border-color: var(--aurora-mist);
}

@media (min-width: 640px) {
  body.aurora-theme .mobile-menu-btn {
    display: none;
  }
}

body.aurora-theme .mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  margin: 0 var(--aurora-space);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--aurora-mist);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
  align-items: flex-end;
  text-align: right;
}

body.aurora-theme .mobile-drawer[aria-expanded="true"] {
  display: flex;
}

body.aurora-theme .mobile-drawer a {
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  color: var(--aurora-anchor);
  text-decoration: none;
  border: 1px solid transparent;
  transition: border-color 0.15s ease, background 0.15s ease;
  align-self: flex-end;
}

body.aurora-theme .mobile-drawer a.admin-link {
  color: #d93025;
  border: none;
}

body.aurora-theme .mobile-drawer a.admin-link:visited {
  color: #d93025;
}

body.aurora-theme .mobile-drawer a.admin-link:hover,
body.aurora-theme .mobile-drawer a.admin-link:focus {
  color: #b2221b;
  border: none;
  background: transparent;
}

body.aurora-theme .mobile-drawer a:hover,
body.aurora-theme .mobile-drawer a:focus {
  border-color: transparent;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.9),
              0 0 0 4px rgba(125, 226, 184, 0.45),
              0 0 0 6px rgba(179, 182, 245, 0.35),
              0 0 0 8px rgba(255, 179, 167, 0.35);
}

body.aurora-theme .mobile-drawer a[data-active="true"] {
  border-color: transparent;
  box-shadow: none;
  background: transparent;
}

body.aurora-theme .mobile-drawer a[data-active="true"]:hover,
body.aurora-theme .mobile-drawer a[data-active="true"]:focus {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.9),
              0 0 0 4px rgba(125, 226, 184, 0.45),
              0 0 0 6px rgba(179, 182, 245, 0.35),
              0 0 0 8px rgba(255, 179, 167, 0.35);
}

body.aurora-theme .mobile-drawer a.admin-link[data-active="true"] {
  border: none;
}

@media (max-width: 639px) {
  body.aurora-theme nav.nav {
    display: none;
  }
}

body.aurora-theme .about-social-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (min-width: 640px) {
  body.aurora-theme .about-social-links {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
}

body.aurora-theme .card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--aurora-mist);
  border-radius: var(--aurora-radius);
  box-shadow: 0 16px 40px var(--aurora-shadow);
  overflow: hidden;
}

body.aurora-theme .aurora-admin-surface {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(37, 48, 71, 0.08);
  backdrop-filter: blur(10px);
}

body.aurora-theme .aurora-admin-surface::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle at 15% 15%, rgba(125, 226, 184, 0.32), transparent 55%),
              radial-gradient(circle at 85% 10%, rgba(179, 182, 245, 0.28), transparent 60%),
              radial-gradient(circle at 50% 90%, rgba(255, 179, 167, 0.24), transparent 65%);
  opacity: 0.1;
  filter: blur(60px);
  pointer-events: none;
}

body.aurora-theme .aurora-admin-content {
  position: relative;
  z-index: 1;
}

body.aurora-theme .aurora-divider {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aurora-mint), var(--aurora-lav), var(--aurora-peach));
  opacity: 0.9;
  margin: clamp(32px, 5vw, 48px) 0 clamp(24px, 4vw, 36px);
}

body.aurora-theme .aurora-results-section {
  display: grid;
  gap: 24px;
}

body.aurora-theme .aurora-empty-results svg {
  color: var(--aurora-lav);
}

body.aurora-theme .aurora-empty-results h3 {
  color: var(--aurora-anchor);
}

body.aurora-theme .aurora-post-card__link {
  display: block;
  text-decoration: none;
  font-family: var(--aurora-font);
}

body.aurora-theme .aurora-post-card__link:focus {
  outline: none;
}

body.aurora-theme .aurora-post-card__link:focus-visible .aurora-post-card {
  transform: translateY(-12px);
  box-shadow: 0 40px 90px -42px rgba(27, 27, 29, 0.56);
}

body.aurora-theme .aurora-post-card__edit-wrapper {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  transition: transform 0.3s ease;
}

body.aurora-theme .aurora-post-card__link:hover .aurora-post-card {
  transform: translateY(-12px);
  box-shadow: 0 40px 90px -42px rgba(27, 27, 29, 0.56);
}

body.aurora-theme .aurora-post-card__link:hover .aurora-post-card::before {
  opacity: 1;
}

body.aurora-theme .aurora-post-card__link:hover .aurora-post-card__edit-wrapper {
  transform: translateY(-12px);
}

body.aurora-theme .aurora-post-card-wrapper {
  margin-bottom: calc(var(--aurora-space) * 1.6);
}

body.aurora-theme .aurora-post-card-wrapper:last-of-type {
  margin-bottom: 0;
}

body.aurora-theme .aurora-post-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--aurora-radius);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 60px -34px rgba(27, 27, 29, 0.52);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.aurora-theme .aurora-post-card--stacked {
  margin-bottom: 0;
}

body.aurora-theme .aurora-post-card--grid {
  margin-bottom: 0;
}

body.aurora-theme .aurora-latest-header {
  margin-bottom: calc(var(--aurora-space) * 1.3);
  padding-bottom: 8px;
}

body.aurora-theme .aurora-latest-heading {
  margin: 0;
  font-size: clamp(1.6rem, 1.3rem + 0.4vw, 2rem);
  font-weight: 800;
  color: var(--aurora-anchor);
  letter-spacing: -0.015em;
}

body.aurora-theme .aurora-post-card-grid {
  row-gap: calc(var(--aurora-space) * 2.2);
  column-gap: calc(var(--aurora-space) * 1.6);
}

body.aurora-theme .aurora-post-card-grid .aurora-post-card__link {
  height: 100%;
}

body.aurora-theme .aurora-post-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(125, 226, 184, 0.22), transparent 60%),
              radial-gradient(circle at 80% 0%, rgba(179, 182, 245, 0.26), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}

body.aurora-theme .aurora-post-card:hover,
body.aurora-theme .aurora-post-card:focus-within {
  transform: translateY(-12px);
  box-shadow: 0 40px 90px -42px rgba(27, 27, 29, 0.56);
}

body.aurora-theme .aurora-post-card:hover::before,
body.aurora-theme .aurora-post-card:focus-within::before {
  opacity: 1;
}

body.aurora-theme .aurora-post-card__inner {
  position: relative;
  z-index: 1;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: var(--aurora-font);
}

body.aurora-theme .aurora-post-card__title {
  margin: 0;
  font-size: clamp(1.5rem, 1.2rem + 0.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--aurora-anchor);
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  transition: color 0.3s ease;
}

body.aurora-theme .aurora-post-card__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(125, 226, 184, 0.35) 0%, rgba(179, 182, 245, 0.45) 50%, rgba(255, 179, 167, 0.35) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

body.aurora-theme .aurora-post-card:hover .aurora-post-card__title,
body.aurora-theme .aurora-post-card:focus-within .aurora-post-card__title {
  color: var(--aurora-link);
}

body.aurora-theme .aurora-post-card:hover .aurora-post-card__title::after,
body.aurora-theme .aurora-post-card:focus-within .aurora-post-card__title::after {
  transform: scaleX(1);
}

body.aurora-theme .aurora-post-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--aurora-ink);
  font-family: var(--aurora-font);
}

body.aurora-theme .aurora-post-card__meta-date {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--aurora-ink);
}

body.aurora-theme .aurora-post-card__meta-icon {
  width: 18px;
  height: 18px;
  color: rgba(27, 27, 29, 0.55);
}

body.aurora-theme .aurora-post-card__pills {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

body.aurora-theme .aurora-post-card__excerpt {
  color: var(--aurora-ink);
  line-height: 1.65;
  font-weight: 500;
  font-family: var(--aurora-font);
}

body.aurora-theme .card-inner {
  padding: 24px;
}

body.aurora-theme .divider {
  height: 2px;
  background: linear-gradient(90deg, var(--aurora-mint), var(--aurora-lav), var(--aurora-peach));
  border-radius: 4px;
  margin: 12px 0 16px;
}

body.aurora-theme .alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--aurora-mist);
  background: #fff;
  box-shadow: 0 6px 18px var(--aurora-shadow);
}

body.aurora-theme .alert strong {
  color: var(--aurora-anchor);
}

body.aurora-theme .alert.success {
  border-color: rgba(125, 226, 184, 0.6);
}

body.aurora-theme .alert.info {
  border-color: rgba(179, 182, 245, 0.7);
}

body.aurora-theme .alert.warn {
  border-color: rgba(255, 179, 167, 0.7);
}

body.aurora-theme .aurora-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(179, 182, 245, 0.28);
  color: var(--aurora-anchor);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 18px -18px rgba(27, 27, 29, 0.5);
  font-family: var(--aurora-font);
}

body.aurora-theme .aurora-pill__icon {
  width: 14px;
  height: 14px;
  color: var(--aurora-anchor);
  opacity: 0.85;
}

body.aurora-theme .aurora-pill--stat {
  background: rgba(125, 226, 184, 0.45);
  color: #0f1720;
}

body.aurora-theme .aurora-pill--stat .aurora-pill__icon {
  color: #0f1720;
  opacity: 0.9;
}

body.aurora-theme .aurora-post-card__edit {
  padding: 8px 14px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  color: var(--aurora-anchor) !important;
  border: 2px solid rgba(255, 179, 167, 0.65) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 12px 24px -16px rgba(27, 27, 29, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

body.aurora-theme .aurora-post-card__edit:hover,
body.aurora-theme .aurora-post-card__edit:focus {
  transform: translateY(-1px);
  border-color: rgba(255, 179, 167, 0.85) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 16px 32px -18px rgba(27, 27, 29, 0.5);
}

body.aurora-theme .aurora-pill--featured {
  background: rgba(179, 182, 245, 0.5);
}

body.aurora-theme .aurora-pill--reading {
  background: rgba(179, 182, 245, 0.5);
}

body.aurora-theme .aurora-pill:hover,
body.aurora-theme .aurora-pill:focus {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -16px rgba(27, 27, 29, 0.55);
}

body.aurora-theme .aurora-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--aurora-anchor);
  background: linear-gradient(135deg, var(--aurora-mint), var(--aurora-lav));
  box-shadow: 0 18px 36px -18px rgba(27, 27, 29, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

body.aurora-theme .aurora-btn--underline {
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.aurora-theme .aurora-btn:hover,
body.aurora-theme .aurora-btn:focus {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 26px 48px -18px rgba(27, 27, 29, 0.58);
}

body.aurora-theme .aurora-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(179, 182, 245, 0.4), 0 26px 48px -18px rgba(27, 27, 29, 0.58);
}

body.aurora-theme .btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

body.aurora-theme .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 900;
  letter-spacing: 0.2px;
  border: none;
  color: #0F1720;
  background: linear-gradient(135deg, var(--aurora-mint), var(--aurora-lav));
  box-shadow: 0 10px 28px var(--aurora-shadow);
  transition: transform 0.06s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

body.aurora-theme .btn.btn-compact,
body.aurora-theme input[type="submit"].btn-compact {
  padding: 6px 12px !important;
  min-height: 32px;
  letter-spacing: 0 !important;
  font-weight: 800 !important;
}

body.aurora-theme .btn:hover,
body.aurora-theme .btn:focus {
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow: 0 18px 40px var(--aurora-shadow);
}

body.aurora-theme input[type="submit"],
body.aurora-theme button[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  padding: 12px 18px !important;
  border-radius: 14px !important;
  font-weight: 900 !important;
  letter-spacing: 0.2px;
  border: none !important;
  color: #0F1720 !important;
  background: linear-gradient(135deg, var(--aurora-mint), var(--aurora-lav)) !important;
  box-shadow: 0 10px 28px var(--aurora-shadow) !important;
  transition: transform 0.06s ease, box-shadow 0.15s ease, filter 0.15s ease !important;
}

body.aurora-theme input[type="submit"]:hover,
body.aurora-theme input[type="submit"]:focus,
body.aurora-theme button[type="submit"]:hover,
body.aurora-theme button[type="submit"]:focus {
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow: 0 18px 40px var(--aurora-shadow) !important;
}

body.aurora-theme .btn.ghost {
  background: #fff;
  color: var(--aurora-anchor);
  border: 2px solid var(--aurora-peach);
}

body.aurora-theme .btn.ghost:hover,
body.aurora-theme .btn.ghost:focus {
  box-shadow: 0 15px 32px var(--aurora-shadow);
}

body.aurora-theme .fancy-link {
  color: var(--aurora-link);
  font-weight: 800;
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
}

body.aurora-theme .fancy-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 6px;
  background: linear-gradient(90deg, var(--aurora-mint), var(--aurora-lav), var(--aurora-peach));
  border-radius: 6px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

body.aurora-theme .fancy-link:hover::after,
body.aurora-theme .fancy-link:focus::after {
  transform: scaleX(1);
  transform-origin: left;
}

body.aurora-theme form {
  display: grid;
  gap: 14px;
}

body.aurora-theme .field {
  position: relative;
}

body.aurora-theme .hint {
  position: absolute;
  left: 12px;
  top: -28px;
  background: #fff;
  border: 1px solid var(--aurora-mist);
  padding: 6px 10px;
  border-radius: 10px;
  font-weight: 800;
  color: var(--aurora-anchor);
  box-shadow: 0 8px 18px var(--aurora-shadow);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
  white-space: nowrap;
}

body.aurora-theme .field:focus-within .hint {
  opacity: 1;
  transform: translateY(0);
}

body.aurora-theme input,
body.aurora-theme textarea,
body.aurora-theme select {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 12px !important;
  border: 2px solid var(--aurora-mist) !important;
  padding: 12px 14px !important;
  font-size: 1rem !important;
  background: #fff !important;
  color: var(--aurora-anchor) !important;
  transition: border-color 0.15s ease, box-shadow 0.2s ease !important;
  font-family: var(--aurora-font) !important;
}

body.aurora-theme input::placeholder,
body.aurora-theme textarea::placeholder {
  color: #64748b;
  font-weight: 600;
}

body.aurora-theme input:focus,
body.aurora-theme textarea:focus,
body.aurora-theme select:focus {
  border-color: var(--aurora-lav) !important;
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(179, 182, 245, 0.2) !important;
}

body.aurora-theme textarea {
  min-height: 120px;
  resize: none;
}

body.aurora-theme .check,
body.aurora-theme .switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.aurora-theme .check {
  white-space: nowrap;
}

body.aurora-theme .check input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  accent-color: var(--aurora-mint);
}

body.aurora-theme .switch {
  display: inline-grid;
  grid-auto-flow: column;
  user-select: none;
  cursor: pointer;
}

body.aurora-theme .switch input {
  display: none;
}

body.aurora-theme .switch .slider {
  width: 48px;
  height: 26px;
  background: #EEF2F5;
  border: 2px solid var(--aurora-mist);
  border-radius: 999px;
  position: relative;
  transition: background 0.15s ease, border-color 0.15s ease;
}

body.aurora-theme .switch .slider::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px var(--aurora-shadow);
  transition: transform 0.15s ease, background 0.15s ease;
}

body.aurora-theme .switch input:checked + .slider {
  background: linear-gradient(135deg, var(--aurora-mint), var(--aurora-lav));
  border-color: transparent;
}

body.aurora-theme .switch input:checked + .slider::after {
  transform: translateX(22px);
}

body.aurora-theme .contact-banner textarea {
  min-height: 40px;
  max-height: 120px;
}

body.aurora-theme .title-error {
  color: #dc2626;
}

.timeline-section {
  background: #ffffff;
  border-radius: 28px;
  padding: 32px 28px 36px;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(6px);
}

.timeline-header {
  text-align: center;
  margin-bottom: 28px;
}

.timeline-title {
  font-size: clamp(1.75rem, 2.4vw, 2.4rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.timeline-subtitle {
  color: #475569;
  font-size: 1rem;
  max-width: 46ch;
  margin: 0 auto;
}

.timeline-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.timeline-filter-btn {
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #253047;
  background: #ffffff;
  box-shadow: 0 18px 36px -18px rgba(27, 27, 29, 0.55);
  min-height: 44px;
}

.timeline-filter-btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 26px 48px -18px rgba(27, 27, 29, 0.58);
}

.timeline-filter-btn--all {
  background: linear-gradient(135deg, var(--aurora-mint, #7DE2B8), var(--aurora-lav, #B3B6F5));
  color: #253047;
}

.timeline-filter-btn--all:hover,
.timeline-filter-btn--all.active {
  filter: saturate(1.1);
}

.timeline-filter-btn--professional {
  background: var(--aurora-lav, #B3B6F5);
  color: #253047;
}

.timeline-filter-btn--professional:hover,
.timeline-filter-btn--professional.active {
  filter: saturate(1.1);
}

.timeline-filter-btn--personal {
  background: var(--aurora-mint, #7DE2B8);
  color: #253047;
}

.timeline-filter-btn--personal:hover,
.timeline-filter-btn--personal.active {
  filter: saturate(1.1);
}

.timeline-filter-btn.active {
  filter: saturate(1.1);
}

.timeline-scroll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background: linear-gradient(135deg, var(--aurora-mint, #7DE2B8), var(--aurora-lav, #B3B6F5));
  color: #253047;
  box-shadow: 0 18px 36px -18px rgba(27, 27, 29, 0.55);
  flex-shrink: 0;
  padding: 0;
}

.timeline-scroll-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 26px 48px -18px rgba(27, 27, 29, 0.58);
}

.timeline-scroll-btn:active:not(:disabled) {
  transform: translateY(0);
}

.timeline-scroll-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #e5e7eb;
  color: #9ca3af;
  box-shadow: 0 8px 16px -8px rgba(27, 27, 29, 0.3);
}

.timeline-scroll-btn svg {
  width: 20px;
  height: 20px;
}

.timeline-card.hidden {
  display: none !important;
}

.timeline-scroll {
  position: relative;
  overflow-x: auto;
  padding: 28px 0 10px;
  scroll-snap-type: x proximity;
}

.timeline-scroll::-webkit-scrollbar {
  height: 10px;
}

.timeline-scroll::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.08);
  border-radius: 999px;
}

.timeline-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--aurora-mint, #34d399), var(--aurora-lav, #818cf8), var(--aurora-peach, #fda4af));
  border-radius: 999px;
}

.timeline-scrollbar {
  display: none;
  margin-top: 16px;
  pointer-events: auto;
}

.timeline-scrollbar__track {
  position: relative;
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
  pointer-events: auto;
}

.timeline-scrollbar__thumb {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 120px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--aurora-mint, #34d399) 0%, var(--aurora-lav, #818cf8) 50%, var(--aurora-peach, #fda4af) 100%);
  box-shadow: 0 8px 20px -10px rgba(27, 27, 29, 0.5);
  transform: translateX(0);
  transition: transform 120ms ease-out, width 120ms ease-out;
  cursor: grab;
}

.timeline-scrollbar.timeline-scrollbar--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.timeline-scrollbar:not(.timeline-scrollbar--hidden) {
  opacity: 1;
  visibility: visible;
  transition: opacity 160ms ease-in;
}

@-moz-document url-prefix() {
  .timeline-scroll {
    scrollbar-width: none;
  }

  .timeline-scroll::-webkit-scrollbar {
    display: none;
  }

  .timeline-scrollbar {
    display: block;
    pointer-events: auto;
  }

  .timeline-scrollbar.timeline-scrollbar--hidden {
    pointer-events: none;
  }

  .timeline-scrollbar__track,
  .timeline-scrollbar__thumb {
    pointer-events: auto;
  }

  .timeline-scrollbar__thumb {
    cursor: grab;
  }

  .timeline-scrollbar__thumb.is-dragging {
    cursor: grabbing;
  }
}

.timeline-scroll::before {
  content: none;
}

.timeline-columns {
  display: flex;
  gap: 32px;
  padding: 0 40px;
  position: relative;
  scroll-snap-align: start;
  flex-wrap: nowrap;
}

.timeline-loading-placeholder {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 180px;
  max-width: 360px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
  font-family: var(--aurora-font, "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #253047;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 22px;
}

.timeline-loading-placeholder__label {
  font-size: 0.95rem;
  text-transform: uppercase;
}

.timeline-loading-placeholder__balls {
  display: inline-flex;
  gap: 8px;
}

.timeline-loading-placeholder__balls span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7de2b8, #b3b6f5 60%, #ffb3a7);
  animation: hero-bounce 1s infinite ease-in-out;
}

.timeline-loading-placeholder__balls span:nth-child(2) {
  animation-delay: 0.15s;
}

.timeline-loading-placeholder__balls span:nth-child(3) {
  animation-delay: 0.3s;
}

.timeline-column {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-snap-align: start;
  position: relative;
  z-index: 1;
}

.timeline-column__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 8px;
}

.timeline-year {
  align-self: flex-start;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0f172a;
  background: linear-gradient(135deg, var(--aurora-mint, #7DE2B8), var(--aurora-lav, #B3B6F5));
  box-shadow: 0 12px 20px rgba(148, 163, 184, 0.25);
}

.timeline-year-line {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.4), rgba(192, 132, 252, 0.6));
  box-shadow: 0 0 14px rgba(129, 140, 248, 0.35);
}

.timeline-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.timeline-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 168px;
  flex: 0 0 260px;
  width: 260px;
  min-width: 260px;
  max-width: 260px;
  box-sizing: border-box;
}

.timeline-card[data-type="professional"] {
  background: rgba(179, 182, 245, 0.2);
}

.timeline-card[data-type="personal"] {
  background: rgba(125, 226, 184, 0.2);
}

.timeline-card__date {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0284c7;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.timeline-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}

.timeline-card__org {
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
  margin: 0;
}

.timeline-card__desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #1f2937;
}

.timeline-card__desc p {
  margin: 0;
}

.timeline-card__desc p + p {
  margin-top: 8px;
}

.timeline-card a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 960px) {
  .timeline-section {
    border-radius: 22px;
    padding: 26px 20px 30px;
  }

  .timeline-columns {
    gap: 24px;
    padding: 0 22px;
  }

  .timeline-column {
    flex-basis: 260px;
  }

  .timeline-cards {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .timeline-card {
    flex: 0 0 260px;
    min-width: 260px;
    max-width: 260px;
    scroll-snap-align: center;
  }
}

.timeline-scroll-hint {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #64748b;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 3;
}

.timeline-scroll-hint svg {
  width: 100%;
  height: 100%;
}

.timeline-scroll-hint--left {
  left: 10px;
}

.timeline-scroll-hint--right {
  right: 10px;
}

.timeline-scroll--scrollable .timeline-scroll-hint {
  opacity: 0.5;
}

.timeline-scroll--start .timeline-scroll-hint--left,
.timeline-scroll--end .timeline-scroll-hint--right {
  opacity: 0;
}

@media (max-width: 640px) {
  .timeline-header {
    text-align: left;
  }

  .timeline-title {
    font-size: 1.8rem;
  }

  .timeline-subtitle {
    margin-left: 0;
  }

  .timeline-section {
    padding: 26px 16px 30px;
  }

  .timeline-scroll {
    padding-top: 22px;
    padding-left: 0;
    padding-right: 0;
    scroll-snap-type: x proximity;
  }

  .timeline-scroll::after {
    background: none;
  }

  .timeline-columns {
    padding: 0 16px;
    gap: 16px;
  }

  .timeline-column {
    flex: 0 0 auto;
    min-width: auto;
    max-width: none;
    scroll-snap-align: start;
  }

  .timeline-cards {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow: visible;
    gap: 12px;
  }

  .timeline-card {
    min-height: auto;
    padding: 18px 20px;
    flex: 0 0 260px;
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    box-sizing: border-box;
    scroll-snap-align: center;
  }

  .timeline-filters {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 12px;
  }

  .timeline-filters .timeline-filter-btn {
    order: 1;
    flex-basis: auto;
  }

  .timeline-filters .timeline-scroll-btn--left {
    order: 2;
    margin-right: 8px;
  }

  .timeline-filters .timeline-scroll-btn--right {
    order: 2;
    margin-left: 0;
  }
}

body.aurora-theme .footer-flow {
  color: var(--aurora-ink);
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(14px);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.08);
  margin-top: 26px;
}

body.aurora-theme .footer-flow .footer-content {
  max-width: var(--aurora-maxw);
  margin: 0 auto;
  padding: 26px var(--aurora-space);
  text-align: center;
}

body.aurora-theme .footer-flow nav a {
  color: var(--aurora-link);
  font-weight: 800;
  margin: 6px 10px;
  text-decoration: none;
  position: relative;
  display: inline-block;
  line-height: 1.4;
}

body.aurora-theme .footer-flow nav a:visited {
  color: var(--aurora-link);
}

body.aurora-theme .footer-flow nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aurora-mint), var(--aurora-lav), var(--aurora-peach));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  opacity: 1;
}

body.aurora-theme .footer-flow nav a:hover::after,
body.aurora-theme .footer-flow nav a:focus::after {
  transform: scaleX(1);
  transform-origin: left;
}

body.aurora-theme .footer-credits {
  color: var(--aurora-ink);
  font-weight: 600;
}

body.aurora-theme .footer-credits__link {
  color: var(--aurora-ink);
  text-decoration: none;
  transition: color 0.15s ease;
}

body.aurora-theme .footer-credits__link:visited {
  color: var(--aurora-ink);
}

body.aurora-theme .footer-credits__link--guest {
  cursor: text;
}

body.aurora-theme .footer-credits__link--guest:hover,
body.aurora-theme .footer-credits__link--guest:focus {
  color: var(--aurora-ink);
  text-decoration: none;
}

body.aurora-theme .footer-credits__link--admin {
  color: #d93025;
}

body.aurora-theme .footer-credits__link--admin:visited {
  color: #d93025;
}

body.aurora-theme .footer-credits__link--admin:hover,
body.aurora-theme .footer-credits__link--admin:focus {
  color: #b2221b;
}

body.aurora-theme .footer-flow nav a.admin-link {
  color: #d93025;
}

body.aurora-theme .footer-flow nav a.admin-link:visited {
  color: #d93025;
}

body.aurora-theme .footer-flow nav a.admin-link:hover,
body.aurora-theme .footer-flow nav a.admin-link:focus,
body.aurora-theme .footer-flow nav a.admin-link:active {
  color: #b2221b;
}

body.aurora-theme .footer-flow small {
  display: block;
  margin-top: 8px;
  color: #1B1B1D;
  opacity: 0.8;
}

body.aurora-theme .org-cards {
  display: grid;
  gap: 1.5rem;
}

body.aurora-theme .org-section-heading {
  text-align: center;
  margin: 0 0 clamp(32px, 4vw, 48px);
}

body.aurora-theme .org-card {
  display: block;
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 1.75rem 2rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 20px 40px -24px rgba(15, 23, 42, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

body.aurora-theme .org-card:focus {
  outline: none;
}

body.aurora-theme .org-card:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 4px;
}

body.aurora-theme .org-card:hover,
body.aurora-theme .org-card:focus,
body.aurora-theme .org-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 32px 48px -28px rgba(15, 23, 42, 0.4);
}

body.aurora-theme .org-card__header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

body.aurora-theme .org-card__logo {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

body.aurora-theme .org-card__logo-loader {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 0;
}

body.aurora-theme .org-card__logo-loader span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--aurora-mint, #7DE2B8), var(--aurora-lav, #B3B6F5) 60%, var(--aurora-peach, #FFB3A7));
  animation: hero-bounce 1s infinite ease-in-out;
}

body.aurora-theme .org-card__logo-loader span:nth-child(2) {
  animation-delay: 0.15s;
}

body.aurora-theme .org-card__logo-loader span:nth-child(3) {
  animation-delay: 0.3s;
}

body.aurora-theme .org-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
  opacity: 0;
  transition: opacity 0.35s ease;
}

body.aurora-theme .org-card__logo.logo-loaded img {
  opacity: 1;
}

body.aurora-theme .org-card__logo.logo-loaded .org-card__logo-loader {
  display: none;
}

body.aurora-theme .org-card__title {
  margin: 0;
  font-size: clamp(1.5rem, 1.2rem + 0.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--aurora-anchor);
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  font-family: var(--aurora-font);
  transition: color 0.3s ease;
}

body.aurora-theme .org-card__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(125, 226, 184, 0.35) 0%, rgba(179, 182, 245, 0.45) 50%, rgba(255, 179, 167, 0.35) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

body.aurora-theme .org-card__body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

body.aurora-theme .org-card__body p {
  margin: 0;
}

body.aurora-theme .org-card:hover .org-card__body,
body.aurora-theme .org-card:focus .org-card__body,
body.aurora-theme .org-card:focus-visible .org-card__body {
  max-height: 400px;
  opacity: 1;
  margin-top: 1.25rem;
}

body.aurora-theme .org-card:hover .org-card__title,
body.aurora-theme .org-card:focus .org-card__title,
body.aurora-theme .org-card:focus-visible .org-card__title {
  color: var(--aurora-link);
}

body.aurora-theme .org-card:hover .org-card__title::after,
body.aurora-theme .org-card:focus .org-card__title::after,
body.aurora-theme .org-card:focus-visible .org-card__title::after {
  transform: scaleX(1);
}

@media (max-width: 640px) {
  body.aurora-theme .org-card {
    padding: 1.5rem;
  }

  body.aurora-theme .org-card__header {
    gap: 1rem;
  }

  body.aurora-theme .org-card__logo {
    width: 64px;
    height: 64px;
  }

  body.aurora-theme .org-card__title {
    font-size: 1.35rem;
  }

  body.aurora-theme .org-card__body {
    max-height: none;
    opacity: 1;
    margin-top: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.aurora-theme .org-card,
  body.aurora-theme .org-card__body,
  body.aurora-theme .org-card__title::after {
    transition: none !important;
  }
}

body.aurora-theme .dots {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

body.aurora-theme .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--aurora-mint);
  animation: aurora-bounce 0.9s infinite;
}

body.aurora-theme .dot:nth-child(2) {
  background: var(--aurora-lav);
  animation-delay: 0.1s;
}

body.aurora-theme .dot:nth-child(3) {
  background: var(--aurora-peach);
  animation-delay: 0.2s;
}

@keyframes aurora-bounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-9px); }
}

body.aurora-theme .modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.60);
  display: none;
}

body.aurora-theme .modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(620px, 92vw);
  display: none;
  z-index: 100;
}

body.aurora-theme .modal .panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--aurora-mist);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

body.aurora-theme .modal .bar {
  height: 6px;
  background: linear-gradient(90deg, var(--aurora-mint), var(--aurora-lav), var(--aurora-peach));
}

body.aurora-theme .modal .inner {
  padding: 18px;
}

body.aurora-theme .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--aurora-mist);
  font-weight: 800;
  color: var(--aurora-anchor);
}

body.aurora-theme .dot-mini {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--aurora-mint);
}

body.aurora-theme .dot-mini.lav {
  background: var(--aurora-lav);
}

body.aurora-theme .dot-mini.peach {
  background: var(--aurora-peach);
}

body.aurora-theme .tabs {
  display: flex;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--aurora-mist);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 6px 18px var(--aurora-shadow);
}

body.aurora-theme .tab {
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 800;
  color: var(--aurora-anchor);
  cursor: pointer;
}

body.aurora-theme .tab.active {
  background: linear-gradient(135deg, var(--aurora-mint), var(--aurora-lav));
  color: #0F1720;
}

body.aurora-theme table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--aurora-mist);
  background: #fff;
  box-shadow: 0 8px 22px var(--aurora-shadow);
}

body.aurora-theme th,
body.aurora-theme td {
  text-align: left;
  padding: 10px 12px;
}

body.aurora-theme thead th {
  background: linear-gradient(135deg, #ffffff, #f9fbff);
  font-weight: 900;
  color: var(--aurora-anchor);
  border-bottom: 1px solid var(--aurora-mist);
}

body.aurora-theme tbody tr + tr td {
  border-top: 1px solid var(--aurora-mist);
}

body.aurora-theme .pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

body.aurora-theme .page {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--aurora-mist);
  background: #fff;
  font-weight: 800;
  color: var(--aurora-anchor);
  box-shadow: 0 4px 12px var(--aurora-shadow);
}

body.aurora-theme .page.active {
  background: linear-gradient(135deg, var(--aurora-mint), var(--aurora-lav));
  color: #0F1720;
  border-color: transparent;
}

body.aurora-theme .tip {
  position: relative;
  cursor: help;
  border-bottom: 1px dashed var(--aurora-mist);
}

body.aurora-theme .tip:hover::after {
  content: attr(data-tip);
  position: absolute;
  left: 0;
  top: 110%;
  white-space: nowrap;
  background: #000;
  color: #fff;
  font-size: 0.85rem;
  padding: 6px 8px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

body.aurora-theme .drop {
  border: 2px dashed var(--aurora-mist);
  border-radius: 16px;
  padding: 18px;
  background: #fff;
  text-align: center;
  transition: border-color 0.15s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

body.aurora-theme .drop.dragover {
  border-color: var(--aurora-lav);
  box-shadow: 0 0 0 4px rgba(179, 182, 245, 0.2) inset;
}

body.aurora-theme .acc {
  border: 1px solid var(--aurora-mist);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 22px var(--aurora-shadow);
}

body.aurora-theme .acc details {
  border-bottom: 1px solid var(--aurora-mist);
}

body.aurora-theme .acc details:last-child {
  border-bottom: none;
}

body.aurora-theme .acc summary {
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 800;
  color: var(--aurora-anchor);
}

body.aurora-theme .acc .content {
  padding: 12px 14px;
  border-top: 1px dashed var(--aurora-mist);
}

body.aurora-theme blockquote.quote {
  margin: 0;
  padding: 14px 16px;
  border-left: 6px solid var(--aurora-lav);
  background: #f9fbff;
  border-radius: 10px;
}

body.aurora-theme .article-full,
body.aurora-theme .article-card {
  background: #fff;
  border: 1px solid var(--aurora-mist);
  border-radius: 16px;
  box-shadow: 0 12px 30px var(--aurora-shadow);
}

body.aurora-theme .article-card {
  overflow: hidden;
  transition: transform 0.12s ease, box-shadow 0.15s ease;
}

body.aurora-theme .article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px var(--aurora-shadow);
}

body.aurora-theme .article-card .thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--aurora-mint), var(--aurora-lav), var(--aurora-peach));
}

body.aurora-theme .article-card .pad {
  padding: 14px;
}

body.aurora-theme .badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

body.aurora-theme .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  border: 1px solid var(--aurora-mist);
  background: #fff;
  box-shadow: 0 4px 12px var(--aurora-shadow);
  white-space: nowrap;
}

body.aurora-theme .badge.featured {
  background: #fffbe6;
  color: #8a6d00;
  border-color: #ffe58f;
}

body.aurora-theme .badge.time {
  background: #eef3ff;
  color: #2b3c7f;
  border-color: #cdd7ff;
}

body.aurora-theme .icon-row {
  display: flex;
  gap: 10px;
}

body.aurora-theme .icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--aurora-mist);
  background: #fff;
  box-shadow: 0 8px 18px var(--aurora-shadow);
  cursor: pointer;
  font-weight: 800;
  color: var(--aurora-anchor);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

body.aurora-theme .icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: #253047;
  transition: stroke 0.15s ease;
}

body.aurora-theme .icon-btn:hover,
body.aurora-theme .icon-btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px var(--aurora-shadow);
}

body.aurora-theme .icon-btn.pressed {
  background: linear-gradient(135deg, var(--aurora-mint), var(--aurora-lav));
  color: #0F1720;
  border-color: transparent;
}

body.aurora-theme .icon-btn.pressed svg {
  stroke: #0F1720;
}

body.aurora-theme .icon-label {
  font-size: 0.9rem;
}

body.aurora-theme .swatch {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  align-items: center;
}

body.aurora-theme .chip {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

body.aurora-theme .mono {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-weight: 600;
}

body.aurora-theme .subscribe-panel {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 640px) {
  body.aurora-theme .subscribe-panel {
    flex-direction: column;
    align-items: stretch;
  }
}

body.aurora-theme .subscribe-pop {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--aurora-mist);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

body.aurora-theme .subscribe-pop form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

body.aurora-theme .subscribe-pop input[type="email"] {
  flex: 1;
  min-width: 200px;
}

body.aurora-theme .subscribe-pop button.close-btn {
  background: none;
  border: none;
  color: var(--aurora-anchor);
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 540px) {
  body.aurora-theme .subscribe-pop input[type="email"] {
    min-width: 100%;
  }

  body.aurora-theme .subscribe-pop form {
    flex-direction: column;
    align-items: stretch;
  }
}

body.aurora-theme .contact-banner {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(37, 48, 71, 0.12);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

body.aurora-theme .hidden-form {
  display: none !important;
}

body.aurora-theme .subscribe-hidden {
  display: none !important;
}

body.aurora-theme .subscribe-visible {
  display: block !important;
}

/* Story Divider Section */
body.aurora-theme .story-divider-section {
  margin: clamp(20px, 4vw, 36px) 0;
}

body.aurora-theme .story-divider-container {
  position: relative;
}

body.aurora-theme .story-divider-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
  margin: clamp(16px, 3vw, 28px) 0;
}

body.aurora-theme .divider-line {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aurora-mint), var(--aurora-lav), var(--aurora-peach));
  opacity: 0.9;
  transition: transform 0.3s ease, margin-top 0.3s ease;
}

body.aurora-theme .divider-left {
  flex: 1;
}

body.aurora-theme .divider-right {
  flex: 1;
}

body.aurora-theme .my-story-button-wrapper {
  flex-shrink: 0;
  padding: 0 16px;
}

body.aurora-theme #my-story-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  min-height: 44px;
}

body.aurora-theme #my-story-btn[aria-busy="true"] {
  background: #ffffff !important;
  color: #253047 !important;
  border: 1px solid rgba(37, 48, 71, 0.18);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

body.aurora-theme #my-story-btn .my-story-btn-label {
  display: none;
  font-weight: 700;
  letter-spacing: 0.06em;
}

body.aurora-theme #my-story-btn .my-story-btn-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

body.aurora-theme #my-story-btn .my-story-btn-placeholder span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7de2b8, #b3b6f5 60%, #ffb3a7);
  animation: hero-bounce 1s infinite ease-in-out;
}

body.aurora-theme #my-story-btn .my-story-btn-placeholder span:nth-child(2) {
  animation-delay: 0.15s;
}

body.aurora-theme #my-story-btn .my-story-btn-placeholder span:nth-child(3) {
  animation-delay: 0.3s;
}

body.aurora-theme #my-story-btn.is-loaded .my-story-btn-placeholder {
  display: none;
}

body.aurora-theme #my-story-btn.is-loaded .my-story-btn-label {
  display: inline;
}

body.aurora-theme #my-story-btn:disabled {
  cursor: wait;
  opacity: 0.8;
}

body.aurora-theme .story-content-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

body.aurora-theme .story-content {
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 16px;
  padding-right: 16px;
  opacity: 0;
  transition: opacity 0.3s ease 0.15s;
  color: var(--aurora-ink);
  line-height: 1.65;
  font-family: var(--aurora-font);
}

body.aurora-theme .story-content p {
  margin: 0 0 16px;
  font-size: 1rem;
}

body.aurora-theme .story-content p:last-child {
  margin-bottom: 0;
}

body.aurora-theme .story-bottom-divider {
  width: 100%;
  height: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aurora-mint), var(--aurora-lav), var(--aurora-peach));
  opacity: 0;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, margin-top 0.4s ease, margin-bottom 0.4s ease, height 0.4s ease;
}

/* Content Divider */
body.aurora-theme .content-divider {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aurora-mint), var(--aurora-lav), var(--aurora-peach));
  opacity: 0.9;
  margin: clamp(32px, 5vw, 48px) 0 clamp(24px, 4vw, 36px);
}

@media (max-width: 640px) {
  body.aurora-theme .story-divider-wrapper {
    margin: 20px 0;
  }

  body.aurora-theme .my-story-button-wrapper {
    padding: 0 12px;
  }

  body.aurora-theme .story-content {
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 0;
    padding-bottom: 0;
  }

  body.aurora-theme .content-divider {
    margin: 24px 0 20px;
  }
}

/* Toast Notification Styles */
body.aurora-theme .aurora-toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

body.aurora-theme .aurora-toast {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  max-width: 480px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--aurora-mist);
  border-radius: 14px;
  box-shadow: 0 20px 50px -20px rgba(27, 27, 29, 0.6);
  pointer-events: auto;
  transform: translateX(400px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  font-family: var(--aurora-font);
}

body.aurora-theme .aurora-toast.show {
  transform: translateX(0);
  opacity: 1;
}

body.aurora-theme .aurora-toast::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--aurora-mint), var(--aurora-lav), var(--aurora-peach));
  border-radius: 14px 14px 0 0;
}

body.aurora-theme .aurora-toast__content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--aurora-anchor);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
}

body.aurora-theme .aurora-toast__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(125, 226, 184, 0.3), rgba(179, 182, 245, 0.3));
}

body.aurora-theme .aurora-toast__icon svg {
  width: 16px;
  height: 16px;
  color: var(--aurora-anchor);
}

body.aurora-theme .aurora-toast__message {
  flex: 1;
}

body.aurora-theme .aurora-toast__close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  color: var(--aurora-anchor);
  transition: background 0.15s ease, transform 0.15s ease;
  padding: 0;
}

body.aurora-theme .aurora-toast__close:hover,
body.aurora-theme .aurora-toast__close:focus {
  background: rgba(37, 48, 71, 0.08);
  transform: scale(1.1);
  outline: none;
}

body.aurora-theme .aurora-toast__close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
}

body.aurora-theme .aurora-toast__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--aurora-mint), var(--aurora-lav), var(--aurora-peach));
  border-radius: 0 0 14px 14px;
  transform-origin: left;
  transform: scaleX(1);
  transition: none;
}

body.aurora-theme .aurora-toast.hiding .aurora-toast__progress {
  transform: scaleX(0);
}

@media (max-width: 640px) {
  body.aurora-theme .aurora-toast-container {
    top: 16px;
    right: 16px;
    left: 16px;
  }

  body.aurora-theme .aurora-toast {
    min-width: auto;
    max-width: 100%;
    transform: translateY(-100px);
  }

  body.aurora-theme .aurora-toast.show {
    transform: translateY(0);
  }
}

/* ── Subscribe CTA Components ── */

body.aurora-theme .aurora-subscribe-cta {
  background: var(--aurora-paper);
  border: 1px solid var(--aurora-mist);
  border-radius: var(--aurora-radius);
  overflow: hidden;
  box-shadow: 0 8px 24px -8px var(--aurora-shadow);
  text-align: center;
}

body.aurora-theme .aurora-subscribe-cta__bar {
  height: 5px;
  background: linear-gradient(90deg, var(--aurora-mint), var(--aurora-lav), var(--aurora-peach));
}

body.aurora-theme .aurora-subscribe-cta__inner {
  padding: 32px 28px;
}

body.aurora-theme .aurora-subscribe-cta__heading {
  font-family: var(--aurora-font);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--aurora-anchor);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  letter-spacing: -0.01em;
}

body.aurora-theme .aurora-subscribe-cta__text {
  font-family: var(--aurora-font);
  font-size: 0.95rem;
  color: var(--aurora-ink);
  margin: 0 0 20px;
  line-height: 1.55;
  opacity: 0.82;
}

body.aurora-theme .aurora-subscribe-cta__form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}

body.aurora-theme .aurora-subscribe-cta__input {
  flex: 1;
  min-width: 0;
  padding: 10px 16px;
  border: 1.5px solid var(--aurora-mist);
  border-radius: 12px;
  font-family: var(--aurora-font);
  font-size: 0.9rem;
  color: var(--aurora-ink);
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.aurora-theme .aurora-subscribe-cta__input:focus {
  border-color: var(--aurora-lav);
  box-shadow: 0 0 0 3px rgba(179, 182, 245, 0.25);
}

body.aurora-theme .aurora-subscribe-cta__input::placeholder {
  color: var(--aurora-mist);
}

body.aurora-theme .aurora-subscribe-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: none;
  border-radius: 12px;
  font-family: var(--aurora-font);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--aurora-anchor);
  background: linear-gradient(135deg, var(--aurora-mint), var(--aurora-lav));
  box-shadow: 0 4px 14px -4px rgba(125, 226, 184, 0.5);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

body.aurora-theme .aurora-subscribe-cta__btn:hover,
body.aurora-theme .aurora-subscribe-cta__btn:focus {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 8px 20px -4px rgba(125, 226, 184, 0.55);
}

body.aurora-theme .aurora-subscribe-cta--midroll {
  margin: 28px 0;
}

body.aurora-theme .aurora-subscribe-cta--footer {
  margin: 32px auto;
  max-width: 680px;
}

body.aurora-theme .aurora-subscribe-cta--homepage {
  margin: 0 auto;
  max-width: 680px;
}

@media (max-width: 520px) {
  body.aurora-theme .aurora-subscribe-cta__form {
    flex-direction: column;
  }

  body.aurora-theme .aurora-subscribe-cta__inner {
    padding: 24px 18px;
  }

  body.aurora-theme .aurora-subscribe-cta__btn {
    width: 100%;
  }
}

