/* Player of the Month (#947): the home tile and the Rankings card. Loaded on both pages, so the
   breakdown table is styled here and does not lean on stats.css. */
.potm-race { display: inline-flex; align-items: center; font: 800 .72rem/1 var(--font-ui);
  text-transform: uppercase; letter-spacing: .08em; padding: .15rem .45rem; border: 1px solid currentColor;
  white-space: nowrap; }
.potm-race.bellato { color: var(--bellato); } .potm-race.cora { color: var(--cora); }
.potm-race.accretia { color: var(--accretia); }
.potm-example { display: inline-block; margin: 0 0 .8rem; padding: .2rem .5rem; border: 1px solid #9a6333;
  color: #ffd39b; font: 800 .66rem/1.2 var(--font-ui); text-transform: uppercase; letter-spacing: .12em; }

.potm-breakdown { width: 100%; border-collapse: collapse; font-size: .9rem; }
.potm-breakdown th, .potm-breakdown td { padding: .45rem .55rem; border-bottom: 1px solid #35434a; text-align: left; }
.potm-breakdown thead th { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .09em; }
.potm-breakdown tbody th { font-weight: 600; }
.potm-breakdown .num { text-align: right; font-weight: 700; color: var(--gold-2); }
.potm-breakdown tfoot th, .potm-breakdown tfoot .num { border-bottom: 0; border-top: 2px solid #5b6467; color: var(--text); }
.potm-breakdown tfoot .num { color: var(--gold-2); }
.potm-details .stats-table-wrap, .potm-breakdown-wrap .stats-table-wrap { overflow-x: auto; }

/* Home tile */
.monthly-tile .potm-name { overflow-wrap: anywhere; }
.potm-line { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin: 0 0 .6rem; }
.potm-line strong { color: var(--gold-2); font-size: 1.15rem; }
.potm-details { margin: 0 0 .8rem; max-width: 26rem; }
.potm-details summary { cursor: pointer; color: var(--gold-2); font-weight: 700; margin-bottom: .5rem; }
.monthly-tile .potm-how { margin-top: .8rem; color: var(--muted); font-size: .84rem; max-width: 26rem; }

/* Rankings card */
.potm-feature { display: grid; grid-template-columns: minmax(15rem, 1fr) minmax(0, 2fr); margin-bottom: 1rem;
  background: radial-gradient(circle at 0 20%, #3e3324, #182730 48%, #111d25); border: 1px solid #655640; }
.potm-lead { padding: 1.8rem 2rem; border-right: 1px solid #726049; min-width: 0; }
.potm-lead h3 { margin: 1rem 0 .6rem; font: 600 clamp(2rem, 4vw, 3.2rem)/1.05 var(--font-display);
  overflow-wrap: anywhere; }
.potm-lead p { margin: .8rem 0 .6rem; color: var(--gold-2); font-size: 1.2rem; font-weight: 700; }
.potm-lead small { display: block; color: var(--muted); line-height: 1.5; }
.potm-breakdown-wrap { padding: 1.4rem; min-width: 0; }
.potm-breakdown-wrap h3 { margin: 0 0 .8rem; font: 600 1.2rem/1.2 var(--font-display);
  text-transform: uppercase; letter-spacing: .06em; }
.potm-bottom { margin-top: 0; }
.potm-rules { margin: 0 0 .8rem; padding-left: 1.2rem; display: grid; gap: .45rem; font-size: .92rem; }

@media (max-width: 900px) {
  .potm-feature { grid-template-columns: 1fr; }
  .potm-lead { border-right: 0; border-bottom: 1px solid #726049; padding: 1.4rem; }
  .potm-bottom { grid-template-columns: 1fr; }
}
