:root {
  --bg: #070a10;
  --bg-soft: #0e1320;
  --panel: rgba(10, 14, 24, 0.84);
  --panel-strong: rgba(6, 9, 16, 0.92);
  --panel-soft: rgba(18, 24, 38, 0.78);
  --line: rgba(213, 255, 61, 0.24);
  --line-strong: rgba(111, 247, 255, 0.28);
  --acid: #d6ff39;
  --acid-soft: rgba(214, 255, 57, 0.12);
  --cyan: #6ef7ff;
  --cyan-soft: rgba(110, 247, 255, 0.14);
  --iris: #7d6bff;
  --iris-soft: rgba(125, 107, 255, 0.18);
  --magenta: #ff4cd7;
  --text: #f5f8ff;
  --muted: #94a0bf;
  --ok: #62f1b1;
  --warn: #ffe66f;
  --fail: #ff7b86;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Bahnschrift", "Segoe UI", "Microsoft JhengHei", sans-serif;
  background: linear-gradient(180deg, #05070c 0%, #090d16 100%);
}
body.theme-cyber {
  background:
    radial-gradient(circle at 14% 12%, rgba(110, 247, 255, 0.18), transparent 24%),
    radial-gradient(circle at 85% 0%, rgba(255, 76, 215, 0.24), transparent 18%),
    radial-gradient(circle at 76% 36%, rgba(125, 107, 255, 0.20), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(214, 255, 57, 0.12), transparent 28%),
    repeating-linear-gradient(
      115deg,
      transparent 0 24px,
      rgba(110, 247, 255, 0.018) 24px 25px,
      transparent 25px 52px
    ),
    linear-gradient(90deg, rgba(214, 255, 57, 0.045) 0%, transparent 12%, transparent 88%, rgba(110, 247, 255, 0.045) 100%),
    linear-gradient(180deg, #05070c 0%, #0b0f18 54%, #080b13 100%);
}
body.theme-cyber::before,
body.theme-admin::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent);
}
body.theme-cyber::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.035) 50%, transparent 100%),
    repeating-linear-gradient(
      180deg,
      transparent 0 3px,
      rgba(255, 255, 255, 0.018) 3px 4px
    );
  opacity: 0.38;
  mix-blend-mode: screen;
  animation: sweep 9s linear infinite;
}
body.theme-admin {
  background:
    radial-gradient(circle at top left, rgba(110, 247, 255, 0.08), transparent 18%),
    linear-gradient(180deg, #080b12 0%, #0c1220 100%);
}
@keyframes sweep {
  0% { transform: translateY(-28%); }
  100% { transform: translateY(28%); }
}
@keyframes floatOrb {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -18px, 0) scale(1.05); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes pulseTrace {
  0% { opacity: 0.32; transform: scale(0.98); }
  50% { opacity: 0.75; transform: scale(1.02); }
  100% { opacity: 0.32; transform: scale(0.98); }
}
@keyframes edgeDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 0 52px, 52px 0; }
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}
code {
  font-family: "Cascadia Mono", "Consolas", "Courier New", monospace;
  color: var(--acid);
}
.shell {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}
.shell::before,
.shell::after {
  content: "";
  position: fixed;
  inset: auto auto 12% -6%;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(18px);
  opacity: 0.18;
  z-index: -1;
  animation: floatOrb 10s ease-in-out infinite;
}
.shell::before {
  background: radial-gradient(circle, rgba(110, 247, 255, 0.34) 0%, rgba(110, 247, 255, 0.08) 38%, transparent 72%);
}
.shell::after {
  inset: 6% -4% auto auto;
  background: radial-gradient(circle, rgba(255, 76, 215, 0.24) 0%, rgba(125, 107, 255, 0.08) 42%, transparent 72%);
  animation-duration: 14s;
}
.gp-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.gp-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  -webkit-user-select: none;
  user-select: none;
}
.gp-brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 1px rgba(110, 247, 255, 0.18), 0 0 28px rgba(125, 107, 255, 0.18);
  -webkit-user-select: none;
  user-select: none;
}
.gp-logo-art {
  display: block;
  width: 100%;
  height: 100%;
  background: url("/assets/gp-logo.jpg") center / contain no-repeat;
  pointer-events: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}
