:root {
  --bg: #eef4f8;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-muted: #f5f8fb;
  --text: #143042;
  --text-soft: #496172;
  --line: rgba(20, 48, 66, 0.12);
  --line-strong: rgba(20, 48, 66, 0.22);
  --brand: #0e7490;
  --brand-dark: #0f4c5c;
  --accent: #f59e0b;
  --accent-soft: #fff2d6;
  --danger-soft: #fef1ef;
  --danger: #cc5a4d;
  --success-soft: #e8f8ef;
  --success: #1f8a59;
  --shadow: 0 24px 60px rgba(15, 76, 92, 0.16);
  --shadow-soft: 0 16px 36px rgba(15, 76, 92, 0.1);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --site-width: min(1180px, calc(100vw - 32px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Aptos", "Segoe UI Variable Text", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(14, 116, 144, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.16), transparent 32%),
    linear-gradient(180deg, #f6fbfd 0%, #eef4f8 42%, #e7eef4 100%);
  line-height: 1.7;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand);
}

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

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(238, 244, 248, 0.82);
  border-bottom: 1px solid rgba(20, 48, 66, 0.08);
}

.site-header-inner,
.page-wrap,
.site-footer-inner {
  width: var(--site-width);
  margin: 0 auto;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 69px;
  height: 69px;
  display: inline-grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  box-shadow: var(--shadow-soft);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: 0.04em;
}

.brand-logo {
  object-fit: contain;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.brand-copy small {
  display: block;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav-links a,
.mobile-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.mobile-links a:hover,
.mobile-links a[aria-current="page"] {
  background: rgba(14, 116, 144, 0.1);
  color: var(--brand-dark);
}

.mobile-nav {
  display: none;
}

.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  padding: 10px 16px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-links {
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.mobile-links a {
  display: flex;
  border-radius: 12px;
}

.page-wrap {
  padding: 36px 0 72px;
}

.hero,
.panel,
.article-layout,
.legal-panel,
.contact-panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 46px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% auto auto 56%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.24), transparent 70%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -28% -12%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 116, 144, 0.2), transparent 72%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(14, 116, 144, 0.1);
  color: var(--brand-dark);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.16;
  font-family: "Aptos Display", "Segoe UI Variable Display", "Trebuchet MS", sans-serif;
}

h1 {
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
}

.homepage .hero h1 {
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
  line-height: 1.08;
}

.homepage .stat-card strong {
  font-size: 1.6rem;
}

h2 {
  font-size: clamp(1.7rem, 2.2vw, 2.4rem);
}

h3 {
  font-size: 1.28rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 72ch;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  box-shadow: 0 18px 34px rgba(14, 116, 144, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  border: 1px solid var(--line);
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.hero-grid,
.grid-3,
.grid-2,
.card-grid,
.article-grid {
  display: grid;
  gap: 22px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.95fr);
  align-items: center;
}

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

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

.panel {
  padding: 34px;
  margin-top: 26px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 20px;
}

.muted {
  color: var(--text-soft);
}

.stat-card,
.info-card,
.article-card,
.faq-card,
.resource-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.stat-card strong,
.info-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--brand-dark);
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-card .meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(14, 116, 144, 0.1);
  color: var(--brand-dark);
  font-weight: 700;
}

.pill.accent {
  background: var(--accent-soft);
  color: #9a5d00;
}

.pill.success {
  background: var(--success-soft);
  color: var(--success);
}

.article-card h3 {
  margin-bottom: 4px;
}

.article-card p:last-child,
.info-card p:last-child,
.faq-card p:last-child {
  margin-bottom: 0;
}

.article-layout {
  padding: 34px;
}

.article-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: start;
}

.article-side {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(14, 116, 144, 0.08), rgba(14, 116, 144, 0.02));
  border: 1px solid rgba(14, 116, 144, 0.14);
}

.article-side h3 {
  margin-bottom: 12px;
}

.article-side ul,
.checklist,
.step-list,
.toc-list,
.resource-list {
  margin: 0;
  padding-left: 18px;
}

.article-side li,
.checklist li,
.step-list li,
.toc-list li,
.resource-list li {
  margin-bottom: 10px;
}

