.kitchen-real-book{background:#e5dbc6 url('assets/covers/allison-cookbook.webp') center/100% 100% no-repeat!important;aspect-ratio:2/3!important;height:auto!important;min-height:360px}.kitchen-book-border{visibility:hidden!important}.closed-book{background:#e5dbc6 url('../assets/covers/allison-cookbook.webp') center/100% 100% no-repeat!important;aspect-ratio:2/3!important}.closed-book .cover-border{visibility:hidden!important}.race247-cover{width:100%;height:auto;display:block;border-radius:20px;margin-bottom:20px}.raceway-header{flex-wrap:wrap;gap:12px}.raceway-header label{font-size:13px}.raceway-header select,.raceway-header button{min-height:44px}.raceway-actionbar{display:grid!important;grid-template-columns:repeat(4,1fr);gap:10px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.raceway-actionbar button{min-height:64px;touch-action:none}.raceway-expanded .race247-cover{display:none}.raceway-expanded .raceway-header{font-size:12px}.raceway-expanded{overflow:auto!important}.race247 .hg-game-overlay{background:linear-gradient(110deg,#101b2bed,#132237a8)}@media(max-width:540px){.raceway-actionbar{gap:5px}.raceway-actionbar button{font-size:14px;padding:8px}.raceway-actionbar button span{display:none}.raceway-header label{flex:1}.raceway-header select{max-width:145px}}@media(max-height:500px){.raceway-expanded .raceway-header,.raceway-expanded .race247-map,.raceway-expanded .hg-key-hint{display:none}.raceway-expanded .hg-track{max-height:55dvh}.raceway-expanded .raceway-actionbar button{min-height:48px}}

.closed-book .cover-border{display:none!important}.closed-book{height:auto!important;min-height:350px}.home-doorway img[src*="covers"]{object-fit:contain!important;background:#e9dfcc}

/* Restore the linen family album and keep every family member visible. */
body.warm-home .hero-book.horne-edition{height:auto;min-height:0}
body.warm-home .hero-book .horne-monogram{width:82%;max-width:280px}
body.warm-home .hero-book .horne-monogram img.cover-family-photo{height:auto!important;max-height:none!important;aspect-ratio:auto;object-fit:contain!important}
.home-welcome>header{position:static!important;display:block!important;width:100%!important;max-width:none!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important}
.home-doorways{display:flex;flex-wrap:nowrap;gap:18px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:4px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;padding:8px 4px 20px;scrollbar-width:thin;scrollbar-color:#aa8965 transparent}.home-doorways .home-doorway{flex:0 0 calc((100% - 54px)/4);min-width:0;scroll-snap-align:start;border-radius:28px}.home-doorways .home-doorway>span{flex:1}.home-doorways .home-doorway em{margin-top:auto;padding-top:10px}.home-swipe-hint{display:none;text-align:center;font-size:14px;color:#795d43;margin:0 0 10px}
.home-doorway.home-game img{object-fit:contain!important;background:#eee3d2;height:auto;aspect-ratio:3/2}
.home-doorway.home-family img{object-fit:contain!important;background:#eee3d2}
.magic-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1000px){.home-doorways .home-doorway{flex-basis:44%}.home-swipe-hint{display:block}}
@media(max-width:650px){.home-doorways{display:flex;gap:14px}.home-doorways .home-doorway{flex:0 0 86%}.home-doorway{border-radius:28px}.home-doorway img{height:240px}.home-doorway.home-game img{height:auto}.home-doorway strong{font-size:26px}}

.home-doorways .home-doorway img{height:240px!important;aspect-ratio:auto!important;object-fit:contain!important;background:#eee3d2}@media(max-width:650px){.home-doorways .home-doorway img{height:230px!important}.home-doorway>span{padding:20px}}

/* A miniature of the actual linen album, with its selected family portrait. */
.home-doorways .home-doorway{flex-basis:29%}
.home-album-stage{height:240px;flex:none;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse,#faf4e8,#e6d8bf);padding:14px}
.home-album-mini{width:150px;height:210px;padding:10px 12px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;border:1px solid #bea784;border-left:7px solid #aa825b;border-radius:3px 10px 10px 3px;background:linear-gradient(100deg,#e1d1b5,#f6eddc 13%,#eaddc6 85%,#dbc6a5);box-shadow:-4px 3px 0 #79583d,4px 4px 0 #fff9ee,7px 6px 0 #b59b78,8px 12px 16px #65492e38;transform:rotate(-5deg);color:#59402b;text-align:center}
.home-doorways .home-doorway .home-album-mini img{width:77px!important;height:115px!important;aspect-ratio:auto!important;object-fit:contain!important;border:4px solid #fff9ef;box-shadow:0 2px 5px #694c3433;transform:rotate(-3deg);background:#fff9ef}
.home-album-mini small{font:7px/1.3 Arial,sans-serif;letter-spacing:.08em}.home-album-mini b{font:italic 17px/1.1 Georgia,serif}.home-album-mini i{font:12px Georgia,serif}
.home-swipe-hint{display:block}
@media(max-width:1000px){.home-doorways .home-doorway{flex-basis:44%}}
@media(max-width:650px){.home-doorways .home-doorway{flex-basis:86%}.home-album-stage{height:230px}}

/* One memory library closes the homepage, just above its footer. */
body.warm-home .home-memory-library{background:#faf4e7eb;border:1px solid #ccb99d;border-radius:28px;padding:clamp(22px,4vw,48px);margin:50px auto 24px;color:#49392f}
.home-memory-library .memory-chapters{margin:22px 0 28px;padding-bottom:20px;border-bottom:1px solid #d7c6ac}
.home-memory-library .home-chapter-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.home-memory-library .home-chapter-links button{min-width:0;grid-template-columns:30px 1fr}
.home-memory-library .home-chapter-links strong{font-size:23px}
.home-memory-library .extra-tools{margin-top:24px;padding-top:22px;border-top:1px solid #d7c6ac}
@media(max-width:700px){.home-memory-library .home-chapter-links{grid-template-columns:1fr;gap:5px}.home-memory-library .home-chapter-links button{min-height:76px}.home-memory-library .journey-buttons,.home-memory-library .extra-tools{gap:10px}.home-memory-library button{min-height:48px}}

/* Make the photo/cartoon switch a visible action on every illustrated page. */
body.warm-home.album-open #classic .album-page-flip{min-height:48px!important;padding:9px 12px!important;border:1px solid #ad8e65!important;border-radius:12px!important;background:#eee1c8!important;box-shadow:0 2px 5px #694c3415;gap:6px;flex-wrap:wrap;justify-content:center}
body.warm-home.album-open #classic .album-page-flip span{font:10px/1.2 Arial,sans-serif;letter-spacing:.05em;color:#6b5038;flex:0 0 100%;text-align:center}
body.warm-home.album-open #classic .album-page-flip strong{font:600 15px/1.2 Arial,sans-serif;color:#49392f}
body.warm-home.album-open #classic .album-page-flip:focus-visible{outline:3px solid #425b47;outline-offset:2px}

/* Clear, wrapping navigation: usable without the cover carousel. */
.family-quick-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:22px auto;max-width:900px}.family-quick-nav a,.family-backup-link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:8px 16px;border:1px solid #baa17f;border-radius:24px;background:#fff9ed;color:#503d2d;text-decoration:none;font:600 15px/1.4 system-ui}.family-quick-nav a:focus-visible,.family-backup-link:focus-visible{outline:3px solid #496c54;outline-offset:3px}.family-backup-link{margin:16px auto}.home-welcome>header p,.home-memory-invitation p{color:#625344!important}
.jaxson-kicker-entry{max-width:900px;margin:16px auto 30px}.jaxson-kicker-entry>.home-doorway{display:grid;grid-template-columns:1.1fr 1fr;overflow:hidden;background:#fff9ed;border-radius:28px;text-decoration:none;color:#473728}.jaxson-kicker-entry img{width:100%;height:100%;object-fit:cover}.jaxson-kicker-entry span{padding:25px;display:flex;flex-direction:column;justify-content:center;gap:12px}.jaxson-kicker-entry strong{font:32px/1.1 Georgia}.jaxson-kicker-entry small{font:17px/1.5 system-ui}.jaxson-kicker-entry em{color:#88542d;font:700 17px system-ui}@media(max-width:600px){.jaxson-kicker-entry>.home-doorway{grid-template-columns:1fr}.jaxson-kicker-entry img{max-height:270px;object-fit:contain}.jaxson-kicker-entry span{padding:20px}.jaxson-kicker-entry strong{font-size:28px}}.jaxson-kicker-entry[hidden]{display:none}