.gp-brand-logo .gp-logo-art {
  background-size: cover;
}
.gp-brand-copy {
  display: grid;
  gap: 2px;
}
.gp-brand-copy strong {
  font-family: "Agency FB", "Bahnschrift", "Arial Narrow", sans-serif;
  font-size: 28px;
  letter-spacing: 0.08em;
  line-height: 0.9;
}
.gp-brand-copy span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: none;
}
.gp-link,
.gp-top-note {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.gp-top-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(110, 247, 255, 0.12);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.gp-top-note::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 0 14px rgba(214, 255, 57, 0.55);
  animation: pulseTrace 2.4s ease-in-out infinite;
}
.gp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 180ms ease, transform 180ms ease, color 180ms ease;
}
.gp-link:hover {
  border-color: var(--acid);
  color: var(--text);
  transform: translateY(-1px);
}
.eyebrow {
  color: var(--acid);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 26px;
}
.hero-panel,
.panel,
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(15, 20, 33, 0.82) 0%, rgba(7, 10, 17, 0.94) 100%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.hero-panel::before,
.panel::before,
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(110, 247, 255, 0.65) 32%, rgba(214, 255, 57, 0.72) 100%);
  opacity: 0.85;
}
.hero-panel::after,
.panel::after,
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(214, 255, 57, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 247, 255, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.22;
  animation: edgeDrift 14s linear infinite;
}
.hero-copy {
  padding: 32px;
}
.hero-copy::after {
  content: "GP-DRM // LIVE";
  position: absolute;
  right: 28px;
  bottom: 24px;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(110, 247, 255, 0.56);
  text-transform: uppercase;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 14px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(110, 247, 255, 0.12);
  background: rgba(110, 247, 255, 0.04);
  color: #dff8ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 0 14px rgba(214, 255, 57, 0.58);
  animation: pulseTrace 2.1s ease-in-out infinite;
}
.hero-copy h1 {
  margin: 10px 0 14px;
  font-family: "Bahnschrift", "Microsoft JhengHei UI", "Segoe UI", sans-serif;
  font-size: clamp(52px, 8vw, 92px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0.12em;
  text-transform: none;
}
.hero-copy h1 span {
  display: block;
  font-family: "Agency FB", "Bahnschrift", "Arial Narrow", sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.hero-copy p {
  margin: 0;
  max-width: 640px;
  color: #ccd6ef;
  font-size: 16px;
  line-height: 1.75;
}
.hero-copy p strong,
.panel p.lead strong {
  color: var(--acid);
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.hero-tag,
.pill,
.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-tag strong {
  color: var(--acid);
}
.hero-tag {
  text-transform: none;
  letter-spacing: 0.06em;
}
.hero-logo-stage {
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 24px;
  background:
    radial-gradient(circle at center, rgba(125, 107, 255, 0.22) 0%, rgba(125, 107, 255, 0.08) 34%, transparent 68%),
    linear-gradient(145deg, rgba(110, 247, 255, 0.06), transparent 32%, rgba(214, 255, 57, 0.04) 88%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}
.hero-logo-shell {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 18%),
    repeating-linear-gradient(
      180deg,
      transparent 0 22px,
      rgba(255, 255, 255, 0.016) 22px 23px
    ),
    radial-gradient(circle at 72% 32%, rgba(255, 255, 255, 0.15), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(110, 247, 255, 0.08),
    0 0 60px rgba(125, 107, 255, 0.18);
  animation: pulseTrace 4.6s ease-in-out infinite;
}
.hero-logo-shell > .gp-logo-art {
  position: relative;
  z-index: 3;
}
.hero-logo-shell::before,
.hero-logo-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(214, 255, 57, 0.22);
}
.hero-logo-shell::before {
  inset: 12% 10%;
}
.hero-logo-shell::after {
  inset: 20% 18%;
  border-color: rgba(110, 247, 255, 0.14);
}
.hero-logo-shell .hero-logo-ring {
  position: absolute;
  inset: 24%;
  border-radius: 999px;
  border: 1px solid rgba(110, 247, 255, 0.18);
  box-shadow: 0 0 38px rgba(110, 247, 255, 0.08);
  animation: pulseTrace 3.8s ease-in-out infinite;
}
.hero-logo-shell .hero-logo-ring.secondary {
  inset: 12%;
  border-color: rgba(214, 255, 57, 0.14);
  animation-duration: 5.4s;
}
.hero-logo-shell .hero-logo-label {
  position: absolute;
  z-index: 4;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(6, 9, 16, 0.82);
  color: rgba(214, 255, 57, 0.9);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-logo-shell .hero-logo-label.top {
  top: 18px;
  left: 18px;
}
.hero-logo-shell .hero-logo-label.bottom {
  right: 18px;
  bottom: 18px;
  color: rgba(110, 247, 255, 0.92);
}
.hero-logo-shell .hero-logo-crosshair {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  width: 74%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(214, 255, 57, 0.22) 14%, rgba(110, 247, 255, 0.18) 86%, transparent 100%);
  transform: translate(-50%, -50%);
}
.hero-logo-shell .hero-logo-crosshair.vertical {
  width: 1px;
  height: 74%;
  background: linear-gradient(180deg, transparent 0%, rgba(214, 255, 57, 0.22) 14%, rgba(110, 247, 255, 0.18) 86%, transparent 100%);
}
.hero-logo-shell .gp-logo-art {
  position: relative;
  z-index: 1;
  width: 78%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  mix-blend-mode: screen;
}
.customer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  gap: 24px;
  margin-bottom: 24px;
}
.panel {
  padding: 28px;
}
.panel h2,
.card h2 {
  margin: 0 0 8px;
  font-family: "Agency FB", "Bahnschrift", "Arial Narrow", sans-serif;
  font-size: 34px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.panel p.lead,
.card p.lead {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.7;
}
.form-stack {
  display: grid;
  gap: 16px;
}
.field-label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field-note {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #7f8bb0;
}
.cyber-input {
  width: 100%;
  padding: 18px 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.cyber-input:focus {
  border-color: var(--acid);
  box-shadow: 0 0 0 4px rgba(214, 255, 57, 0.10), 0 0 34px rgba(214, 255, 57, 0.12);
  transform: translateY(-1px);
}
.cyber-button {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  width: 100%;
  min-height: 90px;
  margin-top: 8px;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 50%, calc(100% - 44px) 100%, 0 100%, 24px 50%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02)),
    linear-gradient(90deg, var(--acid) 0%, #9dff4b 52%, #6ef7ff 100%);
  color: #05070c;
  font-family: "Agency FB", "Bahnschrift", "Arial Narrow", sans-serif;
  transition: transform 180ms ease, filter 180ms ease;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 26px rgba(214, 255, 57, 0.18),
    0 16px 42px rgba(110, 247, 255, 0.12);
  overflow: hidden;
}
.cyber-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.24) 32%, transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  transform: translateX(-120%);
  animation: buttonSweep 3.2s linear infinite;
}
.cyber-button::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(5, 7, 12, 0.12);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 50%, calc(100% - 32px) 100%, 0 100%, 18px 50%);
}
.cyber-button-main,
.cyber-button-sub {
  position: relative;
  z-index: 1;
}
.cyber-button-main {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cyber-button-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(5, 7, 12, 0.76);
}
.cyber-button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.cyber-button:disabled {
  cursor: wait;
  filter: grayscale(0.2);
  opacity: 0.72;
}
@keyframes buttonSweep {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
.support-strip {
  display: grid;
  gap: 6px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(110, 247, 255, 0.14);
  background: rgba(110, 247, 255, 0.05);
}
.support-strip strong {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.support-strip span {
  color: #c7d2f0;
  line-height: 1.6;
}
.status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.status-banner strong {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.status-badge {
  min-width: 132px;
  justify-content: center;
  color: #dff8ff;
  background: rgba(110, 247, 255, 0.10);
  border-color: rgba(110, 247, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}
.status-badge.pending {
  background: var(--warn);
  color: #231c00;
  border-color: transparent;
}
.status-badge.processing {
  background: var(--cyan);
  color: #04161a;
  border-color: transparent;
}
.status-badge.success {
  background: var(--ok);
  color: #04140d;
  border-color: transparent;
}
.status-badge.failed {
  background: var(--fail);
  color: #22070b;
  border-color: transparent;
}
.stage-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 20px;
}
.stage {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 14px 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}
.stage-marker {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.22);
}
.stage.is-active {
  border-color: rgba(214, 255, 57, 0.42);
  background: rgba(214, 255, 57, 0.06);
  transform: translateX(2px);
}
.stage.is-active .stage-marker {
  border-color: var(--acid);
  background: var(--acid);
  box-shadow: 0 0 0 6px rgba(214, 255, 57, 0.10);
}
.stage.is-complete {
  border-color: rgba(98, 241, 177, 0.36);
  background: rgba(98, 241, 177, 0.08);
}
.stage.is-complete .stage-marker {
  border-color: var(--ok);
  background: var(--ok);
}
.stage.is-failed {
  border-color: rgba(255, 123, 134, 0.36);
  background: rgba(255, 123, 134, 0.08);
}
.stage.is-failed .stage-marker {
  border-color: var(--fail);
  background: var(--fail);
  box-shadow: 0 0 0 6px rgba(255, 123, 134, 0.10);
}
.stage strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.stage span {
  color: var(--muted);
  line-height: 1.55;
}
.monitor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.metric {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.metric-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.metric strong {
  font-size: 24px;
  font-family: "Agency FB", "Bahnschrift", "Arial Narrow", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  word-break: break-word;
}
.metric.full {
  grid-column: 1 / -1;
}
.metric p {
  margin: 0;
  color: #dce5ff;
  line-height: 1.7;
}
.signal-line {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.signal-line strong {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.signal-line span {
  color: #dce5ff;
  line-height: 1.6;
}
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.feature-card {
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  min-height: 154px;
}
.feature-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--acid);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.feature-card h3 {
  margin: 0 0 10px;
  font-family: "Agency FB", "Bahnschrift", "Arial Narrow", sans-serif;
  font-size: 30px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.flash {
  padding: 14px 16px;
  border-radius: 18px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.flash.error {
  border-color: rgba(255, 123, 134, 0.28);
  background: rgba(255, 123, 134, 0.10);
  color: #ffdce0;
}
.flash.success {
  border-color: rgba(98, 241, 177, 0.24);
  background: rgba(98, 241, 177, 0.09);
  color: #dbffef;
}
.grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.card {
  padding: 24px;
}
.card h2 {
  margin-top: 0;
}
.card p.lead {
  margin-bottom: 18px;
}
.card form {
  display: grid;
  gap: 14px;
}
.card label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.card input,
.card textarea,
.card select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.card select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--acid) 50%),
    linear-gradient(135deg, var(--acid) 50%, transparent 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02));
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%,
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.card select option {
  background: #111827;
  color: #f5f8ff;
}
.card select option:checked,
.card select option:hover {
  background: #26395c;
  color: var(--acid);
}
.card textarea {
  min-height: 118px;
  resize: vertical;
}
.card button {
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--acid) 0%, #94ff54 100%);
  color: #05070c;
  font-weight: 700;
}
.jobs {
  display: grid;
  gap: 14px;
}
.job {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
}
.job p {
  margin: 8px 0 0;
  line-height: 1.6;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  align-items: center;
}
.pill {
  color: var(--text);
}
.pill.success {
  background: rgba(98, 241, 177, 0.14);
  color: var(--ok);
}
.pill.failed {
  background: rgba(255, 123, 134, 0.14);
  color: var(--fail);
}
.pill-danger {
  background: rgba(255, 123, 134, 0.18);
  color: var(--fail);
}
.pill-warning {
  background: rgba(255, 230, 111, 0.14);
  color: var(--warn);
}
.pill-muted {
  background: rgba(148, 160, 191, 0.14);
  color: var(--muted);
}
.pill-error {
  background: rgba(255, 156, 74, 0.16);
  color: #ffb36f;
}
.pill.pending,
.pill.processing {
  background: rgba(214, 255, 57, 0.11);
  color: var(--warn);
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.footer {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 1100px) {
  .hero-grid,
  .customer-grid,
  .feature-strip,
  .grid {
    grid-template-columns: 1fr;
  }
  .hero-copy h1 {
    font-size: clamp(48px, 15vw, 84px);
  }
}
@media (max-width: 680px) {
  .shell {
    width: min(100% - 22px, 1280px);
    padding-top: 18px;
    padding-bottom: 32px;
  }
  .gp-topbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-copy,
  .panel,
  .card {
    padding: 22px;
  }
  .hero-copy h1 {
    font-size: clamp(42px, 16vw, 68px);
  }
  .hero-copy h1 span {
    font-size: 15px;
    letter-spacing: 0.22em;
  }
  .cyber-button {
    min-height: 82px;
  }
  .cyber-button-main {
    font-size: 24px;
  }
  .cyber-button-sub {
    font-size: 10px;
    letter-spacing: 0.18em;
  }
  .monitor-grid {
    grid-template-columns: 1fr;
  }
}

body.theme-cyber .shell {
  width: min(1220px, calc(100% - 36px));
}
.gateway-panel,
.flow-panel,
.mission-strip,
.trust-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(110, 247, 255, 0.18);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(110, 247, 255, 0.055), transparent 28%),
    linear-gradient(315deg, rgba(214, 255, 57, 0.05), transparent 34%),
    linear-gradient(180deg, rgba(11, 17, 30, 0.92), rgba(6, 10, 18, 0.96));
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
}
.gateway-panel::before,
.flow-panel::before,
.mission-strip::before,
.trust-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 247, 255, 0.72), rgba(214, 255, 57, 0.82), transparent);
}
.gateway-panel::after,
.flow-panel::after,
.mission-strip::after,
.trust-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(110, 247, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 255, 57, 0.024) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.36;
  animation: edgeDrift 18s linear infinite;
}
.gateway-panel {
  margin-bottom: 20px;
  border-color: rgba(110, 247, 255, 0.20);
}
.gateway-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: center;
  padding: 32px 34px 22px;
}
.gateway-copy {
  display: grid;
  gap: 18px;
}
.gateway-kicker {
  color: var(--cyan);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(110, 247, 255, 0.35);
}
.gateway-title {
  margin: 0;
  max-width: 680px;
  font-family: "Microsoft JhengHei UI", "Bahnschrift", "Segoe UI", sans-serif;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: 0.04em;
}
.gateway-title span {
  color: var(--iris);
  text-shadow: 0 0 26px rgba(125, 107, 255, 0.55), 0 0 54px rgba(255, 76, 215, 0.20);
}
.gateway-copy p {
  margin: 0;
  max-width: 760px;
  color: #cbd6ef;
  font-size: 17px;
  line-height: 1.9;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid rgba(214, 255, 57, 0.18);
  background: rgba(255, 255, 255, 0.035);
  color: #e9f3ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.service-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 0 16px rgba(214, 255, 57, 0.55);
}
.gateway-core {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
}
.gateway-core::before,
.gateway-core::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(110, 247, 255, 0.16);
  animation: pulseTrace 4.8s ease-in-out infinite;
}
.gateway-core::before {
  inset: 10%;
}
.gateway-core::after {
  inset: 22%;
  border-color: rgba(214, 255, 57, 0.16);
  animation-duration: 6.2s;
}
.core-badge {
  position: absolute;
  z-index: 3;
  padding: 7px 13px;
  border: 1px solid rgba(214, 255, 57, 0.18);
  border-radius: 999px;
  background: rgba(5, 8, 14, 0.76);
  color: var(--acid);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.core-badge.top {
  top: 18px;
  left: 24px;
}
.core-badge.bottom {
  right: 24px;
  bottom: 18px;
  color: var(--cyan);
  border-color: rgba(110, 247, 255, 0.20);
}
.core-logo {
  position: relative;
  z-index: 2;
  width: min(230px, 70%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 38px;
  border-radius: 34px;
  border: 1px solid rgba(110, 247, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(110, 247, 255, 0.10), transparent 44%),
    linear-gradient(315deg, rgba(125, 107, 255, 0.26), rgba(6, 9, 16, 0.82));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 42px rgba(110, 247, 255, 0.20),
    0 0 88px rgba(125, 107, 255, 0.18);
}
.core-logo .gp-logo-art {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  mix-blend-mode: screen;
}
.auth-command {
  position: relative;
  z-index: 2;
  margin: 0 34px 30px;
  padding: 28px 32px;
  border: 1px solid rgba(214, 255, 57, 0.78);
  border-radius: 20px;
  background:
    radial-gradient(circle at 4% 28%, rgba(214, 255, 57, 0.16), transparent 18%),
    linear-gradient(180deg, rgba(10, 18, 31, 0.92), rgba(7, 11, 20, 0.92));
  box-shadow:
    0 0 0 1px rgba(214, 255, 57, 0.08) inset,
    0 0 34px rgba(214, 255, 57, 0.10);
}
.auth-command-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}
.auth-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(214, 255, 57, 0.38);
  background: rgba(214, 255, 57, 0.12);
  box-shadow: 0 0 24px rgba(214, 255, 57, 0.20);
}
.auth-icon::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: 13px auto;
  border: 3px solid var(--acid);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(214, 255, 57, 0.08);
}
.auth-command h2 {
  margin: 0 0 4px;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: 0.06em;
}
.auth-command p {
  margin: 0;
  color: var(--muted);
}
.auth-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.62fr);
  gap: 18px;
  align-items: stretch;
}
.auth-command .field-label {
  gap: 10px;
}
.auth-command .field-note {
  font-size: 12px;
}
.auth-command .cyber-input {
  min-height: 74px;
  border-radius: 12px;
  border-color: rgba(110, 247, 255, 0.20);
  background: rgba(5, 10, 19, 0.76);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.auth-command .cyber-button {
  min-height: 74px;
  margin-top: 0;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
}
.auth-command .cyber-button-main {
  font-size: clamp(26px, 3vw, 34px);
}
.privacy-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: #9dabc7;
  font-size: 14px;
}
.privacy-line::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid var(--acid);
  border-radius: 999px 999px 999px 3px;
  transform: rotate(-45deg);
}
.workflow-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  margin-bottom: 18px;
}
.flow-panel {
  z-index: 1;
  padding: 24px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 27px;
  letter-spacing: 0.08em;
}
.section-title::before {
  content: "";
  width: 7px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--iris));
  box-shadow: 0 0 18px rgba(110, 247, 255, 0.28);
}
.flow-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}
.flow-step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}
.flow-step-index {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(110, 247, 255, 0.24);
  color: var(--cyan);
  font-weight: 900;
  box-shadow: inset 0 0 18px rgba(110, 247, 255, 0.08);
}
.flow-step strong {
  display: block;
  margin-bottom: 4px;
  color: #edf4ff;
  letter-spacing: 0.06em;
}
.flow-step span {
  color: var(--muted);
  line-height: 1.55;
}
.status-timeline {
  position: relative;
  z-index: 1;
}
.status-timeline .lead {
  margin: -8px 0 18px;
}
.status-timeline .stage-list {
  position: relative;
  margin: 0;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}
