/* Book-language cards: flags are inline SVG, never platform emoji or country codes. */
.book-language-page {
  max-width: 980px;
  margin-inline: auto;
  padding-block: clamp(28px, 5vw, 62px);
  text-align: center;
}
.book-language-page > .eyebrow { display: block; }
.book-language-page > h1 { margin: 12px 0; text-wrap: balance; }
.book-language-page > p {
  max-width: 560px;
  margin: 0 auto 28px;
  text-wrap: balance;
}
.book-language-page .book-language-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-inline: auto;
}
.book-language-page .book-language-option {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 126px;
  padding: 24px 18px;
  border: 1px solid #68404c;
  border-radius: 19px;
  background: radial-gradient(ellipse at 50% 0, #44202d 0, #241820 50%, #18151b 100%);
  box-shadow: inset 0 1px 0 #ffffff0d, 0 8px 24px #00000030;
  text-align: center;
  color: #fff;
}
.book-language-page .book-language-option .book-language-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 45px;
  width: 45px;
  height: 30px;
  line-height: 1;
}
.book-language-page .book-language-option svg {
  display: block;
  width: 45px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 4px;
  box-shadow: 0 0 0 1px #ffffff25, 0 3px 10px #00000040;
}
.book-language-page .book-language-name {
  display: block;
  flex: 0 1 auto;
  font-family: inherit;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.book-language-page .book-language-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.book-language-page .book-language-heading {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 9px;
}
.book-language-page .book-language-total {
  color: #d6c8cf;
  font-size: 13px;
  font-weight: 450;
  line-height: 1.4;
  white-space: nowrap;
}
.book-language-page .book-language-today {
  color: #f3b8c4;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}
.book-language-page .book-language-daily-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: 22px;
  color: #e6dce1;
  font-size: 14px;
  line-height: 1.5;
}
.book-language-page .book-language-daily-summary small {
  color: #b9adb4;
  font-size: 12px;
  text-wrap: balance;
}
.book-language-page .book-language-option:hover {
  background: radial-gradient(ellipse at 50% 0, #602335 0, #32202a 55%, #20171f 100%);
  border-color: #ef657a;
}
.book-language-page .book-language-option:focus-visible {
  outline: 3px solid #ff8798;
  outline-offset: 4px;
}
.book-language-page .book-language-other {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 24px auto 0;
  padding: 10px 18px;
  border-color: #68565f;
  border-radius: 12px;
  background: #221d23;
  font-size: 14px;
  line-height: 1.4;
}
@media (max-width: 600px) {
  .book-language-page { padding-block: 28px; }
  .book-language-page > p { margin-bottom: 22px; }
  .book-language-page .book-language-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 420px;
  }
  .book-language-page .book-language-option {
    min-height: 96px;
    padding: 22px 18px;
    border-radius: 17px;
  }
  .book-language-page .book-language-name { font-size: 20px; }
  .book-language-page .book-language-other { margin-top: 20px; }
}
