:root {
  --fc-bg: #06060a;
  --fc-panel: rgba(255, 255, 255, 0.055);
  --fc-panel-2: rgba(255, 255, 255, 0.085);
  --fc-border: rgba(255, 255, 255, 0.14);
  --fc-text: #e8e8ec;
  --fc-muted: #a7a7b1;
  --fc-gold: #d4a843;
  --fc-cyan: #7eeaff;
  --fc-error: #d94f4f;
  --fc-warning: #d9a94f;
  --fc-radius: 18px;
}

body {
  background: var(--fc-bg);
}

.fc-page {
  min-height: 100vh;
  color: var(--fc-text);
}

.fc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--fc-border);
  background: rgba(6, 6, 10, 0.8);
  backdrop-filter: blur(12px);
}

.fc-nav a {
  color: var(--fc-cyan);
  text-decoration: none;
}

.fc-nav-title {
  margin: 0;
  color: var(--fc-gold);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fight-club-container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.fc-header {
  text-align: center;
  padding: 2.5rem 1rem;
}

.fc-header h2 {
  margin: 0 0 0.75rem;
  color: var(--fc-gold);
  font-size: clamp(2rem, 8vw, 4.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.fc-tagline {
  margin: 0.5rem auto 1rem;
  max-width: 620px;
  color: var(--fc-muted);
  font-size: 1.1rem;
}

.fc-honest-label,
.fc-battle-label,
.fc-category,
.fc-fighter-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--fc-cyan);
  color: var(--fc-cyan);
  background: rgba(126, 234, 255, 0.08);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.fc-battle-label.error {
  border-color: var(--fc-error);
  color: #fff;
  background: rgba(217, 79, 79, 0.35);
}

.fc-battle-label.rate,
.fc-battle-label.demo {
  border-color: var(--fc-warning);
  color: #fff;
  background: rgba(217, 169, 79, 0.28);
}

.fc-mode-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.fc-mode-btn,
.fc-btn-primary,
.fc-btn-secondary,
.fc-vote-btn,
.fc-quick-item {
  min-height: 44px;
  border-radius: var(--fc-radius);
  border: 1px solid var(--fc-border);
  cursor: pointer;
  font: inherit;
}

.fc-mode-btn {
  padding: 1rem;
  color: var(--fc-muted);
  background: var(--fc-panel);
}

.fc-mode-btn.fc-mode-active {
  color: var(--fc-bg);
  border-color: var(--fc-gold);
  background: var(--fc-gold);
  font-weight: 800;
}

.fc-mode-view {
  display: none;
  margin-bottom: 2rem;
}

.fc-mode-view-active {
  display: block;
}

.fc-mode-view h3,
.fc-leaderboard h3 {
  color: var(--fc-gold);
}

.fc-quick-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.fc-quick-item {
  display: block;
  width: 100%;
  padding: 1.2rem;
  text-align: left;
  color: var(--fc-text);
  background: var(--fc-panel);
}

.fc-quick-item:hover {
  border-color: var(--fc-gold);
  background: var(--fc-panel-2);
}

.fc-quick-item h4 {
  margin: 0 0 0.5rem;
  color: var(--fc-gold);
}

.fc-quick-item p {
  color: var(--fc-muted);
}

.fc-custom-form,
.fc-arena,
.fc-leaderboard {
  padding: 1.25rem;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  background: var(--fc-panel);
}

#customPrompt {
  width: 100%;
  min-height: 130px;
  box-sizing: border-box;
  padding: 1rem;
  border-radius: var(--fc-radius);
  border: 1px solid var(--fc-border);
  color: var(--fc-text);
  background: rgba(0, 0, 0, 0.3);
  font: inherit;
  resize: vertical;
}

#customPrompt:focus {
  outline: 2px solid var(--fc-cyan);
  outline-offset: 2px;
}

.fc-char-count,
.fc-warning,
.fc-leaderboard-note,
.fc-empty {
  color: var(--fc-muted);
  font-size: 0.9rem;
}

.fc-warning {
  color: var(--fc-warning);
}

