/* The Bobverse extends the existing Wonder Airways design system. */
.bobverse-page main { overflow: clip; }
.bobverse-page header nav { column-gap: clamp(14px, 1.7vw, 28px); }
.bobverse-page header nav a[aria-current="page"] { color: var(--teal); text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.bobverse-page .eyebrow { font-size: .75rem; letter-spacing: .15em; line-height: 1.6; }
.bob-intro { display: grid; grid-template-columns: 1.06fr 1fr; gap: 3rem 7%; padding-top: clamp(3.5rem, 7vw, 6.5rem); padding-bottom: 0; background: radial-gradient(ellipse at 0 15%, #e1f2ee 0, transparent 60%), linear-gradient(115deg, #f8fbf9, #f0edf5); }
.bob-intro-heading, .bob-intro-copy { min-width: 0; }
.bob-intro h1 { margin: 1.5rem 0 0; font-size: clamp(3.25rem, 5.8vw, 5.9rem); font-weight: 400; line-height: 1.06; letter-spacing: -.055em; }
.bob-intro h1 em { display: inline-block; margin-top: .12em; }
.bob-intro-copy { padding-top: 2rem; }
.bob-intro-copy p { font-size: 1rem; line-height: 1.8; color: var(--muted); margin: 0; }
.bob-intro-copy .bob-lead { color: var(--ink); font-size: 1.2rem; line-height: 1.65; margin-bottom: 1.4rem; }
.bob-intro-copy .bob-book-link { min-height: 48px; align-items: center; font-size: .875rem; margin-top: 1.75rem; }
.bob-worlds { grid-column: 1 / -1; margin: 1.1rem 0 0; padding: 1.6rem 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; border-top: 1px solid #bdd2ce; }
.bob-worlds li { display: flex; align-items: center; gap: .9rem; min-width: 0; font: 1.2rem/1.4 Georgia, 'Times New Roman', serif; }
.bob-world-number { font: .75rem/1.5 Arial, Helvetica, sans-serif; letter-spacing: .05em; color: var(--muted); }
.bob-books { padding-top: clamp(3.5rem, 6vw, 5.5rem); padding-bottom: 4.5rem; }
.bob-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.bob-section-heading h2 { font-size: clamp(2rem, 3.4vw, 3.5rem); margin: .8rem 0 0; line-height: 1.12; letter-spacing: -.045em; }
.bob-section-index { color: var(--muted); font-size: .875rem; letter-spacing: .14em; white-space: nowrap; padding-bottom: .25rem; }
.bob-book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.bob-book { position: relative; min-width: 0; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid #cbdad7; border-radius: 16px; display: flex; flex-direction: column; align-items: flex-start; min-height: 400px; }
.bob-book-flight { background: linear-gradient(145deg, #e9f4f1, #f8fbf9 75%); border-top: 4px solid #3b8e91; }
.bob-book-wheel { background: linear-gradient(145deg, #f0edf7, #f8fbf9 75%); border-top: 4px solid #8a7ca4; }
.bob-book-shine { background: linear-gradient(145deg, #f7edef, #f8fbf9 75%); border-top: 4px solid #b6859b; }
.bob-book-gus { background: linear-gradient(145deg, #eff3e7, #f8fbf9 75%); border-top: 4px solid #829e75; }
.bob-book-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; width: 100%; margin-bottom: 2rem; flex-wrap: wrap; }
.bob-branch { margin: 0; font-size: .875rem; font-weight: 600; line-height: 1.6; }
.bob-status { display: inline-block; border: 1px solid #b4c9c4; border-radius: 999px; padding: .35rem .7rem; background: #ffffff85; font-size: .875rem; line-height: 1.35; color: var(--muted); white-space: nowrap; }
.bob-book h3 { margin: 0; max-width: 21ch; font: 400 clamp(1.75rem, 2.7vw, 2.6rem)/1.16 Georgia, 'Times New Roman', serif; letter-spacing: -.025em; overflow-wrap: break-word; }
.bob-subtitle { font-size: .9375rem; line-height: 1.6; margin: 1rem 0 0; color: var(--teal); }
.bob-book-description { margin: 1.5rem 0 2rem; max-width: 54ch; font-size: 1rem; line-height: 1.75; color: var(--muted); }
.bob-card-index { display: block; padding-top: 1.3rem; border-top: 1px solid #cadbd7; width: 100%; margin-top: auto; font-size: .75rem; letter-spacing: .13em; color: var(--muted); }
.bob-closing { max-width: 36ch; font: 400 clamp(1.5rem, 2.2vw, 2rem)/1.5 Georgia, 'Times New Roman', serif; text-align: center; margin: 3.5rem auto 0; color: var(--muted); }
html[lang="zh"] .bob-intro h1, html[lang="zh"] .bob-section-heading h2, html[lang="zh"] .bob-book h3 { letter-spacing: normal; }
html[lang="zh"] .bob-intro h1 { line-height: 1.25; }
html[lang="zh"] .bob-book h3[lang="en"], html[lang="zh"] .bob-book h3[lang="pt-BR"] { font-family: Georgia, 'Times New Roman', serif; line-height: 1.25; }
html[lang="zh"] .bob-closing { font-family: "Noto Serif CJK SC", "Songti SC", SimSun, serif; }
@media (min-width: 1151px) { .bobverse-page header { gap: 1.25rem; } .bobverse-page header nav { flex-wrap: wrap; justify-content: center; row-gap: .65rem; } }
@media (max-width: 900px) {
  .bob-intro { grid-template-columns: 1fr; gap: 1.75rem; }
  .bob-intro h1 { font-size: clamp(3.25rem, 8vw, 5rem); }
  .bob-intro-copy { padding-top: 0; max-width: 68ch; }
  .bob-worlds { margin-top: 1rem; gap: 1rem; }
  .bob-worlds li { font-size: 1.05rem; gap: .55rem; }
  .bob-book-top { margin-bottom: 1.5rem; gap: .6rem; }
  .bob-book h3 { font-size: 1.9rem; }
}
@media (max-width: 640px) {
  .bob-intro { padding-top: 3rem; gap: 1.5rem; }
  .bob-intro h1 { font-size: clamp(2.65rem, 11vw, 4rem); }
  .bob-intro-copy .bob-lead { font-size: 1.0625rem; }
  .bob-worlds { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.3rem; margin-top: 1rem; padding: 1.5rem 0; }
  .bob-worlds li { font-size: 1.05rem; }
  .bob-section-heading { margin-bottom: 1.75rem; }
  .bob-section-heading h2 { max-width: 14ch; font-size: 2.15rem; }
  .bob-section-index { display: none; }
  .bob-book-grid { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .bob-book { min-height: 0; padding: 1.5rem; }
  .bob-book h3 { font-size: 1.85rem; }
  .bob-book-description { margin-bottom: 1.5rem; }
  .bob-closing { margin-top: 2.5rem; font-size: 1.5rem; }
  .bob-books { padding-bottom: 3rem; }
}
@media (prefers-reduced-motion: reduce) { .bobverse-page .button { transition: none; } }
/* First-person origin story. Keep the reading order intact on narrow screens. */
.bob-intro { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem 7%; }
.bob-intro > .bob-book-link { align-self: end; margin-bottom: .6rem; margin-top: 0; min-height: 48px; align-items: center; font-size: .875rem; }
.bob-origin { grid-column: 1 / -1; border-top: 1px solid #bdd2ce; padding-top: 2rem; }
.bob-origin h2 { margin: 0 0 1.6rem; font: 400 1.9rem/1.3 Georgia, 'Times New Roman', serif; letter-spacing: -.025em; }
.bob-origin-copy { columns: 2; column-gap: 5%; }
.bob-origin-copy p { margin: 0 0 1.3rem; font-size: 1rem; line-height: 1.8; color: var(--muted); break-inside: avoid; }
.bob-origin-copy p:first-child { color: var(--ink); }
.bob-worlds { margin-top: 0; }
html[lang="zh"] .bob-origin h2 { font-family: "Noto Serif CJK SC", "Songti SC", SimSun, serif; letter-spacing: normal; }
@media (max-width: 900px) {
  .bob-intro { gap: 2rem; }
  .bob-origin-copy { columns: 1; max-width: 70ch; }
}
@media (max-width: 640px) {
  .bob-intro { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .bob-intro > .bob-book-link { justify-self: start; margin-bottom: .4rem; }
  .bob-origin { padding-top: 1.5rem; }
  .bob-origin h2 { font-size: 1.65rem; }
  .bob-origin-copy p { line-height: 1.75; }
}

/* Original book artwork stays fully visible, at its native proportions. */
.bob-book-grid{align-items:start}
.bob-book-cover{width:100%;margin:0 0 1.75rem;display:flex;justify-content:center}
.bob-book-cover a{display:flex;justify-content:center;max-width:100%;cursor:zoom-in}
.bob-book-cover img{display:block;width:auto;height:auto;max-width:100%;max-height:420px;object-fit:contain;border-radius:3px;box-shadow:0 12px 28px #123a4226}
@media(max-width:640px){.bob-book-cover{margin-bottom:1.5rem}.bob-book-cover img{max-height:390px}}