.status-timeline .stage {
  grid-template-columns: 24px minmax(0, 1fr);
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent;
}
.status-timeline .stage:last-child {
  border-bottom: 0;
}
.status-timeline .stage-marker {
  position: relative;
  z-index: 2;
  margin-top: 5px;
  width: 16px;
  height: 16px;
  background: #0a101b;
}
.mission-strip {
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr)) minmax(260px, 2fr);
  gap: 14px;
  padding: 20px 22px;
  margin-bottom: 16px;
}
.mission-metric {
  position: relative;
  z-index: 1;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.mission-metric span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.mission-metric strong,
.mission-metric p {
  margin: 0;
  color: #edf4ff;
  font-size: 18px;
  line-height: 1.55;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.trust-card {
  z-index: 1;
  min-height: 148px;
  padding: 22px;
}
.trust-card strong {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  border: 1px solid rgba(110, 247, 255, 0.24);
  color: var(--cyan);
  background: rgba(110, 247, 255, 0.08);
  box-shadow: 0 0 28px rgba(110, 247, 255, 0.11);
}
.trust-card h3 {
  margin: 0 0 9px;
  font-size: 22px;
  letter-spacing: 0.06em;
}
.trust-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.page-footer {
  margin-top: 24px;
  text-align: center;
  color: rgba(148, 160, 191, 0.72);
  font-size: 13px;
  letter-spacing: 0.12em;
}
@media (max-width: 1050px) {
  .gateway-hero,
  .auth-command-grid,
  .workflow-grid,
  .mission-strip,
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .gateway-core {
    min-height: 260px;
  }
}
@media (max-width: 680px) {
  body.theme-cyber .shell {
    width: min(100% - 22px, 1220px);
  }
  .gateway-hero,
  .auth-command,
  .flow-panel,
  .mission-strip,
  .trust-card {
    padding: 20px;
  }
  .auth-command {
    margin: 0 16px 18px;
  }
  .gateway-title {
    font-size: clamp(38px, 13vw, 56px);
  }
  .gateway-kicker {
    letter-spacing: 0.22em;
  }
  .gateway-core {
    min-height: 220px;
  }
  .auth-command .cyber-button-main {
    font-size: 25px;
  }
}

.gateway-panel {
  border-radius: 30px;
  background:
    radial-gradient(circle at 76% 18%, rgba(125, 107, 255, 0.22), transparent 22%),
    radial-gradient(circle at 8% 82%, rgba(214, 255, 57, 0.08), transparent 20%),
    linear-gradient(135deg, rgba(110, 247, 255, 0.055), transparent 30%),
    linear-gradient(180deg, rgba(9, 15, 28, 0.94), rgba(4, 8, 15, 0.98));
}
.gateway-title {
  text-wrap: balance;
}
.auth-command {
  padding: 26px 30px 28px;
  border-color: rgba(110, 247, 255, 0.30);
  background:
    linear-gradient(90deg, rgba(214, 255, 57, 0.10), transparent 26%),
    radial-gradient(circle at 95% 16%, rgba(110, 247, 255, 0.13), transparent 26%),
    linear-gradient(180deg, rgba(8, 16, 30, 0.96), rgba(5, 9, 17, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 0 0 1px rgba(214, 255, 57, 0.12),
    0 28px 74px rgba(0, 0, 0, 0.34);
}
.auth-command::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--acid), var(--cyan));
  box-shadow: 0 0 22px rgba(214, 255, 57, 0.34);
}
.auth-command-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 22px;
  align-items: end;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(110, 247, 255, 0.14);
}
.auth-command-label {
  grid-column: 1 / -1;
  width: max-content;
  max-width: 100%;
  padding: 7px 11px;
  border: 1px solid rgba(214, 255, 57, 0.18);
  border-radius: 999px;
  background: rgba(214, 255, 57, 0.06);
  color: var(--acid);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.auth-command-title-row {
  display: grid;
  gap: 4px;
}
.auth-command-title-row span {
  color: var(--cyan);
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.auth-command-head p {
  max-width: 420px;
  color: #aebbd6;
  text-align: right;
}
.auth-command .flash {
  margin-bottom: 16px;
  padding: 12px 15px;
  border-radius: 12px;
  border-color: rgba(98, 241, 177, 0.22);
  background: rgba(98, 241, 177, 0.08);
}
.auth-command-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 22px;
}
.auth-command .cyber-input {
  min-height: 78px;
  border-radius: 16px;
  border-color: rgba(110, 247, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    rgba(3, 8, 17, 0.80);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}
.auth-command .cyber-button {
  min-height: 78px;
  border: 1px solid rgba(214, 255, 57, 0.44);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.20), transparent 32%),
    linear-gradient(90deg, #dfff37 0%, #95ff8e 52%, #6ef7ff 100%);
}
.auth-command .cyber-button-main {
  font-family: "Microsoft JhengHei UI", "Bahnschrift", sans-serif;
  font-size: clamp(24px, 2.4vw, 31px);
  font-weight: 950;
  letter-spacing: 0.14em;
}
.auth-command .cyber-button-sub {
  letter-spacing: 0.38em;
}
.privacy-line {
  margin-top: 14px;
  padding-left: 3px;
}
@media (max-width: 880px) {
  .auth-command-head,
  .auth-command-grid {
    grid-template-columns: 1fr;
  }
  .auth-command-head p {
    text-align: left;
  }
}

@keyframes coreOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes coreFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.018); }
}
@keyframes coreScan {
  0% { transform: translateY(-145%); opacity: 0; }
  18%, 82% { opacity: 0.72; }
  100% { transform: translateY(145%); opacity: 0; }
}
@keyframes modalEnter {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.gateway-core {
  overflow: hidden;
  isolation: isolate;
}
.gateway-core::before {
  border-color: transparent;
  background:
    conic-gradient(from 90deg, transparent 0 19%, rgba(110, 247, 255, 0.62) 22%, transparent 28% 54%, rgba(214, 255, 57, 0.42) 60%, transparent 67% 100%);
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: coreOrbit 12s linear infinite;
}
.gateway-core::after {
  border-color: transparent;
  background:
    conic-gradient(from 180deg, rgba(125, 107, 255, 0.46), transparent 22% 58%, rgba(110, 247, 255, 0.34), transparent 78% 100%);
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: coreOrbit 18s linear infinite reverse;
}
.core-logo {
  animation: coreFloat 4.8s ease-in-out infinite;
}
.core-logo::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 26px;
  background: linear-gradient(180deg, transparent 0%, rgba(110, 247, 255, 0.0) 34%, rgba(110, 247, 255, 0.36) 50%, rgba(214, 255, 57, 0.18) 52%, transparent 68%);
  mix-blend-mode: screen;
  animation: coreScan 3.4s linear infinite;
  pointer-events: none;
}
.core-logo::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 42px;
  border: 1px solid rgba(110, 247, 255, 0.18);
  box-shadow: 0 0 30px rgba(110, 247, 255, 0.18), inset 0 0 28px rgba(125, 107, 255, 0.12);
  pointer-events: none;
}
.core-logo .gp-logo-art {
  position: relative;
  z-index: 1;
}
.auth-command-head {
  grid-template-columns: 1fr;
  align-items: start;
}
.auth-command-title-row {
  align-items: start;
}
.auth-command-title-row p {
  margin: 8px 0 0;
  max-width: 760px;
  color: #aebbd6;
  line-height: 1.65;
  text-align: left;
}
.auth-command-head > p {
  display: none;
}
.privacy-line {
  display: none;
}
.workflow-grid.monitor-popup-mode {
  grid-template-columns: minmax(0, 1fr);
}
.inline-monitor {
  display: none;
}
body.auth-modal-open {
  overflow: hidden;
}
.auth-expiry-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 230, 111, 0.18), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(110, 247, 255, 0.12), transparent 24%),
    rgba(3, 6, 12, 0.78);
  backdrop-filter: blur(16px);
  transition: opacity 200ms ease;
}
.auth-expiry-modal[hidden] {
  display: none !important;
}
.auth-expiry-modal.is-open {
  opacity: 1;
}
.auth-expiry-modal-card {
  position: relative;
  width: min(660px, 100%);
  max-height: min(680px, calc(100dvh - 44px));
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(255, 230, 111, 0.46);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 230, 111, 0.14), transparent 24%),
    linear-gradient(135deg, rgba(16, 23, 38, 0.98), rgba(5, 8, 16, 0.98));
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.62),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 64px rgba(255, 230, 111, 0.13);
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 200ms ease,
    transform 200ms ease;
}
.auth-expiry-modal.is-open .auth-expiry-modal-card {
  opacity: 1;
  transform: scale(1);
}
.auth-expiry-modal-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--warn), var(--acid), var(--cyan));
}
.auth-expiry-modal-card h2 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.18;
  letter-spacing: 0;
}
.auth-expiry-modal-card p {
  margin: 0;
  color: #dce8ff;
  font-size: 16px;
  line-height: 1.75;
}
.auth-expiry-usage-check {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
  gap: 14px;
  align-items: center;
  margin: 18px 0 4px;
  padding: 14px;
  border: 1px solid rgba(255, 230, 111, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 230, 111, 0.08), rgba(110, 247, 255, 0.06)),
    rgba(255, 255, 255, 0.035);
}
.auth-expiry-usage-check[hidden] {
  display: none !important;
}
.auth-expiry-usage-copy {
  display: grid;
  gap: 8px;
}
.auth-expiry-usage-copy strong {
  color: #fff2a8;
  font-size: 18px;
  line-height: 1.35;
}
.auth-expiry-usage-copy span {
  color: #dce8ff;
  font-size: 14px;
  line-height: 1.65;
}
.auth-expiry-dialog-preview {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 10px;
  background: #f6f6f6;
  color: #646464;
  font-family: "Segoe UI", "Microsoft JhengHei", sans-serif;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
}
.auth-expiry-dialog-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px;
  background: #f1f1f1;
  color: #7a7a7a;
  font-size: 12px;
}
.auth-expiry-dialog-title span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.auth-expiry-dialog-title span:first-child::before {
  content: "i";
  width: 14px;
  height: 14px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #3158b8;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}
.auth-expiry-dialog-body {
  padding: 16px 12px 12px;
  font-size: 12px;
}
.auth-expiry-dialog-body p {
  margin: 0 0 8px;
  color: #595959;
  font-size: 12px;
  line-height: 1.45;
}
.auth-expiry-dialog-body span {
  display: block;
  margin-bottom: 14px;
  color: #2457d6;
  font-size: 11px;
  word-break: break-all;
}
.auth-expiry-dialog-body div {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.auth-expiry-dialog-body button {
  min-width: 54px;
  padding: 5px 10px;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  background: #fff;
  color: #555;
  font: inherit;
}
.auth-expiry-time-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}
.auth-expiry-time-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  color: #eaf1ff;
  line-height: 1.6;
}
.auth-expiry-time-list li > span:first-child {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-weight: 950;
}
.auth-expiry-time-list .is-positive {
  border-color: rgba(98, 241, 177, 0.34);
  background: rgba(98, 241, 177, 0.07);
}
.auth-expiry-time-list .is-positive > span:first-child {
  color: #04130d;
  background: var(--ok);
}
.auth-expiry-time-list .is-negative {
  border-color: rgba(255, 230, 111, 0.38);
  background: rgba(255, 230, 111, 0.075);
}
.auth-expiry-time-list .is-negative > span:first-child {
  color: #150f04;
  background: var(--warn);
}
.auth-expiry-final-check {
  margin-top: 18px !important;
  padding: 14px 16px;
  border: 1px solid rgba(255, 230, 111, 0.42);
  border-radius: 16px;
  background: rgba(255, 230, 111, 0.08);
  color: var(--warn) !important;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
  white-space: nowrap;
}
.auth-expiry-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}
.auth-expiry-actions button {
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 900;
  line-height: 1.25;
}
.auth-expiry-primary {
  border: 1px solid rgba(255, 230, 111, 0.56);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(90deg, var(--warn) 0%, var(--acid) 52%, var(--cyan) 100%);
  color: #071019;
  box-shadow: 0 0 26px rgba(255, 230, 111, 0.18);
}
.auth-expiry-secondary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}
.auth-expiry-actions button:focus-visible {
  outline: 3px solid rgba(110, 247, 255, 0.48);
  outline-offset: 3px;
}
.status-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 34%, rgba(110, 247, 255, 0.16), transparent 28%),
    rgba(3, 6, 12, 0.76);
  backdrop-filter: blur(16px);
}
.status-modal[hidden] {
  display: none !important;
}
.status-modal-card {
  position: relative;
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(110, 247, 255, 0.32);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 8%, rgba(214, 255, 57, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(14, 25, 44, 0.98), rgba(4, 8, 16, 0.98));
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.58),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 60px rgba(110, 247, 255, 0.14);
  animation: modalEnter 180ms ease-out both;
}
.status-modal-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--acid), var(--cyan), var(--iris));
}
.status-modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.status-modal-kicker {
  color: var(--acid);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.status-modal h2 {
  margin: 8px 0 8px;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0.05em;
}
.status-modal-message {
  margin: 0;
  color: #d9e4ff;
  font-size: 17px;
  line-height: 1.7;
}
.wait-estimate-line {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.wait-estimate-line span {
  display: block;
}
.status-modal-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
}
.modal-status-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}
.modal-status-row strong {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.16em;
}
.modal-status-badge {
  min-width: 116px;
  justify-content: center;
}
.modal-stage-list {
  display: grid;
  gap: 10px;
}
.modal-stage {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}
.modal-stage-marker {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.22);
}
.modal-stage strong {
  display: block;
  margin-bottom: 4px;
}
.modal-stage span {
  color: var(--muted);
  line-height: 1.55;
}
.modal-stage.is-active {
  border-color: rgba(214, 255, 57, 0.42);
  background: rgba(214, 255, 57, 0.07);
}
.modal-stage.is-active .modal-stage-marker {
  border-color: var(--acid);
  background: var(--acid);
  box-shadow: 0 0 0 6px rgba(214, 255, 57, 0.10);
}
.modal-stage.is-complete {
  border-color: rgba(98, 241, 177, 0.34);
  background: rgba(98, 241, 177, 0.075);
}
.modal-stage.is-complete .modal-stage-marker {
  border-color: var(--ok);
  background: var(--ok);
}
.modal-stage.is-failed {
  border-color: rgba(255, 123, 134, 0.38);
  background: rgba(255, 123, 134, 0.09);
}
.modal-stage.is-failed .modal-stage-marker {
  border-color: var(--fail);
  background: var(--fail);
}
.modal-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.modal-metric {
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.modal-metric span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.13em;
}
.modal-metric strong {
  color: var(--text);
  word-break: break-word;
}
.modal-next-action {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(110, 247, 255, 0.14);
  background: rgba(110, 247, 255, 0.055);
  color: #dce8ff;
  line-height: 1.65;
}
.steam-completion-guide {
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid rgba(98, 241, 177, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(98, 241, 177, 0.10), rgba(110, 247, 255, 0.06) 52%, transparent),
    rgba(255, 255, 255, 0.035);
}
.steam-guide-head {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
}
.steam-guide-head span {
  color: var(--ok);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.steam-guide-head strong {
  color: #f5fff9;
  font-size: 18px;
  line-height: 1.35;
}
.steam-guide-head p {
  margin: 0;
  color: #b9c7e5;
  font-size: 13px;
  line-height: 1.6;
}
.steam-guide-body {
  display: grid;
  grid-template-columns: minmax(250px, 0.95fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}
.steam-guide-figure {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(110, 247, 255, 0.18);
  border-radius: 16px;
  background:
    radial-gradient(circle at 76% 28%, rgba(77, 132, 255, 0.24), transparent 28%),
    linear-gradient(180deg, #172437 0%, #111824 48%, #0b111b 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}
.steam-figure-topbar,
.steam-figure-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  color: #b8c7df;
  font-size: 11px;
}
.steam-figure-topbar {
  background: #141a23;
}
.steam-figure-topbar span:first-child,
.steam-figure-toolbar span:first-child {
  color: #64b7ff;
}
.steam-figure-toolbar {
  background: linear-gradient(90deg, #213750, #142035);
}
.steam-figure-content {
  display: grid;
  gap: 8px;
  padding: 16px 16px 0 112px;
}
.steam-figure-content span {
  display: block;
  height: 42px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(86, 130, 176, 0.46), rgba(22, 34, 55, 0.76));
}
.steam-figure-content span + span {
  width: 76%;
  background: linear-gradient(90deg, rgba(31, 54, 83, 0.72), rgba(13, 21, 35, 0.88));
}
.steam-figure-menu {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 188px;
  padding: 5px;
  border-radius: 3px;
  background: #3a4050;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.42);
}
.steam-figure-menu span,
.steam-figure-menu strong {
  display: block;
  padding: 8px 10px;
  color: #eef5ff;
  font-size: 12px;
  line-height: 1.2;
}
.steam-figure-menu strong {
  background: #e7edf6;
  color: #243246;
  font-weight: 900;
}
.steam-figure-dialog {
  position: absolute;
  right: 14px;
  top: 76px;
  width: 190px;
  padding: 14px;
  border-top: 2px solid #58b7ff;
  background: #292e38;
  color: #eaf2ff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45);
}
.steam-figure-dialog strong,
.steam-figure-dialog span,
.steam-figure-dialog small {
  display: block;
}
.steam-figure-dialog strong {
  font-size: 13px;
}
.steam-figure-dialog span {
  margin-top: 12px;
  color: #aab6c9;
  font-size: 10px;
}
.steam-figure-dialog div {
  height: 26px;
  margin-top: 8px;
  border-radius: 3px;
  background: #343a45;
}
.steam-figure-dialog small {
  width: 64px;
  margin: 12px 0 0 auto;
  padding: 6px 0;
  border-radius: 3px;
  background: #465164;
  color: #eaf2ff;
  font-size: 11px;
  text-align: center;
}
.steam-guide-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steam-guide-steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  min-height: 0;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}
.steam-guide-steps li > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--ok);
  color: #04140d;
  font-weight: 950;
}
.steam-guide-steps strong {
  display: block;
  color: #f3fff9;
  line-height: 1.35;
}
.steam-guide-steps p {
  margin: 4px 0 0;
  color: #b9c7e5;
  font-size: 13px;
  line-height: 1.55;
}
@media (max-width: 680px) {
  .auth-expiry-modal {
    padding: 14px;
  }
  .auth-expiry-modal-card {
    width: min(100%, calc(100vw - 28px));
    max-height: calc(100dvh - 28px);
    padding: 22px;
    border-radius: 22px;
  }
  .auth-expiry-modal-card h2 {
    font-size: 26px;
  }
  .auth-expiry-usage-check {
    grid-template-columns: 1fr;
  }
  .auth-expiry-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .auth-expiry-final-check {
    white-space: normal;
    text-wrap: balance;
  }
  .auth-expiry-actions button {
    width: 100%;
  }
  .status-modal {
    padding: 14px;
  }
  .status-modal-card {
    padding: 22px;
  }
  .modal-status-row,
  .modal-metrics {
    grid-template-columns: 1fr;
  }
  .steam-guide-body {
    grid-template-columns: 1fr;
  }
  .steam-guide-figure {
    min-height: 240px;
  }
  .steam-figure-dialog {
    right: 12px;
    width: 180px;
  }
  .steam-figure-menu {
    width: min(188px, calc(100% - 28px));
  }
}
@keyframes cyberGridDrift {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 42px 84px, -64px 96px, 0 0; }
}
@keyframes commandTrace {
  0% { transform: translateX(-24%); opacity: 0.18; }
  45% { opacity: 0.44; }
  100% { transform: translateX(24%); opacity: 0.18; }
}
@keyframes railPulse {
  0%, 100% { opacity: 0.72; filter: drop-shadow(0 0 7px rgba(214, 255, 57, 0.44)); }
  50% { opacity: 1; filter: drop-shadow(0 0 14px rgba(110, 247, 255, 0.62)); }
}
@keyframes labelBlink {
  0%, 88%, 100% { opacity: 1; }
  90% { opacity: 0.42; }
  92% { opacity: 1; }
}
@keyframes inputSignal {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 0 0 rgba(110, 247, 255, 0); }
  50% { box-shadow: inset 0 0 0 1px rgba(110, 247, 255, 0.22), 0 0 30px rgba(110, 247, 255, 0.16); }
}
@keyframes buttonCharge {
  0% { transform: translateX(-130%) skewX(-16deg); opacity: 0; }
  14% { opacity: 0.72; }
  42% { opacity: 0.22; }
  100% { transform: translateX(130%) skewX(-16deg); opacity: 0; }
}
@keyframes coreRingPulse {
  0%, 100% { opacity: 0.58; filter: saturate(1); }
  50% { opacity: 1; filter: saturate(1.45); }
}
@keyframes factionPanelSweep {
  0% { transform: translateX(-118%) skewX(-18deg); opacity: 0; }
  12% { opacity: 0.74; }
  34% { transform: translateX(-18%) skewX(-18deg); opacity: 0.42; }
  68% { transform: translateX(18%) skewX(-18deg); opacity: 0.54; }
  100% { transform: translateX(128%) skewX(-18deg); opacity: 0; }
}
@keyframes factionShardLock {
  0%, 100% { transform: translate3d(0, 0, 0) skewX(-15deg); opacity: 0.28; }
  18% { transform: translate3d(-20px, 0, 0) skewX(-15deg); opacity: 0.02; }
  32% { transform: translate3d(4px, 0, 0) skewX(-15deg); opacity: 0.76; }
  48% { opacity: 0.18; }
  64% { transform: translate3d(0, 0, 0) skewX(-15deg); opacity: 0.58; }
}
@keyframes factionScanLine {
  0% { transform: translateY(-145%); opacity: 0; }
  16%, 62% { opacity: 0.86; }
  100% { transform: translateY(145%); opacity: 0; }
}
@keyframes factionSidePulse {
  0%, 100% { opacity: 0.36; transform: translateX(0); }
  50% { opacity: 0.92; transform: translateX(8px); }
}
@keyframes factionProgress {
  0% { transform: translateX(-101%); }
  38%, 62% { transform: translateX(-20%); }
  100% { transform: translateX(108%); }
}
@keyframes factionCodeBlink {
  0%, 82%, 100% { opacity: 0.9; }
  84% { opacity: 0.18; }
  86% { opacity: 1; }
  88% { opacity: 0.34; }
}
@keyframes coreUnlockFlash {
  0%, 78%, 100% { opacity: 0; transform: scaleX(0.42); }
  82% { opacity: 0.9; transform: scaleX(1.18); }
  86% { opacity: 0.12; transform: scaleX(0.78); }
}
@keyframes liquidSandFlow {
  0% { transform: translate3d(-3%, -2%, 0) rotate(-7deg) scale(1.02); filter: blur(17px) contrast(1.18) saturate(1.08); }
  38% { transform: translate3d(3%, 2%, 0) rotate(5deg) scale(1.08); filter: blur(14px) contrast(1.34) saturate(1.2); }
  72% { transform: translate3d(-1%, 4%, 0) rotate(-3deg) scale(1.04); filter: blur(18px) contrast(1.22) saturate(1.12); }
  100% { transform: translate3d(4%, -3%, 0) rotate(8deg) scale(1.09); filter: blur(15px) contrast(1.36) saturate(1.24); }
}
@keyframes sandParticleDrift {
  from { background-position: 0 0, 0 0, 0 0; opacity: 0.34; }
  50% { opacity: 0.72; }
  to { background-position: 180px -120px, -140px 90px, 70px 160px; opacity: 0.42; }
}
@keyframes sandCurtainFold {
  0%, 100% { transform: translateX(-8%) skewX(-12deg); opacity: 0.18; }
  42% { transform: translateX(9%) skewX(-18deg); opacity: 0.44; }
  68% { transform: translateX(3%) skewX(-8deg); opacity: 0.28; }
}
@keyframes coreFrameBreathe {
  0%, 100% { opacity: 0.42; box-shadow: inset 0 0 0 1px rgba(110, 247, 255, 0.10), 0 0 20px rgba(110, 247, 255, 0.08); }
  50% { opacity: 0.86; box-shadow: inset 0 0 0 1px rgba(214, 255, 57, 0.18), 0 0 34px rgba(110, 247, 255, 0.18); }
}
@keyframes cursorSpin {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}
@keyframes cursorPing {
  0% { opacity: 0.68; scale: 0.72; }
  70%, 100% { opacity: 0; scale: 1.65; }
}
body.theme-cyber::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(110, 247, 255, 0.10) 0 1px, transparent 1.5px);
  background-size: 42px 42px, 42px 42px, 128px 128px;
  animation: cyberGridDrift 18s linear infinite;
}
.gateway-panel::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(110deg, transparent 0 37%, rgba(110, 247, 255, 0.12) 42%, transparent 48% 100%);
  background-size: 38px 38px, 38px 38px, 260% 100%;
  animation: commandTrace 7.5s ease-in-out infinite alternate;
}
.gateway-core {
  filter: drop-shadow(0 0 28px rgba(110, 247, 255, 0.18));
}
.gateway-core::before {
  animation: coreOrbit 12s linear infinite, coreRingPulse 3.8s ease-in-out infinite;
}
.gateway-core::after {
  animation: coreOrbit 18s linear infinite reverse, coreRingPulse 5.6s ease-in-out infinite;
}
.core-logo {
  box-shadow:
    0 0 0 1px rgba(110, 247, 255, 0.30),
    0 0 70px rgba(125, 107, 255, 0.25),
    0 0 38px rgba(110, 247, 255, 0.16);
}
.core-badge {
  box-shadow:
    0 0 0 1px rgba(110, 247, 255, 0.14),
    0 0 24px rgba(110, 247, 255, 0.10);
}
.core-faction-code,
.core-decode,
.core-progress,
.core-sand,
.core-grid-field,
.core-frame,
.unlock-slice,
.unlock-side,
.unlock-cross,
.core-flash {
  position: absolute;
  pointer-events: none;
}
.gateway-core {
  min-height: clamp(320px, 36vw, 390px);
  border: 1px solid rgba(110, 247, 255, 0.26);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 48%, rgba(125, 107, 255, 0.18), transparent 25%),
    radial-gradient(circle at 18% 16%, rgba(110, 247, 255, 0.12), transparent 24%),
    radial-gradient(circle at 90% 88%, rgba(214, 255, 57, 0.08), transparent 24%),
    linear-gradient(135deg, rgba(4, 12, 24, 0.94), rgba(10, 13, 28, 0.98) 58%, rgba(5, 7, 13, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    inset 0 0 90px rgba(110, 247, 255, 0.08),
    0 28px 80px rgba(0, 0, 0, 0.28),
    0 0 44px rgba(110, 247, 255, 0.10);
}
.gateway-core::before,
.gateway-core::after {
  z-index: 3;
  pointer-events: none;
}
.core-sand {
  z-index: 0;
  inset: -28%;
  border-radius: 42%;
  background:
    radial-gradient(ellipse at 24% 36%, rgba(2, 4, 8, 0.92) 0 13%, transparent 30%),
    radial-gradient(ellipse at 58% 50%, rgba(110, 247, 255, 0.18) 0 8%, transparent 24%),
    radial-gradient(ellipse at 78% 34%, rgba(125, 107, 255, 0.24) 0 12%, transparent 30%),
    radial-gradient(ellipse at 44% 72%, rgba(214, 255, 57, 0.10) 0 8%, transparent 24%),
    conic-gradient(from 210deg at 50% 50%, rgba(2, 4, 8, 0.86), rgba(34, 44, 82, 0.30), rgba(110, 247, 255, 0.16), rgba(3, 5, 10, 0.86), rgba(125, 107, 255, 0.20), rgba(2, 4, 8, 0.82));
  opacity: 0.78;
  mix-blend-mode: screen;
  animation: liquidSandFlow 14s ease-in-out infinite alternate;
}
.core-sand::before,
.core-sand::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.core-sand::before {
  background-image:
    radial-gradient(circle, rgba(110, 247, 255, 0.46) 0 1px, transparent 1.45px),
    radial-gradient(circle, rgba(214, 255, 57, 0.26) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(255, 255, 255, 0.28) 0 0.8px, transparent 1.2px);
  background-size: 22px 19px, 36px 31px, 58px 47px;
  mask-image: radial-gradient(ellipse at center, #000 0 52%, transparent 73%);
  mix-blend-mode: screen;
  animation: sandParticleDrift 18s linear infinite;
}
.core-sand::after {
  inset: 8% 2%;
  background:
    linear-gradient(112deg, transparent 0 24%, rgba(2, 4, 8, 0.66) 30%, rgba(110, 247, 255, 0.20) 44%, rgba(125, 107, 255, 0.18) 58%, transparent 72%),
    linear-gradient(76deg, transparent 0 38%, rgba(214, 255, 57, 0.13) 49%, transparent 62%);
  clip-path: polygon(0 18%, 100% 0, 88% 72%, 16% 100%);
  filter: blur(8px);
  mix-blend-mode: screen;
  animation: sandCurtainFold 9.5s ease-in-out infinite;
}
.core-grid-field {
  z-index: 1;
  inset: 8%;
  border-radius: 26px;
  background-image:
    linear-gradient(rgba(110, 247, 255, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 247, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, transparent 0 32%, rgba(110, 247, 255, 0.12) 33%, transparent 34% 100%);
  background-size: 42px 42px, 42px 42px, 100% 100%;
  opacity: 0.56;
  mask-image: radial-gradient(ellipse at center, #000 0 64%, transparent 82%);
}
.core-frame {
  z-index: 2;
  inset: 11%;
  border-radius: 28px;
  border: 1px solid rgba(110, 247, 255, 0.16);
  background:
    linear-gradient(90deg, rgba(214, 255, 57, 0.08), transparent 22% 78%, rgba(110, 247, 255, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 36% 64%, rgba(255, 255, 255, 0.025));
  animation: coreFrameBreathe 4.8s ease-in-out infinite;
}
.core-frame::before,
.core-frame::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    linear-gradient(90deg, var(--acid) 0 12%, transparent 12% 88%, var(--cyan) 88% 100%) top / 100% 2px no-repeat,
    linear-gradient(90deg, var(--cyan) 0 10%, transparent 10% 90%, var(--acid) 90% 100%) bottom / 100% 2px no-repeat;
  opacity: 0.58;
}
.core-frame::after {
  inset: 18px;
  opacity: 0.22;
  background:
    linear-gradient(90deg, transparent, rgba(110, 247, 255, 0.34), transparent) center / 100% 1px no-repeat,
    linear-gradient(180deg, transparent, rgba(214, 255, 57, 0.20), transparent) center / 1px 100% no-repeat;
}
.core-faction-code {
  z-index: 4;
  left: 7%;
  bottom: 15%;
  color: rgba(214, 255, 57, 0.88);
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(214, 255, 57, 0.45);
  animation: factionCodeBlink 4.6s steps(1, end) infinite;
}
.core-decode {
  z-index: 4;
  right: 8%;
  top: 18%;
  color: rgba(110, 247, 255, 0.72);
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-align: right;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.unlock-slice {
  z-index: 1;
  inset: 16% -8%;
  clip-path: polygon(0 16%, 74% 0, 100% 22%, 24% 100%, 0 82%);
  background:
    linear-gradient(90deg, transparent 0%, rgba(110, 247, 255, 0.22) 20%, rgba(125, 107, 255, 0.16) 48%, transparent 70%),
    linear-gradient(180deg, rgba(110, 247, 255, 0.06), transparent);
  mix-blend-mode: screen;
  animation: factionPanelSweep 5.2s cubic-bezier(.2, .7, .16, 1) infinite;
}
.unlock-slice.slice-b {
  inset: 29% -12% 20%;
  clip-path: polygon(12% 0, 100% 16%, 88% 42%, 8% 100%, 0 76%);
  background:
    linear-gradient(90deg, transparent, rgba(214, 255, 57, 0.18), rgba(110, 247, 255, 0.16), transparent);
  animation-delay: 1.1s;
  animation-duration: 6.4s;
}
.unlock-slice.slice-c {
  inset: 8% 2% 46%;
  clip-path: polygon(0 22%, 62% 0, 100% 58%, 30% 100%, 4% 72%);
  background:
    linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.20), rgba(110, 247, 255, 0.22), transparent);
  animation-delay: 2.25s;
  animation-duration: 4.8s;
}
.unlock-side {
  z-index: 2;
  top: 16%;
  bottom: 16%;
  width: 24%;
  opacity: 0.58;
  background:
    repeating-linear-gradient(180deg, rgba(110, 247, 255, 0.28) 0 2px, transparent 2px 13px),
    linear-gradient(90deg, rgba(110, 247, 255, 0.12), transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18% 82%, transparent);
  animation: factionSidePulse 3.2s ease-in-out infinite;
}
.unlock-side.left {
  left: 6%;
  clip-path: polygon(0 0, 86% 12%, 100% 88%, 12% 100%);
}
.unlock-side.right {
  right: 6%;
  transform: scaleX(-1);
  clip-path: polygon(14% 12%, 100% 0, 88% 100%, 0 86%);
  animation-delay: 1.4s;
}
.unlock-cross {
  z-index: 3;
  inset: 18%;
  border: 1px solid rgba(110, 247, 255, 0.10);
  border-radius: 34px;
}
.unlock-cross::before,
.unlock-cross::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: linear-gradient(90deg, transparent, rgba(110, 247, 255, 0.32), transparent);
  transform: translate(-50%, -50%);
}
.unlock-cross::before {
  width: 116%;
  height: 1px;
}
.unlock-cross::after {
  width: 1px;
  height: 116%;
  background: linear-gradient(180deg, transparent, rgba(214, 255, 57, 0.24), transparent);
}
.core-flash {
  z-index: 4;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 58px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.78), rgba(110, 247, 255, 0.44), transparent);
  filter: blur(10px);
  mix-blend-mode: screen;
  transform-origin: center;
  animation: coreUnlockFlash 5.6s ease-in-out infinite;
}
.core-logo::before {
  z-index: 2;
}
.core-logo::after {
  z-index: 0;
}
.core-logo .gp-logo-art {
  filter: saturate(1.16) contrast(1.06);
}
.core-progress {
  z-index: 4;
  left: 11%;
  right: 11%;
  bottom: 8%;
  height: 4px;
  overflow: hidden;
  border: 1px solid rgba(110, 247, 255, 0.22);
  border-radius: 999px;
  background: rgba(3, 8, 17, 0.72);
  box-shadow: 0 0 18px rgba(110, 247, 255, 0.12);
}
.core-progress span {
  display: block;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--acid), var(--cyan), transparent);
  box-shadow: 0 0 18px rgba(214, 255, 57, 0.52);
  animation: factionProgress 3.4s cubic-bezier(.2, .7, .16, 1) infinite;
}
.core-ambient,
.core-scan-plane,
.core-orbit,
.core-status-line {
  position: absolute;
  pointer-events: none;
}
.gateway-core {
  min-height: clamp(300px, 34vw, 388px);
  padding: 42px 48px 58px;
  border: 1px solid rgba(110, 247, 255, 0.24);
  border-radius: 32px;
  background:
    radial-gradient(circle at 48% 45%, rgba(125, 107, 255, 0.28), transparent 24%),
    radial-gradient(circle at 16% 18%, rgba(110, 247, 255, 0.14), transparent 24%),
    radial-gradient(circle at 88% 76%, rgba(214, 255, 57, 0.08), transparent 22%),
    linear-gradient(135deg, rgba(5, 14, 28, 0.96), rgba(7, 11, 25, 0.98) 58%, rgba(3, 6, 12, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.045),
    inset 0 0 84px rgba(110, 247, 255, 0.08),
    0 30px 90px rgba(0, 0, 0, 0.30),
    0 0 44px rgba(110, 247, 255, 0.12);
  filter: drop-shadow(0 0 26px rgba(110, 247, 255, 0.14));
}
.gateway-core::before,
.gateway-core::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 0;
  -webkit-mask: none;
  mask: none;
}
.gateway-core::before {
  z-index: 1;
  inset: 30px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(214, 255, 57, 0.58) 0 10%, transparent 10% 90%, rgba(110, 247, 255, 0.58) 90% 100%) top / 100% 2px no-repeat,
    linear-gradient(90deg, rgba(110, 247, 255, 0.42) 0 8%, transparent 8% 92%, rgba(214, 255, 57, 0.36) 92% 100%) bottom / 100% 2px no-repeat,
    linear-gradient(180deg, rgba(110, 247, 255, 0.16), transparent 32% 68%, rgba(125, 107, 255, 0.14));
  box-shadow:
    inset 0 0 0 1px rgba(110, 247, 255, 0.12),
    inset 0 0 48px rgba(110, 247, 255, 0.08);
  opacity: 0.82;
  animation: coreHoloBreath 5.2s ease-in-out infinite;
}
.gateway-core::after {
  z-index: 2;
  inset: -36% -18%;
  border-radius: inherit;
  background:
    linear-gradient(104deg, transparent 0 39%, rgba(110, 247, 255, 0.0) 43%, rgba(110, 247, 255, 0.32) 48%, rgba(214, 255, 57, 0.18) 51%, transparent 58% 100%);
  mix-blend-mode: screen;
  transform: translateX(-74%) skewX(-13deg);
  animation: coreHoloSweep 6.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.core-ambient {
  z-index: 0;
  inset: 8%;
  border-radius: 34px;
  background:
    radial-gradient(ellipse at 32% 38%, rgba(2, 5, 11, 0.92) 0 16%, transparent 34%),
    radial-gradient(ellipse at 58% 48%, rgba(110, 247, 255, 0.22) 0 9%, transparent 30%),
    radial-gradient(ellipse at 72% 34%, rgba(125, 107, 255, 0.26) 0 12%, transparent 34%),
    conic-gradient(from 220deg at 50% 52%, rgba(2, 5, 12, 0.82), rgba(26, 48, 78, 0.32), rgba(110, 247, 255, 0.16), rgba(4, 8, 18, 0.88), rgba(125, 107, 255, 0.22), rgba(2, 5, 12, 0.82));
  filter: blur(18px) saturate(1.18) contrast(1.12);
  opacity: 0.70;
  animation: coreNebula 12s ease-in-out infinite alternate;
}
.core-scan-plane {
  z-index: 2;
  inset: 18% 12%;
  border-radius: 26px;
  background:
    repeating-linear-gradient(180deg, rgba(110, 247, 255, 0.16) 0 1px, transparent 1px 12px),
    linear-gradient(90deg, transparent 0 18%, rgba(110, 247, 255, 0.10) 48%, transparent 82% 100%),
    radial-gradient(circle at 50% 50%, transparent 0 34%, rgba(110, 247, 255, 0.15) 35%, transparent 36% 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18% 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18% 82%, transparent);
  opacity: 0.42;
  animation: coreLineDrift 9s linear infinite;
}
.core-logo {
  z-index: 4;
  width: min(210px, 52%);
  padding: 42px;
  overflow: visible;
  border: 1px solid rgba(110, 247, 255, 0.34);
  border-radius: 34px;
  background:
    radial-gradient(circle at 62% 32%, rgba(255, 255, 255, 0.10), transparent 28%),
    linear-gradient(135deg, rgba(110, 247, 255, 0.12), transparent 42%),
    linear-gradient(315deg, rgba(125, 107, 255, 0.30), rgba(5, 9, 20, 0.90));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.055) inset,
    0 0 52px rgba(110, 247, 255, 0.20),
    0 0 92px rgba(125, 107, 255, 0.18);
  animation: coreFloat 5.6s ease-in-out infinite;
}
.core-logo::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -31px;
  border-radius: 48px;
  background:
    conic-gradient(from 12deg, transparent 0 18%, rgba(110, 247, 255, 0.72) 22%, transparent 27% 58%, rgba(214, 255, 57, 0.52) 63%, transparent 70% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  opacity: 0.78;
  mix-blend-mode: screen;
  animation: coreDialSpin 15s linear infinite;
  pointer-events: none;
}
.core-logo::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -12px;
  border: 1px solid rgba(110, 247, 255, 0.18);
  border-radius: 42px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(110, 247, 255, 0.0) 36%, rgba(110, 247, 255, 0.24) 50%, rgba(214, 255, 57, 0.12) 52%, transparent 70%);
  box-shadow: 0 0 30px rgba(110, 247, 255, 0.16), inset 0 0 28px rgba(125, 107, 255, 0.12);
  animation: coreRingPing 4.8s ease-in-out infinite;
  pointer-events: none;
}
.core-logo .gp-logo-art {
  position: relative;
  z-index: 3;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  filter: saturate(1.18) contrast(1.08);
  mix-blend-mode: screen;
}
.core-orbit {
  z-index: 1;
  inset: -44px;
  border-radius: 999px;
  background: conic-gradient(from 180deg, transparent 0 28%, rgba(110, 247, 255, 0.42) 34%, transparent 42% 70%, rgba(125, 107, 255, 0.36) 78%, transparent 86% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1px), #000 100%);
  mask: radial-gradient(farthest-side, transparent calc(100% - 1px), #000 100%);
  opacity: 0.72;
  animation: coreDialSpin 18s linear infinite reverse;
}
.core-orbit.orbit-b {
  inset: -22px;
  opacity: 0.52;
  animation-duration: 11s;
  animation-direction: normal;
}
.core-badge {
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-color: rgba(214, 255, 57, 0.22);
  background: rgba(5, 9, 17, 0.78);
  box-shadow:
    0 0 0 1px rgba(110, 247, 255, 0.08),
    0 0 24px rgba(110, 247, 255, 0.10);
}
.core-badge.top {
  top: 28px;
  left: 30px;
}
.core-badge.top::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 0 14px rgba(214, 255, 57, 0.72);
}
.core-badge.bottom {
  right: 30px;
  bottom: 28px;
}
.core-status-line {
  z-index: 5;
  left: 42px;
  right: 42px;
  bottom: 44px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 13px;
  border-top: 1px solid rgba(110, 247, 255, 0.18);
  color: rgba(194, 255, 244, 0.72);
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.core-status-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 34%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--acid), transparent);
  box-shadow: 0 0 18px rgba(110, 247, 255, 0.42);
  animation: coreSignalDash 3.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes coreHoloBreath {
  0%, 100% { opacity: 0.68; transform: scale(0.992); }
  50% { opacity: 0.96; transform: scale(1); }
}
@keyframes coreHoloSweep {
  0%, 18% { opacity: 0; transform: translateX(-74%) skewX(-13deg); }
  34%, 48% { opacity: 0.78; }
  72%, 100% { opacity: 0; transform: translateX(74%) skewX(-13deg); }
}
@keyframes coreNebula {
  0% { transform: translate3d(-2%, -1%, 0) rotate(-4deg) scale(1.02); }
  45% { transform: translate3d(2%, 2%, 0) rotate(3deg) scale(1.07); }
  100% { transform: translate3d(3%, -2%, 0) rotate(6deg) scale(1.05); }
}
@keyframes coreLineDrift {
  from { background-position: 0 0, 0 0, center; }
  to { background-position: 0 96px, 180px 0, center; }
}
@keyframes coreDialSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes coreSignalDash {
  0% { transform: translateX(-20%); opacity: 0; }
  28%, 68% { opacity: 1; }
  100% { transform: translateX(230%); opacity: 0; }
}
@keyframes coreRingPing {
  0%, 100% { opacity: 0.58; transform: scale(0.992); }
  48% { opacity: 0.94; transform: scale(1.012); }
}
@media (max-width: 680px) {
  .gateway-core {
    min-height: 260px;
    padding: 34px 28px 54px;
  }
  .gateway-core::before {
    inset: 22px;
  }
  .core-logo {
    width: min(178px, 58%);
    padding: 34px;
  }
  .core-status-line {
    left: 28px;
    right: 28px;
    font-size: 8px;
    letter-spacing: 0.15em;
  }
}
.auth-command {
  isolation: isolate;
  overflow: hidden;
}
.auth-command::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(110deg, transparent 0 42%, rgba(110, 247, 255, 0.13) 48%, transparent 56% 100%),
    radial-gradient(circle at 8% 22%, rgba(214, 255, 57, 0.12), transparent 22%);
  background-size: 260% 100%, 100% 100%;
  animation: commandTrace 6.8s ease-in-out infinite alternate;
}
.auth-command-head,
.auth-command-grid,
.auth-command .flash,
.auth-command noscript {
  position: relative;
  z-index: 1;
}
.auth-command-head {
  margin-bottom: 26px;
  padding-bottom: 22px;
}
.auth-command-head > div {
  --command-rail: 28px;
  display: grid;
  gap: 9px;
  min-width: 0;
}
.auth-command-label,
.auth-command-title-row {
  padding-left: var(--command-rail);
}
.auth-command-label {
  position: relative;
  grid-column: auto;
  width: max-content;
  max-width: 100%;
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  line-height: 1.1;
  letter-spacing: 0.25em;
  text-shadow: 0 0 14px rgba(214, 255, 57, 0.42);
  animation: labelBlink 5.5s steps(1, end) infinite;
}
.auth-command-label::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 0 18px rgba(214, 255, 57, 0.82);
  transform: translateY(-50%);
}
.auth-command-label::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 18px;
  width: 2px;
  height: 86px;
  background: linear-gradient(180deg, rgba(214, 255, 57, 0.95), rgba(110, 247, 255, 0.12));
  animation: railPulse 2.4s ease-in-out infinite;
}
.auth-command-title-row {
  position: relative;
  gap: 8px;
}
.auth-command-title-row h2 {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: 0.035em;
  text-shadow:
    0 0 24px rgba(110, 247, 255, 0.15),
    0 0 34px rgba(125, 107, 255, 0.12);
}
.auth-command-title-row span {
  display: block;
  line-height: 1;
  letter-spacing: 0.34em;
}
.auth-command-title-row p {
  margin: 10px 0 0;
  max-width: 860px;
  color: #c6d2ec;
  line-height: 1.7;
}
.auth-command-grid {
  align-items: end;
}
.auth-command .field-label {
  gap: 10px;
}
.auth-command .cyber-input {
  letter-spacing: 0.06em;
  animation: inputSignal 5.8s ease-in-out infinite;
}
.auth-command .cyber-input:focus {
  border-color: var(--acid);
  background:
    linear-gradient(90deg, rgba(214, 255, 57, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), transparent),
    rgba(3, 8, 17, 0.88);
  box-shadow:
    inset 0 0 0 1px rgba(214, 255, 57, 0.18),
    0 0 0 4px rgba(214, 255, 57, 0.10),
    0 0 42px rgba(110, 247, 255, 0.16);
}
.auth-command .cyber-button {
  transform-origin: center;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
  box-shadow:
    0 0 0 1px rgba(5, 7, 12, 0.22) inset,
    0 0 30px rgba(214, 255, 57, 0.22),
    0 18px 46px rgba(110, 247, 255, 0.16);
}
.auth-command .cyber-button::before {
  width: 42%;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  animation: buttonCharge 2.8s cubic-bezier(.2, .7, .2, 1) infinite;
}
.auth-command .cyber-button::after {
  inset: 12px;
  border-color: rgba(5, 7, 12, 0.18);
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.10), transparent 24% 76%, rgba(5, 7, 12, 0.08)),
    linear-gradient(180deg, rgba(5, 7, 12, 0.08), transparent);
}
.auth-command .cyber-button:hover {
  filter: brightness(1.12) saturate(1.16);
  transform: translateY(-3px) scale(1.012);
  box-shadow:
    0 0 0 1px rgba(5, 7, 12, 0.22) inset,
    0 0 44px rgba(214, 255, 57, 0.32),
    0 22px 56px rgba(110, 247, 255, 0.22);
}
.auth-command .cyber-button:hover .cyber-button-main {
  text-shadow: 0 0 18px rgba(5, 7, 12, 0.24);
}
.cursor-reticle {
  --cursor-x: -100px;
  --cursor-y: -100px;
  --cursor-scale: 1;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 38px;
  height: 38px;
  pointer-events: none;
  opacity: 0;
  border: 1px solid rgba(110, 247, 255, 0.74);
  border-radius: 999px;
  transform: translate3d(var(--cursor-x), var(--cursor-y), 0) translate(-50%, -50%) scale(var(--cursor-scale));
  transition: border-color 140ms ease, opacity 140ms ease, filter 140ms ease;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 10px rgba(110, 247, 255, 0.38));
}
.cursor-reticle::before,
.cursor-reticle::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  border: 1px solid rgba(214, 255, 57, 0.24);
}
.cursor-reticle::before {
  border-left-color: transparent;
  border-right-color: transparent;
  animation: cursorSpin 4.8s linear infinite;
}
.cursor-reticle::after {
  animation: cursorPing 1.7s ease-out infinite;
}
.cursor-reticle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 0 13px rgba(214, 255, 57, 0.9);
  transform: translate(-50%, -50%);
}
.cursor-reticle.is-active {
  opacity: 1;
}
.cursor-reticle.is-hovering {
  --cursor-scale: 1.08;
  border-color: rgba(214, 255, 57, 0.9);
  filter: drop-shadow(0 0 16px rgba(214, 255, 57, 0.42));
}
.cursor-reticle.is-pressed {
  --cursor-scale: 0.92;
  border-color: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 0 18px rgba(110, 247, 255, 0.48));
}
body.has-custom-cursor.theme-cyber,
body.has-custom-cursor.theme-cyber a,
body.has-custom-cursor.theme-cyber button,
body.has-custom-cursor.theme-cyber input,
body.has-custom-cursor.theme-cyber select,
body.has-custom-cursor.theme-cyber textarea,
body.has-custom-cursor.theme-cyber label {
  cursor: none;
}
@media (max-width: 680px) {
  .auth-command-head > div {
    --command-rail: 20px;
  }
  .auth-command-title-row h2 {
    font-size: clamp(34px, 11vw, 46px);
  }
  .auth-command-title-row span,
  .auth-command-label {
    letter-spacing: 0.18em;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.theme-cyber::before,
  body.theme-cyber::after,
  .gateway-panel::after,
  .gateway-core::before,
  .gateway-core::after,
  .core-logo,
  .core-logo::before,
  .core-logo::after,
  .core-ambient,
  .core-scan-plane,
  .core-orbit,
  .core-status-line::after,
  .core-sand,
  .core-sand::before,
  .core-sand::after,
  .core-frame,
  .unlock-slice,
  .unlock-side,
  .core-flash,
  .core-faction-code,
  .core-progress span,
  .auth-command::after,
  .auth-command-label,
  .auth-command-label::after,
  .auth-command .cyber-input,
  .auth-command .cyber-button::before,
  .auth-expiry-modal,
  .auth-expiry-modal-card,
  .cursor-reticle,
  .cursor-reticle::before,
  .cursor-reticle::after {
    animation: none !important;
    transition: none !important;
  }
  .cursor-reticle {
    display: none;
  }
  body.has-custom-cursor.theme-cyber,
  body.has-custom-cursor.theme-cyber a,
  body.has-custom-cursor.theme-cyber button,
  body.has-custom-cursor.theme-cyber input,
  body.has-custom-cursor.theme-cyber select,
  body.has-custom-cursor.theme-cyber textarea,
  body.has-custom-cursor.theme-cyber label {
    cursor: auto;
  }
}
.admin-wide {
  margin-top: 20px;
}
body.theme-admin .shell {
  width: min(1500px, calc(100% - 36px));
  padding-top: 18px;
}
.admin-dashboard {
  display: grid;
  grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.admin-rail,
.admin-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.admin-rail {
  position: sticky;
  top: 18px;
}
.admin-main {
  grid-template-columns: minmax(0, 1fr);
}
.admin-card-compact,
.admin-health-card,
.admin-audit-card,
.admin-manager-card,
.admin-jobs-card {
  background:
    linear-gradient(135deg, rgba(110, 247, 255, 0.055), transparent 38%),
    rgba(255, 255, 255, 0.028);
}
.admin-card-compact.card,
.admin-health-card.card {
  padding: 20px;
}
.admin-card-compact .lead,
.admin-health-card .lead,
.admin-audit-card .lead {
  font-size: 13px;
  line-height: 1.55;
}
.manager-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(320px, 1.14fr);
  gap: 16px;
  align-items: start;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.pool-summary {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(96px, 0.55fr)) auto;
  gap: 10px 14px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(110, 247, 255, 0.18);
  background:
    linear-gradient(90deg, rgba(110, 247, 255, 0.08), transparent 52%),
    rgba(255, 255, 255, 0.035);
}
.pool-summary-empty {
  grid-template-columns: minmax(220px, 1fr);
}
.pool-summary-title,
.pool-summary-stat {
  min-width: 0;
}
.pool-summary-title span,
.pool-summary-stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.pool-summary-title strong,
.pool-summary-stat strong {
  display: block;
  margin-top: 5px;
}
.pool-summary-title strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pool-summary-title small,
.pool-summary-empty p {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.pool-summary-stat strong {
  font-size: 18px;
}
.pool-list {
  display: grid;
  gap: 9px;
  margin-top: 16px;
  max-height: min(68vh, 780px);
  overflow: auto;
  padding-right: 6px;
  scrollbar-color: rgba(214, 255, 57, 0.6) rgba(255, 255, 255, 0.06);
}
.pool-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(88px, 0.55fr) minmax(180px, 1fr) minmax(92px, 0.45fr) auto;
  gap: 8px 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(214, 255, 57, 0.045), transparent 42%),
    rgba(255, 255, 255, 0.03);
}
.pool-row[hidden],
.pool-empty[hidden] {
  display: none !important;
}
.pool-empty span {
  grid-column: 1 / -1;
}
.pool-row strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pool-row span {
  display: inline-flex;
  color: var(--muted);
  font-size: 13px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.pool-status-badge {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  font-weight: 800;
}
.pool-status-badge.ok {
  background: rgba(98, 241, 177, 0.14);
  color: var(--ok);
}
.pool-status-badge.warn {
  background: rgba(255, 123, 134, 0.15);
  color: var(--fail);
}
.pool-status-badge.bad {
  background: rgba(255, 123, 134, 0.2);
  color: #ffdce0;
}
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
  justify-self: end;
}
.inline-actions form {
  display: inline-flex;
  gap: 0;
}
.inline-actions button {
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 123, 134, 0.28);
  background: rgba(255, 123, 134, 0.10);
  color: #ffdce0;
  font-size: 12px;
}
.inline-actions button.safe {
  border-color: rgba(98, 241, 177, 0.28);
  background: rgba(98, 241, 177, 0.12);
  color: #dbffef;
}
.health-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 9px;
}
.health-item,
.audit-row {
  min-width: 0;
  padding: 12px 13px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.admin-rail .health-grid {
  grid-template-columns: 1fr;
}
.health-head {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}
.health-item strong,
.audit-row strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.health-item span,
.audit-row span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.health-state {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text) !important;
  font-size: 11px !important;
  letter-spacing: 0.08em;
}
.health-detail {
  display: block;
  margin-top: 7px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.health-item.ok .health-state {
  background: rgba(98, 241, 177, 0.14);
  color: var(--ok) !important;
}
.health-item.warn .health-state {
  background: rgba(255, 207, 92, 0.14);
  color: var(--warn) !important;
}
.health-item.bad .health-state {
  background: rgba(255, 123, 134, 0.15);
  color: var(--fail) !important;
}
.health-item.ok {
  border-color: rgba(98, 241, 177, 0.24);
}
.health-item.warn {
  border-color: rgba(255, 207, 92, 0.30);
  background: rgba(255, 207, 92, 0.07);
}
.health-item.bad {
  border-color: rgba(255, 123, 134, 0.32);
  background: rgba(255, 123, 134, 0.08);
}
.audit-list {
  display: grid;
  gap: 9px;
  max-height: 360px;
  overflow: auto;
  padding-right: 6px;
}
.audit-row code {
  white-space: normal;
  word-break: break-word;
}
.admin-jobs-card .jobs {
  gap: 10px;
}
.admin-jobs-card .job {
  padding: 16px;
}
.admin-jobs-card .job p,
.admin-jobs-card .job code {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.admin-section-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.admin-section-head h2 {
  margin-bottom: 0;
}
.admin-section-count {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(214, 255, 57, 0.24);
  background: rgba(214, 255, 57, 0.10);
  color: var(--acid);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.admin-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}
.task-search-block {
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(110, 247, 255, 0.14);
  background: rgba(255, 255, 255, 0.025);
}
.admin-search-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.admin-ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-weight: 800;
}
.admin-search-results {
  margin-top: 18px;
}
.task-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}
.task-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 13px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 900;
}
.task-tab span {
  color: inherit;
  opacity: 0.76;
}
.task-tab.is-active {
  background: rgba(214, 255, 57, 0.13);
  color: var(--acid);
}
.task-panel {
  margin-top: 16px;
}
.task-panel[hidden] {
  display: none !important;
}
.today-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.today-summary-head h2 {
  margin: 0;
}
.admin-ghost-button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(110, 247, 255, 0.24);
  background: rgba(110, 247, 255, 0.08);
  color: var(--cyan);
  font-weight: 900;
  cursor: pointer;
}
.today-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.today-metric {
  min-width: 0;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}