.fc-btn-primary,
.fc-btn-secondary {
  width: 100%;
  padding: 0.95rem 1rem;
  font-weight: 800;
}

.fc-btn-primary {
  color: var(--fc-bg);
  background: var(--fc-gold);
  border-color: var(--fc-gold);
}

.fc-btn-secondary {
  margin-top: 1rem;
  color: var(--fc-cyan);
  background: transparent;
  border-color: var(--fc-cyan);
}

.fc-arena.hidden {
  display: none;
}

.fc-arena-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.fc-battle-title {
  font-weight: 800;
  color: var(--fc-text);
}

.fc-loading {
  padding: 2rem;
  text-align: center;
  color: var(--fc-muted);
}

.fc-battle-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.fc-fighter {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  background: rgba(0, 0, 0, 0.22);
}

.fc-fighter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.fc-fighter h4 {
  margin: 0;
  color: var(--fc-gold);
}

.fc-code-block {
  flex: 1;
  min-height: 260px;
  max-height: 520px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--fc-border);
  color: var(--fc-cyan);
  background: rgba(0, 0, 0, 0.45);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 0.86rem;
  line-height: 1.5;
}

.fc-vote-btn {
  margin-top: 1rem;
  padding: 0.9rem;
  color: var(--fc-bg);
  background: var(--fc-gold);
  border-color: var(--fc-gold);
  font-weight: 900;
}

.fc-vote-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.fc-error {
  padding: 1rem;
  border-radius: var(--fc-radius);
  border: 1px solid var(--fc-error);
  color: #fff;
  background: rgba(217, 79, 79, 0.2);
}

.fc-leaderboard {
  margin-top: 1.5rem;
}

.fc-leaderboard-table {
  display: grid;
  gap: 0.75rem;
}

.fc-leaderboard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--fc-border);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
}

.fc-leaderboard-name {
  color: var(--fc-text);
  font-weight: 800;
}

.fc-leaderboard-score {
  color: var(--fc-cyan);
  font-weight: 800;
}

.fc-footer {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--fc-muted);
  border-top: 1px solid var(--fc-border);
}

@media (max-width: 760px) {
  .fc-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .fc-mode-selector,
  .fc-battle-display {
    grid-template-columns: 1fr;
  }

  .fc-arena-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.fc-expansion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
}

.fc-mode-card {
  padding: 1.1rem;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  background: rgba(255, 255, 255, 0.045);
}

.fc-mode-card-live {
  border-color: var(--fc-gold);
  background: rgba(212, 168, 67, 0.1);
}

.fc-mode-kicker {
  display: inline-flex;
  margin-bottom: 0.65rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--fc-border);
  color: var(--fc-cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.fc-mode-card-live .fc-mode-kicker {
  color: var(--fc-bg);
  border-color: var(--fc-gold);
  background: var(--fc-gold);
}

.fc-mode-card h3 {
  margin: 0 0 0.5rem;
  color: var(--fc-gold);
}

.fc-mode-card p {
  margin: 0;
  color: var(--fc-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.fc-rules-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem auto 0;
  max-width: 960px;
}

.fc-rules-strip div {
  padding: 1rem;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  background: rgba(255, 255, 255, 0.045);
  text-align: left;
}

.fc-rules-strip strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--fc-gold);
}

.fc-rules-strip span {
  color: var(--fc-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.fc-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1rem;
}

.fc-filter-chip {
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--fc-border);
  color: var(--fc-muted);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
}

.fc-filter-chip.active {
  color: var(--fc-bg);
  border-color: var(--fc-gold);
  background: var(--fc-gold);
  font-weight: 900;
}

.fc-rules-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem auto 0;
  max-width: 960px;
}

.fc-rules-strip div {
  padding: 1rem;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  background: rgba(255, 255, 255, 0.045);
  text-align: left;
}

.fc-rules-strip strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--fc-gold);
}

.fc-rules-strip span {
  color: var(--fc-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.fc-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1rem;
}

.fc-filter-chip {
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--fc-border);
  color: var(--fc-muted);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
}

