.sfft-fare {
  --ink: #f6f1e4;
  --bg: #071510;
  --panel: #10241c;
  --gold: #e2c16b;
  --line: #1f6b4a;
  --muted: #c5d5c8;
  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-fare *,
.sfft-fare *::before,
.sfft-fare *::after { box-sizing: border-box; }
.sfft-titlecard { position: relative; background: #071510; }
.sfft-painting { display: block; width: 100%; height: auto; }
.sfft-hits {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 0.8rem;
}
.sfft-face {
  font: inherit;
  min-height: 2.75rem;
  padding: 0.35rem 0.9rem;
  color: var(--ink);
  background: rgba(7, 21, 16, 0.82);
  border: 1px solid var(--gold);
  cursor: pointer;
  font-size: 1.35rem;
}
.sfft-face:focus-visible,
.sfft-lang:focus-visible,
.sfft-cmd:focus-visible,
.sfft-send:focus-visible,
.sfft-mini:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sfft-resume {
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  font: inherit;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--gold);
  padding: 0.25rem 0.8rem;
  cursor: pointer;
}
.sfft-veil {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
}
.sfft-veil-box {
  width: min(100%, 42rem);
  max-height: 100%;
  overflow: auto;
  padding: 1rem;
  background: rgba(7, 21, 16, 0.94);
  border: 1px solid var(--gold);
}
.sfft-veil-head, .sfft-actions, .sfft-slots, .sfft-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: space-between;
}
.sfft-langs { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); justify-content: stretch; }
.sfft-center { text-align: center; }
.sfft-play { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; gap: 1rem; padding: 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: 1.7rem; line-height: 1.1; color: var(--gold); }
.sfft-copy, .sfft-note, .sfft-stat, .sfft-line, .sfft-gunas { margin: 0.35rem 0; }
.sfft-gunas { color: var(--gold); }
.sfft-note, .sfft-system { color: var(--muted); }
.sfft-line.sfft-title { color: var(--gold); font-size: 1.25rem; }
.sfft-player { color: var(--gold); }
.sfft-lang, .sfft-cmd, .sfft-send, .sfft-mini {
  font: inherit;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  min-height: 2.6rem;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  text-align: start;
}
.sfft-lang.is-on, .sfft-send { background: var(--gold); color: #10241c; border-color: var(--gold); }
.sfft-plate { width: 100%; height: auto; max-height: 34vh; object-fit: cover; display: block; background: #071510; border: 1px solid var(--line); }
.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.6rem;
  font: inherit;
  color: var(--ink);
  background: #071510;
  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.2rem; }
@media (max-width: 760px) {
  .sfft-play { grid-template-columns: 1fr; }
  .sfft-log { max-height: 22rem; }
  .sfft-face { font-size: 1.1rem; }
}
