/* ALVERIX gate PoW sayfasi — CAPTCHA sayfasi tokenlari (Pencere13).
   CSP: style-src 'self'; harici font yok. */
:root {
  --ink: #14233b;
  --muted: #5d6c82;
  --blue: #2458d3;
  --blue-dark: #1946b4;
  --green: #12a070;
  --line: #e3e9f2;
  --panel: #fff;
  --bg: #f3f6fb;
  --soft-blue: #edf3ff;
  --amber: #a65a13;
  --amber-bg: #fff7ed;
  --amber-line: #f2dfc9;
  --shadow: 0 24px 70px rgba(21, 42, 78, .09), 0 2px 8px rgba(21, 42, 78, .035);
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  color: var(--ink);
  background: radial-gradient(ellipse at 50% 0%, rgba(215, 228, 255, .48), transparent 48%), var(--bg);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.shell { width: min(100%, 510px); margin-inline: auto; }
.card {
  width: 100%;
  background: var(--panel);
  border: 1px solid #e1e7f0;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 34px 38px 27px;
  overflow: hidden;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 2px 0 22px;
  border-bottom: 1px solid var(--line);
}
.brand-mark { width: 52px; height: 52px; flex: none; }
.brand-mark svg, .protected-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; gap: 7px; width: 168px; }
.wordmark { width: 100%; height: auto; display: block; }
.brand-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3a4656;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .26em;
  white-space: nowrap;
}
.brand-sub i { flex: 1; height: 2px; border-radius: 1px; background: var(--green); }
.content { padding: 24px 0 22px; text-align: center; }
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3973ee;
  box-shadow: 0 0 0 3px rgba(57, 115, 238, .12);
}
h1 {
  margin: 19px 0 12px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -.035em;
  font-weight: 760;
}
h1:focus { outline: none; }
h1:focus-visible { outline: 3px solid #9db7f7; outline-offset: 6px; border-radius: 6px; }
.lead {
  max-width: 390px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.progress-panel {
  margin-top: 26px;
  padding: 17px;
  text-align: left;
  border: 1px solid #e0e8f6;
  border-radius: 14px;
  background: #f9fbff;
}
.track { height: 7px; background: #e5eaf3; border-radius: 99px; overflow: hidden; }
.fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2859d7, #4c80fa);
  transition: width .18s ease;
  animation: breathe 1.8s ease-in-out infinite;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
}
.progress-title { font-size: 13px; font-weight: 700; }
.percent { color: #4c5f7f; font-size: 12px; font-variant-numeric: tabular-nums; }
.note { margin-top: 12px; color: #5a6880; font-size: 12px; line-height: 1.5; }
.error-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 15px;
  color: var(--amber);
  background: var(--amber-bg);
  border: 1px solid var(--amber-line);
}
.error-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wait-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 25px;
  padding: 15px 16px;
  border: 1px solid var(--amber-line);
  border-radius: 13px;
  background: #fffaf4;
  text-align: left;
}
.wait-label { color: #9a571b; font-size: 12px; }
.countdown {
  color: var(--amber);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.help {
  margin: 12px 0 0;
  color: #5f6d80;
  text-align: left;
  font-size: 11px;
  line-height: 1.6;
}
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 52px;
  margin-top: 22px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.primary-btn:hover { background: var(--blue-dark); }
.primary-btn { min-height: 48px; }
.primary-btn:focus-visible { outline: 3px solid #9db7f7; outline-offset: 3px; }
.primary-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer { border-top: 1px solid var(--line); padding-top: 20px; text-align: center; }
.protected {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #53637c;
  font-size: 11px;
}
.protected-mark { width: 18px; height: 18px; flex: none; display: inline-block; }
.protected strong { color: #263957; font-weight: 700; }
.reference {
  margin-top: 10px;
  color: #5b6879;
  font: 10px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
}
.ref-code { color: #55637a; }
.ns { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 24px; background: var(--bg); }
.ns-card {
  width: 100%;
  max-width: 430px;
  padding: 32px 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}
.ns-card .brand-mark { margin: 0 auto 14px; }
.ns-card h2 { margin: 0 0 10px; font-size: 23px; line-height: 1.3; }
.ns-card p { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.ns-card .note { margin: 14px 0 0; }
.ns-card a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 11px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.ns-card a:focus-visible { outline: 3px solid #9db7f7; outline-offset: 3px; }
[hidden] { display: none !important; }
@keyframes breathe {
  0%, 100% { opacity: .82; }
  50% { opacity: 1; }
}
@media (max-width: 520px) {
  body { padding: 18px 13px; }
  .card { padding: 22px 22px 20px; border-radius: 17px; }
  .brand { padding-bottom: 18px; }
  .content { padding: 22px 0 20px; }
  h1 { font-size: 25px; }
  .lead { font-size: 13px; }
  .progress-panel { margin-top: 22px; padding: 15px; }
}
@media (max-width: 360px) {
  .card { padding: 18px 16px 16px; }
  h1 { font-size: 22px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-text { width: 132px; }
  .wait-panel { flex-direction: column; align-items: flex-start; gap: 6px; }
  .countdown { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* P13 GOREV 2/5: ekran okuyucu icin gizli ama okunabilir metin. */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
