:root{--bg:#fafaf9;--surface:#fff;--text:#1c1917;--muted:#57534e;--border:#e7e5e4;--accent:#c2410c;--accent-text:#9a3412;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.55}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#161412;--surface:#1f1c1a;--text:#f5f5f4;--muted:#a8a29e;--border:#3a3532;--accent:#fb923c;--accent-text:#fdba74}}*{box-sizing:border-box}body{background:var(--bg);margin:0}a{color:var(--accent-text)}.shell{flex-direction:column;max-width:56rem;min-height:100vh;margin:0 auto;padding:0 1rem;display:flex}.site-header{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.5rem 1.5rem;padding:1rem 0;display:flex}.brand{color:var(--text);font-size:1.25rem;font-weight:700;text-decoration:none}.site-header nav{gap:1rem;display:flex}.site-header nav a{color:var(--muted);text-decoration:none}.site-header nav a.active{color:var(--accent-text);font-weight:600}main{flex:1;min-width:0;padding:1.5rem 0 3rem}.muted{color:var(--muted)}.site-footer{border-top:1px solid var(--border);padding:1rem 0 1.5rem}.disclaimer{color:var(--muted);margin:0;font-size:.8rem}.small{font-size:.85rem}button{font:inherit;border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;border-radius:.375rem;padding:.3rem .8rem}button:hover{border-color:var(--accent)}.decklist-input{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);resize:vertical;border-radius:.375rem;padding:.6rem .75rem;font:.9rem/1.45 ui-monospace,SFMono-Regular,Consolas,monospace}.deck-summary{flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin:1rem 0 .5rem;display:flex}.ok{color:#15803d}.problems{margin:.5rem 0;padding-left:1.25rem}.problem.error{color:#b91c1c}.problem.warning{color:#a16207}@media (prefers-color-scheme:dark){.ok{color:#4ade80}.problem.error{color:#f87171}.problem.warning{color:#facc15}}.deck-sections h2{margin:1.25rem 0 .25rem;font-size:1.1rem}.deck-table{border-collapse:collapse;width:100%}.deck-table td{border-bottom:1px solid var(--border);vertical-align:top;padding:.2rem .5rem .2rem 0}.deck-table .count{text-align:right;font-variant-numeric:tabular-nums;width:2rem;padding-right:.75rem}.deck-table .print{text-align:right;white-space:nowrap}.deck-input{margin:1rem 0}.deck-input summary{cursor:pointer;margin-bottom:.5rem;font-weight:600}.odds-settings{flex-wrap:wrap;align-items:center;gap:.5rem 1.25rem;margin:1rem 0;display:flex}.odds-summary{flex-wrap:wrap;gap:.75rem 2rem;margin:1rem 0;display:flex}.odds-summary div{flex-direction:column;display:flex}.odds-summary dt{color:var(--muted);font-size:.85rem}.odds-summary dd{font-variant-numeric:tabular-nums;margin:0;font-size:1.35rem;font-weight:600}section h2{margin:2rem 0 .25rem;font-size:1.15rem}.table-scroll{overflow-x:auto}.odds-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.odds-table th,.odds-table td{border-bottom:1px solid var(--border);text-align:right;white-space:nowrap;padding:.2rem .5rem}.odds-table thead th{color:var(--muted);font-size:.85rem;font-weight:600}.odds-table tbody th[scope=row]{text-align:left;white-space:normal;min-width:8rem;font-weight:400}.odds-table thead th:nth-child(2){text-align:left}.odds-table .section-row th{text-align:left;padding-top:.75rem;font-weight:600}.prize-table{width:auto}.group-editor{border:1px solid var(--border);border-radius:.375rem;margin:.5rem 0}.group-editor legend{gap:.5rem;display:flex}.group-editor input:not([type]),select{font:inherit;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:.375rem;padding:.2rem .4rem}.group-cards{grid-template-columns:repeat(auto-fill,minmax(12rem,1fr));gap:.1rem 1rem;font-size:.9rem;display:grid}.question{flex-direction:column;align-items:flex-start;gap:.5rem;display:flex}.condition{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.answer{color:var(--accent-text);font-variant-numeric:tabular-nums;margin:.25rem 0;font-size:2rem;font-weight:700}
