:root {
  color-scheme: dark;
  --bg-primary: radial-gradient(
    circle at top,
    #12203a 0%,
    #05060c 40%,
    #010203 100%
  );
  --bg-panel: rgba(15, 19, 31, 0.72);
  --bg-panel-solid: #151b2d;
  --bg-accent: linear-gradient(135deg, #3b82f6, #0ea5e9 55%, #14b8a6 100%);
  --border-soft: rgba(148, 163, 184, 0.18);
  --shadow-soft: 0 18px 40px rgba(8, 12, 21, 0.45);
  --text-main: #f7fbff;
  --text-muted: #9ba9c8;
  --text-subtle: #6b7a99;
  --font-sans: "Inter", "IBM Plex Sans", "Segoe UI", system-ui, -apple-system,
    sans-serif;
  --font-display: "Special Gothic Expanded One", sans-serif;
}

html[data-color="nightfall"] {
  color-scheme: dark;
  --bg-primary: radial-gradient(
    circle at top,
    #12203a 0%,
    #05060c 40%,
    #010203 100%
  );
  --bg-panel: rgba(15, 19, 31, 0.72);
  --bg-panel-solid: #151b2d;
  --bg-accent: linear-gradient(135deg, #3b82f6, #0ea5e9 55%, #14b8a6 100%);
  --border-soft: rgba(148, 163, 184, 0.18);
  --shadow-soft: 0 18px 40px rgba(8, 12, 21, 0.45);
  --text-main: #f7fbff;
  --text-muted: #9ba9c8;
  --text-subtle: #6b7a99;
}

html[data-color="hyper"] {
  color-scheme: dark;
  --bg-primary: radial-gradient(
    circle at 30% 20%,
    rgba(79, 0, 173, 0.65),
    rgba(15, 6, 29, 0.95) 50%,
    rgba(2, 0, 18, 1) 100%
  );
  --bg-panel: rgba(21, 15, 47, 0.78);
  --bg-panel-solid: #140c2c;
  --bg-accent: linear-gradient(135deg, #a855f7, #7c3aed 50%, #0ea5e9 100%);
  --border-soft: rgba(168, 85, 247, 0.28);
  --shadow-soft: 0 22px 48px rgba(63, 8, 114, 0.48);
  --text-main: #f5f3ff;
  --text-muted: #c4b5fd;
  --text-subtle: #8b74d9;
}

html[data-color="forest"] {
  color-scheme: dark;
  --bg-primary: radial-gradient(
    circle at 25% 10%,
    rgba(17, 94, 89, 0.6),
    rgba(6, 44, 38, 0.92) 40%,
    rgba(2, 17, 15, 1) 100%
  );
  --bg-panel: rgba(10, 36, 33, 0.82);
  --bg-panel-solid: #0b221f;
  --bg-accent: linear-gradient(135deg, #10b981, #22d3ee 60%, #34d399 100%);
  --border-soft: rgba(34, 197, 94, 0.26);
  --shadow-soft: 0 20px 46px rgba(15, 118, 110, 0.35);
  --text-main: #ecfdf5;
  --text-muted: #a7f3d0;
  --text-subtle: #5eead4;
}

html[data-color="mono"] {
  color-scheme: dark;
  --bg-primary: radial-gradient(
    circle at top,
    #1f1f24 0%,
    #050506 45%,
    #000000 100%
  );
  --bg-panel: rgba(12, 12, 12, 0.82);
  --bg-panel-solid: #0b0b0e;
  --bg-accent: linear-gradient(135deg, #f5f5f5, #d4d4d8 55%, #a1a1aa 100%);
  --border-soft: rgba(250, 250, 250, 0.22);
  --shadow-soft: 0 22px 48px rgba(0, 0, 0, 0.6);
  --text-main: #f4f4f5;
  --text-muted: #d4d4d8;
  --text-subtle: #a1a1aa;
}

html[data-color="dawn"] {
  color-scheme: light;
  --bg-primary: linear-gradient(180deg, #fff7ed 0%, #fef3c7 45%, #fde68a 100%);
  --bg-panel: rgba(255, 255, 255, 0.84);
  --bg-panel-solid: #ffffff;
  --bg-accent: linear-gradient(135deg, #f97316, #facc15 55%, #fbbf24 100%);
  --border-soft: rgba(248, 191, 88, 0.45);
  --shadow-soft: 0 16px 38px rgba(248, 180, 86, 0.28);
  --text-main: #1b1b1d;
  --text-muted: #433933;
  --text-subtle: #6b4f3a;
}

html[data-color="coast"] {
  color-scheme: light;
  --bg-primary: linear-gradient(180deg, #eef6ff 0%, #e0f2fe 45%, #dbeafe 100%);
  --bg-panel: rgba(255, 255, 255, 0.9);
  --bg-panel-solid: #ffffff;
  --bg-accent: linear-gradient(135deg, #0ea5e9, #38bdf8 60%, #6366f1 100%);
  --border-soft: rgba(147, 197, 253, 0.45);
  --shadow-soft: 0 16px 38px rgba(59, 130, 246, 0.24);
  --text-main: #0f172a;
  --text-muted: #1e293b;
  --text-subtle: #334155;
}

html[data-font="inter"] {
  --font-sans: "Inter", "Manrope", "Segoe UI", system-ui, -apple-system,
    sans-serif;
}

html[data-font="manrope"] {
  --font-sans: "Manrope", "Inter", "Segoe UI", system-ui, -apple-system,
    sans-serif;
}

html[data-font="space-grotesk"] {
  --font-sans: "Space Grotesk", "Inter", "Segoe UI", system-ui, -apple-system,
    sans-serif;
  --font-display: "Space Grotesk", sans-serif;
}

html[data-font="nunito"] {
  --font-sans: "Nunito", "Inter", "Segoe UI", system-ui, -apple-system,
    sans-serif;
}

html[data-font="playfair"] {
  --font-sans: "Playfair Display", "Georgia", "Times New Roman", serif;
  --font-display: "Playfair Display", serif;
}

html[data-font="jetbrains"] {
  --font-sans: "JetBrains Mono", "Fira Code", "IBM Plex Mono", monospace;
  --font-display: "JetBrains Mono", monospace;
}

html[data-text-spacing="relaxed"] body,
html[data-text-spacing="relaxed"] p,
html[data-text-spacing="relaxed"] li {
  letter-spacing: 0.01em;
  line-height: 1.75;
}

html[data-text-spacing="wide"] body,
html[data-text-spacing="wide"] p,
html[data-text-spacing="wide"] li {
  letter-spacing: 0.03em;
  line-height: 1.88;
}

html[data-underline-links="true"] a {
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.28em;
}

html[data-reduce-motion="true"] *,
html[data-reduce-motion="true"] *::before,
html[data-reduce-motion="true"] *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

html[data-contrast="elevated"][data-theme="dark"] {
  --text-main: #ffffff;
  --text-muted: #e0f2fe;
  --text-subtle: #bae6fd;
  --border-soft: rgba(191, 219, 254, 0.42);
}

html[data-contrast="max"][data-theme="dark"] {
  --text-main: #ffffff;
  --text-muted: #f8fafc;
  --text-subtle: #cbd5f5;
  --bg-panel: rgba(3, 7, 18, 0.94);
  --bg-panel-solid: #030712;
  --border-soft: rgba(255, 255, 255, 0.6);
}

html[data-contrast="elevated"][data-theme="light"] {
  --text-main: #0b1120;
  --text-muted: #111827;
  --text-subtle: #1e293b;
  --border-soft: rgba(15, 23, 42, 0.32);
}

html[data-contrast="max"][data-theme="light"] {
  --text-main: #050505;
  --text-muted: #111111;
  --text-subtle: #1f2937;
  --bg-panel: rgba(255, 255, 255, 0.98);
  --bg-panel-solid: #ffffff;
  --border-soft: rgba(15, 15, 15, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

[hidden] {
  display: none !important;
}

body {
  background: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(56, 189, 248, 0.14),
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 10%,
      rgba(59, 130, 246, 0.16),
      transparent 60%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(14, 165, 233, 0.12),
      transparent 55%
    );
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: #7dd3fc;
}

img {
  max-width: 100%;
  display: block;
}

main {
  padding: clamp(3rem, 5vw, 5rem) 1.5rem 1.5rem;
}

.container > * + * {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.container > *:last-child {
  margin-bottom: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(18px);
  background: rgba(6, 10, 22, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 1.85rem);
  letter-spacing: 0.02em;
  text-transform: lowercase;
  background: var(--bg-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}

.brand span {
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.6);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.96rem;
}

.nav-links a {
  position: relative;
  padding: 0.3rem 0.1rem;
  color: rgba(219, 234, 254, 0.82);
}

.nav-brand-group {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.quick-accessibility {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(12, 18, 34, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.32);
  box-shadow: 0 10px 26px rgba(4, 9, 23, 0.4);
  backdrop-filter: blur(12px);
}

.quick-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.2s ease;
}

.quick-control:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.6);
  outline-offset: 2px;
}

.quick-control--theme {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.5);
  color: rgba(226, 232, 240, 0.9);
}

.quick-control--theme:hover,
.quick-control--theme:focus-visible {
  border-color: rgba(59, 130, 246, 0.65);
  color: #93c5fd;
}

.quick-control__icon {
  font-size: 1rem;
  line-height: 1;
}

.quick-accessibility__languages {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding-left: 0.35rem;
  border-left: 1px solid rgba(148, 163, 184, 0.35);
}

.lang-chip {
  border: 1px solid transparent;
  background: transparent;
  color: rgba(226, 232, 240, 0.75);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.lang-chip:hover,
.lang-chip:focus-visible {
  border-color: rgba(59, 130, 246, 0.55);
  color: #bae6fd;
}

.lang-chip.is-active {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.85),
    rgba(14, 165, 233, 0.85)
  );
  color: #0f172a;
  border-color: transparent;
  box-shadow: 0 12px 20px rgba(6, 12, 30, 0.35);
}

@media (max-width: 640px) {
  .quick-accessibility {
    display: none;
  }
}

.style-launcher {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: rgba(226, 232, 240, 0.92);
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(2, 6, 23, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease,
    gap 0.3s ease;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.style-launcher:hover,
.style-launcher:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.55);
}

.style-launcher:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.7);
  outline-offset: 3px;
}

body[data-page="home"].content-visible .style-launcher,
body:not([data-page="home"]) .style-launcher {
  opacity: 1;
  pointer-events: auto;
}

html[data-theme="light"] .style-launcher {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(148, 163, 184, 0.35);
  color: #0f172a;
  box-shadow: 0 14px 32px rgba(148, 163, 184, 0.32);
}

.style-launcher__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: currentColor;
}

.style-launcher__label {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  max-width: 16ch;
  min-width: 0;
  transform-origin: left center;
  transition: max-width 0.6s ease, opacity 0.6s ease;
}

.style-launcher--label-hidden:not(:hover):not(:focus-visible)
  .style-launcher__label {
  max-width: 0;
  opacity: 0;
}

.style-launcher--compact {
  gap: 0;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  justify-content: center;
}

.style-launcher--compact:hover,
.style-launcher--compact:focus-visible {
  width: auto;
  height: auto;
  padding: 0.85rem 1.1rem;
  gap: 0.6rem;
}

.style-launcher--compact:hover .style-launcher__label,
.style-launcher--compact:focus-visible .style-launcher__label {
  max-width: 16ch;
  opacity: 1;
}

.style-panel__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 9, 21, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 110;
}

.style-panel__backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

.style-panel {
  position: fixed;
  bottom: 6.5rem;
  left: 2rem;
  width: min(360px, calc(100% - 3.5rem));
  max-height: min(70vh, 640px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(13, 20, 34, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 24px;
  box-shadow: 0 26px 64px rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 130;
  pointer-events: none;
}

.style-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

html[data-theme="light"] .style-panel {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(148, 163, 184, 0.32);
  box-shadow: 0 26px 48px rgba(148, 163, 184, 0.38);
}

.style-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.style-panel__title {
  font-size: 1.1rem;
  margin: 0;
}

.style-panel__close {
  background: none;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.style-panel__close:hover,
.style-panel__close:focus-visible {
  background: rgba(148, 163, 184, 0.18);
  transform: scale(1.05);
}

.style-panel__body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.style-panel__section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.style-panel__section-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0;
}

.style-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.style-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 18px;
  color: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.style-option:hover,
.style-option:focus-visible {
  border-color: rgba(96, 165, 250, 0.55);
  transform: translateY(-1px);
}

.style-option[aria-pressed="true"] {
  border-color: rgba(96, 165, 250, 0.8);
  background: rgba(59, 130, 246, 0.22);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.28);
}

html[data-theme="light"] .style-option {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(148, 163, 184, 0.28);
}

html[data-theme="light"] .style-option[aria-pressed="true"] {
  background: rgba(219, 234, 254, 0.6);
}

.style-option__swatch {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--option-accent, var(--bg-accent));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.style-option__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.style-option__label {
  font-size: 0.95rem;
}

.style-option__hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.style-option--font {
  font-size: 1rem;
}

.style-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.style-pill {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: transparent;
  color: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.style-pill:hover,
.style-pill:focus-visible {
  border-color: rgba(96, 165, 250, 0.55);
}

.style-pill[aria-pressed="true"] {
  background: var(--bg-accent);
  color: #0b1120;
  border-color: transparent;
}

html[data-theme="light"] .style-pill[aria-pressed="true"] {
  color: #0f172a;
}

.style-toggle {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: inherit;
}

.style-toggle input {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 0.3rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  accent-color: #60a5fa;
}

.style-panel__footer {
  display: flex;
  justify-content: flex-end;
}

.style-reset {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  background: transparent;
  color: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.style-reset:hover,
.style-reset:focus-visible {
  border-color: rgba(96, 165, 250, 0.6);
  background: rgba(59, 130, 246, 0.22);
}

@media (max-width: 768px) {
  .style-launcher {
    bottom: 1rem;
    left: 1rem;
    padding: 0.75rem 0.9rem;
    gap: 0.5rem;
  }

  .style-launcher__icon {
    font-size: 0.95rem;
  }

  .style-launcher--compact {
    gap: 0;
    width: 3.1rem;
    height: 3.1rem;
    padding: 0;
    justify-content: center;
  }

  .style-launcher--compact:hover,
  .style-launcher--compact:focus-visible {
    width: auto;
    height: auto;
    padding: 0.75rem 0.9rem;
    gap: 0.5rem;
  }

  .style-launcher__label {
    font-size: 0.85rem;
  }

  .style-panel {
    left: 1rem;
    right: 1rem;
    bottom: 5.5rem;
    width: auto;
    max-height: min(70vh, 520px);
  }
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(56, 189, 248, 0.8),
    rgba(59, 130, 246, 0.8)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:is(:hover, :focus-visible)::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-links a[aria-current="page"] {
  color: #e0f2fe;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: rgba(226, 232, 240, 0.8);
  padding: 0.55rem 0.65rem;
  border-radius: 0.75rem;
  font-size: 1.05rem;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    position: absolute;
    inset-inline: clamp(1.25rem, 4vw, 2.5rem);
    top: calc(100% + 0.75rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    padding: 1.1rem;
    border-radius: 1.1rem;
    background: rgba(9, 13, 26, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: var(--shadow-soft);
    transform: scaleY(0.8);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links[data-open="true"] {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: all;
  }
}
.page-intro {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.page-intro__content {
  display: grid;
  gap: 1.5rem;
}

/* Center intro photo and texts across all screen sizes */
.page-intro {
  justify-items: center; /* center grid children (avatar + content) */
  text-align: center; /* center inline text inside content */
}

.page-intro__content {
  justify-items: center; /* center content items like eyebrow, title, subtitle */
}

.page-intro .tag-list {
  justify-content: center; /* center the action buttons */
}

.page-intro__eyebrow {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: none;
  color: rgba(148, 163, 184, 0.85);
}

/* --- Accessibility overrides added: force black text in light mode and center page-intro --- */
html[data-theme="light"] *,
html[data-theme="light"] *::before,
html[data-theme="light"] *::after {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important; /* for inputs/controls */
}

.page-intro {
  justify-items: center;
  text-align: center;
}

.page-intro__content {
  justify-items: center;
}

.page-intro .tag-list {
  justify-content: center;
}

.page-intro__title {
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.page-intro__title-before,
.page-intro__title-after {
  display: inline-block;
}

.page-intro__title-before {
  margin-right: 0.35em;
}

.page-intro__title-after {
  margin-left: 0.35em;
}

.page-intro__subtitle {
  font-size: clamp(1.05rem, 2.8vw, 1.3rem);
  color: rgba(226, 232, 240, 0.82);
  margin: 0;
}

.avatar {
  width: clamp(140px, 24vw, 200px);
  aspect-ratio: 1;
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.glass-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  position: relative;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.text-muted {
  color: var(--text-muted);
}

.grid-cards {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 680px) {
  .grid-cards {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

.card {
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(12, 17, 29, 0.82);
  padding: 1.5rem;
  display: grid;
  gap: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(7, 12, 23, 0.55);
  border-color: rgba(94, 234, 212, 0.42);
}

.card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(203, 213, 225, 0.85);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  background: rgba(59, 130, 246, 0.14);
  color: rgba(191, 219, 254, 0.85);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.social-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
}

.social-badge .icon {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
  opacity: 0.9;
  flex-shrink: 0;
  margin-right: 0.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding: 0.65rem 1.35rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease;
}

.btn-primary {
  background: var(--bg-accent);
  color: #0f1729;
  box-shadow: 0 12px 28px rgba(51, 126, 203, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.34);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.32);
  background: rgba(148, 163, 184, 0.08);
  color: rgba(226, 232, 240, 0.85);
}

.btn-ghost:hover {
  border-color: rgba(94, 234, 212, 0.4);
  color: #99f6e4;
}

.quote-block {
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(226, 232, 240, 0.88);
  border-left: 3px solid rgba(148, 163, 184, 0.4);
  padding-left: 1.25rem;
  margin: 1rem 0 0;
}

.photo-grid {
  columns: 1;
  column-gap: 1.25rem;
}

@media (min-width: 620px) {
  .photo-grid {
    columns: 2;
  }
}

@media (min-width: 900px) {
  .photo-grid {
    columns: 3;
  }
}

.photo-item {
  position: relative;
  margin-bottom: 1.25rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: zoom-in;
}

.photo-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px rgba(7, 12, 23, 0.65);
}

.photo-item img {
  width: 100%;
  display: block;
}

.badge-filter {
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: rgba(226, 232, 240, 0.78);
  background: rgba(12, 18, 32, 0.6);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.badge-filter:first-child {
  margin-right: 0.2rem;
}

.badge-filter.is-active {
  border-color: rgba(94, 234, 212, 0.55);
  color: #99f6e4;
  background: rgba(20, 184, 166, 0.12);
}

.timeline {
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.4), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.4rem;
  padding-left: 1.75rem;
}

.timeline-marker {
  position: absolute;
  left: -0.05rem;
  top: 0.35rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.15);
}

.timeline-card {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(9, 13, 25, 0.78);
  padding: 1.25rem 1.4rem 1.3rem;
  box-shadow: var(--shadow-soft);
}

.timeline-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.changelog-grid {
  display: grid;
  gap: 1.5rem;
}

.changelog-card {
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(10, 15, 26, 0.82);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.changelog-card::before {
  content: attr(data-icon);
  position: absolute;
  top: -1.45rem;
  right: 1.2rem;
  font-size: 2.4rem;
  filter: drop-shadow(0 10px 22px rgba(56, 189, 248, 0.3));
}

/* Footer Spacing Optimized - v2 */
.site-footer {
  margin-top: 1.5rem;
  padding: 3rem 1.5rem 3.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(6, 10, 22, 0.82);
}

.site-footer .footer-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  color: rgba(203, 213, 225, 0.7);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.8rem;
}

.footer-links a {
  color: rgba(148, 163, 184, 0.85);
}

.footer-links a:hover {
  color: #e0f2fe;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  width: 56px;
  height: 56px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100px);
}

.scroll-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.scroll-to-top::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 12px solid currentColor;
  color: var(--text-color);
}

html[data-theme="light"] .scroll-to-top {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(148, 163, 184, 0.3);
}

/* Hide scroll-to-top on home page */
body[data-page="home"] .scroll-to-top {
  display: none;
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
  }

  .scroll-to-top::before {
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 10px solid currentColor;
  }
}

.muted {
  color: rgba(148, 163, 184, 0.75);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(14, 21, 35, 0.65);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 17, 0.8);
  display: grid;
  place-items: center;
  z-index: 90;
  padding: 2rem;
}

.modal {
  max-width: min(900px, 95vw);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(10, 14, 24, 0.95);
  box-shadow: 0 40px 70px rgba(7, 12, 23, 0.65);
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: rgba(15, 23, 42, 0.75);
  color: rgba(226, 232, 240, 0.9);
  border-radius: 999px;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
}

.close-btn:hover {
  background: rgba(59, 130, 246, 0.35);
}

form input,
form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(9, 14, 25, 0.7);
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: rgba(94, 234, 212, 0.55);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.18);
}

blockquote {
  margin: 0;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.table-wrap th,
.table-wrap td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.table-wrap th {
  color: rgba(191, 219, 254, 0.85);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.table-wrap tbody tr:hover {
  background: rgba(15, 23, 42, 0.45);
}

.small-print {
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.7);
}

@media (max-width: 640px) {
  .page-intro {
    text-align: center;
  }
  .page-intro__content {
    justify-items: center;
  }
  .avatar {
    justify-self: center;
  }
}

.music-layout {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.75rem);
}

@media (min-width: 960px) {
  .music-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
  }
}

.video-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(12, 18, 32, 0.6);
  aspect-ratio: 16 / 9;
  box-shadow: 0 16px 32px rgba(7, 12, 23, 0.45);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player-column {
  display: grid;
  gap: 1rem;
}

.player-meta {
  display: grid;
  gap: 0.4rem;
}

.player-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.4;
}

.tracklist-wrap {
  display: grid;
  gap: 0.85rem;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 0.35rem;
}

.tracklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.tracklist-empty {
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  background: rgba(12, 18, 32, 0.45);
  color: var(--text-muted);
}

.track-button {
  width: 100%;
  text-align: left;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(12, 18, 32, 0.6);
  color: inherit;
  font: inherit;
  padding: 0.75rem 1rem;
  display: grid;
  gap: 0.25rem;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.track-button:hover {
  border-color: rgba(59, 130, 246, 0.55);
  background: rgba(59, 130, 246, 0.12);
  transform: translateY(-1px);
}

.track-button:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.75);
  outline-offset: 2px;
}

.track-button.is-active {
  border-color: rgba(94, 234, 212, 0.65);
  background: rgba(20, 184, 166, 0.14);
}

.track-button .track-title {
  font-weight: 600;
  font-size: 0.96rem;
}

.track-button .track-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .track-button {
    padding: 0.65rem 0.85rem;
  }
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="light"] body::before {
  background: radial-gradient(
      140% 120% at 10% 8%,
      rgba(255, 255, 255, 0.65) 0%,
      rgba(248, 250, 255, 0) 58%
    ),
    radial-gradient(
      130% 130% at 88% 6%,
      rgba(209, 213, 255, 0.45) 0%,
      rgba(240, 246, 255, 0) 64%
    ),
    radial-gradient(
      150% 140% at 52% 102%,
      rgba(255, 233, 200, 0.4) 0%,
      rgba(255, 244, 228, 0) 68%
    );
}

