/**
 * FUT Gallery Shop — estilos (visual no padrão do FC DME Solver)
 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

.fgs-root {
  --fgs-primary: #FF6F00;
  --fgs-primary-dark: #E65100;
  --fgs-accent: #E85400;
  --fgs-panel: rgba(20, 20, 30, 0.6);
  --fgs-panel-solid: rgba(20, 25, 35, 0.9);
  --fgs-glass: #0e0e0e96;
  --fgs-border: rgba(255, 255, 255, 0.1);
  --fgs-border-strong: rgba(255, 255, 255, 0.2);
  --fgs-text: #fff;
  --fgs-text-dim: rgba(255, 255, 255, 0.6);
  --fgs-ok: #4ade80;
  --fgs-err: #f87171;
  --fgs-warn: #ffb84d;

  font-family: 'Montserrat', sans-serif;
  color: var(--fgs-text);
}

.fgs-root *, .fgs-root *::before, .fgs-root *::after { box-sizing: border-box; }

/* trava o scroll da página com modal aberto */
html.fgs-modal-open,
body.fgs-modal-open { overflow: hidden; }

/* ============================================
   WRAPPER / HEADER
   ============================================ */
.fgs-wrapper { max-width: 1400px; margin: 0 auto; }

.fgs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.fgs-title { margin: 0; font-size: 28px; font-weight: 800; color: var(--fgs-text); }

.fgs-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.fgs-search,
.fgs-select {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--fgs-border-strong);
  border-radius: 10px;
  color: var(--fgs-text);
  font: 600 14px 'Montserrat', sans-serif;
  min-width: 170px;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.fgs-search::placeholder { color: var(--fgs-text-dim); }
.fgs-search:focus,
.fgs-select:focus { border-color: rgba(255, 111, 0, 0.7); background: rgba(255, 255, 255, 0.12); }
.fgs-select option { background: #14141e; color: #fff; }

/* ============================================
   DROPDOWN DE PLATAFORMA
   ============================================ */
.fgs-platform { position: relative; display: inline-flex; }

.fgs-platform-current {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 170px;
  padding: 8px 14px;
  background: #6b6b6b0f;
  border: 1px solid var(--fgs-border-strong);
  border-radius: 12px;
  color: var(--fgs-text);
  font: 600 14px 'Montserrat', sans-serif;
  transition: all .2s ease;
}
.fgs-platform-current:hover { background: rgba(217, 217, 217, 0.14); border-color: rgba(255, 255, 255, 0.3); }
.fgs-platform-current img { width: 24px; height: 24px; object-fit: contain; }
.fgs-platform-current span { flex: 1; text-align: left; }
.fgs-platform-caret { font-size: 10px; opacity: .7; }

.fgs-platform-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  flex-direction: column;
  gap: 6px;
  min-width: 190px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  z-index: 10010;
}
.fgs-platform[data-open="1"] .fgs-platform-menu { display: flex; }

.fgs-platform-option {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(217, 217, 217, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.9);
  font: 500 13px 'Montserrat', sans-serif;
  transition: all .2s ease;
}
.fgs-platform-option:hover { background: rgba(217, 217, 217, 0.12); border-color: var(--fgs-border-strong); transform: translateX(4px); }
.fgs-platform-option img { width: 24px; height: 24px; object-fit: contain; }

/* ============================================
   GRID DE GALERIAS
   ============================================ */
.fgs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.fgs-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--fgs-panel);
  border: 1px solid var(--fgs-border);
  border-radius: 16px;
  transition: all .3s ease;
}
.fgs-card:hover { transform: translateY(-4px); border-color: var(--fgs-border-strong); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }

.fgs-card-name {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2px;
  background: rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}
