/**
 * FDC UI ? design system v2
 * Identidade: escuro + neon do elenco, tipografia Rajdhani, navega??o fluida.
 */

:root {
  --fdc-bg: #07090d;
  --fdc-bg-elevated: #0e1219;
  --fdc-surface: rgba(16, 20, 30, 0.92);
  --fdc-surface-2: rgba(22, 28, 40, 0.96);
  --fdc-border: rgba(255, 255, 255, 0.1);
  --fdc-border-strong: rgba(255, 255, 255, 0.18);
  --fdc-text: #f3f5f7;
  --fdc-muted: rgba(243, 245, 247, 0.62);
  --fdc-accent: #a3ff12;
  --fdc-accent-ink: #0a0e08;
  --fdc-danger: #ff4d6d;
  --fdc-warning: #ffcc33;
  --fdc-radius: 14px;
  --fdc-radius-sm: 10px;
  --fdc-nav-h: 72px;
  --fdc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fdc-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --fdc-max: 920px;
}

/* -------------------------------------------------------------------------- */
/* Global atmosphere                                                          */
/* -------------------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
}

body.preloader-is--active,
body.bg-image,
body.site-layout--horizontal,
body.page-votacao,
body.page-admin-jogadores,
body.page-fdc-home {
  background-color: var(--fdc-bg) !important;
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(163, 255, 18, 0.08), transparent 55%),
    radial-gradient(900px 500px at 0% 100%, rgba(80, 120, 255, 0.06), transparent 50%),
    linear-gradient(180deg, #0a0d12 0%, #07090d 100%) !important;
  background-attachment: fixed !important;
  color: var(--fdc-text);
  font-family: "Rajdhani", sans-serif;
}

body.bg--texture-01::before,
body.bg-image::before {
  opacity: 0.18 !important;
}

.site-wrapper {
  min-height: 100vh;
}

.site-content,
.site-content__holder,
.page-content,
.page-title,
.page-heading__title,
.page-heading__subtitle {
  color: var(--fdc-text) !important;
}

.text-muted {
  color: var(--fdc-muted) !important;
}

/* Kill heavy split form shell (logo wallpaper + narrow column) */
.site-content__inner {
  display: block !important;
  max-width: var(--fdc-max);
  margin: 0 auto;
  padding: 24px 16px calc(var(--fdc-nav-h) + 28px);
}

