/* The Game math page. Tables, figures and notes reuse the account page's styles in pages.css. */
.math-pick { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 420px); gap: 12px; margin-bottom: 16px; }
.math-pick .field[hidden] { display: none; }
.math-detail { display: grid; gap: 14px; margin-bottom: 28px; }
.math-detail h2 { margin: 0; } .math-detail h3 { margin: 10px 0 0; font: 800 11px/1.4 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.math-detail .note, .math-detail .figures { margin: 0; }
.math-strategy { padding: 10px 12px; border-radius: 10px; background: var(--deep); border-left: 3px solid var(--info); line-height: 1.55; }
.math-strategy b { color: var(--text); }
.math-table td:first-child { white-space: normal; min-width: 150px; }
.math-table tbody tr:hover td { background: var(--surface-2); }
.math-table .num { text-align: right; }
.math-more { margin-top: 10px; width: 100%; }
.math-all-title { margin: 0 0 10px; }
.math-all .link-button { color: var(--text); text-decoration: none; font-size: 14px; } .math-all .link-button:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 640px) { .math-pick { grid-template-columns: 1fr; } .math-table td, .math-table th { padding-inline: 7px; } .math-detail .figures { grid-template-columns: 1fr; } }
