.sfft-bm {
  --ink: #f3e6cf;
  --bg: #140e0a;
  --panel: #231810;
  --gold: #e0b15a;
  --line: #5a4330;
  --muted: #b7a48c;
  box-sizing: border-box;
  max-width: 68rem;
  margin: 1rem auto;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  font-family: Palatino, "Palatino Linotype", Georgia, serif;
  line-height: 1.45;
}
.sfft-bm *,
.sfft-bm *::before,
.sfft-bm *::after { box-sizing: border-box; }
.sfft-panel, .sfft-play, .sfft-intro { padding: 1rem; }
.sfft-intro {
  position: relative;
  display: flex;
  min-height: 70vh;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  gap: 0.4rem;
}
.sfft-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72) 70%);
  z-index: 1;
}
.sfft-intro .sfft-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
}
.sfft-intro .sfft-kicker,
.sfft-intro .sfft-title,
.sfft-intro .sfft-copy,
.sfft-intro .sfft-actions {
  position: relative;
  max-width: 36rem;
  text-shadow: 0 2px 12px #000;
  z-index: 2;
}
.sfft-play {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16rem;
  gap: 1rem;
}
.sfft-kicker {
  margin: 0;
  color: var(--gold);
  font-variant: small-caps;
  letter-spacing: 0.06em;
}
.sfft-title { margin: 0.2rem 0 0.6rem; font-size: 2rem; line-height: 1; color: var(--gold); }
.sfft-copy, .sfft-note, .sfft-stat, .sfft-line { margin: 0.35rem 0; }
.sfft-note, .sfft-system { color: var(--muted); }
.sfft-title-line, .sfft-line.sfft-title { color: var(--gold); font-size: 1.35rem; }
.sfft-player { color: var(--gold); }
.sfft-langs, .sfft-actions, .sfft-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.sfft-langs { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); }
.sfft-lang, .sfft-cmd, .sfft-send, .sfft-mini {
  font: inherit;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  min-height: 2.75rem;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  text-align: start;
}
.sfft-lang.is-on, .sfft-send { background: var(--gold); color: #1a120c; border-color: var(--gold); }
.sfft-art {
  width: 100%;
  max-width: 28rem;
  height: auto;
  background: #07080a;
  border: 1px solid var(--line);
}
.sfft-photo { image-rendering: auto; object-fit: cover; max-height: 22rem; }
.sfft-log {
  max-height: 28rem;
  overflow: auto;
  padding-right: 0.3rem;
}
.sfft-form { display: flex; gap: 0.4rem; margin-top: 0.6rem; }
.sfft-input {
  flex: 1;
  min-width: 0;
  min-height: 2.75rem;
  font: inherit;
  color: var(--ink);
  background: #0c0907;
  border: 1px solid var(--line);
  padding: 0.4rem 0.6rem;
}
.sfft-side { border-top: 1px solid var(--line); padding-top: 0.6rem; }
.sfft-item { display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: center; margin: 0.35rem 0; }
.sfft-mini { min-height: 2.25rem; }
@media (max-width: 760px) {
  .sfft-play { grid-template-columns: 1fr; }
  .sfft-log { max-height: 22rem; }
}