.site-content__holder {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

.page-thumbnail,
.page-bg-logo,
.ncr-page-decor {
  display: none !important;
}

.page-title,
.page-heading__title {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.page-heading {
  margin-bottom: 1.25rem;
}

.page-heading--default {
  text-align: left !important;
}

/* Forms readable on dark */
.form-control,
.custom-select,
select.form-control {
  background: var(--fdc-surface-2) !important;
  border: 1px solid var(--fdc-border-strong) !important;
  color: var(--fdc-text) !important;
  border-radius: var(--fdc-radius-sm) !important;
  min-height: 44px;
}

.form-control:focus {
  border-color: var(--fdc-accent) !important;
  box-shadow: 0 0 0 3px rgba(163, 255, 18, 0.18) !important;
}

label {
  color: var(--fdc-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
}

.btn {
  border-radius: 999px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s var(--fdc-ease), box-shadow 0.2s var(--fdc-ease), background 0.2s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--fdc-accent) !important;
  border-color: var(--fdc-accent) !important;
  color: var(--fdc-accent-ink) !important;
  box-shadow: 0 8px 24px rgba(163, 255, 18, 0.22);
}

.btn-primary:hover {
  filter: brightness(1.05);
  color: var(--fdc-accent-ink) !important;
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-warning,
.btn-outline-success,
.btn-outline-danger {
  border-width: 1.5px !important;
  color: var(--fdc-text) !important;
  background: transparent !important;
}

.btn-outline-primary { border-color: var(--fdc-accent) !important; color: var(--fdc-accent) !important; }
.btn-outline-secondary { border-color: var(--fdc-border-strong) !important; }
.btn-outline-warning { border-color: var(--fdc-warning) !important; color: var(--fdc-warning) !important; }
.btn-outline-success { border-color: var(--fdc-accent) !important; color: var(--fdc-accent) !important; }
.btn-outline-danger { border-color: var(--fdc-danger) !important; color: var(--fdc-danger) !important; }

.table,
.table-dark {
  color: var(--fdc-text) !important;
  background: transparent !important;
}

.table-dark td,
.table-dark th,
.table td,
.table th {
  border-color: var(--fdc-border) !important;
}

.alert {
  border-radius: var(--fdc-radius-sm);
  border: 1px solid var(--fdc-border);
  background: var(--fdc-surface);
  color: var(--fdc-text);
}

/* -------------------------------------------------------------------------- */
/* Bottom dock ? isolated from Necromancers template                          */
/* -------------------------------------------------------------------------- */

#header.site-header,
.site-header--bottom {
  display: none !important;
}

.fdc-dock {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 10050;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 2px;
  width: min(420px, calc(100vw - 16px));
  padding: 6px;
  margin: 0;
  box-sizing: border-box;
  background: rgba(12, 14, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.fdc-dock__item,
.fdc-dock__btn {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  min-height: 56px;
  padding: 8px 4px;
  margin: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: rgba(243, 245, 247, 0.62);
  text-decoration: none !important;
  font: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
}

.fdc-dock__item--menu {
  position: relative;
  flex: 1 1 0;
  display: flex;
  min-width: 0;
}

.fdc-dock__item--menu .fdc-dock__btn {
  width: 100%;
}

.fdc-dock__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  line-height: 0;
}

.fdc-dock__ico svg {
  display: block;
}

.fdc-dock__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.fdc-dock__item.is-active,
.fdc-dock__item--menu.is-active .fdc-dock__btn,
.fdc-dock__item:hover,
.fdc-dock__btn:hover {
  background: var(--fdc-accent);
  color: var(--fdc-accent-ink);
}

.fdc-dock__flyout {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  min-width: 220px;
  max-width: min(280px, 80vw);
  max-height: 50vh;
  overflow: auto;
  padding: 8px;
  border-radius: 14px;
  background: #12161f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  z-index: 10060;
}

.fdc-dock__flyout a,
.fdc-dock__empty {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #f3f5f7 !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.fdc-dock__flyout-muted {
  color: rgba(243, 245, 247, 0.55) !important;
  font-weight: 600 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 4px;
  padding-top: 12px !important;
}

.fdc-dock__flyout a:hover {
  background: rgba(163, 255, 18, 0.12);
  color: var(--fdc-accent) !important;
}

.fdc-dock__empty {
  color: rgba(243, 245, 247, 0.55) !important;
}

.header-actions,
.header-menu-toggle,
.header-search-toggle,
.header-logo,
.main-nav__toggle {
  display: none !important;
}

.site-content,
.votacao-wrap,
.admin-jogadores-wrap,
.fdc-home,
.fdc-home-main {
  padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
}

.container.container--large {
  max-width: 1100px;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 20px;
  padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
}

/* Home ? stage                                                               */
/* -------------------------------------------------------------------------- */

.page-fdc-home .fdc-home-main {
  padding-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: calc(140px + env(safe-area-inset-bottom, 0px)) !important;
  max-width: none;
}

.fdc-block--wide:last-child,
.fdc-block:last-child {
  padding-bottom: 36px;
}

.fdc-stage {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px calc(var(--fdc-nav-h) + 48px);
  overflow: hidden;
  animation: fdcFadeUp 0.8s var(--fdc-ease) both;
}

.fdc-stage__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(163, 255, 18, 0.22), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(60, 90, 180, 0.12), transparent 45%);
  pointer-events: none;
  animation: fdcPulse 6s ease-in-out infinite;
}

.fdc-stage__mark {
  position: relative;
  width: min(42vw, 168px);
  height: auto;
  margin-bottom: 22px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.55));
  animation: fdcFadeUp 0.8s var(--fdc-ease) 0.05s both;
}

.fdc-stage__kicker {
  position: relative;
  margin: 0 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fdc-muted);
  font-weight: 600;
}

.fdc-stage__brand {
  position: relative;
  margin: 0 0 14px;
  font-size: clamp(3rem, 12vw, 5.6rem);
  line-height: 0.88;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #fff;
}

.fdc-stage__brand-line {
  display: block;
}

.fdc-stage__brand em {
  font-style: normal;
  color: var(--fdc-accent);
}

