.acPracticeGames { margin: 22px 0; }
.acPracticeGames h2 { font-size: 22px; color: #41654b; }
.acPracticeGames > div { display: flex; flex-wrap: wrap; gap: 12px; }
.acPracticeGames button { flex: 1; min-width: min(100%, 200px); flex-direction: column; gap: 5px; text-align: center; min-height: 76px; }
.acPracticeGames button span { font-size: 12px; }
.npWork {
  width: 100%;
  min-width: 0;
  padding: 18px;
  border-radius: 24px;
  background: #fffaf0d9;
  box-shadow: 0 5px #c8d5bc;
  text-align: center;
}
.npBridge {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 60px 3px 35px;
  max-width: 680px;
  margin: 0 auto;
  isolation: isolate;
}
.npRiver {
  position: absolute;
  inset: 55px -5px 0;
  border-radius: 30% 25% 35% 20%;
  z-index: -1;
  background: repeating-linear-gradient(0deg, #9cdae2 0 9px, #c2e9e8 9px 13px, #9cdae2 13px 25px);
}
.npStone {
  position: relative;
  min-width: 0;
  min-height: 62px;
  padding: 7px 2px;
  border: 3px solid #c0a679;
  border-radius: 14px;
  color: #45675a;
  background: #f7e8bf;
  box-shadow: 0 6px #a6a58a;
  font-size: clamp(19px, 3.5vw, 31px);
  font-weight: 900;
}
.npStone:disabled { opacity: 1; cursor: default; }
.npGap { border-style: dashed; background: #fffef4; }
.npActive { outline: 3px solid #d4a63d; outline-offset: 3px; }
.npFilled { border-style: solid; border-color: #69a684; background: #d9efd0; }
.npWalker { position: absolute !important; z-index: 3; pointer-events: none; }
.npNumbers { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.npNumbers .choice { min-width: 58px; min-height: 48px; font-size: 23px; }
.npNote { font-size: 15px; line-height: 1.4; color: #637b59; margin: 18px 0 4px; }
.npCakeWork { display: grid; grid-template-columns: minmax(0, 280px) 100px; gap: 12px 25px; justify-content: center; align-items: center; }
.npCake { width: 100%; max-height: 265px; overflow: visible; grid-row: span 3; }
.npCake path { fill: #ffe8b5; stroke: #fff9e8; stroke-width: 4px; stroke-linejoin: round; cursor: pointer; touch-action: manipulation; }
.npCake path.npIced { fill: #d88fa6; }
.npCake path:focus-visible { stroke: #335eab; stroke-width: 7px; outline: none; }
.npFraction { display: flex; flex-direction: column; align-items: center; font-size: 32px; line-height: 1.1; color: #885972; }
.npFraction span { width: 48px; height: 3px; border-radius: 3px; background: #885972; margin: 5px 0; }
.npCheck { min-height: 50px; padding: 10px 15px; border-radius: 15px; background: #37816b; color: white; font-size: 18px; }
@media (max-width: 600px) {
  .npWork { padding: 13px 9px; }
  .npBridge { gap: 5px; padding-top: 50px; padding-bottom: 25px; }
  .npStone { border-width: 2px; min-height: 49px; border-radius: 10px; }
  .npNumbers { gap: 8px; margin-top: 14px; }
  .npNumbers .choice { min-width: 49px; }
  .npNote { font-size: 13px; margin-top: 12px; }
  .npCakeWork { grid-template-columns: minmax(0, 210px) 80px; gap: 10px; }
  .npCakeWork .npNote { grid-column: 1 / -1; grid-row: 3; margin-top: 0; }
  .npCake { grid-row: 1 / span 2; }
  .npFraction { font-size: 27px; }
  .npCheck { font-size: 14px; padding: 8px; }
}
@media (max-height: 500px) and (min-width: 600px) {
  .stage.npStage { display: grid; grid-template-columns: minmax(115px, 26%) minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px; }
  .npStage .prompt { padding: 9px; font-size: 19px; }
  .npWork { padding: 7px 10px; }
  .npBridge { padding-top: 32px; padding-bottom: 10px; max-width: 510px; }
  .npStone { min-height: 42px; font-size: 22px; }
  .npNumbers { margin-top: 6px; gap: 7px; }
  .npStage .npNumbers .choice { min-width: 42px; min-height: 44px; height: 44px; padding: 0 7px; font-size: 20px; }
  .npNote { margin-top: 6px; font-size: 11px; }
  .npStage .npNote { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); }
  .npCakeWork { grid-template-columns: minmax(0, 145px) minmax(90px, 150px); gap: 6px 14px; }
  .npCake { max-height: 145px; grid-row: 1 / span 2; }
  .npCakeWork .npCheck { grid-row: 2; grid-column: 2; }
  .npFraction { font-size: 23px; }
  .npCheck { min-height: 44px; font-size: 16px; }
}
