/* The public guide shares the practice deck; it remains readable without JavaScript. */
.rules-lead { font-size: 1.125rem; max-width: 35rem; }
.rules-example { margin: 2rem 0; padding: 1.25rem; background: #181a18; border: 1px solid #ffffff16; border-radius: 14px; }
.rules-example figcaption { margin-bottom: 1rem; color: #d7c6a5; font-size: .8rem; letter-spacing: .04em; }
.rules-question { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.rules-question span { background: #354752; color: #eadfc8; padding: .5rem .9rem; border-radius: 10px 10px 10px 2px; }
.rules-question strong { background: #e0d1ae; color: #302a24; padding: .5rem .9rem; border-radius: 10px 10px 2px 10px; }
.rules-board { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; padding: .9rem; border: 3px solid #69818a; border-radius: 10px; background: #354e5b; box-shadow: 0 5px 0 #20323d; }
.rules-face { min-width: 0; position: relative; padding: 3px; color: #302a24; background: #eee4ce; border-radius: 4px; box-shadow: 0 3px 0 #948776; }
.rules-face img { display: block; width: 100%; height: auto; }
.rules-face span { display: block; text-align: center; font-size: .75rem; line-height: 1.8; }
.rules-face.is-out { opacity: .5; transform: translateY(3px); filter: saturate(.1); }
.rules-face.is-out::after { content: '×'; position: absolute; top: -.5rem; right: -.4rem; display: grid; place-items: center; background: #303636; color: #fff; width: 1.35rem; height: 1.35rem; border-radius: 50%; font-weight: 600; }
.rules-example > p { margin: 1.2rem 0 0; font-size: .9rem; }
.rules-play { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; background: #e8d5ae; color: #30271b; text-decoration: none; padding: .55rem 1.1rem; border-radius: 6px; font-weight: 600; }
.rules-loop { counter-reset: rules; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; padding: 0; list-style: none; }
.rules-loop li { counter-increment: rules; position: relative; padding-left: 2.2rem; }
.rules-loop li::before { content: counter(rules); position: absolute; left: 0; top: .2rem; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border: 1px solid #bfa373; border-radius: 50%; font-size: .75rem; color: #dfc699; }
.rules-loop h2 { margin: 0 0 .4rem; }
.rules-loop p { margin: 0; font-size: .9rem; }
@media (max-width: 500px) {
  .rules-board { grid-template-columns: repeat(3, 1fr); }
  .rules-loop { grid-template-columns: 1fr; }
  .rules-example { padding: 1rem; }
}
