.wb-view {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 52px) clamp(16px, 4vw, 46px) 56px;
  color: #182f3c;
  font-family: var(--body), sans-serif;
}

.wb-title {
  margin: 25px 0 4px;
  font: 800 clamp(2.45rem, 6.1vw, 4.6rem)/1 var(--display), sans-serif;
  letter-spacing: -.05em;
}

.wb-intro {
  margin: 9px 0 24px;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.wb-choices {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(6px, 1.2vw, 14px);
  padding-bottom: clamp(14px, 2.4vw, 28px);
}

.wb-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 83px;
  padding: 8px;
  border: 1.5px solid #738378;
  border-radius: 15px;
  background: #fffdf5;
  color: #182f3c;
  font: 800 1.05rem/1.2 var(--body), sans-serif;
  cursor: pointer;
}

.wb-choice[aria-pressed="true"] {
  background: #ffdf65;
  border: 2px solid #183c3a;
  box-shadow: 0 2px 0 #183c3a;
}

.wb-choice-icon { font-size: 1.95rem; line-height: 1.12; }

.wb-check {
  display: none;
  position: absolute;
  right: 7px;
  top: 6px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #183c3a;
  color: white;
  font: bold 12px/17px sans-serif;
}

.wb-choice[aria-pressed="true"] .wb-check { display: block; }

.wb-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  overflow: hidden;
  border: 2px solid #183c3a;
  border-radius: 24px;
  background: #fffdf5;
  box-shadow: 0 4px 0 #183c3a;
}

.wb-artboard {
  --sky: #ffdc75;
  --hill: #eabe52;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  min-height: 280px;
  overflow: hidden;
  border-right: 2px solid #183c3a;
  background: var(--sky);
}

.wb-card[data-page="tree"] .wb-artboard,
.wb-card[data-page="goat"] .wb-artboard { --sky: #c8e6cc; --hill: #8cbba0; }
.wb-card[data-page="cat"] .wb-artboard,
.wb-card[data-page="hat"] .wb-artboard { --sky: #f9c2a8; --hill: #f29e87; }
.wb-card[data-page="boat"] .wb-artboard { --sky: #bee1ee; --hill: #80b8cd; }

.wb-artboard::before,
.wb-artboard::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.wb-artboard::before {
  inset: 14px;
  border: 2px dashed rgb(24 60 58 / .3);
  border-radius: 16px;
}

.wb-artboard::after {
  width: 155%;
  height: 70%;
  border-radius: 50%;
  background: var(--hill);
  opacity: .6;
  bottom: -42%;
  left: -28%;
  transform: rotate(-8deg);
}

.wb-picture {
  padding: 10px;
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 1.15;
  filter: drop-shadow(0 5px 1px rgb(36 44 31 / .13));
}

.wb-entry {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(20px, 4.6vw, 58px);
}

.wb-word {
  margin: 0;
  color: #173f3c;
  font: 800 clamp(2.8rem, 6.8vw, 5.6rem)/.95 var(--display), sans-serif;
  letter-spacing: -.055em;
}

.wb-rhyme { margin: 13px 0 0; font-size: 1.1rem; }
.wb-rhyme strong { color: #173f3c; }
.wb-sentence { margin: 12px 0 21px; font-size: clamp(1.08rem, 2vw, 1.35rem); }

.wb-hear {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 18px;
  border: 2px solid #183c3a;
  border-radius: 30px;
  background: #183c3a;
  color: #fffdf5;
  font: 800 1rem/1.2 var(--body), sans-serif;
  cursor: pointer;
}

.wb-choice:focus-visible, .wb-hear:focus-visible {
  outline: 3px solid #135890;
  outline-offset: 3px;
}

.wb-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (hover: hover) {
  .wb-choice:hover { border-color: #183c3a; box-shadow: 0 2px 0 #183c3a; }
  .wb-hear:hover { background: #27564d; }
}

@media (max-width: 650px) {
  .wb-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .wb-choice { flex-direction: row; gap: 6px; min-height: 55px; }
  .wb-choice-icon { font-size: 1.55rem; }
  .wb-check { right: 3px; top: 2px; height: 12px; width: 12px; font-size: 9px; line-height: 12px; }
  .wb-card { grid-template-columns: minmax(0, 1fr); border-radius: 16px; }
  .wb-artboard { min-height: 165px; border-right: 0; border-bottom: 2px solid #183c3a; }
  .wb-artboard::before { inset: 7px; border-radius: 10px; }
  .wb-picture { font-size: 6rem; padding: 4px; }
  .wb-entry { padding: 18px 16px 20px; }
  .wb-sentence { margin: 10px 0 16px; }
  .wb-hear { padding-inline: 14px; }
}

@media (max-width: 370px) {
  .wb-entry { padding-inline: 12px; }
}
