:root{
  --bg: #050a10;
  --panel: rgba(10, 18, 26, 0.62);
  --panel2: rgba(8, 14, 22, 0.72);
  --stroke: rgba(120, 180, 210, 0.16);
  --stroke2: rgba(120, 180, 210, 0.22);
  --text: rgba(240, 245, 255, 0.92);
  --muted: rgba(240, 245, 255, 0.58);
  --muted2: rgba(240, 245, 255, 0.44);
  --cyan: rgba(70, 225, 255, 0.95);
  --cyanSoft: rgba(70, 225, 255, 0.65);
  --red: rgba(255, 92, 92, 0.9);
  --shadow: 0 20px 80px rgba(0,0,0,0.55);
  --radius: 28px;
  --radius2: 22px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "SF Pro Display", "SF Pro Text", Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.bg{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.bg__grid{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(90,160,200,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(90,160,200,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.18;
  transform: translateZ(0);
}
.bg__glow{
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(closest-side at 20% 12%, rgba(70,225,255,0.22), transparent 60%),
    radial-gradient(closest-side at 70% 22%, rgba(90,235,180,0.12), transparent 62%),
    radial-gradient(closest-side at 60% 78%, rgba(70,225,255,0.10), transparent 65%);
  filter: blur(26px);
  opacity: 0.55;
}

.top{
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 24px 10px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand__dot{
  width: 16px; height: 16px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.95), rgba(70,225,255,0.70) 42%, rgba(70,225,255,0.12) 70%);
  box-shadow: 0 0 20px rgba(70,225,255,0.32);
}
.brand__name{
  font-size: 18px;
  letter-spacing: 0.22em;
  font-weight: 650;
  opacity: 0.92;
}
.brand__tag{
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--muted2);
}

.wrap{
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px 42px;
}

.layout{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.panel{
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.panel:before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side at 30% 20%, rgba(70,225,255,0.08), transparent 60%);
  pointer-events: none;
}
.panel--left{ padding: 34px 34px 28px; }
.panel--right{ padding: 28px 28px 18px; }

.kicker{
  display: flex;
  align-items: baseline;
  gap: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.kicker__label{
  color: rgba(240,245,255,0.55);
  font-size: 12px;
}
.kicker__state{
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 0 14px rgba(255,92,92,0.25);
  position: relative;
}
.kicker__state:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-9px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,92,92,0.0), rgba(255,92,92,0.7), rgba(255,92,92,0.0));
  opacity: 0.9;
}

.lede{
  margin: 0 0 26px;
  color: rgba(240,245,255,0.72);
  font-size: 18px;
  line-height: 1.55;
}