.today-metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.today-metric strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}
.today-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.today-alert-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.today-alert-row {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 123, 134, 0.22);
  color: var(--fail);
  background: rgba(255, 123, 134, 0.08);
  font-size: 13px;
  line-height: 1.5;
}
.today-alert-row.muted {
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}
.admin-modal {
  width: min(820px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 32px));
  padding: 0;
  border: 1px solid rgba(110, 247, 255, 0.22);
  border-radius: 22px;
  background: transparent;
  color: var(--text);
}
.admin-modal::backdrop {
  background: rgba(1, 4, 10, 0.72);
  backdrop-filter: blur(10px);
}
.admin-modal-panel {
  position: relative;
  max-height: min(760px, calc(100vh - 32px));
  overflow: auto;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(110, 247, 255, 0.10), transparent 36%),
    rgba(9, 14, 24, 0.98);
}
.admin-modal .admin-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(8, 13, 23, 0.92) !important;
  color: var(--text) !important;
  font-family: Arial, "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.admin-modal-body .lead {
  padding-right: 48px;
}
.admin-modal-body .health-grid {
  margin-top: 18px;
}
.admin-empty {
  padding: 16px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
}
.admin-failed-card,
.admin-failed-panel {
  border-color: rgba(255, 123, 134, 0.24);
}
.failed-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 16px;
}
.failed-filter-pill {
  text-decoration: none;
}
.failed-filter-pill.is-active {
  outline: 1px solid rgba(245, 248, 255, 0.56);
}
.admin-failed-card .job,
.admin-failed-panel .job {
  border-color: rgba(255, 123, 134, 0.22);
  background:
    linear-gradient(90deg, rgba(255, 123, 134, 0.065), transparent 44%),
    rgba(255, 255, 255, 0.03);
}
@media (max-width: 900px) {
  .admin-dashboard,
  .manager-grid,
  .field-row,
  .pool-summary,
  .health-grid {
    grid-template-columns: 1fr;
  }
  .admin-rail {
    position: static;
  }
  .pool-list,
  .audit-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
  .pool-row {
    grid-template-columns: 1fr;
  }
  .inline-actions {
    justify-self: stretch;
  }
  .admin-section-head,
  .admin-search-form,
  .admin-search-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* 2026-05-12 dual authorization entry */
body.theme-cyber .shell {
  padding-bottom: 112px;
}

body.theme-cyber.auth-status-dock-visible .shell {
  padding-bottom: 204px;
}

.service-choice-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 34px 18px;
}