.fc-filter-chip.active {
  color: var(--fc-bg);
  border-color: var(--fc-gold);
  background: var(--fc-gold);
  font-weight: 900;
}

.fc-control-deck,
.fc-match-history {
  margin: 0 0 1.5rem;
}

.fc-control-deck {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.fc-control-deck article,
.fc-match-history {
  padding: 1rem;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  background: rgba(255, 255, 255, 0.045);
}

.fc-control-deck strong,
.fc-match-history h3 {
  display: block;
  margin: 0 0 0.45rem;
  color: var(--fc-gold);
}

.fc-control-deck span {
  color: var(--fc-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.fc-history-list {
  display: grid;
  gap: 0.75rem;
}

.fc-history-row {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem;
  border: 1px solid var(--fc-border);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
}

.fc-history-row strong {
  color: var(--fc-cyan);
}

.fc-history-row span {
  color: var(--fc-text);
}

.fc-history-row small {
  color: var(--fc-muted);
}


/* === Arena visual harvest v1 === */

.fc-ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 20% 18%, rgba(0, 240, 255, 0.06) 0%, transparent 68%),
    radial-gradient(ellipse 65% 45% at 82% 82%, rgba(240, 185, 11, 0.075) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 50% 42%, rgba(126, 234, 255, 0.025) 0%, transparent 62%),
    #06060a;
}

.fc-scan-line {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.035) 2px,
    rgba(255, 255, 255, 0.035) 4px
  );
}

.fc-page {
  position: relative;
  z-index: 2;
}