.form{
  margin-top: 6px;
}
.field{
  display: block;
  margin-bottom: 16px;
}
.field__label{
  display: block;
  color: rgba(240,245,255,0.58);
  font-size: 14px;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.field__input{
  width: 100%;
  padding: 16px 16px;
  border-radius: 16px;
  border: 1px solid rgba(120,180,210,0.18);
  background: rgba(5,10,16,0.55);
  color: rgba(240,245,255,0.88);
  outline: none;
  font-size: 16px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field__input:focus{
  border-color: rgba(70,225,255,0.35);
  box-shadow: 0 0 0 3px rgba(70,225,255,0.12);
}
.field__input::placeholder{
  color: rgba(240,245,255,0.30);
}

.turnstileSlot{
  margin: 14px 0 16px;
  min-height: 0;
}

.btn{
  width: 100%;
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(120,180,210,0.18);
  background: rgba(5,10,16,0.62);
  color: rgba(240,245,255,0.86);
  letter-spacing: 0.20em;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .06s ease, border-color .16s ease, box-shadow .16s ease;
}
.btn:hover{
  border-color: rgba(70,225,255,0.26);
  box-shadow: 0 0 20px rgba(70,225,255,0.10);
}
.btn:active{ transform: translateY(1px); }
.btn:disabled{
  opacity: 0.55;
  cursor: not-allowed;
}

.msg{
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 0.02em;
  min-height: 18px;
}
.msg.ok{
  color: rgba(90,235,180,0.95);
  text-shadow: 0 0 10px rgba(90,235,180,0.22);
}
.msg.err{
  color: rgba(255,150,90,0.95);
  text-shadow: 0 0 10px rgba(255,150,90,0.20);
}

.fineprint{
  margin-top: 22px;
  color: rgba(240,245,255,0.40);
  font-size: 13px;
  line-height: 1.55;
}

/* =========================
   SYSTEM READOUT (st style)
   ========================= */

.panel__head{
  margin-bottom: 12px;
}

/* Smaller title + underline bar like "st" */
.readoutTitle{
  margin: 0;
  display: inline-block;
  position: relative;
  padding-bottom: 10px;

  color: rgba(70,225,255,0.88);
  letter-spacing: 0.16em;
  font-size: 18px;
  font-weight: 760;

  text-shadow:
    0 0 10px rgba(70,225,255,0.10);
}

.readoutTitle::after{
  content:"";
  position:absolute;
  left: 0;
  right: -120px; /* extends line a bit past the text like HUD */
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(70,225,255,0.55),
    rgba(70,225,255,0.18),
    rgba(70,225,255,0.0)
  );
  opacity: 0.95;
}

/* More "inset console" feel (less glowy, more structured) */
.readout{
  border-radius: var(--radius2);
  border: 1px solid rgba(120,180,210,0.14);
  overflow: hidden;
  background: rgba(5,10,16,0.48);

  box-shadow:
    inset 0 0 0 1px rgba(70,225,255,0.04),
    inset 0 24px 60px rgba(0,0,0,0.35);
}

.row{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;

  padding: 16px 18px;
  border-top: 1px solid rgba(120,180,210,0.10);
}
.row:first-child{ border-top: none; }

.key{
  color: rgba(240,245,255,0.40);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: 12px;
}

.val{
  color: rgba(70,225,255,0.78);
  font-size: 16px;
  text-align: right;
  text-shadow: none;
}

.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: 0.02em;
}

.badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  padding: 4px 10px;
  border-radius: 999px;

  border: 1px solid rgba(120,180,210,0.18);
  color: rgba(240,245,255,0.66);
  font-size: 12px;
  letter-spacing: 0.14em;
  background: rgba(5,10,16,0.46);
}

.spacer{
  height: 10px;
  background: rgba(5,10,16,0.20);
  border-top: 1px solid rgba(120,180,210,0.08);
  border-bottom: 1px solid rgba(120,180,210,0.08);
}

.note{
  padding: 14px 18px 16px;
  color: rgba(240,245,255,0.42);
  font-size: 13px;
  line-height: 1.55;
}

.footerLine{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 0 6px;
}

.muted{
  color: rgba(240,245,255,0.42);
  font-size: 14px;
}

.ghost{
  border-radius: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(120,180,210,0.16);
  background: rgba(5,10,16,0.52);
  color: rgba(240,245,255,0.68);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
}
.ghost:hover{
  border-color: rgba(70,225,255,0.22);
  box-shadow: 0 0 16px rgba(70,225,255,0.08);
}

/* ===== Micro polish: hierarchy tuning ===== */
#networkProfile{
  font-weight: 650;
  letter-spacing: 0.03em;
}
#privacySignals{
  color: rgba(70,225,255,0.70);
  font-size: 15px;
}
#visitorToken{
  color: rgba(70,225,255,0.82);
}

/* ===== Verification Status Styling (class-based, cross-browser safe) ===== */
#verificationStatus{
  font-size: 15px;
  letter-spacing: 0.04em;
  color: rgba(240,245,255,0.65);
}
#verificationStatus.is-passed{
  color: rgba(90, 235, 180, 0.95);
  text-shadow:
    0 0 12px rgba(90, 235, 180, 0.35),
    0 0 22px rgba(90, 235, 180, 0.18);
}
#verificationStatus.is-failed{
  color: rgba(255, 150, 90, 0.95);
  text-shadow:
    0 0 10px rgba(255, 150, 90, 0.35),
    0 0 20px rgba(255, 150, 90, 0.18);
}
#verificationStatus.is-neutral{
  color: rgba(240,245,255,0.55);
  text-shadow: none;
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .layout{ grid-template-columns: 1fr; }
  .panel--left, .panel--right{ padding: 26px 22px 20px; }
  .lede{ font-size: 17px; }

  .row{ grid-template-columns: 1fr; }
  .val{ text-align: left; }

  .readoutTitle::after{ right: -80px; }
}