html[data-theme="light"] .quick-accessibility {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.18);
}

html[data-theme="light"] .quick-control--theme {
  background: rgba(255, 255, 255, 0.85);
  color: #1e293b;
  border-color: rgba(148, 163, 184, 0.35);
}

html[data-theme="light"] .quick-control--theme:hover,
html[data-theme="light"] .quick-control--theme:focus-visible {
  color: #1d4ed8;
  border-color: rgba(59, 130, 246, 0.55);
}

html[data-theme="light"] .lang-chip {
  color: rgba(71, 85, 105, 0.8);
}

html[data-theme="light"] .lang-chip.is-active {
  color: #0f172a;
  background: linear-gradient(135deg, #bfdbfe, #bae6fd);
  box-shadow: 0 16px 28px rgba(148, 163, 184, 0.35);
}

html[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
  backdrop-filter: saturate(170%) blur(22px);
}

html[data-theme="light"] .brand span {
  color: rgba(71, 85, 105, 0.7);
}

html[data-theme="light"] .nav-links a {
  color: rgba(30, 41, 59, 0.78);
}

html[data-theme="light"] .nav-links a::after {
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.68),
    rgba(14, 165, 233, 0.68)
  );
}

html[data-theme="light"] .nav-links a[aria-current="page"] {
  color: #1d4ed8;
}