.fgs-card-name span {
  background-image: linear-gradient(90deg, #ED5900, #FF7A1A, #FFC08A, #ED5900, #C94600);
  background-size: 300% 100%;
  animation: fgsNameGradient 4.5s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
@keyframes fgsNameGradient { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }

.fgs-card-content { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.fgs-card-head { display: flex; align-items: center; gap: 12px; }
.fgs-card-headtext { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; flex: 1; }
.fgs-card-head .fgs-card-cat { overflow-wrap: anywhere; line-height: 1.3; }
.fgs-token-dot { width: 14px; height: 14px; margin: 0 3px; border-radius: 50%; background: #a855f7; }
.fgs-card-icon {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 56px; height: 56px; padding: 8px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 12px;
  color: var(--fgs-text-dim);
}
.fgs-card-icon img { width: 100%; height: 100%; object-fit: contain; }
.fgs-token {
  display: inline-flex; align-items: center; gap: 5px; flex: none;
  padding: 4px 9px 4px 5px; border-radius: 999px;
  background: rgba(168, 85, 247, 0.16); border: 1px solid rgba(168, 85, 247, 0.4);
  font-size: 12px; font-weight: 800; color: #d8b4fe; white-space: nowrap;
}
.fgs-token img { width: 20px; height: 20px; object-fit: contain; }

.fgs-progress { display: flex; flex-direction: column; gap: 5px; --fgs-bar: #f59e0b; }
.fgs-progress.is-full { --fgs-bar: var(--fgs-ok); }
.fgs-progress.is-high { --fgs-bar: #a3e635; }
.fgs-progress.is-mid  { --fgs-bar: #f59e0b; }
.fgs-progress.is-low  { --fgs-bar: var(--fgs-err); }
.fgs-progress-bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.fgs-progress-bar i { display: block; height: 100%; border-radius: inherit; background: var(--fgs-bar); transition: width .4s ease; }
.fgs-progress-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 600; color: var(--fgs-text-dim); }
.fgs-progress.is-full .fgs-progress-meta span:last-child { color: var(--fgs-ok); }

.fgs-card-cat { font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--fgs-text-dim); }
.fgs-card-desc { margin: 0; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, 0.78); }

.fgs-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.fgs-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.fgs-card-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.fgs-card-priceRow { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; }
.fgs-card-btn { width: 100%; }
.fgs-card-from { display: flex; flex-direction: column; gap: 2px; font-size: 11px; color: var(--fgs-text-dim); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.fgs-card-from strong { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; color: var(--fgs-primary); letter-spacing: .3px; text-transform: none; }
.fgs-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  white-space: nowrap;
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(255, 111, 0, 0.15);
  border: 1px solid rgba(255, 111, 0, 0.45);
  color: #ffb27a;
  font-size: 11px;
  font-weight: 800;
}

/* ============================================
   BOTÕES
   ============================================ */
.fgs-btn {
  cursor: pointer;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--fgs-primary) 0%, var(--fgs-primary-dark) 100%);
  color: #fff;
  font: 600 13px 'Montserrat', sans-serif;
  transition: all .2s ease;
}
.fgs-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255, 111, 0, 0.4); }
.fgs-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.fgs-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.fgs-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); box-shadow: none; }

.fgs-btn--remove {
  background: rgb(255 80 80 / 12%);
  border: 1px solid rgba(255, 80, 80, 0.35);
}
.fgs-btn--remove:hover { background: rgb(255 80 80 / 20%); box-shadow: none; }

/* ============================================
   MODAL
   ============================================ */
.fgs-modal { display: none; position: fixed; inset: 0; z-index: 9999; }
.fgs-modal.active { display: block; }
.fgs-modal--checkout { z-index: 10020; }

.fgs-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.fgs-modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  max-height: 85vh;
  margin: 5vh auto;
  overflow: hidden;
  background: rgb(0 0 0 / 86%);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: fgsSlideIn .3s ease;
}
.fgs-modal-content--sm { max-width: 520px; }
@keyframes fgsSlideIn { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }

.fgs-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--fgs-border-strong);
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  transition: all .2s ease;
}
.fgs-modal-close:hover { background: var(--fgs-border-strong); transform: rotate(90deg); }

