/* Reflex Chamber slot-flow — F-008. Scoped via .rs. HV-tokens only, ingen JS.
   Fog-tone: værkstedsbordet, ikke en færdig leverance. */

.rs {
  display: flex;
  flex-direction: column;
  height: 240px;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}

.rs__frame {
  flex: 1;
  background: var(--hv-blue-night, #1f3447);
  border: 1px solid var(--hv-blue-fog, #3e607a);
  padding: 14px 16px;
  font-family: var(--hv-mono, 'JetBrains Mono', monospace);
  color: var(--hv-paper, #f2f3ef);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.rs__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--hv-blue-fog, #3e607a);
}

.rs__title { font-size: 0.72rem; }

.rs__sub {
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.rs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.rs__slot {
  display: grid;
  grid-template-columns: 16px 74px 1fr;
  align-items: baseline;
  gap: 8px;
  padding: 2px 0;
  font-size: 0.62rem;
  opacity: 0.68;
  min-width: 0;
}

.rs__slot--live {
  opacity: 1;
}

.rs__num {
  /* Ikke-live slots: dæmpet papir, ikke accent — accenten er reserveret til
     det ene slot der faktisk kører, så øjet lander rigtigt. */
  color: rgba(242, 243, 239, 0.5);
  font-feature-settings: "tnum";
}

.rs__slot--live .rs__num {
  color: #fff;
  background: var(--hv-accent, #8a1d1d);
  border-radius: 2px;
  text-align: center;
  line-height: 1.35;
}

.rs__name { letter-spacing: 0.02em; }

.rs__q {
  color: rgba(242, 243, 239, 0.6);
  font-style: italic;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.rs__footer {
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px solid rgba(62, 96, 122, 0.5);
  font-size: 0.56rem;
  line-height: 1.45;
  opacity: 0.7;
  font-style: italic;
}

@media (max-width: 600px) {
  .rs__frame { padding: 12px; }
  .rs__slot { grid-template-columns: 16px 1fr; }
  .rs__q { display: none; }
}
