/* Fruit Up Book Club uses the app's shared button, route, toast, and motion
   primitives. No local animation, timing, haptic, or fixed-overlay system. */
.book-club-page { max-width: 1180px; margin: 0 auto; padding: 0 0 32px; color: var(--ink); }
.book-club-page *, .book-club-inline-card *, .book-club-discovery * { box-sizing: border-box; }
.book-club-page :is(h1,h2,h3,p) { margin-top: 0; overflow-wrap: anywhere; }
.book-club-page p { line-height: 1.65; }
.book-club-page h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.16; letter-spacing: -.025em; }
.book-club-page h3 { font-size: 1.15rem; line-height: 1.3; }
.book-club-page :is(button,a,input,textarea,summary):focus-visible, .book-club-inline-card a:focus-visible, .book-club-discovery a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.book-club-page [hidden] { display: none !important; }
.book-club-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; color: var(--muted); font-weight: 750; font-size: .9rem; }
.book-club-topline a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.book-club-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; padding: clamp(26px, 5vw, 60px); border: 1px solid #526e30; border-radius: 30px; background: radial-gradient(ellipse at 87% 0, #314922 0, transparent 48%), #101b15; color: #f7f9ef; overflow: hidden; }
.book-club-hero-copy { align-self: center; max-width: 650px; }
.book-club-eyebrow { margin: 0 0 10px; color: var(--muted); font-size: .73rem; font-weight: 850; letter-spacing: .1em; line-height: 1.45; text-transform: uppercase; }
.book-club-hero .book-club-eyebrow, .book-club-hero-label { color: #cee990; }
.book-club-hero h1 { margin: 16px 0 22px; font-size: clamp(2.8rem, 6vw, 5rem); line-height: .96; font-weight: 850; letter-spacing: -.06em; }
.book-club-hero h1 em { color: #c9ed58; font-style: normal; }
.book-club-hero-lead { font-size: clamp(1.35rem, 2.9vw, 1.9rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.3 !important; margin-bottom: 16px; }
.book-club-hero-copy > p:not(.book-club-eyebrow):not(.book-club-hero-lead) { max-width: 510px; color: #c5d3c4; }
.book-club-hero-label { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-weight: 850; letter-spacing: .08em; font-size: .7rem; }
.book-club-hero-label svg { width: 24px; height: 24px; }
.book-club-hero-book { display: grid; place-items: center; padding: 8px 4px; min-width: 0; }
.book-club-art { position: relative; isolation: isolate; width: min(100%, 306px); aspect-ratio: 3 / 4; border-radius: 5px 18px 18px 5px; background: #283a20; border: 1px solid #708e48; box-shadow: -9px 9px 0 #152217, -12px 12px 0 #5b7144, 0 22px 32px #060c0980; overflow: hidden; }
.book-club-art-placeholder { display: flex; flex-direction: column; height: 100%; padding: clamp(21px, 3vw, 31px); background: linear-gradient(140deg, #deedb0 0%, #c1df6e 48%, #89b955 100%); color: #172912; }
.book-club-art-placeholder::before { content: ""; position: absolute; inset: 0 auto 0 9px; width: 2px; background: #537a3a40; }
.book-club-brand { display: flex; gap: 10px; align-items: center; font-size: .62rem; letter-spacing: .08em; font-weight: 850; line-height: 1.25; }
.book-club-brand img { object-fit: contain; }
.book-club-art-kicker { margin: auto 0 15px; font-size: .6rem; font-weight: 850; letter-spacing: .12em; }
.book-club-art-title { font-size: clamp(2.7rem, 4.2vw, 3.7rem); font-weight: 850; line-height: .98; letter-spacing: -.065em; }
.book-club-art-rule { height: 2px; background: #315028; margin: 22px 0 14px; }
.book-club-art-foot { font-size: .56rem; letter-spacing: .12em; font-weight: 850; }
.book-club-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #182316; }
.book-club-cover-retry { position: absolute !important; inset: auto 12px 12px; font-size: .8rem; }
.book-club-selection, .book-club-launch, .book-club-progress, .book-club-practice, .book-club-journey, .book-club-promise, .book-club-editor { margin-top: 26px; }
.book-club-selection { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, .8fr); gap: 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); padding: clamp(22px, 4vw, 36px); }
.book-club-selection h2 { margin-bottom: 8px; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.book-club-author { color: var(--muted); font-weight: 700; }
.book-club-selection aside { border-left: 1px solid var(--line); padding-left: 28px; }
.book-club-section-icon { width: 40px; height: 40px; display: block; color: var(--success); margin-bottom: 16px; }
.book-club-section-icon svg { width: 100%; height: 100%; }
.book-club-selection aside p, .book-club-muted, .book-club-week-footer > span { color: var(--muted); font-size: .88rem; }
.book-club-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 20px 0 16px; }
.book-club-page .button, .book-club-inline-card .button, .book-club-discovery .button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 13px 20px; border-radius: 12px; font: inherit; font-size: .9rem; font-weight: 800; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer; white-space: normal; max-width: 100%; }
.book-club-page .button svg, .book-club-discovery .button svg { width: 21px; height: 21px; flex: 0 0 21px; }
.book-club-primary { border: 1px solid #7d9e24 !important; color: #17210e !important; background: #c7e965 !important; }
.book-club-secondary { border: 1px solid var(--line) !important; color: var(--ink) !important; background: var(--surface) !important; }
.book-club-text-button { color: var(--muted) !important; background: transparent !important; border: 1px solid transparent !important; text-decoration: underline !important; text-underline-offset: 3px; padding-inline: 0 !important; }
.book-club-joined { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; color: var(--success); font-weight: 850; }
.book-club-joined svg { width: 24px; height: 24px; }
.book-club-launch { padding: clamp(24px, 5vw, 40px); border-radius: 24px; border: 1px solid #a5c26b; background: linear-gradient(110deg, var(--surface), var(--surface-soft)); }
.book-club-launch h2 { max-width: 650px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.book-club-launch > p { max-width: 740px; }
.book-club-launch > .book-club-muted { margin: 18px 0 0; }
.book-club-status-tag { display: inline-flex; border-radius: 100px; padding: 7px 12px; background: #d9ebb3; color: #31481a; font-weight: 850; font-size: .66rem; letter-spacing: .08em; margin-bottom: 18px; }
.book-club-nominations { margin-top: 34px; }
.book-club-suggestions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.book-club-suggestions article { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); min-width: 0; }
.book-club-suggestion-number { color: var(--success); font-size: 1.8rem; letter-spacing: -.07em; font-weight: 850; margin-bottom: 24px; }
.book-club-suggestions h3 { font-size: 1.55rem; letter-spacing: -.03em; margin-bottom: 8px; }
.book-club-suggestions .book-club-eyebrow { font-size: .64rem; }
.book-club-suggestions p:not(.book-club-eyebrow) { font-size: .9rem; }
.book-club-suggestions a { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; color: var(--ink); font-size: .86rem; font-weight: 750; text-underline-offset: 4px; }
.book-club-suggestions .button { margin-top: 14px; }
.book-club-progress { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, .6fr); gap: 24px; align-items: center; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.book-club-progress h2 { font-size: 1.35rem; margin-bottom: 8px; }
.book-club-progress p:last-child { margin-bottom: 0; }
.book-club-progress-meter progress { appearance: none; display: block; width: 100%; height: 13px; border: 0; border-radius: 100px; overflow: hidden; background: var(--surface-2); }
.book-club-progress-meter progress::-webkit-progress-bar { background: var(--surface-2); border-radius: 100px; }
.book-club-progress-meter progress::-webkit-progress-value { background: #9ebf32; border-radius: 100px; }
.book-club-progress-meter progress::-moz-progress-bar { background: #9ebf32; border-radius: 100px; }
.book-club-progress-meter > span { display: flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--muted); font-size: .74rem; }
.book-club-progress-meter svg { height: 16px; width: 16px; }
.book-club-practice { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(240px, .8fr); gap: 28px; padding: clamp(22px, 4vw, 34px); border: 1px solid #b2c887; border-radius: 24px; background: var(--surface); }
.book-club-practice-prompt { font-size: 1.2rem; font-weight: 650; }
.book-club-myd { padding: 24px; border-radius: 18px; background: var(--surface-2); }
.book-club-myd h3 { margin-top: 12px; }
.book-club-myd p { font-size: .94rem; }
.book-club-plan { margin-top: 38px; }
.book-club-section-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 20px; }
.book-club-section-head h2 { margin-bottom: 10px; }
.book-club-section-head p:last-child { margin-bottom: 0; color: var(--muted); }
.book-club-count { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 100px; font-size: .7rem; font-weight: 800; }
.book-club-week { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); margin-top: 12px; }
.book-club-week > summary { display: flex; gap: 15px; align-items: center; padding: 20px; cursor: pointer; list-style: none; min-height: 82px; }
.book-club-week > summary::-webkit-details-marker { display: none; }
.book-club-week-number { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 13px; background: var(--surface-2); color: var(--ink); font-weight: 850; }
.book-club-week-number svg { width: 25px; height: 25px; }
.book-club-week.is-complete .book-club-week-number { color: #263a11; background: #d7eca4; }
.book-club-week-title { flex: 1 1 auto; min-width: 0; }
.book-club-week-title > span { display: block; color: var(--muted); font-size: .65rem; font-weight: 850; letter-spacing: .05em; margin-bottom: 5px; }
.book-club-week-title strong { font-size: 1.06rem; line-height: 1.3; overflow-wrap: anywhere; }
.book-club-week-state { flex: 0 0 auto; font-size: .73rem; color: var(--muted); }
.book-club-disclosure { font-size: 1.5rem; width: 24px; text-align: center; flex: 0 0 24px; }
.book-club-week[open] .book-club-disclosure { transform: rotate(45deg); }
.book-club-week-body { padding: 0 24px 24px; }
.book-club-reading-target { padding: 18px 20px; border-radius: 13px; background: var(--surface-2); }
.book-club-reading-target p { margin: 5px 0 0; font-weight: 650; }
.book-club-week-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin: 24px 0; }
.book-club-week-grid p { margin-bottom: 0; white-space: pre-line; }
.book-club-discussion { border-top: 1px solid var(--line); padding-top: 22px; }
.book-club-discussion h3 { font-size: 1.2rem; }
.book-club-discussion p { color: var(--muted); font-size: .9rem; }
.book-club-week-footer { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.book-club-week-footer > p { margin-bottom: 0; color: var(--muted); }
.book-club-journey { padding: clamp(24px, 4vw, 34px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.book-club-journey ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 0; margin: 26px 0 0; list-style: none; }
.book-club-journey li { min-width: 0; }
.book-club-step { display: block; font-size: .8rem; font-weight: 850; color: var(--success); margin-bottom: 15px; }
.book-club-journey p { margin-bottom: 0; font-size: .93rem; color: var(--muted); }
.book-club-promise { display: flex; gap: 22px; padding: 26px; border-radius: 22px; color: #f3f7ed; background: #1a2a20; }
.book-club-promise > span { flex: 0 0 40px; height: 40px; color: #c7e965; }
.book-club-promise h2 { font-size: 1.35rem; }
.book-club-promise p { margin-bottom: 0; color: #cbd6c8; font-size: .92rem; }
.book-club-notice { padding: 17px 20px; margin: 20px 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.book-club-notice p { margin: 0; }
.book-club-notice .button { margin-top: 12px; }
.book-club-notice.is-error { border-color: var(--danger); border-left-width: 4px; }
.book-club-editor { border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.book-club-editor > summary { min-height: 68px; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 22px; cursor: pointer; font-weight: 800; }
.book-club-editor > summary > span:first-child { display: flex; align-items: center; gap: 10px; }
.book-club-editor summary svg { width: 26px; height: 26px; flex: 0 0 26px; }
.book-club-editor > summary > span:last-child { font-size: .65rem; color: var(--muted); letter-spacing: .07em; }
.book-club-editor-body { padding: 0 24px 24px; }
.book-club-editor-body > p, .book-club-editor-plan > p, .book-club-editor-note { font-size: .9rem; color: var(--muted); }
.book-club-field-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 18px; }
.book-club-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; min-width: 0; font-size: .88rem; font-weight: 700; }
.book-club-field :is(input,textarea) { width: 100%; min-width: 0; min-height: 48px; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-soft); color: var(--ink); font: inherit; font-weight: 450; font-size: 1rem; line-height: 1.5; }
.book-club-field textarea { resize: vertical; }
.book-club-month-open .button { align-self: start; }
.book-club-editor-plan { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 24px; }
.book-club-edit-week { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 13px; }
.book-club-edit-week > summary { cursor: pointer; padding: 18px; font-size: .95rem; font-weight: 800; }
.book-club-edit-week > summary span { color: var(--muted); font-weight: 500; margin-left: 12px; }
.book-club-edit-week > div { padding: 0 18px 6px; }
.book-club-daily-editor { margin: 24px 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.book-club-daily-editor summary { min-height: 28px; cursor: pointer; font-weight: 750; }
.book-club-daily-editor p { margin-top: 14px; font-size: .88rem; color: var(--muted); }
.book-club-consent { display: flex; align-items: start; gap: 12px; padding: 16px 0; font-size: .94rem; line-height: 1.5; cursor: pointer; }
.book-club-consent input { flex: 0 0 24px; width: 24px; height: 24px; accent-color: #739a25; margin-top: 1px; }
.book-club-inline-card { display: flex; gap: 16px; margin: 20px 0; padding: 22px; border: 1px solid #b1c786; border-radius: 19px; color: var(--ink); background: var(--surface); }
.book-club-inline-icon { flex: 0 0 32px; height: 32px; color: var(--success); }
.book-club-inline-card > div { min-width: 0; }
.book-club-inline-card h3 { margin: 0 0 10px; line-height: 1.3; font-size: 1.13rem; }
.book-club-inline-card p { line-height: 1.55; overflow-wrap: anywhere; }
.book-club-inline-card a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 750; text-underline-offset: 4px; }
.book-club-discovery { display: flex; align-items: center; gap: 20px; padding: 24px; border: 1px solid #708b4c; border-radius: 22px; background: #16261c; color: #f4f8ee; }
.book-club-discovery > img { flex: 0 0 56px; object-fit: contain; border-radius: 12px; background: #f7f9f0; }
.book-club-discovery > div { flex: 1 1 auto; min-width: 0; }
.book-club-discovery .book-club-eyebrow { color: #c3dd90; }
.book-club-discovery h3 { margin: 4px 0 8px; line-height: 1.2; }
.book-club-discovery p:last-child { margin: 0; font-size: .88rem; line-height: 1.5; color: #d0dacb; }
html[data-theme="dark"] .book-club-primary { border-color: #a2c945 !important; }
html[data-theme="dark"] .book-club-selection, html[data-theme="dark"] .book-club-progress, html[data-theme="dark"] .book-club-practice, html[data-theme="dark"] .book-club-week, html[data-theme="dark"] .book-club-journey, html[data-theme="dark"] .book-club-editor, html[data-theme="dark"] .book-club-inline-card { border-color: #3e533a; }
html[data-theme="dark"] .book-club-step, html[data-theme="dark"] .book-club-section-icon, html[data-theme="dark"] .book-club-inline-icon, html[data-theme="dark"] .book-club-joined { color: #c7e965; }
html[data-theme="dark"] .book-club-suggestion-number { color: #c7e965; }
@media (max-width: 760px) {
  .book-club-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .64fr); gap: 22px; padding: 30px 24px; }
  .book-club-hero h1 { font-size: clamp(2.45rem, 7.5vw, 4rem); }
  .book-club-art-placeholder { padding: 19px; }
  .book-club-art-title { font-size: clamp(2rem, 5vw, 3rem); }
  .book-club-art-kicker, .book-club-art-foot { font-size: .46rem; }
  .book-club-brand { font-size: .49rem; gap: 5px; }
  .book-club-brand img { width: 37px; height: 37px; }
  .book-club-selection, .book-club-practice { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .book-club-selection aside { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 22px; }
  .book-club-journey ol { gap: 20px; }
  .book-club-suggestions { grid-template-columns: minmax(0, 1fr); }
  .book-club-discovery { flex-wrap: wrap; }
  .book-club-discovery > .button { margin-left: 76px; }
}
@media (max-width: 520px) {
  .book-club-page { padding-bottom: 20px; }
  .book-club-topline { font-size: .77rem; gap: 8px; margin-bottom: 12px; }
  .book-club-hero { grid-template-columns: minmax(0, 1fr); padding: 27px 23px; border-radius: 23px; }
  .book-club-hero h1 { font-size: clamp(3rem, 13vw, 4.8rem); }
  .book-club-hero-book { padding: 8px 14px 10px; }
  .book-club-art { max-width: 216px; }
  .book-club-art-placeholder { padding: 23px; }
  .book-club-art-title { font-size: 2.8rem; }
  .book-club-art-kicker, .book-club-art-foot { font-size: .53rem; }
  .book-club-brand { font-size: .56rem; }
  .book-club-hero-copy > p:not(.book-club-eyebrow):not(.book-club-hero-lead) { font-size: .94rem; }
  .book-club-selection, .book-club-practice, .book-club-launch, .book-club-progress, .book-club-journey { padding: 22px; border-radius: 20px; margin-top: 18px; }
  .book-club-actions { align-items: stretch; }
  .book-club-actions > .button { width: 100%; }
  .book-club-progress, .book-club-week-grid, .book-club-journey ol, .book-club-field-grid { grid-template-columns: minmax(0, 1fr); }
  .book-club-myd { padding: 20px; }
  .book-club-section-head { display: block; }
  .book-club-count { display: inline-block; margin-top: 13px; }
  .book-club-week > summary { gap: 11px; padding: 17px 15px; flex-wrap: wrap; }
  .book-club-week-number { width: 38px; height: 38px; flex-basis: 38px; border-radius: 10px; }
  .book-club-week-title { flex-basis: calc(100% - 82px); }
  .book-club-week-state { order: 4; margin-left: 49px; }
  .book-club-week-body { padding: 0 17px 20px; }
  .book-club-week-grid { gap: 20px; }
  .book-club-journey ol { gap: 22px; }
  .book-club-journey li + li { padding-top: 20px; border-top: 1px solid var(--line); }
  .book-club-step { margin-bottom: 10px; }
  .book-club-promise { padding: 23px 20px; gap: 15px; }
  .book-club-promise > span { flex-basis: 30px; }
  .book-club-editor > summary { padding: 20px; align-items: start; }
  .book-club-editor-body { padding: 0 18px 20px; }
  .book-club-editor > summary > span:last-child { max-width: 48px; }
  .book-club-inline-card { padding: 18px; gap: 12px; }
  .book-club-inline-icon { flex-basis: 25px; }
  .book-club-discovery { padding: 20px; gap: 14px; }
  .book-club-discovery > img { flex-basis: 44px; width: 44px; height: 44px; }
  .book-club-discovery > div { flex-basis: calc(100% - 58px); }
  .book-club-discovery > .button { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .book-club-week[open] .book-club-disclosure { transform: none; } }