html[data-theme="light"] .nav-links[data-open="true"] {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 28px 48px rgba(15, 23, 42, 0.16);
}

html[data-theme="light"] .nav-toggle {
  border-color: rgba(148, 163, 184, 0.3);
  color: #1f2a44;
  background: rgba(255, 255, 255, 0.85);
}

html[data-theme="light"] .glass-panel,
html[data-theme="light"] .card,
html[data-theme="light"] .timeline-card,
html[data-theme="light"] .changelog-card,
html[data-theme="light"] .tracklist,
html[data-theme="light"] .photo-item,
html[data-theme="light"] .modal,
html[data-theme="light"] .sr-status {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 30px 54px rgba(15, 23, 42, 0.15);
  color: var(--text-main);
}

html[data-theme="light"] .card:hover,
html[data-theme="light"] .timeline-card:hover,
html[data-theme="light"] .changelog-card:hover,
html[data-theme="light"] .photo-item:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 32px 60px rgba(15, 23, 42, 0.18);
}

html[data-theme="light"] .card p,
html[data-theme="light"] .text-muted,
html[data-theme="light"] .muted {
  color: var(--text-muted);
}

html[data-theme="light"] .badge {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

html[data-theme="light"] .badge-filter {
  color: var(--text-muted);
  border-color: rgba(148, 163, 184, 0.28);
}

html[data-theme="light"] .badge-filter.is-active {
  background: rgba(37, 99, 235, 0.16);
  border-color: rgba(37, 99, 235, 0.45);
  color: #1d4ed8;
}

html[data-theme="light"] .timeline-card,
html[data-theme="light"] .changelog-card {
  background: rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .track-button {
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-main);
}

html[data-theme="light"] .track-button:hover {
  border-color: rgba(37, 99, 235, 0.45);
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

html[data-theme="light"] .tracklist-empty {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.75);
}

html[data-theme="light"] form input,
html[data-theme="light"] form textarea {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--text-main);
}