.fc-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 6, 10, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.fc-nav-title {
  background: linear-gradient(135deg, var(--fc-gold), var(--fc-cyan), var(--fc-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fc-header h2 {
  background: linear-gradient(135deg, var(--fc-gold) 0%, var(--fc-cyan) 48%, var(--fc-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 34px rgba(126, 234, 255, 0.18));
  animation: fcHeroPulse 6s ease-in-out infinite;
}

@keyframes fcHeroPulse {
  0%, 100% {
    filter: drop-shadow(0 0 28px rgba(126, 234, 255, 0.13));
  }
  50% {
    filter: drop-shadow(0 0 42px rgba(212, 168, 67, 0.24));
  }
}

.fc-honest-label {
  box-shadow: 0 0 22px rgba(126, 234, 255, 0.08);
}

.fc-control-deck article,
.fc-rules-strip div,
.fc-mode-card,
.fc-quick-item,
.fc-arena,
.fc-leaderboard,
.fc-match-history {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.fc-control-deck article:hover,
.fc-rules-strip div:hover,
.fc-mode-card:hover,
.fc-quick-item:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.26);
}

.fc-mode-card-live {
  box-shadow: 0 0 30px rgba(212, 168, 67, 0.09);
}

.fc-mode-card h3,
.fc-quick-item h4,
.fc-leaderboard h3,
.fc-match-history h3,
.fc-mode-view h3 {
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fc-category-filters {
  overflow-x: auto;
  padding: 0.2rem 0 0.85rem;
  scrollbar-width: none;
}

.fc-category-filters::-webkit-scrollbar {
  display: none;
}

.fc-filter-chip {
  flex: 0 0 auto;
  white-space: nowrap;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.fc-filter-chip:hover {
  color: var(--fc-text);
  border-color: rgba(126, 234, 255, 0.45);
  transform: translateY(-1px);
}

.fc-filter-chip.active {
  box-shadow: 0 0 18px rgba(212, 168, 67, 0.18);
}

.fc-quick-item {
  position: relative;
  overflow: hidden;
}

.fc-quick-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 38%, rgba(255, 255, 255, 0.12) 50%, transparent 62%);
  opacity: 0;
  transform: translateX(-35%);
  transition: opacity 0.25s ease, transform 0.45s ease;
  pointer-events: none;
}

.fc-quick-item:hover::after {
  opacity: 1;
  transform: translateX(35%);
}

.fc-battle-display {
  animation: fcArenaIn 0.32s ease-out;
}

@keyframes fcArenaIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fc-fighter-a {
  border-color: rgba(212, 168, 67, 0.2);
}

.fc-fighter-b {
  border-color: rgba(126, 234, 255, 0.2);
}

.fc-fighter-a .fc-fighter-label {
  border-color: var(--fc-gold);
  color: var(--fc-gold);
  background: rgba(212, 168, 67, 0.08);
}

.fc-fighter-b .fc-fighter-label {
  border-color: var(--fc-cyan);
  color: var(--fc-cyan);
  background: rgba(126, 234, 255, 0.08);
}

.fc-vote-a {
  background: linear-gradient(135deg, var(--fc-gold), #c99500);
}

.fc-vote-b {
  background: linear-gradient(135deg, var(--fc-cyan), #00b8cc);
}

.fc-vote-btn:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(212, 168, 67, 0.22);
}

.fc-vote-b:not(:disabled):hover {
  box-shadow: 0 0 26px rgba(126, 234, 255, 0.22);
}

.fc-code-block {
  color: #e8e8ec;
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.22);
}

.fc-toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  display: grid;
  gap: 0.5rem;
  width: min(360px, calc(100vw - 2rem));
  pointer-events: none;
}

.fc-toast {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(126, 234, 255, 0.22);
  border-radius: 14px;
  color: var(--fc-text);
  background: rgba(10, 10, 15, 0.92);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.92rem;
  animation: fcToastIn 0.25s ease-out;
}

.fc-toast.out {
  animation: fcToastOut 0.22s ease-in forwards;
}

@keyframes fcToastIn {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fcToastOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(24px);
  }
}

@media (max-width: 760px) {
  .fc-toast-container {
    top: 0.75rem;
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
  }

  .fc-header {
    padding-top: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fc-header h2,
  .fc-battle-display,
  .fc-toast,
  .fc-toast.out {
    animation: none !important;
  }

  .fc-control-deck article:hover,
  .fc-rules-strip div:hover,
  .fc-mode-card:hover,
  .fc-quick-item:hover,
  .fc-filter-chip:hover,
  .fc-vote-btn:not(:disabled):hover {
    transform: none !important;
  }

  .fc-quick-item::after {
    display: none;
  }
}

.fc-tale-tape {
  margin: 0 0 1.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(126, 234, 255, 0.12);
  border-radius: var(--fc-radius);
  background:
    linear-gradient(rgba(255,255,255,0.025), rgba(255,255,255,0.01)),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.025) 0,
      rgba(255,255,255,0.025) 1px,
      transparent 1px,
      transparent 88px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.02) 0,
      rgba(255,255,255,0.02) 1px,
      transparent 1px,
      transparent 88px
    );
  box-shadow: inset 0 0 60px rgba(126, 234, 255, 0.025);
}

.fc-event-kicker {
  margin: 0 0 1rem;
  color: var(--fc-muted);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.fc-tape-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
}

.fc-tape-card {
  position: relative;
  min-height: 240px;
  padding: 1.2rem;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.fc-tape-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
}

.fc-tape-a::before {
  background: radial-gradient(circle at 20% 25%, rgba(212, 168, 67, 0.45), transparent 38%);
}

.fc-tape-b::before {
  background: radial-gradient(circle at 80% 25%, rgba(126, 234, 255, 0.42), transparent 38%);
}