.fdc-stage__line {
  position: relative;
  margin: 0 0 28px;
  max-width: 28ch;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--fdc-muted);
  font-weight: 500;
}

.fdc-stage__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.fdc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: transform 0.2s var(--fdc-ease), background 0.2s ease, border-color 0.2s ease;
}

.fdc-btn:active {
  transform: scale(0.97);
}

.fdc-btn--solid {
  background: var(--fdc-accent);
  color: var(--fdc-accent-ink) !important;
  box-shadow: 0 12px 32px rgba(163, 255, 18, 0.28);
}

.fdc-btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.03);
}

.fdc-btn--ghost:hover {
  border-color: var(--fdc-accent);
  color: var(--fdc-accent) !important;
}

.fdc-block {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 20px 28px;
  animation: fdcFadeUp 0.7s var(--fdc-ease) 0.15s both;
}

.fdc-block--wide {
  max-width: 920px;
}

.fdc-block__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fdc-muted);
  font-weight: 700;
}

.fdc-block__label a {
  color: var(--fdc-accent);
  text-decoration: none;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.fdc-lives {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.fdc-live {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: inherit;
  text-decoration: none !important;
  min-width: 0;
}

.fdc-live__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--fdc-border);
  background: #111;
}

.fdc-live__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s var(--fdc-ease);
}

.fdc-live__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(163, 255, 18, 0.92);
  color: #0a0e08;
  font-size: 0.85rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.fdc-live:hover .fdc-live__thumb {
  border-color: rgba(163, 255, 18, 0.45);
}

.fdc-live:hover .fdc-live__thumb img {
  transform: scale(1.04);
}

.fdc-live__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 0 2px;
}

.fdc-live__meta strong {
  font-size: 0.95rem;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fdc-live__meta small {
  color: var(--fdc-muted);
  font-size: 0.78rem;
}

@media (max-width: 800px) {
  .fdc-lives {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .fdc-lives {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .fdc-live {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
}

.fdc-meet {
  display: block;
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid var(--fdc-border);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-decoration: none !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.fdc-meet:hover {
  border-color: rgba(163, 255, 18, 0.4);
  background: rgba(163, 255, 18, 0.04);
  color: inherit;
}

.fdc-meet__when {
  font-size: 0.9rem;
  color: var(--fdc-muted);
  margin-bottom: 4px;
}

.fdc-meet__where {
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 10px;
}

.fdc-meet__go {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fdc-accent);
}

.fdc-mvp {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fdc-mvp__item {
  display: grid;
  grid-template-columns: 28px 48px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--fdc-border);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-decoration: none !important;
}

.fdc-mvp__item:hover {
  border-color: rgba(163, 255, 18, 0.35);
  color: inherit;
}

.fdc-mvp__n {
  font-weight: 700;
  color: var(--fdc-accent);
  text-align: center;
}

.fdc-mvp__item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
  background: #111;
}

.fdc-mvp__txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fdc-mvp__txt strong {
  text-transform: uppercase;
  font-size: 1.05rem;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fdc-mvp__txt small {
  color: var(--fdc-muted);
  font-size: 0.8rem;
}

@keyframes fdcPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

@media (max-width: 640px) {
  .fdc-stage {
    min-height: 100svh;
    padding-top: 36px;
  }

  .fdc-stage__brand {
    font-size: clamp(2.6rem, 13vw, 3.6rem);
  }
}

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

/* -------------------------------------------------------------------------- */
/* Soften legacy carousels / player pages                                     */
/* -------------------------------------------------------------------------- */

.player-info-title,
.player-info-subtitle,
.team-player__slide-title,
.team-player__slide-subtitle {
  color: var(--fdc-text) !important;
}

.widget-carousel__item.player {
  border-radius: 20px;
}

/* Menu panel */
.menu-panel {
  background: rgba(8, 10, 14, 0.96) !important;
}

.menu-panel a {
  color: var(--fdc-text) !important;
}

.mobile-bar-item__header {
  color: var(--fdc-text) !important;
}

/* Preloader quieter */
.preloader-overlay {
  background: var(--fdc-bg) !important;
}

/* SweetAlert dark-ish match */
.swal2-popup {
  background: #12161f !important;
  color: #f3f5f7 !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px !important;
}

.swal2-title,
.swal2-html-container {
  color: #f3f5f7 !important;
}

.swal2-input,
.swal2-select {
  background: #0e1219 !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.swal2-confirm {
  background: var(--fdc-accent) !important;
  color: var(--fdc-accent-ink) !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: none !important;
}

.swal2-cancel {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  font-weight: 700 !important;
}

/* FDC modals (admin forms) */
.fdc-modal .modal-content {
  background: #12161f;
  color: #f3f5f7;
  border: 1px solid var(--fdc-border);
  border-radius: 18px;
  overflow: hidden;
}

.fdc-modal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 18px 12px;
  align-items: flex-start;
}

.fdc-modal .modal-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
}

.fdc-modal .close {
  color: #fff;
  text-shadow: none;
  opacity: 0.65;
  padding: 8px;
  margin: -4px -4px 0 0;
}

.fdc-modal .close:hover {
  opacity: 1;
}

.fdc-modal .modal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.fdc-modal .modal-footer .fdc-btn {
  min-height: 44px;
  padding: 0 18px;
  margin: 0;
}

.fdc-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #f3f5f7;
}

.fdc-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--fdc-accent);
  flex-shrink: 0;
}