.step-list li::marker {
  font-weight: 800;
  color: var(--brand-dark);
}

.callout,
.warning,
.success-box {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  margin: 20px 0;
}

.callout {
  background: rgba(14, 116, 144, 0.08);
  border: 1px solid rgba(14, 116, 144, 0.16);
}

.warning {
  background: var(--danger-soft);
  border: 1px solid rgba(204, 90, 77, 0.2);
}

.success-box {
  background: var(--success-soft);
  border: 1px solid rgba(31, 138, 89, 0.2);
}

.screenshot {
  margin: 28px 0;
}

.screenshot-frame {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f7fafc, #ffffff);
  box-shadow: var(--shadow-soft);
}

.screenshot-frame img {
  width: 100%;
  height: auto;
}

.screenshot figcaption {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.split-note {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.split-note > div {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface-muted);
  border: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.visitor-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.visitor-stat {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(14, 116, 144, 0.07), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(14, 116, 144, 0.14);
  box-shadow: var(--shadow-soft);
}

.visitor-stat .label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-soft);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
}

.visitor-stat .value {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1;
  font-weight: 800;
  color: var(--brand-dark);
}

.visitor-counter-note {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.faq-card h3 {
  margin-bottom: 8px;
}

.toc-list a {
  font-weight: 700;
}

.legal-panel,
.contact-panel {
  padding: 34px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 22px;
  align-items: start;
}

.support-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.support-form {
  display: grid;
  gap: 14px;
}

.support-form label {
  font-weight: 700;
}

.support-form input[type="number"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font: inherit;
  color: var(--text);
}

.support-help {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.paypal-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.paypal-submit img {
  display: block;
  max-width: min(100%, 240px);
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.support-disclaimer {
  margin: 4px 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  font-weight: 700;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font: inherit;
  color: var(--text);
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form input[type="submit"] {
  appearance: none;
  border: 0;
  cursor: pointer;
}

.contact-form input[type="submit"][disabled] {
  opacity: 0.76;
  cursor: wait;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-muted);
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--brand);
}

.checkbox-row span {
  font-weight: 600;
  line-height: 1.5;
}

.form-note {
  margin: -2px 0 0;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.contact-form #url,
.contact-form #website {
  position: absolute;
  left: -9999px;
}

.site-footer {
  padding: 14px 16px 18px;
  text-align: center;
}

.site-footer-inner {
  display: block;
  padding: 0;
  color: #6b7280;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 1rem;
  line-height: 1.5;
}

.site-footer a {
  color: inherit;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer a[href^="https://wowo89.de"] {
  font-weight: 700;
}

.footer-credit {
  margin: 0;
  padding: 0;
  border: 0;
  text-align: center;
  color: #6b7280;
}

.compact-list {
  margin: 0;
  padding-left: 18px;
}

.compact-list li {
  margin-bottom: 6px;
}

@media (max-width: 960px) {
  .site-header-inner {
    align-items: start;
    flex-direction: column;
  }

  .nav-links {
    display: none;
  }

  .mobile-nav {
    display: block;
    width: 100%;
  }

  .hero,
  .panel,
  .article-layout,
  .legal-panel,
  .contact-panel {
    padding: 26px;
  }

  .hero-grid,
  .article-top,
  .grid-3,
  .grid-2,
  .card-grid,
  .article-grid,
  .visitor-stats-grid,
  .split-note,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-wrap {
    padding: 22px 0 48px;
  }

  .site-footer-inner {
    padding: 0;
  }

  .hero {
    padding: 24px;
  }

  .button,
  .button-secondary {
    width: 100%;
  }
}

body.theme-ocean {
  --bg: #e7f7fb;
  --surface: rgba(246, 253, 255, 0.94);
  --surface-strong: #ffffff;
  --surface-muted: #e7f7fb;
  --text: #0c3442;
  --text-soft: #426779;
  --line: rgba(8, 83, 110, 0.16);
  --line-strong: rgba(8, 83, 110, 0.28);
  --brand: #0284c7;
  --brand-dark: #075985;
  --accent: #06b6d4;
  --accent-soft: #cffafe;
  --shadow: 0 28px 70px rgba(2, 132, 199, 0.18);
  --shadow-soft: 0 16px 38px rgba(2, 132, 199, 0.12);
  background:
    linear-gradient(135deg, rgba(186, 230, 253, 0.9), transparent 42%),
    radial-gradient(circle at 85% 12%, rgba(34, 211, 238, 0.28), transparent 30%),
    linear-gradient(180deg, #f8fdff 0%, #e7f7fb 48%, #d9eef7 100%);
}

body.theme-forest {
  --bg: #eef7ef;
  --surface: rgba(250, 255, 250, 0.94);
  --surface-strong: #ffffff;
  --surface-muted: #eef7ef;
  --text: #193322;
  --text-soft: #526858;
  --line: rgba(22, 101, 52, 0.16);
  --line-strong: rgba(22, 101, 52, 0.3);
  --brand: #15803d;
  --brand-dark: #14532d;
  --accent: #84cc16;
  --accent-soft: #ecfccb;
  --shadow: 0 24px 60px rgba(20, 83, 45, 0.16);
  --shadow-soft: 0 14px 34px rgba(20, 83, 45, 0.1);
  background:
    radial-gradient(circle at 12% 10%, rgba(187, 247, 208, 0.58), transparent 34%),
    linear-gradient(160deg, #fbfff9 0%, #eef7ef 50%, #e2f0dc 100%);
}

body.theme-sunrise {
  --bg: #fff6ea;
  --surface: rgba(255, 252, 247, 0.95);
  --surface-strong: #fffefd;
  --surface-muted: #fff5e6;
  --text: #3f2c1b;
  --text-soft: #765f4a;
  --line: rgba(180, 83, 9, 0.16);
  --line-strong: rgba(180, 83, 9, 0.3);
  --brand: #c2410c;
  --brand-dark: #7c2d12;
  --accent: #eab308;
  --accent-soft: #fef3c7;
  --shadow: 0 26px 66px rgba(194, 65, 12, 0.16);
  --shadow-soft: 0 16px 36px rgba(194, 65, 12, 0.1);
  background:
    radial-gradient(circle at 18% 16%, rgba(253, 186, 116, 0.34), transparent 36%),
    radial-gradient(circle at 90% 4%, rgba(250, 204, 21, 0.28), transparent 30%),
    linear-gradient(180deg, #fffaf3 0%, #fff1df 52%, #fbe7d2 100%);
}

body.theme-graphite {
  --bg: #101820;
  --surface: rgba(24, 34, 45, 0.94);
  --surface-strong: #17212c;
  --surface-muted: #1f2b37;
  --text: #e8f1f8;
  --text-soft: #aec0cf;
  --line: rgba(226, 232, 240, 0.13);
  --line-strong: rgba(226, 232, 240, 0.24);
  --brand: #38bdf8;
  --brand-dark: #7dd3fc;
  --accent: #fbbf24;
  --accent-soft: rgba(251, 191, 36, 0.16);
  --shadow: 0 28px 72px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 16px 38px rgba(0, 0, 0, 0.22);
  background:
    radial-gradient(circle at 18% 10%, rgba(56, 189, 248, 0.18), transparent 34%),
    linear-gradient(180deg, #111827 0%, #101820 52%, #0b1117 100%);
}

body.theme-berry {
  --bg: #fbf0f8;
  --surface: rgba(255, 250, 254, 0.94);
  --surface-strong: #ffffff;
  --surface-muted: #fce7f3;
  --text: #3b1837;
  --text-soft: #73536f;
  --line: rgba(157, 23, 77, 0.15);
  --line-strong: rgba(157, 23, 77, 0.28);
  --brand: #be185d;
  --brand-dark: #831843;
  --accent: #7c3aed;
  --accent-soft: #ede9fe;
  --shadow: 0 26px 64px rgba(190, 24, 93, 0.16);
  --shadow-soft: 0 16px 34px rgba(190, 24, 93, 0.1);
  background:
    radial-gradient(circle at 12% 12%, rgba(244, 114, 182, 0.28), transparent 36%),
    radial-gradient(circle at 90% 8%, rgba(167, 139, 250, 0.24), transparent 28%),
    linear-gradient(180deg, #fff7fd 0%, #fbf0f8 54%, #f4e6f8 100%);
}

body.theme-compact {
  --bg: #f4f7f8;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-strong: #ffffff;
  --surface-muted: #f1f5f7;
  --text: #1b2a32;
  --text-soft: #52636d;
  --line: rgba(27, 42, 50, 0.14);
  --line-strong: rgba(27, 42, 50, 0.26);
  --brand: #2563eb;
  --brand-dark: #1e3a8a;
  --accent: #14b8a6;
  --accent-soft: #ccfbf1;
  --shadow: 0 14px 34px rgba(30, 58, 138, 0.12);
  --shadow-soft: 0 8px 20px rgba(30, 58, 138, 0.08);
  --radius-xl: 16px;
  --radius-lg: 12px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --site-width: min(1280px, calc(100vw - 28px));
  background: linear-gradient(180deg, #fafcff 0%, #f4f7f8 58%, #eaf0f4 100%);
}

body.theme-neon {
  --bg: #06131b;
  --surface: rgba(9, 22, 32, 0.94);
  --surface-strong: #0b1d2a;
  --surface-muted: #102938;
  --text: #e8fbff;
  --text-soft: #a9cfdb;
  --line: rgba(94, 234, 212, 0.2);
  --line-strong: rgba(94, 234, 212, 0.34);
  --brand: #22d3ee;
  --brand-dark: #67e8f9;
  --accent: #a3e635;
  --accent-soft: rgba(163, 230, 53, 0.16);
  --shadow: 0 32px 78px rgba(34, 211, 238, 0.18);
  --shadow-soft: 0 18px 42px rgba(34, 211, 238, 0.12);
  background:
    radial-gradient(circle at 18% 10%, rgba(34, 211, 238, 0.22), transparent 32%),
    radial-gradient(circle at 82% 8%, rgba(163, 230, 53, 0.16), transparent 28%),
    linear-gradient(180deg, #081722 0%, #06131b 55%, #030a10 100%);
}

body.theme-paper {
  --bg: #f7f4ec;
  --surface: rgba(255, 253, 247, 0.96);
  --surface-strong: #fffdf7;
  --surface-muted: #f2eee3;
  --text: #2f3437;
  --text-soft: #657077;
  --line: rgba(75, 85, 99, 0.18);
  --line-strong: rgba(75, 85, 99, 0.3);
  --brand: #3f7f7c;
  --brand-dark: #285c5a;
  --accent: #b45309;
  --accent-soft: #fff3d8;
  --shadow: 0 18px 44px rgba(75, 85, 99, 0.12);
  --shadow-soft: 0 10px 24px rgba(75, 85, 99, 0.08);
  --radius-xl: 8px;
  --radius-lg: 6px;
  --radius-md: 6px;
  --radius-sm: 4px;
  background:
    linear-gradient(rgba(47, 52, 55, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 52, 55, 0.025) 1px, transparent 1px),
    #f7f4ec;
  background-size: 28px 28px;
}

body.theme-metro {
  --bg: #f2f6fb;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-muted: #e8eef6;
  --text: #101827;
  --text-soft: #526173;
  --line: rgba(16, 24, 39, 0.16);
  --line-strong: rgba(16, 24, 39, 0.3);
  --brand: #0f5fff;
  --brand-dark: #0b3b95;
  --accent: #00a896;
  --accent-soft: #d8fff7;
  --shadow: 10px 10px 0 rgba(15, 95, 255, 0.12);
  --shadow-soft: 6px 6px 0 rgba(15, 95, 255, 0.08);
  --radius-xl: 0;
  --radius-lg: 0;
  --radius-md: 0;
  --radius-sm: 0;
  background: linear-gradient(90deg, #f8fbff 0%, #eef4fb 100%);
}

body.theme-studio {
  --bg: #f7f8fa;
  --surface: rgba(255, 255, 255, 0.98);
  --surface-strong: #ffffff;
  --surface-muted: #eef1f4;
  --text: #111827;
  --text-soft: #596575;
  --line: rgba(17, 24, 39, 0.14);
  --line-strong: rgba(17, 24, 39, 0.28);
  --brand: #111827;
  --brand-dark: #020617;
  --accent: #e11d48;
  --accent-soft: #ffe4ec;
  --shadow: 0 24px 58px rgba(17, 24, 39, 0.12);
  --shadow-soft: 0 12px 28px rgba(17, 24, 39, 0.08);
  --radius-xl: 18px;
  --radius-lg: 12px;
  --radius-md: 10px;
  --radius-sm: 8px;
  background: #f7f8fa;
}

body.theme-terminal {
  --bg: #06120b;
  --surface: rgba(6, 18, 11, 0.96);
  --surface-strong: #09180f;
  --surface-muted: #0d2416;
  --text: #d9ffe6;
  --text-soft: #9bd4ad;
  --line: rgba(74, 222, 128, 0.22);
  --line-strong: rgba(74, 222, 128, 0.4);
  --brand: #4ade80;
  --brand-dark: #86efac;
  --accent: #facc15;
  --accent-soft: rgba(250, 204, 21, 0.14);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 14px 32px rgba(0, 0, 0, 0.24);
  --radius-xl: 4px;
  --radius-lg: 4px;
  --radius-md: 3px;
  --radius-sm: 2px;
  background:
    linear-gradient(rgba(74, 222, 128, 0.04) 1px, transparent 1px),
    #06120b;
  background-size: 100% 4px;
  font-family: Consolas, "Cascadia Mono", "Courier New", monospace;
}

body.theme-graphite .site-header,
body.theme-neon .site-header,
body.theme-terminal .site-header,
body.theme-graphite .mobile-nav summary,
body.theme-neon .mobile-nav summary,
body.theme-terminal .mobile-nav summary,
body.theme-graphite .mobile-links,
body.theme-neon .mobile-links,
body.theme-terminal .mobile-links {
  background: rgba(16, 24, 32, 0.88);
}

body.theme-graphite .hero,
body.theme-neon .hero,
body.theme-terminal .hero,
body.theme-graphite .panel,
body.theme-neon .panel,
body.theme-terminal .panel,
body.theme-graphite .article-layout,
body.theme-neon .article-layout,
body.theme-terminal .article-layout,
body.theme-graphite .legal-panel,
body.theme-neon .legal-panel,
body.theme-terminal .legal-panel,
body.theme-graphite .contact-panel,
body.theme-neon .contact-panel,
body.theme-terminal .contact-panel {
  border-color: rgba(226, 232, 240, 0.12);
}

body.theme-graphite .button-secondary,
body.theme-neon .button-secondary,
body.theme-terminal .button-secondary,
body.theme-graphite .forum-admin-tools .button-secondary,
body.theme-neon .forum-admin-tools .button-secondary,
body.theme-terminal .forum-admin-tools .button-secondary,
body.theme-graphite .forum-post-actions .button-secondary,
body.theme-neon .forum-post-actions .button-secondary,
body.theme-terminal .forum-post-actions .button-secondary,
body.theme-graphite .forum-button-row .button-secondary,
body.theme-neon .forum-button-row .button-secondary,
body.theme-terminal .forum-button-row .button-secondary {
  background: #eaf4fb;
  color: #0f172a;
  border-color: rgba(125, 211, 252, 0.42);
}

body.theme-graphite .button-secondary:hover,
body.theme-neon .button-secondary:hover,
body.theme-terminal .button-secondary:hover,
body.theme-graphite .button-secondary:focus-visible,
body.theme-neon .button-secondary:focus-visible,
body.theme-terminal .button-secondary:focus-visible {
  background: #d8eefb;
  color: #082f49;
}

body.theme-graphite .forum-form input[type="text"],
body.theme-neon .forum-form input[type="text"],
body.theme-terminal .forum-form input[type="text"],
body.theme-graphite .forum-form input[type="email"],
body.theme-neon .forum-form input[type="email"],
body.theme-terminal .forum-form input[type="email"],
body.theme-graphite .forum-form input[type="password"],
body.theme-neon .forum-form input[type="password"],
body.theme-terminal .forum-form input[type="password"],
body.theme-graphite .forum-form input[type="file"],
body.theme-neon .forum-form input[type="file"],
body.theme-terminal .forum-form input[type="file"],
body.theme-graphite .forum-form select,
body.theme-neon .forum-form select,
body.theme-terminal .forum-form select,
body.theme-graphite .forum-form textarea,
body.theme-neon .forum-form textarea,
body.theme-terminal .forum-form textarea,
body.theme-graphite .contact-form input[type="text"],
body.theme-neon .contact-form input[type="text"],
body.theme-terminal .contact-form input[type="text"],
body.theme-graphite .contact-form input[type="email"],
body.theme-neon .contact-form input[type="email"],
body.theme-terminal .contact-form input[type="email"],
body.theme-graphite .contact-form textarea,
body.theme-neon .contact-form textarea,
body.theme-terminal .contact-form textarea,
body.theme-graphite .catalog-field input,
body.theme-neon .catalog-field input,
body.theme-terminal .catalog-field input,
body.theme-graphite .catalog-field select,
body.theme-neon .catalog-field select,
body.theme-terminal .catalog-field select {
  background: #f8fbff;
  color: #0f172a;
  border-color: rgba(125, 211, 252, 0.44);
}

body.theme-graphite .forum-form select option,
body.theme-neon .forum-form select option,
body.theme-terminal .forum-form select option,
body.theme-graphite .catalog-field select option,
body.theme-neon .catalog-field select option,
body.theme-terminal .catalog-field select option {
  background: #f8fbff;
  color: #0f172a;
}

body.theme-graphite .forum-form input::placeholder,
body.theme-neon .forum-form input::placeholder,
body.theme-terminal .forum-form input::placeholder,
body.theme-graphite .forum-form textarea::placeholder,
body.theme-neon .forum-form textarea::placeholder,
body.theme-terminal .forum-form textarea::placeholder,
body.theme-graphite .contact-form input::placeholder,
body.theme-neon .contact-form input::placeholder,
body.theme-terminal .contact-form input::placeholder,
body.theme-graphite .contact-form textarea::placeholder,
body.theme-neon .contact-form textarea::placeholder,
body.theme-terminal .contact-form textarea::placeholder {
  color: #64748b;
}

body.theme-compact .site-header-inner {
  padding: 10px 0;
}

body.theme-compact .page-wrap {
  padding-top: 24px;
}

body.theme-compact .hero {
  padding: 32px;
}

body.theme-ocean .site-header {
  border-bottom: 0;
  background: rgba(231, 247, 251, 0.72);
}

body.theme-ocean .brand-mark:not(.brand-logo) {
  border-radius: 999px;
}

body.theme-ocean .hero,
body.theme-ocean .panel {
  border-radius: 40px;
  border-color: rgba(14, 165, 233, 0.2);
}

body.theme-ocean .hero::before {
  width: 620px;
  height: 620px;
  inset: -58% auto auto 48%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent 68%);
}

body.theme-forest .site-header {
  position: static;
  background: #f7fff6;
  border-bottom: 4px solid rgba(21, 128, 61, 0.18);
}

body.theme-forest .brand-mark:not(.brand-logo),
body.theme-forest .button,
body.theme-forest .button-secondary,
body.theme-forest .nav-links a {
  border-radius: 10px;
}

body.theme-forest .hero,
body.theme-forest .panel {
  border-radius: 14px;
  border-left: 8px solid rgba(21, 128, 61, 0.42);
}

body.theme-forest .hero::before,
body.theme-forest .hero::after {
  display: none;
}

body.theme-sunrise .site-header {
  background: rgba(255, 246, 234, 0.9);
}

body.theme-sunrise .brand {
  font-size: 1.14rem;
}

body.theme-sunrise .hero,
body.theme-sunrise .panel {
  border: 0;
  border-top: 5px solid rgba(234, 179, 8, 0.55);
}

body.theme-sunrise .button,
body.theme-sunrise .nav-links a[aria-current="page"] {
  background: linear-gradient(135deg, #7c2d12, #ea580c 52%, #eab308);
}

body.theme-berry .site-header {
  background: rgba(255, 247, 253, 0.88);
}

body.theme-berry .brand-mark:not(.brand-logo) {
  border-radius: 24px 10px 24px 10px;
}

body.theme-berry .hero,
body.theme-berry .panel {
  border-radius: 34px 16px 34px 16px;
  border-color: rgba(190, 24, 93, 0.18);
}

body.theme-berry .button,
body.theme-berry .button-secondary,
body.theme-berry .nav-links a {
  border-radius: 18px 8px 18px 8px;
}

body.theme-graphite .brand-mark:not(.brand-logo) {
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.38), 0 16px 36px rgba(56, 189, 248, 0.2);
}

body.theme-graphite .button {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: #07111f;
}

body.theme-graphite .hero,
body.theme-graphite .panel {
  border-radius: 10px;
}

body.theme-compact .brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 10px;
}

body.theme-compact .button,
body.theme-compact .button-secondary,
body.theme-compact .nav-links a {
  min-height: 36px;
  border-radius: 8px;
}

body.theme-neon .site-header {
  border-bottom: 1px solid rgba(94, 234, 212, 0.18);
}

body.theme-neon .brand-mark:not(.brand-logo),
body.theme-neon .button,
body.theme-neon .nav-links a[aria-current="page"] {
  box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.34), 0 0 24px rgba(34, 211, 238, 0.24);
}

body.theme-neon .hero,
body.theme-neon .panel {
  border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.14), 0 26px 70px rgba(0, 0, 0, 0.3);
}

body.theme-paper .site-header {
  position: static;
  background: rgba(255, 253, 247, 0.92);
  border-bottom: 1px solid rgba(75, 85, 99, 0.18);
}

body.theme-paper .hero,
body.theme-paper .panel {
  box-shadow: none;
  border: 1px solid rgba(75, 85, 99, 0.2);
}

body.theme-paper .button,
body.theme-paper .button-secondary,
body.theme-paper .nav-links a {
  border-radius: 999px;
}

body.theme-metro .site-header {
  position: static;
  background: #ffffff;
  border-bottom: 4px solid var(--brand);
}

body.theme-metro .hero,
body.theme-metro .panel {
  border: 2px solid rgba(16, 24, 39, 0.16);
  box-shadow: var(--shadow-soft);
}

body.theme-metro .button,
body.theme-metro .button-secondary,
body.theme-metro .nav-links a,
body.theme-metro .brand-mark {
  border-radius: 0;
}

body.theme-studio .site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(17, 24, 39, 0.12);
}

body.theme-studio .brand-mark:not(.brand-logo),
body.theme-studio .button,
body.theme-studio .nav-links a[aria-current="page"] {
  background: #111827;
  color: #fff;
}

body.theme-studio .hero,
body.theme-studio .panel {
  border-top: 4px solid #111827;
}

body.theme-terminal .site-header {
  border-bottom: 1px solid rgba(74, 222, 128, 0.24);
}

body.theme-terminal .brand-mark:not(.brand-logo),
body.theme-terminal .button,
body.theme-terminal .button-secondary,
body.theme-terminal .nav-links a {
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.theme-terminal .hero,
body.theme-terminal .panel {
  box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.08), 0 20px 46px rgba(0, 0, 0, 0.3);
}

.catalog-toolbar { display: grid; gap: 16px; }
.catalog-controls { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 12px; align-items: end; }
.catalog-field label { display: block; margin-bottom: 8px; font-weight: 700; color: var(--text); }
.catalog-field input, .catalog-field select { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.9); color: var(--text); font: inherit; }
.catalog-summary { color: var(--text-soft); font-weight: 600; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.catalog-card-section { margin: -2px 0 12px; color: var(--text-soft); font-size: 0.92rem; font-weight: 700; }
.catalog-pagination { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.catalog-page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,0.88); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 700; }
.catalog-page-link.is-current, .catalog-page-link:hover { background: rgba(14, 116, 144, 0.12); color: var(--brand-dark); }
.catalog-empty { padding: 22px; border-radius: 18px; background: rgba(255,255,255,0.86); border: 1px dashed var(--line-strong); color: var(--text-soft); font-weight: 600; }
@media (max-width: 900px) { .catalog-controls, .catalog-grid { grid-template-columns: 1fr; } }
