.rules{display:block;padding:clamp(72px,8vw,120px) max(48px,calc((100vw - 1440px)/2))}
.rules-heading{max-width:760px;margin-bottom:clamp(42px,5vw,68px)}
.rules-heading h2{margin:1.5rem 0}
.rules-heading>p{max-width:680px}
.al-guide{margin-bottom:clamp(70px,8vw,115px)}
.al-guide-steps{margin:.65rem 0 .5rem;padding:0;list-style:none}
.al-guide-steps li{list-style:none}
.al-guide-steps [hidden]{display:none!important}
.al-guide-steps h4{margin:.65rem 0 .5rem}
.al-guide-steps p{max-width:850px;min-height:3em;margin:0;color:#515f55;font-size:.88rem;line-height:1.65}
.al-last-updated{margin:0;padding:0 max(48px,calc((100vw - 1440px)/2)) 40px;background:#f2e9d8;color:#647168;font-size:.72rem;text-align:right}
.al-guide .bastra-tutorial-scene{display:flex;flex-direction:column;align-items:center;justify-content:space-around;gap:1rem;min-height:350px;background:radial-gradient(circle at 50% 45%,#5e7052,#324b3b 75%,#1d352a);text-align:center}
.alg-zone-label{color:#d8e2d3;font-size:.66rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.alg-card-row{display:flex;align-items:center;justify-content:center;gap:.4rem;min-height:79px}
.alg-move{display:flex;align-items:center;justify-content:center;gap:1rem;min-height:130px;width:100%;padding:.75rem;border:1px dashed #ffffff5c;border-radius:12px;background:#193b2f75}
.alg-target{display:flex;align-items:center;justify-content:center;min-width:75px;min-height:88px}
.alg-arrow{color:#f1c35b;font-size:1.6rem}
.alg-empty{display:grid;place-items:center;width:73px;height:88px;border:1px dashed #ffffff91;border-radius:6px;color:#d8e2d3;font-size:.68rem}
.alg-card-back{display:grid;place-items:center;width:57px;height:79px;border:3px solid #fff7e6;border-radius:6px;background:#d65e4a;color:#fff7e6;font-size:1.6rem;box-shadow:inset 0 0 0 3px #ffffff77}
.alg-mini-columns,.alg-win-suits{display:flex;justify-content:center;gap:.7rem;max-width:100%}
.alg-mini-columns span,.alg-win-suits span{display:grid;place-content:center;width:54px;height:76px;border:2px solid #fff9e9;border-radius:5px;background:#fffaf0;color:#17382f;font:400 1.5rem var(--serif,Georgia,serif);box-shadow:4px -5px 0 #c4bba5,7px -9px 0 #fffaf0}
.alg-mini-columns small,.alg-win-suits small{font:700 .55rem var(--sans,Arial,sans-serif)}
.alg-win-suits span{width:72px}
.alg-stock{padding:.45rem .8rem;border:1px dashed #ffffff66;border-radius:5px;color:#f3e6bb;font-size:.68rem;font-weight:700}
.alg-caption{max-width:100%;padding:.45rem .8rem;border-radius:999px;background:#163629e6;color:#f1c35b;font-size:.68rem;font-weight:700;line-height:1.4}
.al-guide .bt-card{width:57px;height:79px}
.rules-ad{margin:clamp(64px,7vw,100px) 0 0}
@media(max-width:760px){.rules{padding:76px 22px}.al-guide .bastra-tutorial-scene{min-height:315px;padding:16px 10px;gap:.6rem}.al-guide .bt-card,.alg-card-back{width:43px;height:62px}.alg-card-row{min-height:62px;gap:.2rem}.alg-move{gap:.45rem;min-height:100px;padding:.4rem}.alg-target{min-width:45px;min-height:68px}.alg-empty{width:50px;height:64px}.alg-mini-columns,.alg-win-suits{gap:.35rem}.alg-mini-columns span{width:38px;height:55px}.alg-win-suits span{width:54px;height:62px;font-size:1.15rem}.alg-caption{font-size:.59rem}.al-guide-steps p{min-height:0}.al-last-updated{padding:0 22px 32px}}
@media(max-width:380px){.al-guide .bt-card,.alg-card-back{width:37px;height:55px}.alg-mini-columns span{width:30px;height:48px}.alg-win-suits span{width:45px;height:55px}}
