/* Sideboard Optimizer (9 Oct 2026, js/16.js). Full pane width like the Maybeboard; text blocks stay at reading width. */
#optimizer .article{max-width:none}
/* The article is a grid: its children must not grow past the pane (the ratings table scrolls in its own frame). */
.sbo,.sbo>*{min-width:0;max-width:100%}
#optimizer .article>p,#optimizer .article>details,#optimizer .article>h2,#optimizer .sbo>p,#optimizer .sbo>h3{max-width:860px}
.sbo-credit{margin:0 0 14px;padding:10px 14px;border-left:3px solid var(--gn-gold);border-radius:0 8px 8px 0;background:#12221a;color:#cfdbe4;font-size:14px;line-height:1.55}
.sbo-credit+.sbo-lead{margin:0 0 10px;font-size:16px;line-height:1.55;text-wrap:pretty}
.sbo-about{color:#b9c8d4;font-size:14px;margin:0 0 18px}
.sbo-about summary{cursor:pointer;color:var(--accent);font-weight:700}
.sbo-about p,.sbo-about ul{margin:10px 0 0;line-height:1.6}
.sbo-about dl{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:10px 0 0}
.sbo-about dt{font-weight:700;color:var(--gn-gold)}
.sbo-bar{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 6px}
.sbo h3{margin:24px 0 6px}
#optimizer .sbo-rank{width:100%;list-style:none;margin:10px 0 0;padding:0;display:grid;gap:6px;max-width:980px}
.sbo-rank li{display:grid;grid-template-columns:42px minmax(0,1fr) minmax(0,340px);gap:12px;align-items:center;padding:6px 10px 6px 6px;border-radius:10px;background:#0f1a22;border:1px solid #22343f}
.sbo-rank img{width:42px;height:58px;object-fit:cover;border-radius:4px;display:block}
.sbo-who{display:flex;flex-direction:column;gap:2px;min-width:0}
.sbo-who small{color:#9fb3c1;font-size:12px}
.sbo-ours{color:#0b281c;background:var(--gn-fill);padding:0 6px;border-radius:999px;font-weight:700}
.sbo-rank li.is-ours{border-color:#3c6a52}

.sbo-num{display:grid;grid-template-columns:repeat(3,auto);gap:4px 14px;align-items:baseline;justify-content:end;font-size:12px;color:#9fb3c1}
.sbo-num b{font-size:16px;color:var(--text)}


.sbo-scroll{max-width:100%;overflow-x:auto;border:1px solid #22343f;border-radius:10px}
.sbo-grid{border-collapse:separate;border-spacing:0;font-size:12px;min-width:max-content}
.sbo-grid th,.sbo-grid td{padding:2px;text-align:center;border-bottom:1px solid #1b2b36}
.sbo-grid thead th{vertical-align:bottom;padding:6px 4px;font-weight:700;color:#cfdbe4;min-width:58px;max-width:76px;line-height:1.2}
.sbo-grid thead th span{display:block;white-space:normal;overflow-wrap:anywhere}
.sbo-grid thead th small{display:block;color:#9fb3c1;font-weight:400}
.sbo-grid th[scope=row],.sbo-grid thead th:first-child{position:sticky;left:0;z-index:1;background:#0d171e;text-align:left;padding:4px 10px;white-space:nowrap;min-width:0;max-width:none}
.sbo-grid td button{all:unset;box-sizing:border-box;cursor:pointer;width:46px;height:30px;display:grid;place-items:center;border-radius:6px;font-weight:700;color:#cfdbe4;
 background:color-mix(in srgb,#78de99 calc(var(--v)*70%),#132029);position:relative}
.sbo-grid td button[data-v="0"]{color:#7d93a4}
.sbo-grid td button[data-v="0.75"],.sbo-grid td button[data-v="1"]{color:#000}
.sbo-grid td button.changed::after{content:"";position:absolute;top:3px;right:3px;width:5px;height:5px;border-radius:50%;background:var(--gn-gold)}
.sbo-grid td button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
@media (hover:hover) and (pointer:fine){.sbo-grid td button:hover{box-shadow:inset 0 0 0 1px var(--gn-gold)}}
.sbo-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0 0}
.sbo-actions .btn{all:unset;box-sizing:border-box;cursor:pointer;min-height:38px;padding:8px 14px;border-radius:9px;font:700 13px Roboto,"Segoe UI",system-ui,sans-serif;color:var(--text);background:#16242d;border:1px solid #2f4452}
.sbo-actions .btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media (hover:hover) and (pointer:fine){.sbo-actions .btn:hover{background:#1b2b36}}
.sbo-msg{color:#9ee6bd;font-size:13px}
.sbo-strip{display:flex;height:10px;margin-top:6px;border-radius:3px;overflow:hidden;background:#132029;max-width:520px}
.sbo-strip i{display:block;min-width:1px;border-right:1px solid #0b1218;background:color-mix(in srgb,#78de99 calc(var(--v)*100%),#132029)}
.sbo-num .sbo-tag{grid-column:1/-1;justify-self:end;padding:2px 8px;border-radius:999px;font-size:12px;font-weight:700}
.sbo-tag.in{background:#123224;color:#9ee6bd}
.sbo-tag.gain{background:#3a3214;color:var(--gn-gold)}
.sbo-tag.none{background:#1b2b36;color:#9fb3c1}
.sbo-mcue{max-width:860px}




.sbo-inter{border-collapse:collapse;font-size:13px;min-width:720px}
.sbo-inter th,.sbo-inter td{padding:6px 8px;border-bottom:1px solid #1b2b36;text-align:left;vertical-align:top}
.sbo-inter thead th{color:#9fb3c1;font-weight:700}
.sbo-inter tr.hate th{color:#f2b0a8}
.sbo-inter tr.key th{color:#9ee6bd}
.sbo-grid td button.adj-down::before,.sbo-grid td button.adj-up::before{position:absolute;bottom:2px;left:3px;font-size:9px;line-height:1}
.sbo-grid td button.adj-down::before{content:"▼";color:#f2b0a8}
.sbo-grid td button.adj-up::before{content:"▲";color:#9ee6bd}
@media (max-width:700px){
 .sbo-rank li{grid-template-columns:42px minmax(0,1fr)}
 .sbo-num{grid-column:1/-1;justify-content:start}
 .sbo-num .sbo-tag{justify-self:start}
 .sbo-actions .btn{min-height:44px}
}

/* Under the radar and the view switch (11 Oct 2026: the theoretical fifteen was replaced by a card ranking). */
.sbo-caveat{margin:10px 0;color:var(--muted);font-size:13px;max-width:980px}
.sbo-radar{margin:12px 0 14px;padding:12px 14px;border-radius:12px;background:#0f1a22;border:1px solid #22343f;max-width:980px}
.sbo-radar.is-on{border-color:#6a5f2c;background:linear-gradient(90deg,#1d1a0f,#0f1a22 70%)}
.sbo-radar h3{margin:0 0 6px;font-size:16px}
.sbo-radar.is-on h3{color:var(--gn-gold)}
.sbo-radar p{margin:4px 0}
.sbo-radar ul{list-style:none;margin:8px 0;padding:0;display:grid;gap:6px}
.sbo-radar li{display:flex;align-items:center;gap:10px;font-size:14px}
.sbo-radar img{width:30px;height:42px;object-fit:cover;border-radius:3px;flex:none}
.sbo-pos{display:inline-block;min-width:1.6em;color:#9fb3c1;font-weight:700}
.sbo-rank li.is-radar{border-color:#6a5f2c}
.sbo-strips{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:6px;max-width:980px}
.sbo-strips li{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr) 34px;gap:12px;align-items:center;font-size:13px}
.sbo-strips .sbo-strip{margin-top:0;max-width:none;height:14px}
.sbo-strips b{text-align:right}
.sbo-strip-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sbo-strip-name .sbo-ours{font-style:normal;font-size:11px}
@media (max-width:600px){.sbo-strips li{grid-template-columns:minmax(0,1fr) 34px}.sbo-strips .sbo-strip{grid-column:1/-1;grid-row:2}}
.sbo-use{margin:8px 0 0;font-size:12px;color:#9fb3c1}

/* Auxiliary running text at 12 px (UI/UX audit, 11 Oct 2026): notes,footnotes,credits,logs and metadata that were
   11 px. Uppercase eyebrows,pills,badges,card captions and matrix cells stay at 11 px: they are labels,not prose.
   This is the last stylesheet,so these rules win over the originals without !important. */
.gf-footnote,.gf-log,.gf-mana-panel small,.gf-hand-heading small,.combo36-pool small,.combo37-credit,.footer .footnote,.footer-updated,.m39-kpis span,.category-totals48 small,.mu-their-note,.mu-credit,.mu-meta dt,.mu-their thead th,.maybe-cards .maybe-meta,.res-finish small,.odds .data td small,.odds h4 span,.odds-field .odds-was,.mbs-card .mbs-text,.mbs-credit,.mbs-info dt,.mbs-yr small{font-size:12px}
.footer-updated{white-space:normal;text-align:right}
@media (max-width:760px){.mobile-meta45 small{font-size:12px}}

/* Optimizer by job (runkor, 15 Oct 2026, from the prototype https://claude.ai/artifact/1Rsgu2v6UTHETzcWmCsJig):
   four jobs in a 2×2 grid, a bar per card (MC long, UE thin), our 75 with a gold border, rare candidates hidden. */
.sbo-rare{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);padding:7px 10px;border-radius:9px;border:1px solid var(--line)}
.sbo-rare i{width:30px;height:16px;border-radius:9px;background:#26323e;position:relative;flex:none}
.sbo-rare i::after{content:"";position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:var(--muted);transition:transform .15s}
.sbo-rare[aria-checked=true]{color:var(--text)}
.sbo-rare[aria-checked=true] i{background:#2f5d4a}
.sbo-rare[aria-checked=true] i::after{transform:translateX(14px);background:var(--accent)}
.sbo-rare:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.sbo-explain{display:grid;gap:12px;margin:14px 0;padding:16px 18px;border-radius:14px;background:var(--panel);border:1px solid var(--line)}
.sbo-explain h3{margin:0;font-size:16px}
.sbo-ex-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sbo-ex{display:grid;gap:6px;align-content:start;padding:12px 14px;border-radius:10px;background:#0f1821}
.sbo-ex-h{display:flex;align-items:center;gap:8px}
.sbo-ex-h b{font-size:18px}
.sbo-ex-h span{font-size:13px;color:var(--muted)}
.sbo-ex p{margin:0;font-size:13px;line-height:1.55}
.sbo-ex .sbo-ex-use{color:var(--muted)}
.sbo-ex .sbo-ex-use b{color:var(--text)}
.sbo-ex-eg{margin:0;font-size:13px}
.sbo-ex-scale{margin:0;display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12px;color:var(--muted)}
.sbo-ex-scale b{color:var(--text)}
.sbo-ex-scale span{display:inline-flex;align-items:center;gap:6px}
.sbo-sw{display:inline-block;width:22px;height:8px;border-radius:4px;background:var(--gn-fill)}
.sbo-sw.ue{height:3px;background:#5f8f7a}
.sbo-sw.o{width:10px;height:10px;border-radius:3px;background:none;border:2px solid var(--gn-gold)}
.sbo-jobs{display:grid;gap:16px;align-items:start;margin:6px 0 12px}
@media (min-width:1000px){.sbo-jobs{grid-template-columns:repeat(2,minmax(0,1fr))}}
.sbo-job{border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:14px;background:#0f1821;overflow:hidden;min-width:0}
.sbo-job-h{padding:12px 16px;background:var(--panel2);border-bottom:1px solid var(--line)}
.sbo-job-h h3{margin:0;font-size:20px;font-weight:900;text-transform:uppercase;letter-spacing:.01em}
.sbo-job-h p{margin:2px 0 0;font-size:12px;color:var(--muted)}
.sbo-job ol{list-style:none;margin:0;padding:8px;display:grid;gap:4px}
.sbo-job li{display:grid;grid-template-columns:22px 38px minmax(0,1fr) 56px;grid-template-areas:"pos img who val" "pos img meter meter";gap:6px 12px;align-items:center;padding:8px 10px 8px 6px;border-radius:10px;border:1px solid transparent}
.sbo-job li+li{border-top-color:#1b2733}
.sbo-job li.is-ours{border-color:#5d5326;background:linear-gradient(90deg,#1b1a12,transparent 55%)}
.sbo-job li.is-rare{opacity:.62}
.sbo-job .sbo-pos{grid-area:pos;font-size:13px;color:var(--muted);text-align:right}
.sbo-job img{grid-area:img;width:38px;height:52px;border-radius:4px;object-fit:cover;box-shadow:0 3px 8px #0008}
.sbo-job .sbo-who{grid-area:who;min-width:0}
.sbo-job .sbo-who b{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sbo-job .sbo-who small{display:flex;flex-wrap:wrap;gap:4px 8px;font-size:12px;color:var(--muted)}
.sbo-chip{font-size:11px;font-weight:700;padding:0 6px;border-radius:5px;border:1px solid var(--gn-gold);color:var(--gn-gold)}
.sbo-chip.rare{border-color:#55606b;color:#9aa6b2}
.sbo-chip.radar{border-color:#6a5f2c;color:#ffe6a6;background:#1d1a0f}
.sbo-meter{grid-area:meter;display:grid;gap:4px;min-width:0}
.sbo-mc{height:12px;border-radius:6px;background:#1a2632;overflow:hidden}
.sbo-mc i{display:block;height:100%;border-radius:6px;background:var(--gn-fill)}
.sbo-ue{height:4px;border-radius:2px;background:#1a2632;overflow:hidden}
.sbo-ue i{display:block;height:100%;background:#5f8f7a}
.sbo-meter span{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.sbo-val{grid-area:val;text-align:right;font-size:20px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}
.sbo-val small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:3px}
.sbo-more{margin-top:14px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#0f1821}
.sbo-more>summary{cursor:pointer;font-weight:700}
.sbo-more[open]>summary{margin-bottom:10px}
@media (max-width:640px){.sbo-ex-grid{grid-template-columns:1fr}}
/* Not rated yet (27 Oct 2026): popular sideboard cards from the nightly scan that have no ratings. */
.sbo-fresh{margin:14px 0;padding:12px 16px;border:1px dashed rgba(237,204,114,.45);border-radius:12px;background:rgba(237,204,114,.05)}
.sbo-fresh h4{margin:0 0 4px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--gn-gold,#edcc72)}
.sbo-fresh p{margin:0;color:var(--muted);font-size:14px}
.sbo-fresh b{color:var(--text);font-weight:600}
