/* Shared prediction content. Scope all rules to prediction classes; keep theme overrides local. */
.prediction-post-title-head{margin:0;padding:10px;background:#d92f2f;color:#fff;text-align:center;font:bold 18px/1.6 sans-serif;overflow-wrap:anywhere}
.prediction-post-title-head *{color:inherit!important;background:none!important}
:is(.prediction-content,.prediction-layout-v2){margin:0;background:#fff;color:#171717;font:17px/1.7 sans-serif;overflow-wrap:anywhere}
:is(.prediction-content,.prediction-layout-v2):is(article,section){border:1px solid #ddd}
:is(p:is(.prediction-content,.prediction-layout-v2),:is(.prediction-content,.prediction-layout-v2).prediction-row,:is(.prediction-content,.prediction-layout-v2) p,:is(.prediction-content,.prediction-layout-v2) .prediction-row){margin:0;padding:8px;border-bottom:1px solid #ddd}
:is(.prediction-content,.prediction-layout-v2) .prediction-group{margin:0;padding:0}
:is(.prediction-content,.prediction-layout-v2) .prediction-row .prediction-row{padding:0;border:0}
:is(.prediction-content,.prediction-layout-v2) .bold{font-weight:700}
:is(.prediction-content,.prediction-layout-v2) :is(.blue,.prediction-label,.prediction-forecast){color:#165dce}
:is(.prediction-content,.prediction-layout-v2) .green{color:#138044}
:is(.prediction-content,.prediction-layout-v2) :is(.red,.prediction-hit,.prediction-result-strong){color:#d62d2d}
:is(.prediction-content,.prediction-layout-v2) :is(.highlight,.prediction-hit,.prediction-result-strong){background:#fff1a8}
:is(.prediction-content,.prediction-layout-v2) .prediction-result-miss{color:#777}
.prediction-number-group{font-size:16px;border-bottom:1px solid #ddd}
:is(.prediction-number-group:is(.prediction-content,.prediction-layout-v2),:is(.prediction-content,.prediction-layout-v2) .prediction-number-group)>p{padding:3px 8px;border:0;text-wrap:pretty}
.prediction-window-grid{display:grid;grid-template-columns:4em minmax(0,1fr) 6em;align-items:center;text-align:center;font-size:16px}
.prediction-window-grid>p.prediction-row{min-width:0;border:0}
@media(max-width:420px){.prediction-number-group{font-size:15px}}
table:is(.prediction-table,.prediction-layout-table-v3){width:100%;max-width:100%;border-collapse:collapse;table-layout:fixed!important;border:1px solid #ddd}
:is(.prediction-table,.prediction-layout-table-v3) :is(td,th){padding:8px;border:1px solid #ddd;vertical-align:middle;white-space:normal!important;overflow-wrap:anywhere!important}
:is(.prediction-table,.prediction-layout-table-v3) td :is(p,.prediction-row,.prediction-group,.prediction-number-group){margin:0;padding:0;border:0}
:is(.prediction-table,.prediction-layout-table-v3).prediction-number-group{font-size:16px}
:is(.prediction-table,.prediction-layout-table-v3).prediction-table-window{font-size:16px;text-align:center}
:is(.prediction-table,.prediction-layout-table-v3).prediction-table-window td:first-child{width:4em}
:is(.prediction-table,.prediction-layout-table-v3).prediction-table-window td:last-child{width:6em}
@media(max-width:420px){:is(.prediction-table,.prediction-layout-table-v3).prediction-number-group{font-size:15px}}

/* Shared two-line code table; used by article 10 without changing other tables. */
table.prediction-code-pairs{border-collapse:collapse;border-radius:0;table-layout:fixed!important}
.prediction-code-pairs td{vertical-align:middle;text-align:center;font-size:15px}
.prediction-code-pairs td.prediction-code-period{width:42px;padding:0 2px;text-align:center;color:#9b873c;font:bold 15px/1.5 sans-serif}
.prediction-code-pairs td.prediction-code-result{width:64px;padding:0 2px;text-align:center;color:#000;font:bold 15px/1.5 sans-serif;white-space:nowrap!important}
.prediction-code-pairs td.prediction-code-line{padding:4px 8px;text-align:center;color:#ed6c00;font:bold 15px/1.5 sans-serif;white-space:nowrap!important;overflow-wrap:normal!important}
.prediction-code-pairs .prediction-code-line span{color:inherit;background:none}
.prediction-code-pairs .prediction-code-result :is(.red,.prediction-result-strong){color:#f00;background:none}
.prediction-code-pairs .prediction-code-result .prediction-result-miss{color:#000}
@media(max-width:360px){.prediction-code-pairs td.prediction-code-line{padding:4px;font-size:15px}.prediction-code-pairs td.prediction-code-period{width:38px}.prediction-code-pairs td.prediction-code-result{width:60px}}

/* All article bodies: one font size; retain headings outside the body. */
.content-html,.content-html *{font-size:15px!important}
.content-html :is(td,th),.content-html :is(td,th) *{text-align:center!important;vertical-align:middle!important}