.fc-corner-label {
  position: relative;
  color: var(--fc-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.fc-fighter-mark {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 1.2rem 0;
  border-radius: 50%;
  color: var(--fc-bg);
  font-weight: 1000;
  font-size: 1.2rem;
}

.fc-tape-a .fc-fighter-mark {
  background: var(--fc-gold);
  box-shadow: 0 0 26px rgba(212, 168, 67, 0.25);
}

.fc-tape-b .fc-fighter-mark {
  background: var(--fc-cyan);
  box-shadow: 0 0 26px rgba(126, 234, 255, 0.25);
}

.fc-tape-card h3 {
  position: relative;
  margin: 0 0 0.6rem;
  color: var(--fc-text);
  font-size: clamp(1.25rem, 4vw, 2rem);
  line-height: 1.05;
}

.fc-fighter-style {
  position: relative;
  color: var(--fc-muted);
  font-size: 1rem;
  line-height: 1.45;
}

.fc-fighter-meta {
  position: relative;
  margin-top: 1rem;
  color: var(--fc-cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fc-vs-mark {
  display: grid;
  place-items: center;
  min-width: 54px;
  color: rgba(255,255,255,0.22);
  font-size: 2rem;
  font-weight: 1000;
  letter-spacing: -0.08em;
}

@media (max-width: 760px) {
  .fc-tape-grid {
    grid-template-columns: 1fr;
  }

  .fc-vs-mark {
    min-height: 48px;
  }
}

.fc-fight-setup {
  margin: 0 0 1.5rem;
  padding: 1rem;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  background: rgba(0, 0, 0, 0.22);
}

.fc-setup-head {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.9rem;
}

.fc-setup-head span {
  color: var(--fc-gold);
  font-weight: 1000;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
}

.fc-setup-head strong {
  color: var(--fc-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.fc-format-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.fc-format-chip {
  min-height: 44px;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--fc-border);
  color: var(--fc-muted);
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fc-format-chip.active {
  color: var(--fc-bg);
  border-color: var(--fc-gold);
  background: linear-gradient(135deg, var(--fc-gold), #c99500);
  box-shadow: 0 0 24px rgba(212, 168, 67, 0.16);
}

.fc-format-chip.locked {
  opacity: 0.62;
  cursor: not-allowed;
}


/* === Agent visual concept harvest v2 === */

.fc-page {
  position: relative;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(0, 240, 255, 0.025) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 20% 100%, rgba(240, 185, 11, 0.025) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 80% 30%, rgba(0, 240, 255, 0.018) 0%, transparent 50%),
    linear-gradient(180deg, #07070d 0%, #0a0a0f 42%, #0e0e16 100%);
}

.fc-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 70% 65% at 50% 50%,
    transparent 38%,
    rgba(0, 0, 0, 0.58) 100%
  );
}

.fc-ambient-bg {
  background:
    radial-gradient(ellipse 80% 60% at 30% 10%, rgba(0, 240, 255, 0.035) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 70% 90%, rgba(240, 185, 11, 0.035) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 50% 40%, rgba(0, 240, 255, 0.014) 0%, transparent 60%);
}

.fc-scan-line {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 240, 255, 0.012) 45%,
    rgba(0, 240, 255, 0.026) 50%,
    rgba(0, 240, 255, 0.012) 55%,
    transparent 100%
  );
  background-size: 100% 200%;
  animation: fcSweepV2 8s ease-in-out infinite;
}

@keyframes fcSweepV2 {
  0%, 100% { background-position: 0 0%; }
  50% { background-position: 0 100%; }
}

.fc-nav {
  background: rgba(7, 7, 13, 0.92);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid rgba(240, 185, 11, 0.08);
  box-shadow: 0 1px 0 rgba(0, 240, 255, 0.04);
}

.fc-nav::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 120px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #f0b90b, transparent);
  opacity: 0.34;
  pointer-events: none;
}

.fc-nav-title {
  font-weight: 900;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #f5c842 0%, #3af0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fc-header {
  position: relative;
  padding: 3rem 1rem 2.2rem;
}

.fc-header::before,
.fc-header::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(80%, 420px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(240, 185, 11, 0.25),
    rgba(0, 240, 255, 0.2),
    rgba(240, 185, 11, 0.25),
    transparent
  );
}

.fc-header::before { top: 1.25rem; }
.fc-header::after { bottom: 0.45rem; }

.fc-honest-label {
  gap: 0.5rem;
  border-color: rgba(0, 240, 255, 0.18);
  background: rgba(0, 240, 255, 0.055);
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.07);
}

.fc-honest-label::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.38);
}

.fc-tale-tape {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.024);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.fc-tale-tape::before {
  content: "";
  position: absolute;
  inset: 14%;
  background: radial-gradient(ellipse, rgba(240, 185, 11, 0.048) 0%, transparent 72%);
  pointer-events: none;
}

