/* Noor Runner — page additions (Oct 2026). Chrome comes from salam-arcade.css. */

.nr-field { position: relative; }
#nrCanvasWrap {
  position: relative;
  border-radius: 14px; overflow: hidden; line-height: 0;
  background: #ffd9a0; touch-action: none;
  box-shadow: inset 0 0 0 2px rgba(180, 83, 9, .18), 0 10px 30px rgba(146, 64, 14, .18);
}
#nrCanvasWrap::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 105% 88% at 50% 42%, transparent 58%, rgba(69, 26, 3, .26) 100%);
}
#nrCanvasWrap canvas { width: 100% !important; height: auto !important; display: block; }
#nrCanvasWrap canvas:focus-visible { outline: 3px solid #6d28d9; outline-offset: -3px; }

@keyframes nr-pop {
  from { transform: translateX(-50%) scale(.82); opacity: .3; }
  to { transform: translateX(-50%) scale(1); opacity: 1; }
}
.nr-question {
  animation: nr-pop .28s ease-out;
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: max-content; max-width: 92%;
  background: rgba(255, 251, 235, .96);
  border: 2.5px solid #f59e0b; border-radius: 999px;
  padding: 8px 20px;
  font-weight: 900; color: #173653; font-size: 1.06rem; text-align: center;
  box-shadow: 0 6px 18px rgba(146, 64, 14, .25);
  line-height: 1.25;
}
.nr-question .nr-q-label { color: #b45309; font-size: .78rem; letter-spacing: .08em; display: block; }

.nr-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nr-chip {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(23, 53, 83, .10);
  border: 2px solid rgba(23, 53, 83, .14);
  border-radius: 999px; padding: 3px 12px;
  font-weight: 800; color: #173653; font-size: .95rem; white-space: nowrap;
}
.nr-chip.streak { background: linear-gradient(135deg, #f59e0b, #f97316); border-color: #b45309; color: #fff; }

.nr-controls { display: flex; gap: 10px; margin-top: 10px; }
.nr-controls button {
  font: inherit; font-weight: 900; color: #173653;
  background: rgba(255, 255, 255, .9);
  border: 2.5px solid rgba(23, 53, 83, .22);
  border-radius: 14px; padding: 12px 10px; cursor: pointer;
  touch-action: none; user-select: none; -webkit-user-select: none;
  flex: 1;
}
.nr-controls button:active { background: linear-gradient(135deg, #7c3aed, #6d28d9); border-color: #4c1d95; color: #fff; }
#nrJump { flex: 1.3; }

@media (max-width: 560px) {
  .nr-chip { font-size: .86rem; padding: 2px 9px; }
  .nr-question { font-size: .95rem; padding: 7px 14px; }
  .nr-controls button { padding: 13px 6px; }
}
