/* ---------- Minimal neo‑brutalist style ---------- */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
               Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: #0a0a0a;
  background:
    linear-gradient(180deg, #f7f7f7 0%, #f0f0f0 100%);
  display: grid;
  place-items: center;
}

.bridge-frame {
  width: 100%;
  max-width: 560px;
  padding: 18px;
}

.bridge-panel {
  background: #ffffff;
  border: 3px solid #0a0a0a;
  border-radius: 22px;
  padding: 26px 22px;
  box-shadow:
    6px 6px 0 0 #0a0a0a,
    0 10px 24px rgba(0,0,0,0.08);
  text-align: center;
}

.badge {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: #e8ffe6;
  color: #0a0a0a;
  border: 2px solid #0a0a0a;
  display: grid;
  place-items: center;
}

h1 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .2px;
  margin: 4px 0 14px;
}

/* Progress */
.progress-wrap {
  height: 10px;
  border: 2px solid #0a0a0a;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  margin: 0 auto 12px;
  max-width: 380px;
}
.progress-bar {
  height: 100%;
  width: 28%;
  background: repeating-linear-gradient(45deg, #16a34a 0 10px, #22c55e 10px 20px);
  animation: slide 1.2s linear infinite;
}

@keyframes slide {
  from { transform: translateX(-40%); }
  to   { transform: translateX(120%); }
}

.lead {
  font-size: 15.5px;
  margin: 6px 0 6px;
  color: #111827;
}

.diag {
  min-height: 1.2em;
  font-size: 13.5px;
  color: #7f1d1d;
}

.noscript {
  margin-top: 10px;
  font-size: 13px;
  color: #111827;
}

/* Responsive */
@media (max-width: 480px) {
  .bridge-panel { padding: 20px 16px; border-radius: 18px; }
  h1 { font-size: 19px; }
  .badge { width: 50px; height: 50px; border-radius: 14px; }
  .lead { font-size: 14px; }
  .diag { font-size: 12.5px; }
}