.fdc-form-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 77, 109, 0.12);
  border: 1px solid rgba(255, 77, 109, 0.35);
  color: #ff6b88;
  font-size: 0.9rem;
  font-weight: 600;
}

/* -------------------------------------------------------------------------- */
/* App pages ? forms & lists                                                  */
/* -------------------------------------------------------------------------- */

body.page-fdc-app {
  background-color: var(--fdc-bg) !important;
  background-image:
    radial-gradient(900px 480px at 100% 0%, rgba(163, 255, 18, 0.07), transparent 55%),
    linear-gradient(180deg, #0a0d12 0%, #07090d 100%) !important;
  color: var(--fdc-text);
}

.fdc-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 16px calc(140px + env(safe-area-inset-bottom, 0px));
}

.fdc-page--wide {
  max-width: 860px;
}

.fdc-page__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.fdc-page__kicker {
  margin: 0 0 6px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fdc-muted);
  font-weight: 700;
}

.fdc-page__title {
  margin: 0;
  font-size: clamp(1.7rem, 5vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: #fff;
}

.fdc-page__desc {
  margin: 8px 0 0;
  color: var(--fdc-muted);
  font-size: 1rem;
  max-width: 36ch;
}

.fdc-page__back {
  flex-shrink: 0;
  color: var(--fdc-accent) !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 4px;
}

.fdc-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--fdc-border);
  background: rgba(255, 255, 255, 0.03);
}

.fdc-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fdc-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 640px) {
  .fdc-grid-2 {
    grid-template-columns: 1fr;
  }
}

.fdc-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fdc-field__label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(243, 245, 247, 0.72) !important;
}

.fdc-field__hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--fdc-muted);
}

.fdc-input,
.fdc-textarea,
.fdc-select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(8, 10, 14, 0.85) !important;
  color: #fff !important;
  font-size: 1.05rem !important;
  font-weight: 600;
  outline: none;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
}

.fdc-input:focus,
.fdc-textarea:focus,
.fdc-select:focus {
  border-color: var(--fdc-accent) !important;
  box-shadow: 0 0 0 3px rgba(163, 255, 18, 0.16) !important;
}

.fdc-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.4;
}

.fdc-input::placeholder,
.fdc-textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

.fdc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.fdc-actions .fdc-btn,
.fdc-actions .btn {
  min-height: 48px;
  padding: 0 20px;
}

.fdc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fdc-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--fdc-border);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-decoration: none !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.fdc-list__item:hover {
  border-color: rgba(163, 255, 18, 0.4);
  background: rgba(163, 255, 18, 0.04);
  color: inherit;
}

.fdc-list__main {
  min-width: 0;
}

.fdc-list__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.15;
}

.fdc-list__meta {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--fdc-muted);
}