html[data-theme="light"] form input::placeholder,
html[data-theme="light"] form textarea::placeholder {
  color: rgba(100, 116, 139, 0.8);
}

html[data-theme="light"] form input:focus,
html[data-theme="light"] form textarea:focus {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

html[data-theme="light"] .video-frame {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
}

html[data-theme="light"] .site-footer {
  background: rgba(255, 255, 255, 0.88);
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  color: var(--text-muted);
}

html[data-theme="light"] .footer-links a {
  color: rgba(71, 85, 105, 0.8);
}

html[data-theme="light"] .footer-links a:hover {
  color: #2563eb;
}

html[data-theme="light"] a:hover {
  color: #2563eb;
}

html[data-theme="light"] .control-button {
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.86);
  color: #1f2a44;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .control-button:hover,
html[data-theme="light"] .control-button:focus-visible {
  border-color: rgba(37, 99, 235, 0.45);
  color: #2563eb;
}

/* Homepage accessibility panel */
.accessibility-panel {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  position: relative;
  overflow: hidden;
}

.accessibility-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      120% 140% at 0% 0%,
      rgba(59, 130, 246, 0.18) 0%,
      rgba(15, 23, 42, 0) 62%
    ),
    radial-gradient(
      110% 120% at 100% 0%,
      rgba(14, 165, 233, 0.16) 0%,
      rgba(2, 6, 23, 0) 55%
    );
  opacity: 0.85;
  pointer-events: none;
}

.accessibility-panel > * {
  position: relative;
  z-index: 1;
}

.accessibility-panel__body {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.accessibility-panel__intro {
  display: grid;
  gap: 0.65rem;
  max-width: 48rem;
}

.accessibility-panel__group {
  display: grid;
  gap: 0.85rem;
}

.accessibility-panel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.group-label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.75);
}

/* Force dark text for light mode — make all text black site-wide
   This is intentionally broad to override any remaining light/white colors
   when the site is in light mode. If you prefer more selective rules,
   we can narrow this to specific elements later. */
html[data-theme="light"] *,
html[data-theme="light"] *::before,
html[data-theme="light"] *::after {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important; /* for form controls / iOS */
}
