/* 37a: one lion seal shared by the board and the illustrated rules. */
.game-card{display:block;height:auto;max-height:none}.rules-view{border:0;border-radius:0;background:none;box-shadow:none;padding:0}.rules-view p{font-family:system-ui,sans-serif;color:#c5cfc3;line-height:1.75}.rules-view .guide-intro h2{text-transform:none;margin:6px 0 0}.rules-view .guide-intro .eyebrow{margin:0;color:#a9b7ad}.rules-view .guide-lead{margin:20px 0 30px}.rules-view .guide-step>p{margin:12px 0 20px}.rules-view .ending-example p{margin:0 0 10px}.rules-view .guide-bottom p{margin:0 0 22px}
.key-tile{height:124px;grid-template-rows:36px 48px;align-content:center;gap:8px;padding:10px 3px}
.key-tile .key-icon,.lion-stamp{display:block;width:44px;height:44px;max-width:100%;margin:0;transform:none;opacity:.92;background:url('assets/lion-seal-37a.webp') center/contain no-repeat;mix-blend-mode:multiply;pointer-events:none;flex-shrink:0}
.key-icon::before,.key-icon::after{display:none}.key-number{font-size:33px}.key-tile::after{pointer-events:none}.key-tile:disabled:not(.is-closed){opacity:.9}.key-tile.is-closed .key-icon{opacity:.55}
.rules-view{max-height:none;overflow:visible;font:14px/1.75 system-ui,sans-serif;letter-spacing:0}.guide-intro{display:flex;align-items:center;gap:18px}.guide-intro img{border-radius:50%;width:64px;height:64px;object-fit:contain}.guide-intro h2{font:28px/1.2 Georgia,serif;letter-spacing:0;margin:6px 0 0;color:#eadcc2}.guide-lead{color:#c5cfc3;margin:20px 0 30px;max-width:65ch}.guide-step{padding:24px 0;border-top:1px solid #b4a47b3b}.step-heading{display:flex;align-items:baseline;gap:13px}.step-heading>span{font:11px system-ui,sans-serif;color:#c3aa7d}.step-heading h3{font:500 18px/1.4 system-ui,sans-serif;margin:0;color:#eadcc2}.guide-step>p{margin:12px 0 20px;color:#bcc9be}.roll-example{display:flex;align-items:center;gap:16px;color:#ead7b0}.roll-example svg{width:55px;height:55px;stroke-width:1.4}.roll-example>span{font:24px Georgia,serif;color:#aabcad}.roll-example>strong{font:46px/1 Georgia,serif;margin-left:4px}
.lesson{padding:20px;border:1px solid #a8bd9b44;border-radius:6px;background:#101d1944}.lesson-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;color:#e9d9b9;font:500 14px system-ui,sans-serif}.lesson-reset{display:grid;place-items:center;width:40px;height:40px;border:1px solid #a8bd9b44;border-radius:50%;color:#ddcfad;background:transparent;cursor:pointer}.lesson-reset svg{width:18px;height:18px}.lesson-keys{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:8px}.lesson-key,.sample-key{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;height:88px;padding:7px 3px;border:1px solid #dec391;border-radius:4px;background:linear-gradient(110deg,#ecdbb5,#c2a574);color:#342e23;font:27px/1 Georgia,serif;box-shadow:inset 0 0 0 2px #775b3a33,0 3px 0 #806642}.lesson-key{cursor:pointer}.lesson-key .lion-stamp,.sample-key .lion-stamp{width:32px;height:32px}.lesson-key.is-selected,.sample-selected{background:#e2f0d7;border-color:#efffe0;box-shadow:inset 0 0 0 2px #7b956f,0 3px 0 #73866a}.lesson-key.is-closed,.sample-closed{background:#64796e;filter:saturate(.4);opacity:.5;box-shadow:none}.lesson-key:disabled:not(.is-closed){opacity:1}.lesson-feedback{display:flex;flex-direction:column;gap:6px;margin:20px 0 14px;min-height:62px}.lesson-equation{font:17px/1.4 system-ui,sans-serif;color:#eddbb4}.lesson-message{font:13px/1.6 system-ui,sans-serif;color:#c5d1c4}.lesson-commit{padding-inline:18px}.state-examples{display:flex;gap:32px}.state-examples figure{margin:0;text-align:center}.sample-key{width:64px}.state-examples figcaption{font:12px system-ui,sans-serif;color:#c4d0c3;margin-top:12px}.ending-example{display:grid;grid-template-columns:150px minmax(0,1fr);gap:28px;align-items:center}.example-label{display:block;font:11px system-ui,sans-serif;color:#b7c5b8;margin-bottom:12px}.remaining-example{display:flex;gap:12px}.ending-example p{margin:0 0 10px;color:#c3cbbf}.ending-example strong{color:#ead7af;font-weight:500}.guide-bottom{border-top:1px solid #b4a47b3b;padding-top:22px}.guide-bottom p{color:#bcc9be;margin:0 0 22px}.guide-play{display:inline-flex;align-items:center;gap:14px;justify-content:center;padding-inline:20px}.guide-play svg{width:18px;height:18px}
@media(max-width:600px){.key-tile{height:76px;display:flex;align-items:center;justify-content:center;gap:12px;padding:7px}.key-tile .key-icon{display:block;width:38px;height:38px;transform:none}.key-number{font-size:29px}.lesson{padding:14px}.lesson-keys{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.lesson-key{height:60px;flex-direction:row;gap:12px;font-size:26px}.lesson-key .lion-stamp{width:30px;height:30px}.guide-intro{gap:12px}.guide-intro img{width:50px;height:50px}.guide-intro h2{font-size:25px}.step-heading h3{font-size:16px}.guide-step{padding-block:21px}.ending-example{grid-template-columns:1fr;gap:20px}.state-examples{gap:22px}.guide-play{width:100%}}
@media(min-width:601px) and (max-height:850px){.key-tile{height:112px;grid-template-rows:32px 40px;gap:6px}.key-tile .key-icon{width:40px;height:40px}}
