.sim-matcher{max-width:900px;margin:2rem auto;padding:0 1.25rem;color:var(--ff-ink,#172b24)}
.sim-matcher h1{font-family:Georgia,serif;font-size:clamp(2rem,5vw,3.5rem);line-height:1.08;max-width:18ch}
.sim-matcher .sim-deck{font-size:1.2rem;max-width:52ch}
.sim-matcher p,.sim-matcher li{line-height:1.65}.sim-matcher a{color:var(--ff-green,#18543e);text-underline-offset:.2em}
.sim-matcher form,.sim-matcher #sim-result{padding:clamp(1rem,3vw,2rem);border:1px solid var(--ff-line,#cbd1c8);background:var(--ff-surface,#fffdf7);border-radius:5px;margin:2rem 0}
.sim-matcher label{display:block;font-weight:700;margin:1.4rem 0 .5rem}.sim-matcher label:first-child{margin-top:0}
.sim-matcher select{display:block;width:100%;min-height:48px;padding:.8rem .5rem;font:inherit;color:inherit;background:#fff;border:1px solid #68796c;border-radius:3px}
.sim-matcher button{display:block;margin-top:1.5rem;min-height:48px;padding:.8rem 1.1rem;font:inherit;background:var(--ff-green,#18543e);color:#fff;border:0;border-radius:3px;cursor:pointer}
.sim-matcher :is(a,button,select):focus-visible,.sim-matcher #sim-result:focus{outline:3px solid #a04a05;outline-offset:4px}
.sim-matcher #sim-result>p:first-child{font-weight:700}.sim-matcher section{margin-block:2rem}.sim-matcher .source-note{font-size:.9rem}
@media(prefers-reduced-motion:reduce){.sim-matcher *{scroll-behavior:auto}}

.sim-matcher select,.sim-matcher button{box-sizing:border-box;max-width:100%;color-scheme:light}.sim-matcher button:disabled{opacity:.6;cursor:default}.sim-matcher select{font-size:1rem}.sim-matcher #sim-safety{border-left:3px solid #a04a05;padding:.75rem 1rem;background:#fff7e9}
