/* FedM8 Coins — challenge coin faces, chips, and the coin case.
   Palette discipline (Monad treat): paper, slate, champagne. Coin field
   colors are the coins' own (from the approved design), rims are metal. */

.fmc-coin { display: inline-flex; flex: none; line-height: 0; }
.fmc-coin .fmc-face { display: block; }
.fmc-coin.is-locked { opacity: .92; }

.fmc-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 9px 2px 3px; border: 1px solid var(--line, #d9e0ea);
  border-radius: 99px; background: #fff;
  font-size: 12px; font-weight: 600; color: #3b4a63;
  white-space: nowrap; vertical-align: middle;
}
.fmc-chip .fmc-face { display: block; }

/* Mini coins (PR2): same metal rims and field colors, code-forward face
   for dense surfaces — chat rows, people rows, board stacks. */
.fmc-minirow { display: inline-flex; align-items: center; gap: 3px; vertical-align: middle; }
.fmc-mini { line-height: 0; }
.fmc-mini .fmc-face { display: block; }
.fmc-mini-more {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 4px;
  border: 1px solid var(--line, #d8e0e1); border-radius: 99px;
  background: var(--soft, #f5f7f7); color: var(--muted, #5f7175);
  font: 700 10px 'DM Sans', system-ui, sans-serif; cursor: pointer;
  vertical-align: middle; white-space: nowrap;
}
span.fmc-mini-more { cursor: default; }
.fmc-chip.is-locked { opacity: .55; }

.fmc-case-group { margin: 14px 0 4px; }
.fmc-case-group-title {
  margin: 0 0 8px; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: #6b7686;
}
.fmc-case-grid {
  display: grid; gap: 14px 10px;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
}
.fmc-cell { margin: 0; text-align: center; min-width: 0; }
.fmc-cell .fmc-coin { justify-content: center; }
.fmc-cell-name {
  margin-top: 6px; font-size: 12.5px; font-weight: 700; color: #12233c;
  line-height: 1.25;
}
.fmc-cell.is-locked .fmc-cell-name { color: #6b7686; }
.fmc-cell-how {
  margin-top: 2px; font-size: 11.5px; line-height: 1.35; color: #6b7686;
}
.fmc-cell-src {
  margin-top: 3px; font-size: 10.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: #8a6d2f;
}
.fmc-case-note { margin: 12px 0 0; font-size: 12.5px; color: #6b7686; }
/* r17 (h) (FIX-1): a certification coin SAM.gov does not list is self-reported: an outline, never a
   full "Certified" coin. */
.fmc-mini.fmc-self { border-radius:50%; outline:1.5px dashed #586653; outline-offset:1px; }
.fmc-mini.fmc-self .fmc-face { opacity:.45; filter:grayscale(1); }
.fmc-cell.fmc-self-cell .fmc-face { opacity:.5; filter:grayscale(1); }
.fmc-cell.fmc-self-cell .fmc-cell-name { font-style:italic; }
/* V3 (2026-10-20, G-15): self-reported service coins (Veteran, the branches) draw the same outline as chips.
   Verified Veteran is the only solid service coin. */
.fmc-chip.fmc-self { border-style:dashed; border-color:#8a9488; }
.fmc-chip.fmc-self .fmc-face { opacity:.5; filter:grayscale(1); }
.fmc-chip.fmc-self .fmc-chip-label { font-style:italic; color:#4f5b58; }
/* A coin this account can never earn (Verified Veteran on a Supporter or Government account). */
.fmc-cell.is-unavailable .fmc-cell-how { font-style:italic; }