.fgs-modal-body {
  max-height: calc(85vh - 4px);
  padding: 24px 24px 140px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.fgs-modal-content--sm .fgs-modal-body { padding-bottom: 24px; }

.fgs-modal-header { margin-bottom: 20px; padding: 0 44px 16px 0; border-bottom: 2px solid var(--fgs-border); }
.fgs-modal-title { margin: 0 0 6px; font-size: 22px; font-weight: 600; line-height: 1.3; color: #fff; }
.fgs-modal-sub { font-size: 13px; font-weight: 600; color: var(--fgs-text-dim); }

/* abas de rank */
.fgs-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.fgs-tab {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 92px;
  padding: 8px 14px;
  background: var(--fgs-glass);
  border: 1px solid var(--fgs-border);
  border-radius: 12px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  transition: all .18s ease;
}
.fgs-tab:hover { border-color: rgba(255, 255, 255, 0.35); }
.fgs-tab.is-active { border-color: rgba(255, 111, 0, 0.85); background: linear-gradient(135deg, rgba(255, 111, 0, 0.25), rgba(230, 81, 0, 0.18)); }
.fgs-tab-grade { font-size: 16px; font-weight: 800; }
.fgs-tab-meta { font-size: 11px; font-weight: 600; color: var(--fgs-text-dim); white-space: nowrap; }
.fgs-tab-meta b { color: var(--fgs-primary); font-weight: 800; }

.fgs-rankinfo { margin: 0 0 14px; font-size: 13px; color: var(--fgs-text-dim); font-weight: 600; }

/* ============================================
   JOGADORES
   ============================================ */
.fgs-players { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.fgs-player {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--fgs-panel-solid);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  transition: all .3s ease;
}
.fgs-player:hover { transform: translateY(-4px); border-color: var(--fgs-border-strong); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
.fgs-player.is-selected { border-color: rgba(255, 111, 0, 0.85); box-shadow: 0 0 0 1px rgba(255, 111, 0, 0.5); }

.fgs-player-name {
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fgs-player-name small { color: var(--fgs-text-dim); font-weight: 600; margin-left: 4px; }

.fgs-player-img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.fgs-player-img img { width: 100%; height: 100%; object-fit: contain; }
.fgs-player-ph { font-size: 44px; font-weight: 900; color: rgba(255, 255, 255, 0.15); }

.fgs-player-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.3);
}
.fgs-price { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 15px; font-weight: 800; color: var(--fgs-primary); letter-spacing: .3px; }
.fgs-price.is-none { color: var(--fgs-text-dim); font-weight: 600; font-size: 13px; }
.fgs-coin { width: 16px; height: 16px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.fgs-player-footer .fgs-btn { width: 100%; }

/* ============================================
   BARRA INFERIOR
   ============================================ */
.fgs-totalbar {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  width: min(980px, calc(100% - 24px));
  padding: 12px 14px;
  background: #0e0e0e96;
  border: 1px solid var(--fgs-border);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.25) inset;
  transition: transform .18s ease, opacity .18s ease;
}
.fgs-totalbar.is-hidden { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(14px); }
.fgs-totalbar-left { display: flex; flex-direction: column; gap: 4px; min-width: 200px; }
.fgs-totalbar-count { font-size: 14px; color: rgba(255, 255, 255, 0.88); line-height: 1.2; }
.fgs-totalbar-coins { display: flex; align-items: center; font-size: 15px; font-weight: 800; color: #fff; letter-spacing: .2px; }
.fgs-totalbar-coins .fgs-coin { margin-right: 6px; }

.fgs-conclude-btn {
  appearance: none;
  cursor: pointer;
  border: 0;
  padding: 11px 18px;
  border-radius: 14px;
  background: var(--fgs-accent);
  color: #0b0d12;
  font: 900 14px 'Montserrat', sans-serif;
  letter-spacing: .2px;
  transition: transform .14s ease, filter .14s ease, box-shadow .14s ease;
}
.fgs-conclude-btn:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 18px 38px rgba(232, 84, 0, 0.42), 0 2px 0 rgba(255, 255, 255, 0.28) inset; }
.fgs-conclude-btn:active { transform: translateY(1px) scale(.99); }
.fgs-conclude-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(232, 84, 0, 0.25), 0 18px 38px rgba(232, 84, 0, 0.4); }

/* ============================================
   MODAL DE DADOS (coins + fichas)
   ============================================ */
.fgs-form { display: flex; flex-direction: column; gap: 14px; }
.fgs-field { display: flex; flex-direction: column; gap: 6px; }
.fgs-field label { font-size: 12px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: var(--fgs-text-dim); }
.fgs-field input {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--fgs-border-strong);
  border-radius: 10px;
  color: #fff;
  font: 700 16px 'Montserrat', sans-serif;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.fgs-field input:focus { border-color: rgba(255, 111, 0, 0.7); background: rgba(255, 255, 255, 0.12); }
.fgs-field.has-error input { border-color: var(--fgs-err); }
.fgs-field-err { min-height: 0; font-size: 12px; font-weight: 600; color: var(--fgs-err); }
.fgs-field-hint { font-size: 11px; color: var(--fgs-text-dim); }

.fgs-summary { padding: 12px 14px; background: var(--fgs-glass); border: 1px solid var(--fgs-border); border-radius: 12px; font-size: 13px; line-height: 1.5; }
.fgs-summary-row { display: flex; justify-content: space-between; gap: 12px; }
.fgs-summary-row strong { color: var(--fgs-primary); }

.fgs-notice { padding: 10px 14px; background: rgba(255, 165, 0, 0.1); border: 1px solid rgba(255, 165, 0, 0.3); border-radius: 10px; color: var(--fgs-warn); font-size: 13px; }

.fgs-btn--wa { padding: 13px 18px; font-size: 14px; font-weight: 800; }

/* ============================================
   ESTADOS
   ============================================ */
.fgs-error {
  padding: 16px;
  text-align: center;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  color: var(--fgs-err);
  font-size: 14px;
  font-weight: 600;
}
.fgs-empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; color: rgba(255, 255, 255, 0.5); font-size: 16px; }
.fgs-loading { grid-column: 1 / -1; padding: 50px 20px; text-align: center; color: var(--fgs-text-dim); font-weight: 600; }

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 1024px) {
  .fgs-grid { grid-template-columns: repeat(3, 1fr); }
  .fgs-players { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .fgs-header { flex-direction: column; align-items: stretch; }
  .fgs-controls { flex-direction: column; align-items: stretch; }
  .fgs-search, .fgs-select, .fgs-platform { width: 100%; }
  .fgs-platform-current { width: 100%; }
  .fgs-platform-menu { left: 0; right: 0; }
  .fgs-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .fgs-players { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fgs-modal-content { width: 96%; margin: 2vh auto; max-height: 96vh; border-radius: 16px; }
  .fgs-modal-body { max-height: 96vh; padding: 18px 14px 140px; }
  .fgs-modal-content--sm .fgs-modal-body { padding-bottom: 20px; }
}

@media (max-width: 520px) {
  .fgs-grid { grid-template-columns: 1fr; gap: 12px; }
  .fgs-card-content { padding: 12px; }
  .fgs-card-footer { padding: 10px 12px; }
  .fgs-players { gap: 10px; }
  .fgs-tab { min-width: 78px; padding: 7px 10px; }
}

@media (max-width: 640px) {
  .fgs-totalbar { bottom: 10px; width: calc(100% - 16px); padding: 12px; gap: 10px; }
  .fgs-totalbar-left { min-width: 0; flex: 1 1 auto; }
  .fgs-conclude-btn { padding: 12px 14px; }
}

/* ============================================
   ABAS GALERIA | FICHAS
   ============================================ */
.fgs-sections { display: flex; gap: 8px; margin-bottom: 20px; border-bottom: 2px solid var(--fgs-border); }
.fgs-section {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  margin-bottom: -2px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--fgs-text-dim);
  font: 700 15px 'Montserrat', sans-serif;
  transition: color .18s ease, border-color .18s ease;
}
.fgs-section:hover { color: #fff; }
.fgs-section.is-active { color: #fff; border-bottom-color: var(--fgs-primary); }
.fgs-section-count {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 111, 0, 0.25);
  color: var(--fgs-primary);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

/* ============================================
   SELECIONAR TODOS (modal)
   ============================================ */
.fgs-selectbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 10px 14px;
  background: var(--fgs-glass);
  border: 1px solid var(--fgs-border);
  border-radius: 12px;
}
.fgs-selectbar-info { font-size: 13px; font-weight: 600; color: var(--fgs-text-dim); }
.fgs-btn--sm { padding: 7px 14px; font-size: 12px; white-space: nowrap; }

/* ============================================
   FICHAS
   ============================================ */
.fgs-card--token .fgs-card-content { gap: 10px; }
.fgs-item-desc {
  margin: 0;
  padding: 0 12px 8px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--fgs-text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fgs-player-ph--text { font-size: 18px; letter-spacing: .5px; text-transform: uppercase; color: rgba(255, 255, 255, 0.3); }

@media (max-width: 520px) {
  .fgs-section { flex: 1; justify-content: center; padding: 10px 12px; }
  .fgs-selectbar { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ============================================
   CUSTO REAL / SELO "95% VOLTAM"
   ============================================ */
.fgs-seal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.14);
  border: 1px solid rgba(74, 222, 128, 0.45);
  color: var(--fgs-ok);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.fgs-rankinfo { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.fgs-totalbar-save { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.fgs-totalbar-save:empty { display: none; }
.fgs-totalbar-loss { font-size: 11px; font-weight: 700; color: var(--fgs-text-dim); }
.fgs-summary-note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--fgs-border);
  font-size: 12px;
  line-height: 1.4;
  color: var(--fgs-text-dim);
}

/* ============================================
   REMOVER SELECIONADOS
   ============================================ */
.fgs-remove-open {
  align-self: flex-start;
  margin-top: 6px;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid rgba(255, 80, 80, 0.35);
  background: rgb(255 80 80 / 10%);
  color: #ff9a9a;
  font: 700 11px 'Montserrat', sans-serif;
  transition: background .2s ease;
}
.fgs-remove-open:hover { background: rgb(255 80 80 / 20%); }
.fgs-sel-list { display: flex; flex-direction: column; gap: 8px; max-height: 52vh; overflow-y: auto; margin-bottom: 14px; padding-right: 2px; -webkit-overflow-scrolling: touch; }
.fgs-sel-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--fgs-border); border-radius: 10px; }
.fgs-sel-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fgs-sel-info strong { font-size: 14px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fgs-sel-info em { font-style: normal; color: var(--fgs-primary); font-weight: 800; margin-left: 4px; }
.fgs-sel-info small { font-size: 11px; color: var(--fgs-text-dim); }
.fgs-sel-row .fgs-btn { flex: 0 0 auto; }
.fgs-sel-clear { width: 100%; padding: 10px 16px; }