.fc-event-kicker {
  grid-column: 1 / -1;
  margin-bottom: -0.1rem;
  color: #77778d;
  text-align: center;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fc-tape-grid {
  display: contents;
}

.fc-tape-card {
  min-height: 210px;
  padding: 1rem;
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.24);
}

.fc-tape-a {
  text-align: right;
  padding-right: 1.1rem;
}

.fc-tape-b {
  text-align: left;
  padding-left: 1.1rem;
}

.fc-corner-label {
  color: #666680;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fc-tape-a h3 {
  color: #f5c842;
}

.fc-tape-b h3 {
  color: #3af0ff;
}

.fc-tape-card h3 {
  margin-top: 0.8rem;
  font-size: clamp(1rem, 3.4vw, 1.55rem);
  font-weight: 1000;
  letter-spacing: 0.02em;
}

.fc-fighter-style {
  margin-top: 0.4rem;
  color: #b6b6c2;
  font-size: 0.95rem;
  line-height: 1.45;
}

.fc-fighter-meta {
  color: #77778d;
  font-size: 0.72rem;
}

.fc-fighter-mark {
  margin-inline-start: auto;
}

.fc-tape-b .fc-fighter-mark {
  margin-inline-start: 0;
  margin-inline-end: auto;
}

.fc-vs-mark {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  border: 1px solid rgba(240, 185, 11, 0.12);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.16);
  font-size: 1rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  animation: fcVsPulseV2 3s ease-in-out infinite;
}

@keyframes fcVsPulseV2 {
  0%, 100% {
    border-color: rgba(240, 185, 11, 0.09);
    box-shadow: 0 0 0 rgba(240, 185, 11, 0);
  }
  50% {
    border-color: rgba(240, 185, 11, 0.22);
    box-shadow: 0 0 24px rgba(240, 185, 11, 0.075);
  }
}

.fc-category-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  padding: 0.5rem 0 0.85rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.fc-category-filters::-webkit-scrollbar {
  display: none;
}

.fc-filter-chip {
  flex: 0 0 auto;
  padding: 0.45rem 1rem;
  color: #9999b0;
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.fc-filter-chip:hover {
  color: #e8e8f0;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.fc-filter-chip.active {
  color: #3af0ff;
  background: rgba(0, 240, 255, 0.075);
  border-color: rgba(0, 240, 255, 0.28);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.09);
}

.fc-quick-item {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.018);
  border-color: rgba(255, 255, 255, 0.055);
  border-radius: 16px;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.fc-quick-item:hover {
  background: rgba(255, 255, 255, 0.032);
  border-color: rgba(240, 185, 11, 0.14);
  transform: translateY(-3px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(240, 185, 11, 0.04);
}

.fc-quick-item h4 {
  font-size: 0.8rem;
  letter-spacing: 0.11em;
}

.fc-quick-item p {
  line-height: 1.55;
}

.fc-category {
  color: #f5c842;
  background: rgba(240, 185, 11, 0.07);
  border-color: rgba(240, 185, 11, 0.12);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .fc-tale-tape {
    grid-template-columns: 1fr;
  }

  .fc-tape-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .fc-tape-a,
  .fc-tape-b {
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .fc-fighter-mark,
  .fc-tape-b .fc-fighter-mark {
    margin-inline-start: 0;
    margin-inline-end: auto;
  }

  .fc-vs-mark {
    margin: 0.2rem auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fc-scan-line,
  .fc-vs-mark {
    animation: none !important;
  }

  .fc-quick-item:hover,
  .fc-filter-chip:hover {
    transform: none !important;
  }
}

/* Validator-compatible nav-links styling */
.fc-nav .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fc-nav .nav-links a {
  color: var(--fc-muted);
  text-decoration: none;
  font-weight: 800;
}

.fc-nav .nav-links a:hover,
.fc-nav .nav-links a[aria-current="page"] {
  color: var(--fc-cyan);
}

@media (max-width: 760px) {
  .fc-nav .nav-links {
    gap: 0.5rem;
    font-size: 0.9rem;
  }
}
