/* Sky Fighter / event calculator shared layout tokens */
.zr-sf-head__row {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.zr-sf-head__row img {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
}

.zr-sf {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.zr-sf-sec[hidden] {
  display: none !important;
}

.zr-sf-panel {
  min-height: 8rem;
}

.zr-sf-noscript {
  padding: 1rem;
  border: 1px solid var(--zr-border, #333);
  border-radius: 12px;
}

.zr-ev-bar {
  position: sticky;
  bottom: 0.5rem;
  z-index: 2;
}

.zr-ev.zr-sf {
  padding-bottom: 4rem;
}

.zr-sf-card {
  border: 1px solid var(--zr-border, #333);
  border-radius: 14px;
  background: var(--zr-surface, #1b1b1b);
  padding: 0.9rem;
  min-width: 0;
}
.zr-sf-card__title { margin: 0 0 0.6rem; font-size: 1rem; }
.zr-sf-grid3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: 0.7rem;
}
.zr-sf-step__label { display: block; font-size: 0.78rem; margin-bottom: 0.25rem; }
.zr-sf-step__row { display: flex; gap: 0.35rem; align-items: center; }
.zr-sf-step__btn, .zr-sf-step__in {
  border: 1px solid var(--zr-border, #333);
  background: transparent;
  color: inherit;
  border-radius: 8px;
  min-height: 2.2rem;
}
.zr-sf-step__btn { width: 2.2rem; cursor: pointer; font: inherit; }
.zr-sf-step__in { width: 4.5rem; text-align: center; font: inherit; }
.zr-sf-costs, .zr-sf-list { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.zr-sf-cost, .zr-sf-cmp__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: center;
  padding: 0.28rem 0;
  min-width: 0;
}
.zr-sf-val { color: var(--zr-accent, #d4a017); }
.zr-sf-note, .zr-sf-small { color: var(--zr-muted, #aaa); font-size: 0.82rem; }
@media (max-width: 640px) {
  .zr-ev-tools { display: flex; flex-wrap: wrap; gap: 0.2rem 0.4rem; }
  .zr-sf-cost, .zr-sf-cmp__row { grid-template-columns: minmax(0, 1fr) auto; }
}
