/* Natija Count · DS-090 · .nj- prefixed */
.nj { font: 400 14px/1.6 ui-sans-serif, system-ui, sans-serif; max-width: 360px; }
.nj-card {
  position: relative; background: #1E2330; border: 1px solid #3A4152;
  border-radius: 18px; padding: 26px 26px 30px; text-align: center;
}
.nj-tag { color: #8B93A7; font: 700 10px/1 ui-monospace, monospace;
  letter-spacing: .2em; }
.nj-name { color: #F5F1E8; font: 700 20px/1.3 inherit; margin-top: 12px; }
.nj-sub { color: #6B7386; font-size: 12.5px; margin-top: 4px; }
.nj-score { margin-top: 18px; }
.nj-score b { color: #4ADE80; font: 800 52px/1 ui-monospace, monospace; }
.nj-score span { color: #8B93A7; font: 700 22px/1 inherit; margin-left: 2px; }
.nj-bar { height: 10px; border-radius: 99px; background: #12151F;
  border: 1px solid #3A4152; overflow: hidden; margin: 14px 10px 0; }
.nj-fill { height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, #14532D, #4ADE80); }
.nj-badge {
  position: absolute; top: 18px; right: 16px;
  border: 3px double currentColor; border-radius: 8px; padding: 5px 10px;
  font: 800 13px/1 Georgia, serif; letter-spacing: .12em;
  transform: rotate(-10deg) scale(2); opacity: 0;
}
.nj-pass { color: #4ADE80; }
.nj-fail { color: #F87171; }
.nj-done .nj-badge {
  opacity: .9; transform: rotate(-10deg) scale(1);
  transition: transform .22s cubic-bezier(.3, 1.5, .5, 1), opacity .15s;
}
@media (prefers-reduced-motion: reduce) {
  .nj-done .nj-badge { transition: none; }
}

/* phone view: demo stage is designed ~900px wide — zoom the page down on small screens */
@media (max-width: 430px) { body { zoom: .40; } }
@media (min-width: 431px) and (max-width: 560px) { body { zoom: .52; } }
@media (min-width: 561px) and (max-width: 720px) { body { zoom: .65; } }
@media (min-width: 721px) and (max-width: 860px) { body { zoom: .78; } }
