:root[data-design="cyber"] {
  color-scheme: dark;
  --paper: #080e19;
  --surface: #0e1928;
  --ink: #edf6ff;
  --muted: #b4c8dc;
  --green: #62e6ed;
  --accent: #8de9f3;
  --line: #2a4358;
  --warm: #ffd18d;
  --white: #101e2e;
}

[data-design="cyber"] :focus-visible,
[data-design="cyber"] .domain-field:focus-within { outline-color: #83f2fc; }

[data-design="cyber"] .masthead { background: #080e19d9; border-bottom-color: #20384b; }
[data-design="cyber"] .masthead-inner { min-height: 66px; }
[data-design="cyber"] .wordmark { font-size: .94rem; letter-spacing: .08em; color: #b8d2e4; }
[data-design="cyber"] .design-switch { color: var(--accent); }

[data-design="cyber"] .display {
  font-family: inherit;
  font-weight: 600;
  letter-spacing: -.038em;
}
[data-design="cyber"] .home-page {
  background: radial-gradient(ellipse 58rem 36rem at 78% 11rem, #101e39, transparent 94%), var(--paper);
}
[data-design="cyber"] .reception-grid {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 0;
  min-height: clamp(29rem, 42vw, 37rem);
  padding-block: clamp(3.4rem, 6.6vw, 6.3rem) clamp(2.5rem, 5vw, 4.5rem);
}
[data-design="cyber"] .reception-content { padding-block: 0; }
[data-design="cyber"] .section-label {
  display: inline-block;
  padding: .3em .85em;
  border: 1px solid #294c62;
  border-radius: 99px;
  background: #0c1e30;
  font-size: clamp(.75rem, 1.45vw, .875rem);
  letter-spacing: .045em;
}
[data-design="cyber"] .reception-content h1 {
  font-size: clamp(2rem, 4.45vw, 3.9rem);
  font-weight: 700;
  line-height: 1.26;
}
[data-design="cyber"] .reception-content h1 span { color: var(--accent); }

[data-design="cyber"] .instrument {
  position: absolute;
  z-index: -1;
  inset: 0 -18px 0 38%;
  display: grid;
  place-items: center;
  min-height: 0;
  background:
    radial-gradient(ellipse at center, #36c0dd1a, transparent 62%),
    linear-gradient(#60d6ff18 1px, transparent 1px) 50% 50% / 35px 35px,
    linear-gradient(90deg, #60d6ff18 1px, transparent 1px) 50% 50% / 35px 35px;
  mask-image: radial-gradient(ellipse, #000 35%, #000d 55%, transparent 75%);
  pointer-events: none;
}
.network-art { display: none; }
[data-design="cyber"] .network-art {
  position: relative;
  display: grid;
  place-items: center;
  width: min(70%, 27rem);
  aspect-ratio: 1;
  transform: translateX(5%);
  background:
    linear-gradient(45deg, transparent 49.8%, #6198fe38 50%, transparent 50.2%),
    linear-gradient(-45deg, transparent 49.8%, #5ce3ed30 50%, transparent 50.2%);
}
.network-orbit {
  position: absolute;
  inset: var(--inset, 0);
  border: 1px solid #4584a87a;
  border-radius: 50%;
  transform: rotate(var(--angle));
  animation: orbit-arrive 4.5s cubic-bezier(.16, 1, .3, 1) both;
}
.network-orbit::before,
.network-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #9ff7ff;
  box-shadow: 0 0 14px 3px #51d4f2aa;
  transform: translate(-50%, -50%);
}
.network-orbit::after { left: 100%; width: 4px; opacity: .6; }
.network-orbit-outer { --angle: 32deg; border-style: dashed; }
.network-orbit-middle { --inset: 12%; --angle: -41deg; border-color: #586bcdab; }
.network-orbit-inner { --inset: 25%; --angle: 74deg; border-color: #71e6ef73; }
.network-core {
  display: grid;
  place-items: center;
  width: 29%;
  aspect-ratio: 1;
  border: 1px solid #78e9faab;
  border-radius: 24%;
  background: linear-gradient(145deg, #233e62, #102034);
  color: #adf8ff;
  font-size: clamp(1.65rem, 4vw, 3.4rem);
  box-shadow: 0 0 45px #42dfff37, inset 0 0 22px #81ebff18;
}
@keyframes orbit-arrive { from { rotate: -56deg; opacity: .25; } to { rotate: 0deg; opacity: 1; } }

[data-design="cyber"] .sample-form { max-width: 36rem; margin-top: clamp(1.5rem, 3vw, 2rem); }
[data-design="cyber"] .field-row { gap: 10px; }
[data-design="cyber"] .domain-field { border-color: #3e637a; border-radius: 8px; }
[data-design="cyber"] .domain-field input::placeholder { color: #8da2b5; opacity: 1; }
[data-design="cyber"] .domain-field:has([aria-invalid="true"]) { border-color: #ffb5bd; }
[data-design="cyber"] .domain-field input,
[data-design="cyber"] .host-list {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
}
[data-design="cyber"] .primary { color: #062029; border-radius: 8px; min-height: 48px; }
[data-design="cyber"] .sample-form .primary { min-inline-size: 9.75rem; }
[data-design="cyber"] .primary:hover { background: #adf5f8; }
[data-design="cyber"] .secondary { border-color: #48778d; }
[data-design="cyber"] .secondary:hover { background: #172e41; }

[data-design="cyber"] .scope { padding-block: 26px 32px; }
[data-design="cyber"] .scope-group .icon { color: var(--green); }
[data-design="cyber"] .privacy { align-items: flex-start; max-width: 36rem; margin-top: 20px; line-height: 1.7; }
[data-design="cyber"] .privacy .icon { margin-top: 3px; }
.privacy p + p { margin-top: .25em; }
[data-design="cyber"] #run-status { color: #ffb5bd; }
[data-design="cyber"][data-app="live"] .primary:disabled { cursor: wait; background: #24556a; color: #e2faff; border-color: #3b7890; opacity: 1; }
.button-spinner { width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress-panel { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: .87rem; }
.progress-track { height: 5px; margin-top: 9px; overflow: hidden; background: #20384b; border-radius: 99px; }
.progress-track span { display: block; width: 36%; height: 100%; background: linear-gradient(90deg, #41cddc, #96f5f1); border-radius: inherit; animation: progress-sweep 1.5s ease-in-out infinite alternate; }
@keyframes progress-sweep { to { transform: translateX(178%); } }

[data-design="cyber"] #report-edition { font-family: "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif; }
[data-design="cyber"] .grade {
  border: 1px solid #3a5268;
  border-left: 3px solid var(--warm);
  background: #111f30;
  color: var(--ink);
}
[data-design="cyber"] .grade-label { color: var(--muted); }
[data-design="cyber"] .grade h2 { color: var(--warm); }
[data-design="cyber"] .grade p:last-child { color: var(--ink); }
[data-design="cyber"] .actions { background: var(--surface); }

@media (prefers-reduced-motion: reduce) {
  .network-orbit, .button-spinner, .progress-track span { animation: none; }
}

@media (max-width: 720px) {
  [data-design="cyber"] .masthead-inner { min-height: 63px; }
  [data-design="cyber"] .reception-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 48px 30px; }
  [data-design="cyber"] .reception-content h1 { font-size: clamp(1.6rem, 7.1vw, 3.2rem); }
  [data-design="cyber"] .instrument {
    inset: -55px -18px auto 28%;
    height: 370px;
    opacity: .38;
  }
  [data-design="cyber"] .scope { padding-block: 20px 26px; }
}