.service-choice-card {
  min-width: 0;
  min-height: 136px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 42%),
    rgba(255, 255, 255, 0.028);
  color: var(--text);
  text-align: left;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.service-choice-card:hover {
  transform: translateY(-2px);
  border-color: rgba(110, 247, 255, 0.32);
  background:
    linear-gradient(135deg, rgba(110, 247, 255, 0.10), transparent 46%),
    rgba(255, 255, 255, 0.04);
}

.service-choice-card.is-active {
  border-color: rgba(214, 255, 57, 0.58);
  background:
    linear-gradient(135deg, rgba(214, 255, 57, 0.16), transparent 34%),
    linear-gradient(315deg, rgba(110, 247, 255, 0.11), transparent 40%),
    rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 0 0 1px rgba(214, 255, 57, 0.12),
    0 18px 54px rgba(214, 255, 57, 0.10);
}

body[data-service-mode="online"] .service-choice-card.is-active {
  border-color: rgba(110, 247, 255, 0.58);
  background:
    linear-gradient(135deg, rgba(110, 247, 255, 0.16), transparent 34%),
    linear-gradient(315deg, rgba(125, 107, 255, 0.13), transparent 40%),
    rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 0 0 1px rgba(110, 247, 255, 0.12),
    0 18px 54px rgba(110, 247, 255, 0.10);
}

