.gamex-sts{color:#171717;min-width:0;max-width:100%;overflow-wrap:anywhere;font-size:16px;line-height:1.8}
.gamex-sts *{box-sizing:border-box}.gamex-sts [hidden]{display:none!important}
.gamex-sts h1{font-size:clamp(1.65rem,4vw,2.3rem);line-height:1.4;margin:.5rem 0 1.2rem;font-weight:800;color:#111}
.gamex-sts h2{font-size:1.35rem;line-height:1.55;border-left:5px solid #b40b19;padding-left:.65rem;margin:1.6rem 0 .8rem;color:#111}
.gamex-sts h3{font-size:1.1rem;line-height:1.6;margin:1.25rem 0 .5rem;color:#111}
.gamex-sts p{margin:.7rem 0}.gamex-sts a{color:#9e0814;text-decoration:underline;text-underline-offset:3px}
.gamex-sts :is(a,button,input,select,summary):focus-visible{outline:3px solid #b40b19;outline-offset:3px}
.gamex-sts .sts-panel{border:1px solid #d9d9d9;border-radius:4px;padding:1rem;margin:1.4rem 0;background:#fff;min-width:0;max-width:100%}
.gamex-sts .sts-panel>h2:first-child{margin-top:0}
.gamex-sts .sts-note{border-left:3px solid #bbb;background:#f6f6f6;padding:.7rem .85rem;color:#333;font-size:.93rem}
.gamex-sts .sts-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:.9rem;margin-top:1rem}
.gamex-sts label{display:block;line-height:1.7;font-weight:600;min-width:0}
.gamex-sts input:not([type=checkbox]),.gamex-sts select{display:block;font-family:inherit;font-size:16px;line-height:1.5;width:100%;max-width:100%;min-height:44px;padding:.55rem .65rem;margin-top:.3rem;border:1px solid #888;border-radius:3px;background:#fff;color:#111}
.gamex-sts button{font:inherit;font-weight:650;font-size:1rem;line-height:1.5;min-height:44px;max-width:100%;padding:.6rem 1rem;border:1px solid #a30b17;border-radius:3px;background:#ad0b18;color:#fff;cursor:pointer;white-space:normal}
.gamex-sts button.sts-secondary{background:#fff;color:#222;border-color:#888}.gamex-sts button:disabled{background:#eee;border-color:#bbb;color:#666;cursor:default}
.gamex-sts .sts-attack-row{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin:.85rem 0;padding-bottom:.85rem;border-bottom:1px solid #ddd;min-width:0}
.gamex-sts .sts-single-field{max-width:20rem}
.gamex-sts .sts-answer{font-size:1.15rem;font-weight:750;color:#a00915}
.gamex-sts [role=alert]{border-left:4px solid #ad0b18;padding:.5rem .75rem;color:#8b0610;background:#fff4f4}
.gamex-sts details{border-top:1px solid #ddd;padding:.4rem 0;margin-top:.8rem;min-width:0}
.gamex-sts summary{cursor:pointer;min-height:44px;padding:.5rem 0;font-weight:650;color:#222}
.gamex-sts .sts-table-wrap{overflow-x:auto;max-width:100%;margin:.75rem 0}
.gamex-sts table{border-collapse:collapse;table-layout:auto;width:100%;color:#171717;background:#fff;font-size:.95rem}
.gamex-sts table th{background:#f0f0f0!important;color:#111!important;font-weight:700;text-align:left}
.gamex-sts :is(th,td){padding:.6rem .7rem;border:1px solid #ccc;vertical-align:top;line-height:1.7;overflow-wrap:anywhere}
.gamex-sts .sts-toc{border:1px solid #ccc;padding:.5rem 1rem;background:#fafafa}
.gamex-sts .sts-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:.75rem;margin:1rem 0}
.gamex-sts .sts-link-card{display:block;border:1px solid #ccc;padding:.8rem 1rem;background:#fff;border-left:4px solid #ad0b18;text-decoration:none;color:#222}
.gamex-sts .sts-link-card strong{display:block;color:#a00915;font-size:1.06rem}
@media(max-width:480px){.gamex-sts .sts-panel{padding:.8rem}.gamex-sts h2{font-size:1.2rem}.gamex-sts .sts-attack-row{grid-template-columns:1fr}.gamex-sts :is(th,td){padding:.5rem}.gamex-sts .sts-links{grid-template-columns:1fr}}

.gamex-sts .sts-game-title{display:block;font-size:.55em;font-weight:650;margin-bottom:.4rem;color:#555}
.gamex-sts .sts-nav{display:flex;gap:.5rem;flex-wrap:wrap;margin:.5rem 0 1rem;padding:.5rem 0;border-bottom:1px solid #ddd}
.gamex-sts .sts-nav a{display:inline-flex;align-items:center;min-height:44px;padding:.35rem .7rem;border:1px solid #ccc;background:#fff;color:#222;border-radius:3px;text-decoration:none}
.gamex-sts .sts-scope,.gamex-sts .sts-muted{color:#555;font-size:.9rem}
.gamex-sts .sts-pagination{display:flex;align-items:center;justify-content:center;gap:.6rem;flex-wrap:wrap;margin:1rem 0}
.gamex-sts .sts-check{display:flex;align-items:center;gap:.6rem;margin:.8rem 0;padding:.4rem;min-height:44px;font-weight:550}
.gamex-sts .sts-check input{width:22px;height:22px;flex:none;margin:0;accent-color:#ad0b18}
.gamex-sts .sts-record{padding:.6rem .4rem;border-bottom:1px solid #ddd}
.gamex-sts .sts-record summary{overflow-wrap:anywhere}
.gamex-sts footer{border-top:1px solid #ddd;margin-top:2rem;padding-top:1rem}
.gamex-sts caption{text-align:left;font-weight:700;padding:.5rem 0;color:#222}
.gamex-sts [data-sts-comparison] td{min-width:8rem}
@media(max-width:480px){.gamex-sts .sts-nav{gap:.4rem}.gamex-sts .sts-nav a{padding:.35rem .5rem}.gamex-sts [data-sts-comparison] td{min-width:7rem}}

.gamex-sts [data-sts-comparison] table{min-width:34rem}
.gamex-sts [data-sts-comparison] th[scope=row]{min-width:6rem;width:6rem}


/* Keep character names and numeric columns readable in the scroll container. */
.gamex-sts[data-sts-page="characters"] table{min-width:38rem}
.gamex-sts[data-sts-page="characters"] :is(th,td):first-child{min-width:10rem;white-space:nowrap}
.gamex-sts[data-sts-page="characters"] :is(th,td):nth-child(2){min-width:4rem;white-space:nowrap}
.gamex-sts[data-sts-page="characters"] :is(th,td):nth-child(3){min-width:6rem;white-space:nowrap}
.gamex-sts[data-sts-page="characters"] :is(th,td):last-child{min-width:18rem}