.fdc-list__cta {
  flex-shrink: 0;
  color: var(--fdc-accent);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fdc-copy {
  display: flex;
  gap: 8px;
}

.fdc-copy .fdc-input {
  flex: 1;
}


/* -------------------------------------------------------------------------- */
/* Live match                                                                 */
/* -------------------------------------------------------------------------- */

.fdc-match {
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 14px calc(140px + env(safe-area-inset-bottom, 0px));
}

.fdc-scoreboard {
  padding: 18px 16px 16px;
  border-radius: 20px;
  border: 1px solid var(--fdc-border);
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(163, 255, 18, 0.12), transparent 60%),
    rgba(255, 255, 255, 0.03);
  text-align: center;
  margin-bottom: 14px;
}

.fdc-scoreboard__date {
  margin: 0 0 10px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fdc-muted);
  font-weight: 700;
}

.fdc-scoreboard__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.fdc-scoreboard__team {
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  color: #fff;
}

.fdc-scoreboard__team--home { text-align: right; }
.fdc-scoreboard__team--away { text-align: left; }

.fdc-scoreboard__vs {
  color: var(--fdc-muted);
  font-weight: 700;
  font-size: 0.8rem;
}

.fdc-scoreboard__score {
  font-size: clamp(2.8rem, 12vw, 4.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 4px 0 8px;
}

.fdc-scoreboard__score .color-primary,
.fdc-scoreboard__score .is-lead {
  color: var(--fdc-accent) !important;
}

.fdc-scoreboard__meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.fdc-scoreboard__timer {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--fdc-accent);
}

.fdc-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fdc-badge--live {
  background: rgba(255, 77, 109, 0.18);
  color: #ff6b88;
  border: 1px solid rgba(255, 77, 109, 0.4);
  animation: fdc-live-pulse 1.6s ease-in-out infinite;
}

@keyframes fdc-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(255, 77, 109, 0); }
}

.fdc-badge--wait {
  background: rgba(255, 255, 255, 0.06);
  color: var(--fdc-muted);
  border: 1px solid var(--fdc-border);
}

.fdc-badge--done {
  background: rgba(163, 255, 18, 0.12);
  color: var(--fdc-accent);
  border: 1px solid rgba(163, 255, 18, 0.35);
}

.fdc-match-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

@media (min-width: 640px) {
  .fdc-match-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fdc-match-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  border: 1px solid var(--fdc-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.fdc-match-btn:active { transform: scale(0.97); }
.fdc-match-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.fdc-match-btn--gol { border-color: rgba(163, 255, 18, 0.45); color: var(--fdc-accent) !important; }
.fdc-match-btn--assist { border-color: rgba(120, 180, 255, 0.4); }
.fdc-match-btn--falta { border-color: rgba(255, 204, 51, 0.4); }
.fdc-match-btn--cartao { border-color: rgba(255, 77, 109, 0.4); }
.fdc-match-btn--sub { border-color: rgba(255, 255, 255, 0.2); }
.fdc-match-btn--danger {
  border-color: rgba(255, 77, 109, 0.5);
  color: #ff6b88 !important;
  grid-column: 1 / -1;
}
.fdc-match-btn--primary {
  background: var(--fdc-accent);
  color: var(--fdc-accent-ink) !important;
  border-color: var(--fdc-accent);
  grid-column: 1 / -1;
  min-height: 72px;
  font-size: 1.05rem;
}

.fdc-match-section {
  margin-bottom: 16px;
}

.fdc-match-section__title {
  margin: 0 0 10px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fdc-muted);
  font-weight: 700;
}

.fdc-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fdc-feed__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--fdc-border);
  background: rgba(255, 255, 255, 0.03);
}

.fdc-feed__item--meta {
  color: var(--fdc-muted);
  font-size: 0.9rem;
}