.service-choice-index {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(110, 247, 255, 0.24);
  color: var(--cyan);
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: rgba(110, 247, 255, 0.07);
}

.service-choice-card.is-active .service-choice-index {
  border-color: rgba(214, 255, 57, 0.38);
  color: var(--acid);
  background: rgba(214, 255, 57, 0.10);
}

.service-choice-copy {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.service-choice-copy strong {
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.15;
  letter-spacing: 0.03em;
}

.service-choice-copy span {
  color: #b9c5df;
  line-height: 1.55;
}

.service-choice-meta {
  align-self: start;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(214, 255, 57, 0.20);
  color: var(--acid);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  background: rgba(214, 255, 57, 0.08);
}

body[data-service-mode="online"] .service-choice-card.is-active .service-choice-meta {
  border-color: rgba(110, 247, 255, 0.24);
  color: var(--cyan);
  background: rgba(110, 247, 255, 0.08);
}

body[data-service-mode="drm"] .auth-command {
  border-color: rgba(214, 255, 57, 0.82);
  background:
    radial-gradient(circle at 4% 28%, rgba(214, 255, 57, 0.18), transparent 18%),
    linear-gradient(110deg, rgba(214, 255, 57, 0.055), transparent 38%),
    linear-gradient(180deg, rgba(10, 18, 31, 0.94), rgba(7, 11, 20, 0.94));
  box-shadow:
    0 0 0 1px rgba(214, 255, 57, 0.12) inset,
    0 0 42px rgba(214, 255, 57, 0.14);
}

body[data-service-mode="online"] .auth-command {
  border-color: rgba(110, 247, 255, 0.76);
  background:
    radial-gradient(circle at 4% 28%, rgba(110, 247, 255, 0.18), transparent 18%),
    linear-gradient(110deg, rgba(110, 247, 255, 0.065), transparent 35%),
    linear-gradient(315deg, rgba(125, 107, 255, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(10, 18, 31, 0.94), rgba(7, 11, 20, 0.94));
  box-shadow:
    0 0 0 1px rgba(110, 247, 255, 0.12) inset,
    0 0 44px rgba(110, 247, 255, 0.14),
    0 20px 74px rgba(125, 107, 255, 0.12);
}

body[data-service-mode] .auth-command {
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

body[data-service-mode="online"] .auth-command::after {
  background:
    linear-gradient(110deg, transparent 0 42%, rgba(125, 107, 255, 0.16) 48%, transparent 56% 100%),
    radial-gradient(circle at 8% 22%, rgba(110, 247, 255, 0.14), transparent 22%);
}

body[data-service-mode="online"] .auth-command-label {
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(110, 247, 255, 0.46);
}

body[data-service-mode="online"] .auth-command-label::before {
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(110, 247, 255, 0.82);
}

body[data-service-mode="online"] .auth-command-label::after {
  background: linear-gradient(180deg, rgba(110, 247, 255, 0.95), rgba(125, 107, 255, 0.18));
}

body[data-service-mode="online"] .auth-command-title-row span {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(110, 247, 255, 0.32);
}

body[data-service-mode="online"] .auth-command .field-note {
  color: #a8f8ff;
}

body[data-service-mode="drm"] .auth-command .cyber-input {
  border-color: rgba(214, 255, 57, 0.56);
  background:
    linear-gradient(90deg, rgba(214, 255, 57, 0.06), transparent 34%),
    rgba(5, 10, 19, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(214, 255, 57, 0.08),
    0 0 26px rgba(214, 255, 57, 0.10);
}

body[data-service-mode="online"] .auth-command .cyber-input {
  border-color: rgba(110, 247, 255, 0.56);
  background:
    linear-gradient(90deg, rgba(110, 247, 255, 0.07), transparent 34%),
    linear-gradient(315deg, rgba(125, 107, 255, 0.08), transparent 42%),
    rgba(5, 10, 19, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(110, 247, 255, 0.08),
    0 0 28px rgba(110, 247, 255, 0.12);
}

body[data-service-mode="online"] .auth-command .cyber-input:focus {
  border-color: var(--cyan);
  background:
    linear-gradient(90deg, rgba(110, 247, 255, 0.09), transparent 32%),
    linear-gradient(315deg, rgba(125, 107, 255, 0.10), transparent 42%),
    rgba(3, 8, 17, 0.88);
  box-shadow:
    inset 0 0 0 1px rgba(110, 247, 255, 0.18),
    0 0 0 4px rgba(110, 247, 255, 0.11),
    0 0 42px rgba(125, 107, 255, 0.16);
}

body[data-service-mode="online"] .auth-command .cyber-button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02)),
    linear-gradient(90deg, #6ef7ff 0%, #7d6bff 56%, #c5f8ff 100%);
  box-shadow:
    0 0 0 1px rgba(5, 7, 12, 0.22) inset,
    0 0 34px rgba(110, 247, 255, 0.24),
    0 18px 48px rgba(125, 107, 255, 0.18);
}

body[data-service-mode="online"] .auth-command .cyber-button:hover {
  box-shadow:
    0 0 0 1px rgba(5, 7, 12, 0.22) inset,
    0 0 46px rgba(110, 247, 255, 0.34),
    0 22px 58px rgba(125, 107, 255, 0.24);
}

.mission-strip {
  grid-template-columns: minmax(130px, 0.8fr) repeat(3, minmax(130px, 1fr)) minmax(260px, 2fr);
}

.failure-guidance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 123, 134, 0.34);
  background:
    linear-gradient(90deg, rgba(255, 123, 134, 0.105), transparent 52%),
    rgba(255, 255, 255, 0.035);
}

.failure-guidance strong {
  display: block;
  margin-bottom: 6px;
  color: #ffdce0;
  font-size: 16px;
}

.failure-guidance p {
  margin: 0;
  color: #f0cbd0;
  line-height: 1.65;
}

.support-action,
.retry-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.failure-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.failure-actions .support-action {
  min-width: 118px;
}

.support-action {
  gap: 9px;
  border: 1px solid rgba(214, 255, 57, 0.34);
  color: #f3ffd1;
  background: rgba(214, 255, 57, 0.11);
}

.support-action-fb {
  border-color: rgba(110, 247, 255, 0.36);
  color: #e9fbff;
  background:
    linear-gradient(135deg, rgba(110, 247, 255, 0.16), rgba(88, 125, 255, 0.09)),
    rgba(110, 247, 255, 0.06);
}

.support-action-dc {
  border-color: rgba(156, 135, 255, 0.42);
  color: #f0ecff;
  background:
    linear-gradient(135deg, rgba(156, 135, 255, 0.18), rgba(110, 247, 255, 0.08)),
    rgba(156, 135, 255, 0.06);
}

.support-action-mark {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  color: #07111f;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 0 18px rgba(110, 247, 255, 0.20);
}

.support-action-fb .support-action-mark {
  box-shadow: 0 0 18px rgba(110, 247, 255, 0.28);
}

.support-action-dc .support-action-mark {
  box-shadow: 0 0 18px rgba(156, 135, 255, 0.32);
}

.support-action-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.support-action span:last-child {
  min-width: 0;
}

.support-action small {
  display: block;
  margin-top: 2px;
  color: rgba(226, 234, 255, 0.66);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.retry-action {
  border: 1px solid rgba(110, 247, 255, 0.28);
  color: #dffcff;
  background: rgba(110, 247, 255, 0.10);
}

.customer-action-stack {
  position: fixed;
  right: 22px;
  bottom: 20px;
  z-index: 31;
  width: min(410px, calc(100vw - 44px));
  display: grid;
  gap: 12px;
  justify-items: end;
}

.status-reopen-dock {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid rgba(110, 247, 255, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(110, 247, 255, 0.16), transparent 45%),
    rgba(5, 10, 20, 0.92);
  color: var(--text);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.46), 0 0 32px rgba(110, 247, 255, 0.12);
  backdrop-filter: blur(18px);
  cursor: pointer;
  text-align: left;
  transform: translateY(0);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.status-reopen-dock[hidden] {
  display: none !important;
}

.status-reopen-dock:hover,
.status-reopen-dock:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(214, 255, 57, 0.48);
  background:
    linear-gradient(135deg, rgba(214, 255, 57, 0.13), rgba(110, 247, 255, 0.12) 52%, transparent),
    rgba(5, 10, 20, 0.95);
}

.status-reopen-orb {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 0 0 7px rgba(214, 255, 57, 0.10), 0 0 20px rgba(214, 255, 57, 0.54);
}

.status-reopen-copy {
  min-width: 0;
}

.status-reopen-copy strong,
.status-reopen-copy span {
  display: block;
}

.status-reopen-copy strong {
  margin-bottom: 3px;
  color: #f7ffd9;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status-reopen-copy span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-reopen-state {
  justify-self: end;
  padding: 7px 9px;
  border-radius: 999px;
  border: 1px solid rgba(214, 255, 57, 0.22);
  color: #efffa9;
  background: rgba(214, 255, 57, 0.10);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.status-reopen-dock[data-status="success"] .status-reopen-orb {
  background: var(--ok);
  box-shadow: 0 0 0 7px rgba(98, 241, 177, 0.10), 0 0 20px rgba(98, 241, 177, 0.46);
}

.status-reopen-dock[data-status="failed"] .status-reopen-orb {
  background: var(--fail);
  box-shadow: 0 0 0 7px rgba(255, 123, 134, 0.10), 0 0 20px rgba(255, 123, 134, 0.46);
}

.support-dock {
  width: auto;
  max-width: 100%;
  justify-self: end;
}

.support-dock-details {
  width: max-content;
  max-width: 100%;
}

.support-dock-details[open] {
  width: min(410px, calc(100vw - 44px));
}

.support-dock-details:not([open]) .support-dock-panel {
  display: none;
}

.support-dock-toggle {
  min-height: 54px;
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  justify-content: end;
  max-width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(214, 255, 57, 0.28);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(214, 255, 57, 0.15), transparent 44%),
    rgba(6, 10, 18, 0.92);
  color: #f4ffd8;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.36), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
  cursor: pointer;
  list-style: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.support-dock-toggle::-webkit-details-marker {
  display: none;
}

.support-dock-toggle::after {
  content: "+";
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(110, 247, 255, 0.22);
  color: var(--cyan);
  font-size: 18px;
  line-height: 1;
}

.support-dock-details[open] .support-dock-toggle::after {
  content: "x";
  font-size: 14px;
}

.support-dock-toggle:hover,
.support-dock-toggle:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(110, 247, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(110, 247, 255, 0.14), rgba(214, 255, 57, 0.12) 58%, transparent),
    rgba(6, 10, 18, 0.95);
  outline: none;
}

.support-dock-orb {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 0 0 6px rgba(214, 255, 57, 0.10), 0 0 18px rgba(214, 255, 57, 0.54);
}

.support-dock-toggle-copy {
  min-width: 0;
}

.support-dock-toggle-copy strong,
.support-dock-toggle-copy span {
  display: block;
}

.support-dock-toggle-copy strong {
  color: #f7ffd9;
  font-size: 14px;
  line-height: 1.15;
}

.support-dock-toggle-copy span {
  margin-top: 2px;
  color: rgba(226, 234, 255, 0.66);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.support-dock-panel {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid rgba(214, 255, 57, 0.24);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(214, 255, 57, 0.12), transparent 42%),
    rgba(6, 10, 18, 0.90);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
}

.support-dock-copy strong,
.support-dock-copy span {
  display: block;
}

.support-dock-copy strong {
  margin-bottom: 3px;
  color: #f4ffd8;
  font-size: 14px;
}

.support-dock-copy span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.support-channel-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.support-channel-list .support-action {
  min-width: 0;
  min-height: 52px;
  justify-content: flex-start;
  padding: 10px;
}

@media (max-width: 1050px) {
  .service-choice-panel,
  .mission-strip {
    grid-template-columns: 1fr;
  }
  .service-choice-card {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  body.theme-cyber .shell {
    padding-bottom: 146px;
  }
  body.theme-cyber.auth-status-dock-visible .shell {
    padding-bottom: 252px;
  }
  .gp-topbar {
    align-items: flex-start;
  }
  .service-choice-panel {
    margin: 0 16px 16px;
  }
  .service-choice-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 15px;
  }
  .service-choice-meta {
    grid-column: 2;
    justify-self: start;
  }
  .failure-guidance,
  .support-dock {
    grid-template-columns: 1fr;
  }
  .failure-actions {
    justify-content: stretch;
  }
  .support-action,
  .retry-action {
    width: 100%;
  }
  .customer-action-stack {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }
  .status-reopen-dock {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .status-reopen-state {
    grid-column: 2;
    justify-self: start;
  }
}
