:root {
  color-scheme: dark;
  --bg: #0d0c0a;
  --bg-raise: #14120f;
  --panel: #191713;
  --panel-2: #1f1c17;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #f3f0e9;
  --ink-soft: #c8c2b6;
  --ink-mute: #8f887c;
  --accent: #abcf37;
  --accent-soft: rgba(171, 207, 55, 0.14);
  --accent-ink: #101400;
  --red: #ff7a6e;
  --red-soft: rgba(255, 122, 110, 0.14);
  --amber: #ffc65c;
  --amber-soft: rgba(255, 198, 92, 0.13);
  --blue: #7fb8ff;
  --blue-soft: rgba(127, 184, 255, 0.13);
  --green: #a7e26a;
  --green-soft: rgba(167, 226, 106, 0.14);
  --radius: 18px;
  --radius-lg: 26px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  background-image: radial-gradient(1100px 500px at 15% -5%, rgba(171, 207, 55, 0.07), transparent 60%);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
header { padding: 72px 0 40px; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 58ch;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.privacy {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 8px 16px 8px 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(171, 207, 55, 0.3);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
}

.privacy .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse { 50% { opacity: 0.35; } }

/* Cards */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}

/* Input */
textarea {
  width: 100%;
  min-height: 190px;
  padding: 18px;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.2s;
}

textarea:focus { outline: none; border-color: rgba(171, 207, 55, 0.5); }
textarea::placeholder { color: var(--ink-mute); }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

button {
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  background: var(--panel-2);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.12s, background 0.2s, border-color 0.2s;
}

button:hover { border-color: rgba(171, 207, 55, 0.45); }
button:active { transform: scale(0.97); }

button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

button.primary:hover { background: #bcdf4e; }

.spacer { flex: 1; }

.charcount { color: var(--ink-mute); font-size: 0.85rem; }

/* Stats */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
}

.chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.chip strong { font-size: 1.05rem; color: var(--ink); }
.chip.green strong { color: var(--green); }
.chip.amber strong { color: var(--amber); }
.chip.blue strong { color: var(--blue); }
.chip.red strong { color: var(--red); }
.chip.ok { border-color: rgba(171, 207, 55, 0.35); }

/* Hidden message alert */
.alert {
  margin-top: 18px;
  padding: 16px 20px;
  background: var(--red-soft);
  border: 1px solid rgba(255, 122, 110, 0.4);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.alert code {
  font-family: var(--mono);
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 8px;
  border-radius: 6px;
}

/* Inspector */
.section-title {
  margin: 40px 0 6px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-sub { margin: 0 0 16px; color: var(--ink-mute); font-size: 0.92rem; }

.inspector {
  padding: 20px;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1rem;
  line-height: 2.1;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

.badge {
  display: inline-block;
  margin: 0 2px;
  padding: 1px 7px;
  border-radius: 7px;
  font-family: var(--mono);
  font-size: 0.68em;
  font-weight: 700;
  letter-spacing: 0.03em;
  vertical-align: 0.12em;
  cursor: help;
  line-height: 1.7;
}

.badge.green { background: var(--green-soft); color: var(--green); border: 1px solid rgba(167, 226, 106, 0.4); }
.badge.amber { background: var(--amber-soft); color: var(--amber); border: 1px solid rgba(255, 198, 92, 0.4); }
.badge.red { background: var(--red-soft); color: var(--red); border: 1px solid rgba(255, 122, 110, 0.45); }
.badge.blue { background: var(--blue-soft); color: var(--blue); border: 1px solid rgba(127, 184, 255, 0.4); }
.badge.exempt { opacity: 0.55; border-style: dashed; }

.hl {
  border-bottom: 2px solid;
  padding-bottom: 1px;
  cursor: help;
}

.hl.blue { border-color: var(--blue); background: var(--blue-soft); }
.hl.red { border-color: var(--red); background: var(--red-soft); }

/* Options */
.options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.opt {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s;
}

.opt:hover { border-color: var(--line-strong); }
.opt input { accent-color: var(--accent); margin-top: 4px; }
.opt .t { font-weight: 700; font-size: 0.92rem; }
.opt .d { color: var(--ink-mute); font-size: 0.8rem; line-height: 1.45; }

.opt select {
  margin-top: 6px;
  font-family: var(--font);
  font-size: 0.85rem;
  background: var(--bg-raise);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 5px 8px;
}

/* Output */
.output {
  position: relative;
  margin-top: 16px;
}

.output textarea { min-height: 150px; background: var(--panel); }

.copy-wrap { position: absolute; top: 14px; right: 14px; }

/* Prose sections */
.prose { padding: 64px 0 20px; }
.prose h2 {
  margin: 52px 0 14px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.prose h3 { margin: 30px 0 8px; font-size: 1.08rem; font-weight: 750; }
.prose p, .prose li { color: var(--ink-soft); max-width: 68ch; }
.prose code {
  overflow-wrap: anywhere;
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--panel-2);
  border: 1px solid var(--line);
  padding: 1px 7px;
  border-radius: 6px;
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  margin: 18px 0;
  font-size: 0.92rem;
}
.prose th, .prose td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}
.prose th { color: var(--ink); font-weight: 700; }
.prose td code { white-space: nowrap; }

/* Footer */
footer {
  margin-top: 70px;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: 0.9rem;
}

footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; }

/* Small screens */
@media (max-width: 560px) {
  header { padding: 48px 0 30px; }
  .card { padding: 18px; }
  .copy-wrap { position: static; margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .privacy .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ai-crawler-audit additions */
.results-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 0.95rem; }
.results-table th, .results-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.results-table th { color: var(--ink-mute); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.results-table td.bot { font-family: var(--mono); font-size: 0.88rem; white-space: nowrap; }
.results-table td .detail { color: var(--ink-mute); font-size: 0.85rem; line-height: 1.5; max-width: 44ch; display: inline-block; }
.results-table .vendor { color: var(--ink-mute); font-size: 0.8rem; }

.pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.03em; white-space: nowrap; }
.pill.training { background: var(--red-soft); color: var(--red); border: 1px solid rgba(255,122,110,0.4); }
.pill.search { background: var(--blue-soft); color: var(--blue); border: 1px solid rgba(127,184,255,0.4); }
.pill.user { background: var(--green-soft); color: var(--green); border: 1px solid rgba(167,226,106,0.4); }
.pill.control { background: var(--amber-soft); color: var(--amber); border: 1px solid rgba(255,198,92,0.4); }

.pill.blocked { background: var(--red-soft); color: var(--red); border: 1px solid rgba(255,122,110,0.5); }
.pill.allowed { background: var(--green-soft); color: var(--green); border: 1px solid rgba(167,226,106,0.45); }
.pill.partial { background: var(--amber-soft); color: var(--amber); border: 1px solid rgba(255,198,92,0.5); }
.pill.default { background: var(--panel-2); color: var(--ink-soft); border: 1px solid var(--line-strong); }

.policy-modes { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.policy-modes label { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 0.9rem; font-weight: 600; }
.policy-modes label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.policy-modes input { accent-color: var(--accent); }

pre.snippet { background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; font-family: var(--mono); font-size: 0.85rem; line-height: 1.6; overflow-x: auto; white-space: pre; }
.llms-findings { list-style: none; padding: 0; margin: 14px 0 0; }
.llms-findings li { padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; font-size: 0.92rem; color: var(--ink-soft); }
.llms-findings li.ok { border-color: rgba(167,226,106,0.35); }
.llms-findings li.bad { border-color: rgba(255,198,92,0.4); }

/* Header art */
.header-grid { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.header-copy { min-width: 0; }
.hero-art { flex: 0 0 auto; width: 310px; max-width: 34vw; }
.hero-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 760px) { .hero-art { display: none; } }

/* Entrance motion */
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
header .eyebrow { animation: fade-up 0.5s 0.05s ease both; }
header h1 { animation: fade-up 0.55s 0.12s ease both; }
header .lede { animation: fade-up 0.55s 0.2s ease both; }
header .privacy { animation: fade-up 0.55s 0.28s ease both; }
.hero-art { animation: fade-up 0.6s 0.24s ease both; }
main > .card:first-of-type { animation: fade-up 0.55s 0.34s ease both; }
.chip { animation: fade-up 0.3s ease backwards; }
.chip:nth-child(2) { animation-delay: 0.05s; }
.chip:nth-child(3) { animation-delay: 0.1s; }
.chip:nth-child(4) { animation-delay: 0.15s; }
.chip:nth-child(5) { animation-delay: 0.2s; }
.chip:nth-child(6) { animation-delay: 0.25s; }

/* Button and link feel */
button { transition: transform 0.15s ease, background 0.2s, border-color 0.2s, box-shadow 0.2s; }
button:hover { transform: translateY(-1.5px); }
button:not(.primary):not(.to-top):hover { background: var(--panel); }
button.primary:hover { box-shadow: 0 6px 22px rgba(171, 207, 55, 0.28); }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.results-table tbody tr { transition: background 0.15s; }
.results-table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }

/* Scroll to top */
.to-top {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--accent-ink);
  font-size: 1.15rem;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, box-shadow 0.2s;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  padding: 0;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { transform: translateY(-3px); background: #bcdf4e; border-color: #bcdf4e; box-shadow: 0 12px 30px rgba(171, 207, 55, 0.3); }
.to-top:active { transform: translateY(-1px); background: #9dbd2f; border-color: #9dbd2f; }

@media (prefers-reduced-motion: reduce) {
  header .eyebrow, header h1, header .lede, header .privacy,
  .hero-art, main > .card:first-of-type, .chip { animation: none !important; }
  button, .to-top { transition: none; }
  button:hover, .to-top:hover { transform: none; }
}

/* Tables scroll in place on narrow screens instead of widening the page */
@media (max-width: 700px) {
  .prose table, .results-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  pre.snippet { white-space: pre-wrap; word-break: break-word; }
  .results-table { width: 100%; }
}


/* Sticky navigation */
:root { --nav-bg: rgba(13, 12, 10, 0.78); }
.site-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap { display: flex; align-items: center; gap: 16px; height: 58px; }
.brand {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.brand:hover { color: var(--accent); text-decoration: none; }
.nav-links { display: flex; gap: 2px; overflow-x: auto; flex: 1; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  color: var(--ink-mute);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--ink); background: var(--panel-2); text-decoration: none; }
.nav-links a.active { color: var(--accent); background: var(--accent-soft); }
.theme-toggle { width: 38px; height: 38px; border-radius: 50%; padding: 0; font-size: 1rem; flex: 0 0 auto; line-height: 1; }
[id] { scroll-margin-top: 76px; }

/* Light theme */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f4ee;
  --bg-raise: #fffefb;
  --panel: #ffffff;
  --panel-2: #edeade;
  --line: rgba(30, 24, 12, 0.12);
  --line-strong: rgba(30, 24, 12, 0.22);
  --ink: #211c14;
  --ink-soft: #4f4739;
  --ink-mute: #7d7466;
  --accent: #6f8d13;
  --accent-soft: rgba(111, 141, 19, 0.14);
  --green: #55731a; --green-soft: rgba(85, 115, 26, 0.13);
  --amber: #92650a; --amber-soft: rgba(146, 101, 10, 0.12);
  --red: #bc4437; --red-soft: rgba(188, 68, 55, 0.1);
  --blue: #2465b8; --blue-soft: rgba(36, 101, 184, 0.1);
  --nav-bg: rgba(246, 244, 238, 0.85);
}
html[data-theme="light"] body {
  background-image: radial-gradient(1100px 500px at 15% -5%, rgba(139, 176, 24, 0.14), transparent 60%);
}
html[data-theme="light"] .to-top { background: #8bb018; border-color: #8bb018; color: #ffffff; }
html[data-theme="light"] .to-top:hover { background: #7c9d13; border-color: #7c9d13; }
html[data-theme="light"] button.primary { background: #8bb018; border-color: #8bb018; color: #ffffff; }
html[data-theme="light"] button.primary:hover { background: #7c9d13; box-shadow: 0 6px 22px rgba(139, 176, 24, 0.35); }
html[data-theme="light"] .privacy { border-color: rgba(111, 141, 19, 0.4); }

/* Background scene: depth-of-field drift with scroll parallax */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  --face-bg: rgba(171, 207, 55, 0.045);
  --face-line: rgba(171, 207, 55, 0.26);
}

.orb { position: absolute; border-radius: 50%; filter: blur(70px); }
.orb-a {
  width: clamp(260px, 40vw, 500px); height: clamp(260px, 40vw, 500px);
  left: -120px; top: -100px;
  background: radial-gradient(circle, rgba(171, 207, 55, 0.13), transparent 65%);
  animation: drift-a 46s ease-in-out infinite alternate;
}
.orb-b {
  width: clamp(300px, 44vw, 560px); height: clamp(300px, 44vw, 560px);
  right: -160px; bottom: -140px;
  background: radial-gradient(circle, rgba(84, 71, 65, 0.38), transparent 65%);
  animation: drift-b 52s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate3d(90px, 60px, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(-70px, -50px, 0) scale(1.05); } }

.star-layer {
  position: absolute;
  inset: 0;
  will-change: transform;
  transform: translate3d(
    calc(var(--px, 0) * var(--depth, 6) * 1px),
    calc(var(--py, 0) * var(--depth, 6) * 1px - var(--sy, 0) * var(--sfac, 0.05) * 1px),
    0);
}
.sl-far { --depth: 4; --sfac: 0.03; }
.sl-mid { --depth: 9; --sfac: 0.08; }
.sl-near { --depth: 15; --sfac: 0.16; }
.star {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(214, 236, 132, 0.55);
  box-shadow: 0 0 6px rgba(214, 236, 132, 0.4);
  opacity: 0.12;
  animation: twinkle 7s ease-in-out infinite;
  will-change: opacity;
}
.sl-far .star { width: 2px; height: 2px; filter: blur(1px); }
.sl-near .star { width: 5px; height: 5px; box-shadow: 0 0 11px rgba(214, 236, 132, 0.5); }
@keyframes twinkle { 0%, 100% { opacity: 0.12; } 50% { opacity: 0.7; } }
html[data-theme="light"] .star { opacity: 0 !important; animation: none; }

/* Shape wrapper: pointer parallax + scroll parallax on one composited transform */
.shape {
  position: absolute;
  will-change: transform;
  transform: translate3d(
    calc(var(--px, 0) * var(--depth, 12) * 1px),
    calc(var(--py, 0) * var(--depth, 12) * 1px - var(--sy, 0) * var(--sfac, 0) * 1px),
    0);
}
.dx { animation: driftX var(--dxt, 24s) ease-in-out infinite alternate; }
.dy { animation: driftY var(--dyt, 30s) ease-in-out infinite alternate; }
.dx, .dy { width: 100%; height: 100%; }
@keyframes driftX { to { transform: translateX(var(--dxa, 28px)); } }
@keyframes driftY { to { transform: translateY(var(--dya, -36px)); } }

/* Kinds */
.cube3d { perspective: 900px; }
.cube3d .inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  animation: tumble var(--spin, 44s) linear infinite var(--dir, normal);
}
.cube3d .f { position: absolute; inset: 0; background: var(--face-bg); border: 1px solid var(--face-line); }
.cube3d .f:nth-child(1) { transform: rotateY(0deg) translateZ(var(--cs)); }
.cube3d .f:nth-child(2) { transform: rotateY(90deg) translateZ(var(--cs)); }
.cube3d .f:nth-child(3) { transform: rotateY(180deg) translateZ(var(--cs)); }
.cube3d .f:nth-child(4) { transform: rotateY(270deg) translateZ(var(--cs)); }
.cube3d .f:nth-child(5) { transform: rotateX(90deg) translateZ(var(--cs)); }
.cube3d .f:nth-child(6) { transform: rotateX(-90deg) translateZ(var(--cs)); }
@keyframes tumble {
  0%   { transform: rotateX(-8deg) rotateY(0deg) rotateZ(5deg); }
  25%  { transform: rotateX(-26deg) rotateY(90deg) rotateZ(-4deg); }
  50%  { transform: rotateX(-12deg) rotateY(180deg) rotateZ(-9deg); }
  75%  { transform: rotateX(-30deg) rotateY(270deg) rotateZ(3deg); }
  100% { transform: rotateX(-8deg) rotateY(360deg) rotateZ(5deg); }
}

.sph .inner {
  width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle at 31% 28%, rgba(214, 236, 132, 0.55), rgba(171, 207, 55, 0.25) 42%, rgba(43, 54, 8, 0.3) 78%, transparent 100%);
  box-shadow: inset -14px -12px 28px rgba(0, 0, 0, 0.35);
  animation: sway 21s ease-in-out infinite alternate;
}
@keyframes sway { from { transform: rotate(-14deg); } to { transform: rotate(10deg); } }

/* Composition: balanced left/right, sized XL to tiny, blur = distance */
.p1 { left: -74px; top: 56%; width: 260px; height: 260px; --cs: 130px; --sfac: 0.3; --depth: 26; --spin: 76s; --dxt: 31s; --dyt: 24s; filter: blur(1.5px); opacity: 0.3; }
.p2 { right: 8%; top: 30%; width: 110px; height: 110px; --cs: 55px; --sfac: 0.2; --depth: 22; --dxt: 26s; --dyt: 18s; --dxa: -34px; --dya: 30px; opacity: 0.8; }
.p3 { left: 7%; top: 12%; width: 72px; height: 72px; --cs: 36px; --sfac: 0.15; --depth: 16; --spin: 36s; --dir: reverse; --dxt: 21s; --dyt: 28s; opacity: 0.7; }
.p4 { left: 4%; top: 118%; width: 88px; height: 88px; --sfac: 0.22; --depth: 28; --dxt: 19s; --dyt: 27s; --dxa: 26px; --dya: -44px; opacity: 0.55; }
.p5 { right: 12%; top: 108%; width: 52px; height: 52px; --sfac: 0.14; --depth: 12; --dxt: 25s; --dyt: 33s; filter: blur(1px); opacity: 0.5; }
.p6 { right: 22%; top: 6%; width: 44px; height: 44px; --cs: 22px; --sfac: 0.06; --depth: 6; --spin: 58s; --dir: reverse; --dxt: 33s; --dyt: 41s; --dxa: 18px; --dya: 22px; filter: blur(3px); opacity: 0.5; }
.p7 { left: 12%; top: 80%; width: 34px; height: 34px; --sfac: 0.05; --depth: 8; --dxt: 29s; --dyt: 37s; --dxa: -20px; --dya: -26px; filter: blur(2px); opacity: 0.45; }
.p8 { right: 4%; top: 165%; width: 60px; height: 60px; --cs: 30px; --sfac: 0.26; --depth: 18; --spin: 40s; --dxt: 23s; --dyt: 30s; opacity: 0.65; }
.p9 { left: 3%; top: 150%; width: 30px; height: 30px; --cs: 15px; --sfac: 0.12; --depth: 10; --spin: 50s; --dir: reverse; --dxt: 27s; --dyt: 35s; filter: blur(3.5px); opacity: 0.4; }
.p10 { right: 5%; top: 92%; width: 122px; height: 122px; --sfac: 0.24; --depth: 26; --dxt: 22s; --dyt: 29s; --dxa: -28px; --dya: -38px; opacity: 0.5; }
.p11 { right: 17%; top: 52%; width: 30px; height: 30px; --sfac: 0.06; --depth: 7; --dxt: 31s; --dyt: 39s; --dxa: 16px; --dya: 20px; filter: blur(2px); opacity: 0.4; }

html[data-theme="light"] .bg-scene { --face-bg: rgba(111, 141, 19, 0.04); --face-line: rgba(111, 141, 19, 0.3); }
html[data-theme="light"] .orb-a { background: radial-gradient(circle, rgba(139, 176, 24, 0.16), transparent 65%); }
html[data-theme="light"] .orb-b { background: radial-gradient(circle, rgba(84, 71, 65, 0.14), transparent 65%); }
html[data-theme="light"] .sph .inner {
  background: radial-gradient(circle at 31% 28%, rgba(139, 176, 24, 0.5), rgba(111, 141, 19, 0.28) 42%, rgba(60, 76, 12, 0.24) 78%, transparent 100%);
  box-shadow: inset -14px -12px 28px rgba(60, 60, 40, 0.18);
}

@media (max-width: 1080px) {
  .p1 { left: -110px; } .p2 { right: 2%; } .p3 { left: 2%; } .p4 { left: 1%; }
  .p5 { right: 4%; } .p6 { right: 10%; } .p7 { left: 4%; } .p8 { right: 1%; } .p9 { left: 1%; } .p10 { right: 1%; } .p11 { right: 8%; }
}
@media (max-width: 700px) { .shape { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .orb, .star, .dx, .dy, .sph .inner, .cube3d .inner { animation: none !important; }
  .shape, .star-layer { transform: none; will-change: auto; }
}

/* wp-serial-fix additions */
.find-replace { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.find-replace input[type="text"] {
  flex: 1 1 260px; min-height: 44px; padding: 10px 16px;
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); font-family: var(--mono); font-size: 0.9rem;
}
.find-replace input[type="text"]:focus { outline: none; border-color: rgba(171, 207, 55, 0.5); }
.regex-opt { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: 0.88rem; font-weight: 600; }
.regex-opt input { accent-color: var(--accent); }

.sblock { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sblock-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--panel); font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.sblock-body { position: relative; }
.sblock-body pre { margin: 0; padding: 16px; font-family: var(--mono); font-size: 0.85rem; line-height: 1.6; overflow-x: auto; white-space: pre-wrap; word-break: break-all; color: var(--ink); }
.sblock-body .copy-one { position: absolute; top: 10px; right: 10px; font-size: 0.8rem; padding: 6px 12px; }
.mark { color: var(--accent); font-weight: 700; }
.mark-old { color: var(--red); text-decoration: line-through; opacity: 0.7; }

/* wp-config-doctor additions */
.score-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.score-dial { flex: 0 0 auto; width: 96px; height: 96px; position: relative; }
.score-dial svg { transform: rotate(-90deg); }
.score-dial .num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.7rem; font-weight: 800; }
.score-caption { color: var(--ink-soft); font-size: 0.95rem; }
.score-caption strong { color: var(--ink); }

.finding { display: flex; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 12px; background: var(--panel); }
.finding .dot-sev { flex: 0 0 auto; width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; }
.finding.critical .dot-sev, .finding.high .dot-sev { background: var(--red); }
.finding.medium .dot-sev { background: var(--amber); }
.finding.low .dot-sev { background: var(--blue); }
.finding.info .dot-sev { background: var(--ink-mute); }
.finding.pass .dot-sev { background: var(--green); }
.finding .body { min-width: 0; }
.finding .ftitle { font-weight: 700; font-size: 1rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.finding .sev-tag { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; }
.finding.critical .sev-tag, .finding.high .sev-tag { background: var(--red-soft); color: var(--red); }
.finding.medium .sev-tag { background: var(--amber-soft); color: var(--amber); }
.finding.low .sev-tag { background: var(--blue-soft); color: var(--blue); }
.finding.info .sev-tag { background: var(--panel-2); color: var(--ink-mute); }
.finding.pass .sev-tag { background: var(--green-soft); color: var(--green); }
.finding .fdetail { color: var(--ink-soft); font-size: 0.9rem; margin: 6px 0 0; line-height: 1.55; }
.finding .ffix { margin-top: 8px; font-family: var(--mono); font-size: 0.82rem; color: var(--accent); background: var(--bg-raise); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; overflow-x: auto; }