.fdc-feed__tag {
  flex-shrink: 0;
  min-width: 58px;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.fdc-feed__item.is-gol .fdc-feed__tag { background: rgba(163, 255, 18, 0.18); color: var(--fdc-accent); }
.fdc-feed__item.is-assist .fdc-feed__tag { background: rgba(120, 180, 255, 0.18); color: #9ec5ff; }
.fdc-feed__item.is-falta .fdc-feed__tag { background: rgba(255, 204, 51, 0.16); color: #ffcc33; }
.fdc-feed__item.is-cartao .fdc-feed__tag { background: rgba(255, 77, 109, 0.16); color: #ff6b88; }

.fdc-feed__item.is-new {
  animation: fdc-feed-in 0.55s ease both;
  border-color: rgba(163, 255, 18, 0.45);
}

.fdc-feed__text {
  font-size: 0.95rem;
  line-height: 1.3;
  color: #f3f5f7;
}

@keyframes fdc-feed-in {
  from { opacity: 0; transform: translateY(-10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.fdc-scoreboard.is-goal-pulse {
  animation: fdc-score-boom 0.75s ease;
}
.fdc-scoreboard.is-event-pulse {
  animation: fdc-score-nudge 0.45s ease;
}
.fdc-scoreboard__score.is-bump span {
  display: inline-block;
  animation: fdc-digit-pop 0.55s cubic-bezier(0.2, 1.4, 0.3, 1);
}
@keyframes fdc-score-boom {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(163, 255, 18, 0); }
  35% { transform: scale(1.03); box-shadow: 0 0 40px 0 rgba(163, 255, 18, 0.28); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(163, 255, 18, 0); }
}
@keyframes fdc-score-nudge {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(-3px); }
  60% { transform: translateX(3px); }
}
@keyframes fdc-digit-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.28); color: var(--fdc-accent); }
  100% { transform: scale(1); }
}

/* Fullscreen event FX */
.fdc-fx {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.fdc-fx.is-on {
  opacity: 1;
  visibility: visible;
}
.fdc-fx__flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(163, 255, 18, 0.28), transparent 55%);
  opacity: 0;
}
.fdc-fx.is-on .fdc-fx__flash {
  animation: fdc-fx-flash 0.7s ease;
}
.fdc-fx.is-assist .fdc-fx__flash {
  background: radial-gradient(circle at 50% 40%, rgba(120, 180, 255, 0.3), transparent 55%);
}
.fdc-fx.is-falta .fdc-fx__flash {
  background: radial-gradient(circle at 50% 40%, rgba(255, 204, 51, 0.28), transparent 55%);
}
.fdc-fx.is-cartao .fdc-fx__flash,
.fdc-fx.is-cartao-yellow .fdc-fx__flash {
  background: radial-gradient(circle at 50% 40%, rgba(255, 204, 51, 0.32), transparent 55%);
}
.fdc-fx.is-cartao-red .fdc-fx__flash {
  background: radial-gradient(circle at 50% 40%, rgba(255, 77, 109, 0.35), transparent 55%);
}
.fdc-fx.is-sub .fdc-fx__flash {
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.12), transparent 55%);
}

@keyframes fdc-fx-flash {
  0% { opacity: 0; }
  25% { opacity: 1; }
  100% { opacity: 0; }
}

.fdc-fx__card {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 22px 28px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 10, 12, 0.82);
  backdrop-filter: blur(10px);
  max-width: min(92vw, 420px);
  transform: scale(0.86) translateY(12px);
  opacity: 0;
}
.fdc-fx.is-on .fdc-fx__card {
  animation: fdc-fx-card-in 0.45s cubic-bezier(0.2, 1.2, 0.3, 1) forwards;
}
@keyframes fdc-fx-card-in {
  to { transform: none; opacity: 1; }
}

