#reflex-stage {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  max-width: 620px; width: 100%; margin: 0 auto;
  background: radial-gradient(120% 80% at 50% -10%, #15131c 0%, var(--bg) 60%);
  font-family: var(--fn); user-select: none; -webkit-user-select: none; overflow: hidden;
}

.rfx-hud {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--bd);
  background: linear-gradient(180deg, rgba(0,0,0,.25), transparent);
}
.rfx-lives { display: flex; gap: 3px; }
.rfx-heart { color: var(--ac); font-size: 16px; text-shadow: 0 0 6px var(--glow0); transition: color .15s, opacity .15s; }
.rfx-heart.lost { color: var(--s3); text-shadow: none; opacity: .4; }
.rfx-prompt {
  font-family: var(--ff); font-weight: 700; font-size: 13px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--am); text-align: center; flex: 1 1 auto;
}
.rfx-score { font-family: var(--fm); font-weight: 700; font-size: 20px; color: var(--tx); min-width: 44px; text-align: right; }

.rfx-field { position: relative; flex: 1 1 auto; overflow: hidden; }

.rfx-item {
  position: absolute; width: 146px; max-width: 46%;
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 9px 11px; text-align: left; cursor: pointer;
  border: 1px solid var(--bd); border-radius: 12px;
  background: linear-gradient(180deg, var(--s1), var(--s2));
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  font-family: var(--fn); color: var(--tx);
  transition: top linear, transform .06s ease, filter .1s ease;
}
.rfx-item:active { transform: scale(.96); }
.rfx-ic { font-size: 18px; line-height: 1; }
.rfx-label { font-size: 12.5px; line-height: 1.28; color: var(--tx); }
.rfx-mtag {
  font-family: var(--fm); font-size: 9px; letter-spacing: .5px; text-transform: uppercase;
  color: var(--su); background: var(--s3); padding: 1px 7px; border-radius: 999px;
}

.rfx-target { border-left: 2px solid rgba(255,255,255,.06); }
.rfx-trap   { border-left: 2px solid rgba(255,255,255,.06); }

.rfx-good-flash { filter: brightness(1.4); border-color: var(--gn) !important; box-shadow: 0 0 18px rgba(52,211,153,.6) !important; }
.rfx-bad-flash  { filter: brightness(1.3) saturate(1.4); border-color: var(--ac) !important; box-shadow: 0 0 18px rgba(192,0,26,.6) !important; animation: rfxShake .18s; }
@keyframes rfxShake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-4px)} 75%{transform:translateX(4px)} }

.rfx-float {
  position: absolute; z-index: 5; pointer-events: none;
  font-family: var(--ff); font-weight: 700; font-size: 13px; white-space: nowrap;
  padding: 3px 9px; border-radius: 999px;
  animation: rfxFloat .9s ease forwards;
}
.rfx-float-good { color: #062; background: rgba(52,211,153,.95); }
.rfx-float-bad  { color: #fff; background: rgba(192,0,26,.95); }
@keyframes rfxFloat { 0%{opacity:0; transform:translateY(6px)} 18%{opacity:1} 100%{opacity:0; transform:translateY(-26px)} }

@media (max-width: 480px) {
  .rfx-item { width: 130px; }
  .rfx-label { font-size: 12px; }
}
