.stf-wrap {
  --stf-bg: #ffffff;
  --stf-ink: #16181d;
  --stf-muted: #6b7280;
  --stf-line: #e6e8ec;
  --stf-accent: #d4462b;
  font-family: inherit;
  color: var(--stf-ink);
  display: grid;
  gap: .75rem;
}

.stf-empty {
  padding: 1.25rem;
  border: 1px dashed var(--stf-line);
  border-radius: 14px;
  color: var(--stf-muted);
  text-align: center;
  margin: 0;
}

.stf-card {
  background: var(--stf-bg);
  border: 1px solid var(--stf-line);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
  overflow: hidden;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.stf-card[open] { border-color: #d7dae0; box-shadow: 0 8px 24px rgba(16, 24, 40, .08); }
.stf-card > summary::-webkit-details-marker { display: none; }

.stf-card-head {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1rem;
}
.stf-card-head:hover { background: #fafbfc; }

.stf-identity { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.stf-pos {
  min-width: 1.75rem; height: 1.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--stf-accent); color: #fff;
  font-size: .8rem; font-weight: 700;
}
.stf-logo {
  width: 2.25rem; height: 2.25rem; border-radius: 8px;
  object-fit: contain; background: #f3f4f6; flex: none;
}
.stf-logo-fallback {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--stf-muted); text-transform: uppercase;
}
.stf-team { font-weight: 700; letter-spacing: -.01em; }

.stf-meta { display: flex; align-items: center; gap: .5rem; }
.stf-chip {
  background: #f3f4f6; border-radius: 999px; padding: .2rem .6rem;
  font-size: .8rem; color: #374151; white-space: nowrap;
}
.stf-total { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.05rem; }
.stf-total small { font-weight: 500; color: var(--stf-muted); font-size: .75rem; }

.stf-arrow {
  width: .55rem; height: .55rem; margin-left: .25rem;
  border-right: 2px solid var(--stf-muted); border-bottom: 2px solid var(--stf-muted);
  transform: rotate(45deg); transition: transform .18s ease;
}
.stf-card[open] .stf-arrow { transform: rotate(-135deg); }

.stf-card-body { padding: .25rem 1rem 1rem; border-top: 1px solid var(--stf-line); }

.stf-players { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .4rem; }
.stf-players li {
  padding: .5rem .7rem; background: #f8f9fa; border-radius: 8px; font-size: .95rem;
}

.stf-table { width: 100%; border-collapse: collapse; margin-top: .75rem; font-size: .95rem; }
.stf-table th, .stf-table td { padding: .55rem .6rem; border-bottom: 1px solid var(--stf-line); text-align: left; }
.stf-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--stf-muted); }
.stf-table tr:last-child td { border-bottom: none; }
.stf-num { text-align: right; font-variant-numeric: tabular-nums; }
.stf-reserve td { color: var(--stf-muted); }

.stf-badge {
  background: #eef1f4; border-radius: 999px; padding: .1rem .45rem;
  font-size: .7rem; color: #4b5563; text-transform: uppercase; letter-spacing: .04em;
}

@media (max-width: 600px) {
  .stf-card-head { align-items: flex-start; }
  .stf-table th, .stf-table td { padding: .45rem .35rem; }
}
