/* Race atlas on the guild site — the manual's grammar on top of umami-theme.css:
   square corners, plates with a double hairline frame, Public Sans figures instead of a
   monospace costume, game icons in gold-edged frames. Loaded only on race-atlas.html. */

:root { --f-mono: "Public Sans", "Segoe UI", system-ui, sans-serif !important; }
body { font-variant-numeric: tabular-nums; }

/* Square, printed corners everywhere the atlas drew soft cards. */
.board, .panel, .note, .banner, .vc, .tw, .formula, .quote, .race, .cls, .mx-wrap, .rec, .g, .k,
.date, .gsearch, .tag, .pill, .btn, .theme-btn, .win, .ok, .na, .on, code, .sw { border-radius: 0 !important; }

/* Cards become plates: dark ground, double hairline frame, a gold rule on top. */
.vc, .race, .cls, .panel, .mx-wrap, .tw {
  background: #10141f !important;
  border: 1px solid #2b3242 !important;
  box-shadow: inset 0 0 0 5px #10141f, inset 0 0 0 6px #232a3a, 0 14px 32px rgba(0, 0, 0, .35) !important;
}
.vc { border-top: 2px solid var(--gold) !important; transition: transform .25s cubic-bezier(.16, 1, .3, 1), border-color .2s; }
.vc:hover { transform: translateY(-2px); border-color: #3a4357 !important; }
.vc .pk, .race h3, .cls h3, .cls-head h3 { font-family: "Marcellus", "Palatino Linotype", serif !important; font-weight: 400 !important; letter-spacing: .005em; }
.vc .pk { font-size: 24px !important; color: #ebe5d6; }
.vc .cn { display: inline-flex; align-items: center; gap: 8px; }
.vc .sc { font-size: 12.5px !important; color: #9c9684 !important; }

/* The gold recommendation box: a plate with a gold frame, not a rounded callout. */
.rec { background: #17140c !important; border: 1px solid #8a7038 !important; box-shadow: inset 0 0 0 4px #17140c, inset 0 0 0 5px #3a3018 !important; }

/* Eyebrow and table labels: tracked Public Sans, not monospace. */
.eyebrow, .lbl, thead th, .k-label, .meta-k { font-family: "Public Sans", system-ui, sans-serif !important; letter-spacing: .12em !important; }

/* Pills as stamped labels. */
.pill { border-width: 1px !important; font-weight: 700 !important; letter-spacing: .06em; text-transform: uppercase; font-size: 10.5px !important; padding: 3px 7px !important; }

/* Icons: gold-edged like in-game buttons. */
.ua-icon { display: block; border: 1px solid #8a7038; box-shadow: 0 0 0 1px #000, 0 3px 10px rgba(0, 0, 0, .45); background: #000; border-radius: 3px; }
.ua-inline { display: inline-block; vertical-align: -4px; margin-right: 6px; border-radius: 2px; box-shadow: 0 0 0 1px #000; }
.sigil.ua-has-icon, .crest.ua-has-icon { background: none !important; border: 0 !important; width: auto !important; height: auto !important; padding: 0 !important; clip-path: none !important; box-shadow: none !important; }
.sigil.ua-monogram { font-weight: 400 !important; border-radius: 0 !important; background: #17140c !important; border: 1px solid var(--gold) !important; color: var(--gold) !important; font-family: "Marcellus SC", "Marcellus", serif !important; }
.cls-list .ua-inline { margin: 0 4px 0 8px; }
.race-h { align-items: center; }

/* Matrix cells: square, gold for the top pick. */
.mx-wrap td > *, .mx-wrap .win, .mx-wrap .ok { border-radius: 0 !important; }

/* Phones: the two-column grids had a fixed minimum wider than the screen (pre-existing in the
   original page too), which let the whole page scroll sideways. */
@media (max-width: 640px) {
  .grid2, .lab, .toggles { grid-template-columns: minmax(0, 1fr) !important; }
  .grid2 > *, .lab > *, .toggles > * { min-width: 0; }
  .tg, .tg b, .tg small { white-space: normal !important; overflow-wrap: anywhere; }
}