.fdc-fx__label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fdc-muted);
  font-weight: 700;
  margin-bottom: 6px;
}
.fdc-fx__title {
  font-size: clamp(2rem, 10vw, 3.4rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fdc-accent);
  text-shadow: 0 0 28px rgba(163, 255, 18, 0.35);
}
.fdc-fx.is-assist .fdc-fx__title { color: #9ec5ff; text-shadow: 0 0 28px rgba(120, 180, 255, 0.35); }
.fdc-fx.is-falta .fdc-fx__title { color: #ffcc33; text-shadow: 0 0 28px rgba(255, 204, 51, 0.3); }
.fdc-fx.is-cartao-yellow .fdc-fx__title { color: #ffcc33; text-shadow: 0 0 28px rgba(255, 204, 51, 0.3); }
.fdc-fx.is-cartao-red .fdc-fx__title,
.fdc-fx.is-cartao .fdc-fx__title { color: #ff6b88; text-shadow: 0 0 28px rgba(255, 77, 109, 0.35); }
.fdc-fx.is-sub .fdc-fx__title { color: #fff; text-shadow: none; }

.fdc-fx__sub {
  margin-top: 10px;
  font-size: 1rem;
  color: #f3f5f7;
  line-height: 1.3;
}

.fdc-fx__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}
.fdc-fx__dot {
  position: absolute;
  top: -12px;
  left: var(--x);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--fdc-accent);
  opacity: 0;
  animation: fdc-fx-fall var(--dur) linear var(--delay) forwards;
}
.fdc-fx.is-assist .fdc-fx__dot { background: #9ec5ff; }
.fdc-fx.is-falta .fdc-fx__dot,
.fdc-fx.is-cartao-yellow .fdc-fx__dot { background: #ffcc33; }
.fdc-fx.is-cartao-red .fdc-fx__dot,
.fdc-fx.is-cartao .fdc-fx__dot { background: #ff6b88; }

@keyframes fdc-fx-fall {
  0% { opacity: 0; transform: translateY(0) scale(0.6); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translateY(100vh) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .fdc-feed__item.is-new,
  .fdc-scoreboard.is-goal-pulse,
  .fdc-scoreboard.is-event-pulse,
  .fdc-scoreboard__score.is-bump span,
  .fdc-fx.is-on .fdc-fx__flash,
  .fdc-fx.is-on .fdc-fx__card,
  .fdc-fx__dot {
    animation: none !important;
  }
  .fdc-fx.is-on .fdc-fx__card { opacity: 1; transform: none; }
}

.fdc-stream {
  margin-bottom: 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--fdc-border);
  background: #000;
}

.fdc-stream .embed-responsive {
  margin: 0;
}

.fdc-lineups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 640px) {
  .fdc-lineups { grid-template-columns: 1fr; }
}

.fdc-lineup {
  border: 1px solid var(--fdc-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
}

.fdc-lineup__title {
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fdc-accent);
}

.fdc-lineup__player {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: inherit;
  text-decoration: none !important;
}

.fdc-lineup__player img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  object-position: top;
  background: #111;
}

.fdc-lineup__name {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  line-height: 1.1;
}

.fdc-lineup__stats {
  font-size: 0.75rem;
  color: var(--fdc-muted);
}

/* Sticky admin actions above dock */
.page-fdc-match .fdc-match-actions {
  position: sticky;
  top: 8px;
  z-index: 30;
  padding: 8px;
  border-radius: 16px;
  background: rgba(10, 12, 14, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--fdc-border);
}

/* Dark modals on match management */
.page-fdc-match .modal-content {
  background: #12151a;
  color: #f3f5f7;
  border: 1px solid var(--fdc-border);
  border-radius: 16px;
}
.page-fdc-match .modal-header,
.page-fdc-match .modal-footer {
  border-color: rgba(255, 255, 255, 0.08);
}
.page-fdc-match .modal-title { color: #fff; font-weight: 700; }
.page-fdc-match .modal .close { color: #fff; text-shadow: none; opacity: 0.7; }
.page-fdc-match .modal .form-control,
.page-fdc-match .modal select.form-control {
  background: #0b0d10;
  border: 1px solid var(--fdc-border);
  color: #fff;
}
.page-fdc-match .modal label { color: var(--fdc-muted); font-weight: 600; }
.page-fdc-match .modal .list-group-item {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #f3f5f7;
}
.page-fdc-match .modal .btn-primary {
  background: var(--fdc-accent);
  border-color: var(--fdc-accent);
  color: var(--fdc-accent-ink);
  font-weight: 700;
}
.page-fdc-match .modal .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--fdc-border);
  color: #fff;
}

/* MVP vote on match */
.fdc-mvp-vote {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fdc-mvp-vote__item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--fdc-border);
  background: rgba(255, 255, 255, 0.03);
  color: #f3f5f7;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.fdc-mvp-vote__item img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  object-position: top;
  background: #111;
}

.fdc-mvp-vote__name {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.fdc-mvp-vote__count {
  font-weight: 700;
  color: var(--fdc-accent);
  min-width: 1.5rem;
  text-align: right;
}

.fdc-mvp-vote__item.is-selected,
.voto-row.is-selected {
  border-color: rgba(163, 255, 18, 0.55);
  background: rgba(163, 255, 18, 0.08);
}

.fdc-mvp-vote__item:hover {
  border-color: rgba(163, 255, 18, 0.35);
}


