/* Features tour: one feature at a time, with tabs, arrows, dots, swipe and autoplay (features-tour.js). */
.ftour { max-width: 1040px; margin: 0 auto; }

.ft-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin-bottom: 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ft-tabs::-webkit-scrollbar { display: none; }
.ft-tab {
  display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; cursor: pointer;
  border: 1px solid #ffffff12; background: #ffffff05; color: #b8b8c2; border-radius: 999px;
  padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 600; white-space: nowrap;
  transition: color .15s, border-color .15s, background .15s;
}
.ft-tab svg { width: 16px; height: 16px; fill: none; stroke: currentColor; }
.ft-tab:hover { color: #f5f5f7; border-color: #ffffff26; }
.ft-tab[aria-selected="true"] { color: #ffb36b; border-color: #ff8a1e66; background: #ff8a1e14; }

.ft-stage { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 12px; }
.ft-slides { min-width: 0; }
.ft-arrow {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; flex: 0 0 auto;
  border: 1px solid #ffffff14; background: #ffffff06; color: #f5f5f7; font: inherit; font-size: 26px; line-height: 1;
  transition: border-color .15s, color .15s, background .15s;
}
.ft-arrow:hover { border-color: #ff8a1e66; color: #ffb36b; background: #ff8a1e10; }

.ft-slide {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center;
  padding: 30px; min-height: 360px; border: 1px solid #ffffff12; border-radius: 22px;
  background: radial-gradient(ellipse at 0% 0%, #ff8a1e12, transparent 55%), #111114;
  animation: ft-in .35s ease;
}
.ft-slide[hidden] { display: none; }
@keyframes ft-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.ft-num { font-size: 12px; font-weight: 700; color: #ff9c4b; letter-spacing: .5px; }
.ft-text h3 { font-size: 28px; line-height: 1.2; margin: 10px 0 14px; letter-spacing: -.5px; color: #f5f5f7; }
.ft-text p { font-size: 15px; line-height: 1.7; color: #b8b8c2; margin: 0; }
.ft-visual { min-width: 0; }
.ft-visual .fx { min-height: 210px; padding: 16px; gap: 9px; font-size: 14px; }
.ft-visual .fx-row { padding: 10px 12px; }
.ft-visual .fx-play { margin-top: 12px; }
.ft-visual .real-shot img { border-radius: 16px; }

.ft-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.ft-dots { display: flex; gap: 8px; align-items: center; }
.ft-dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: #ffffff26; transition: width .2s, background .2s;
}
.ft-dot:hover { background: #ffffff4d; }
.ft-dot.on { width: 26px; background: #ff8a1e; }
.ft-counter { font-size: 13px; color: #8d8c98; font-variant-numeric: tabular-nums; }
.ft-pause {
  border: 1px solid #ffffff14; background: #ffffff06; color: #c9c7d1; border-radius: 999px;
  padding: 7px 14px; font: inherit; font-size: 12px; cursor: pointer;
}
.ft-pause:hover { border-color: #ffffff26; color: #f5f5f7; }
.ft-pause[aria-pressed="true"] { color: #ffb36b; border-color: #ff8a1e55; }

.ft-tab:focus-visible, .ft-arrow:focus-visible, .ft-dot:focus-visible, .ft-pause:focus-visible { outline: 2px solid #ff8a1e; outline-offset: 2px; }

@media (max-width: 860px) {
  .ft-slide { grid-template-columns: 1fr; gap: 18px; padding: 22px; min-height: 0; }
  .ft-text h3 { font-size: 24px; }
}
@media (max-width: 640px) {
  .ft-stage { grid-template-columns: 1fr; }
  .ft-arrow { display: none; }
  .ft-slide { padding: 18px; }
  .ft-text h3 { font-size: 22px; }
  .ft-visual .fx { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .ft-slide, .ft-dot, .ft-tab, .ft-arrow { animation: none; transition: none; } }

/* real sword model names (from the mod source) */
.sw-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sw-list span { font-size: 11px; color: #c9c7d1; border: 1px solid #ffffff14; border-radius: 999px; padding: 4px 10px; background: #ffffff05; }
.sw-list .sw-more { color: #ffb36b; border-color: #ff8a1e44; background: #ff8a1e10; }
