.sc-rules{font:16px/1.65 system-ui,sans-serif;color:#30261d;background:#fff9ed;max-width:1000px;margin:auto;padding:16px;overflow-wrap:normal;box-sizing:border-box;container-type:inline-size}
.sc-rules *{box-sizing:border-box}
.sc-rules header{background:linear-gradient(125deg,#2f624f,#153d44);color:#fff;padding:24px;border-radius:14px}
.sc-rules h1{font-size:clamp(32px,6vw,56px);color:inherit;margin:0}
.sc-rules h2{font-size:1.4em;color:#286352;border-bottom:2px solid #d6be83;padding-bottom:6px;margin-top:1.8em}
.sc-rules h3{font-size:1.1em;color:#5a4426;margin:1.5em 0 .5em}
.sc-rules li{margin:.65em 0}
.sc-rules table{width:100%;border-collapse:collapse;text-align:center;font-size:.9em}
.sc-rules th,.sc-rules td{padding:8px 3px;border-bottom:1px solid #d9cba9}
.sc-rules aside{background:#f4e7c3;border-left:4px solid #ad7c29;padding:14px;border-radius:6px}
.sc-rules .sc-rule-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:12px}
.sc-rules figure{display:flex;gap:12px;align-items:center;margin:0;padding:10px;background:#fff;border:1px solid #e5d5b1;border-radius:9px}
.sc-rules figure img{width:60px;height:90px;object-fit:contain;flex:none}
.sc-rules figcaption{font-size:.9em}
.sc-rules .sc-illustrations{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px}
.sc-rules figure.sc-illustration{display:flex;flex-direction:column;align-items:center;width:fit-content;max-width:100%;margin:16px auto;padding:12px;break-inside:avoid}
.sc-rules .sc-illustrations figure.sc-illustration{width:100%;margin:0}
.sc-rules figure.sc-illustration img{width:auto;height:auto;max-width:100%}
.sc-rules figure.sc-illustration figcaption{width:100%;max-width:70ch}
.sc-rules figure.sc-wide{width:100%}
.sc-rules img.sc-rule-page{display:block;max-width:100%;width:auto;height:auto;margin:12px auto}
.sc-rules details{margin:24px 0}.sc-rules summary{cursor:pointer;font-weight:600}
.sc-rules footer{margin-top:24px;font-size:.8em;color:#706552}
@container (max-width:460px){
 .sc-rules header{padding:16px}
 .sc-rules h2{font-size:1.25em}
 .sc-rules ol,.sc-rules ul{padding-left:1.4em}
 .sc-rules aside{padding:12px}
 .sc-rules .sc-card-sets,.sc-rules .sc-card-sets tbody{display:block}
 .sc-rules .sc-card-sets thead{display:none}
 .sc-rules .sc-card-sets tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px;margin:12px 0;padding:12px;background:#fff;border:1px solid #e5d5b1;border-radius:9px;text-align:left}
 .sc-rules .sc-card-sets td{display:flex;justify-content:space-between;gap:8px;padding:2px 0;border:0}
 .sc-rules .sc-card-sets td:first-child{grid-column:1/-1;display:block;font-weight:700;color:#5a4426;padding-bottom:6px}
 .sc-rules .sc-card-sets td:not(:first-child)::before{content:attr(data-label)}
}
