/* Open pages fill the available screen; the warm cover and homepage are untouched. */
.album-footer,.album-edge-controls,.album-page-flip,.album-photo-tag{display:none}
body.album-open{overflow:hidden!important}.album-open>header{display:none!important}
.album-open #classic.book-open{position:fixed!important;inset:0!important;width:100%!important;max-width:none!important;height:100dvh!important;margin:0!important;padding:0!important;z-index:100;background:linear-gradient(#f2e8daba,#ddc9aabc),url('assets/horne-warm-home.webp') center/cover!important}
.album-open #classic>.book-heading,.album-open #classic>.library-actions,.album-open #classic>.playplus-pack{display:none!important}
.album-open #classic .book-shell{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;max-width:none!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;background:transparent!important;box-shadow:none!important}
.album-open #classic .reader{display:grid!important;grid-template-rows:42px minmax(0,1fr) 106px;height:100%;max-width:1120px;margin:auto;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);overflow:hidden;position:relative}
.album-open .living-reader-tools{grid-row:1;display:flex;padding:2px 16px!important;gap:8px;margin:0;background:transparent!important}.album-open .living-reader-tools>span{font:italic 16px Georgia,serif;flex:1}.album-open .living-reader-tools i{display:none}.album-open .living-reader-tools button{min-height:34px;font-size:12px;padding:6px 12px}.album-open #page-magic{display:none}
.album-open .reader-bar,.album-open .reader-options,.album-open .reader-nav,.album-open .book-index,.album-open .reading-progress,.album-open .spread-index-details,.album-open .chapter-shortcuts,.album-open .spread-scrubber,.album-open .immersive-dock{display:none!important}
.album-open #classic .spread{grid-row:2;min-height:0;height:100%;margin:0!important;padding:0 12px 5px!important;display:block!important;background:none;box-shadow:none;overflow:visible;perspective:1600px}
.album-open #classic .single-photo .paired-page{height:100%;min-height:0;width:100%;padding:16px!important;border:1px solid #bca787!important;border-radius:20px!important;background:linear-gradient(100deg,#e4d4ba,#fff9ed 3%,#fbf3e5 98%,#e0cfb3)!important;box-shadow:inset 3px 0 9px #8f735323,0 5px 16px #694f312b!important;transform:none;transform-style:flat!important;backface-visibility:visible!important;overflow:hidden!important;gap:0;position:relative}
.album-open #classic .moment-heading{order:2;flex:none;font-size:11px!important;letter-spacing:.1em;padding:9px 0 0!important;margin:0!important}.album-open .chapter-dot{display:none}.album-open #classic .real-memory{order:1;flex:1;min-height:0;display:flex;flex-direction:column}.album-open .picture-label{display:none!important}
.album-open #classic .real-memory>.photo-button{flex:1;min-height:0;width:100%;display:flex;align-items:center;justify-content:center;padding:0!important;border:0!important;border-radius:14px;background:#ece0ca!important;overflow:hidden;box-shadow:none!important}
.album-open #classic .single-photo .photo-button img{height:100%!important;width:100%!important;max-height:none!important;min-height:0!important;object-fit:contain;transform:none!important;position:relative}
.album-open #classic .real-memory>.photo-button::before,.album-open #classic .portrait-art::before{display:none!important}
.album-open #classic .page-meta{order:3;margin:3px 0 0!important;flex:none;align-items:center}.album-open #classic .page-meta h3{font:italic 24px/1.15 Georgia,serif!important}.album-open #classic .page-meta button{font-size:24px;min-width:40px;min-height:32px;padding:0;border:0;background:transparent!important;color:#a7745a!important}
.album-open #classic .authored-caption{order:4;font-size:14px!important;line-height:1.4!important;margin:3px 0 8px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex:none;color:#765c43}
.album-open .page-date,.album-open .page-number,.album-open .caption-edit,.album-open .memory-words,.album-open .portrait-caption,.album-open .art-unavailable,.album-open .scene-companion,.album-open .scene-whisper{display:none!important}
.album-open #classic .horne-keepsake-slot{display:block!important;order:5;flex:none;margin:0!important;padding:0!important;border:0!important}.album-open .horne-page-caption,.album-open .saved-family-words{display:none!important}
.album-open .horne-mini{display:flex!important;align-items:center;gap:12px;min-height:66px!important;height:auto!important;border:1px solid #ba9b6e50!important;border-radius:13px!important;padding:7px 10px!important;margin:0!important;background:#eadbc14a!important;box-shadow:none!important}.album-open .horne-mini-object{width:46px!important;height:46px!important;min-width:46px;flex:0 0 46px;padding:0!important;border:0!important;background:transparent!important;overflow:visible!important}.album-open .horne-mini-object img{width:46px!important;height:46px!important;object-fit:contain;border-radius:50%;animation:companionIdle 5s ease-in-out infinite}.album-open .horne-mini-label{display:block;color:#63472f!important;font-size:13px!important;line-height:1.25!important}.album-open .horne-mini-hint{display:block;font-size:11px!important;color:#8e7458!important;line-height:1.3;margin-top:3px}.album-open .keepsake-reaction{font-size:12px!important;color:#725133!important;line-height:1.3}.album-open .keepsake-reaction:empty{display:none}
.album-open .album-page-flip{order:6;display:flex;justify-content:space-between;align-items:center;gap:10px;flex:none;width:100%;border:0!important;border-top:1px solid #af93623d!important;border-radius:0;padding:10px 0 1px!important;margin-top:8px;background:transparent!important;min-height:36px}.album-page-flip span{font-size:10px;letter-spacing:.12em;color:#8d775d}.album-page-flip strong{font-size:13px;font-weight:normal;color:#886133}
.album-open #classic .portrait-memory{display:none!important;order:1}.album-open #classic .storybook-showing .real-memory{display:none!important}.album-open #classic .storybook-showing .portrait-memory{display:flex!important;flex-direction:column;flex:1;min-height:0;width:100%;max-width:none;margin:0!important;padding:0!important;border:0!important}.album-open .portrait-label{display:none!important}.album-open #classic .portrait-stage{flex:1;min-height:0;display:flex;padding:0;animation:none!important}.album-open #classic .portrait-art{flex:1;min-height:0;display:flex;width:100%;border:0!important;border-radius:14px!important;background:#ece0ca!important;overflow:hidden}.album-open #classic .single-photo .portrait-art img{height:100%!important;max-height:none!important;min-height:0;width:100%;object-fit:contain;animation:portraitLife 10s ease-in-out infinite}
.album-open .album-footer{grid-row:3;display:flex;flex-direction:column;justify-content:center;padding:0 12px 4px;gap:3px;z-index:7}.album-page-count{text-align:center;color:#957958;font-size:11px;line-height:16px}.album-family{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.album-family button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;height:49px;padding:3px;font:italic 14px Georgia,serif;border-radius:12px;background:#fcf5e8c9!important;border:1px solid #bfa58460!important;color:#715336!important}.album-family button span{font:18px/20px Georgia,serif;color:#ad7f57}.album-small-tools{display:flex;justify-content:center;gap:7px}.album-small-tools button{font-size:11px;padding:3px 12px;min-height:26px;background:#f5e9d5ab;border-color:#bda38045}
.album-open .album-edge-controls{display:flex;justify-content:space-between;position:absolute;left:2px;right:2px;top:45%;z-index:10;pointer-events:none}.album-edge-controls button{pointer-events:auto;border-radius:50%;height:44px;width:36px;min-width:0;padding:0;font:30px Georgia,serif;background:#795839bb!important;color:#fff7e8!important;border:1px solid #fff6df55!important;backdrop-filter:blur(8px)}.album-edge-controls button:disabled{opacity:.2}
.album-open .memory-weather{inset:12px 14px 225px;opacity:.2}.album-open .film-frame{flex:1;min-height:0;display:flex;align-items:center}.album-open .film-frame video{width:100%;max-height:100%;object-fit:contain}.album-open .film-tools{flex:none}.album-open .closing{height:100%;overflow:auto;padding:30px!important}.album-open #classic .immersive-settings .reader-options{display:block!important;position:absolute;inset:45px 14px 110px;overflow:auto;z-index:20;background:#f8efdf;color:#674c32;padding:18px!important;border:1px solid #b89a6a;border-radius:16px}.album-open #single-photo{display:none!important}.album-open .reading-tools{display:none!important}.album-open .reader-options .reading-tools{display:flex!important}
.album-open .paired-page[data-living-scene=water] .horne-mini-object img{animation-name:companionWater}.album-open .paired-page[data-living-scene=race] .horne-mini-object img{animation-name:companionRace}.album-open .paired-page[data-living-scene=garden] .horne-mini-object img{animation-name:companionGarden}.album-open .paired-page[data-living-scene=love] .horne-mini-object img{animation-name:companionHeart}.album-open.living-quiet .horne-mini-object img,.album-open .scene-offscreen .horne-mini-object img,.album-open.scenes-asleep .horne-mini-object img{animation:none!important}
@media(max-width:650px){.album-open #classic .reader{grid-template-rows:36px minmax(0,1fr) 101px}.album-open #classic .spread{padding:0 7px 3px!important}.album-open #classic .single-photo .paired-page{padding:12px!important;border-radius:20px!important}.album-open .living-reader-tools{padding:1px 12px!important}.album-open .living-reader-tools button{min-height:30px}.album-open .living-reader-tools>span{font-size:14px}.album-open #classic .page-meta h3{font-size:21px!important}.album-open .album-footer{padding-inline:8px}.album-open .album-edge-controls{left:0;right:0}.album-open #classic .moment-heading{font-size:10px!important}.album-open .album-page-flip{padding-top:8px!important}.album-open .memory-weather{inset:15px 14px 220px}}
@media(min-width:800px){.album-open #classic .reader{grid-template-rows:48px minmax(0,1fr) 112px;max-width:1240px;padding-inline:30px}.album-open #classic .single-photo .paired-page{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);grid-template-rows:1fr auto auto auto auto 1fr;column-gap:36px!important;padding:28px!important}.album-open #classic .single-photo .paired-page:not(:first-child){display:none!important}.album-open #classic .single-photo.right-photo .paired-page:first-child{display:none!important}.album-open #classic .single-photo.right-photo .paired-page:nth-child(2){display:grid!important}.album-open #classic .real-memory,.album-open #classic .storybook-showing .portrait-memory{grid-column:1;grid-row:1 / 7;height:100%}.album-open #classic .moment-heading{grid-column:2;grid-row:2}.album-open #classic .page-meta{grid-column:2;grid-row:3}.album-open #classic .page-meta h3{font-size:34px!important}.album-open #classic .authored-caption{grid-column:2;grid-row:4;font-size:17px!important;margin:10px 0 22px!important}.album-open #classic .horne-keepsake-slot{grid-column:2;grid-row:5}.album-open .album-page-flip{grid-column:2;grid-row:6;align-self:start}.album-open .album-footer{width:550px;justify-self:center}.album-open .album-edge-controls{left:8px;right:8px}.album-open .memory-weather{right:43%;bottom:30px}}
@media(max-height:700px) and (max-width:799px){.album-open #classic .reader{grid-template-rows:32px minmax(0,1fr) 87px}.album-open #classic .single-photo .paired-page{padding:9px!important}.album-open #classic .moment-heading{padding-top:5px!important}.album-open #classic .authored-caption{-webkit-line-clamp:1!important;margin:2px 0 5px!important;font-size:12px!important}.album-open .horne-mini{min-height:50px!important;padding:4px 7px!important}.album-open .horne-mini-object,.album-open .horne-mini-object img{width:36px!important;height:36px!important}.album-open .horne-mini-object{flex-basis:36px;min-width:36px}.album-open .album-page-flip{margin-top:5px;min-height:27px;padding:5px 0 0!important}.album-family button{height:39px}.album-open #classic .page-meta h3{font-size:19px!important}.album-page-flip span{font-size:9px}.album-page-flip strong{font-size:12px}.album-open .album-footer{gap:1px}}
@media(prefers-reduced-motion:reduce){.album-open .horne-mini-object img,.album-open .portrait-art img{animation:none!important}}
.album-open .horne-mini-object{min-height:46px!important}.album-open .horne-mini-object img{mix-blend-mode:normal!important;filter:none!important}.album-open .horne-mini-object::before,.album-open .horne-mini-object::after{display:none!important}
@media(max-width:799px){.album-open #classic .single-photo .paired-page:not([data-wide-photo]) .photo-button img,.album-open #classic .single-photo .paired-page:not([data-wide-photo]) .portrait-art img{object-fit:cover!important;object-position:center}.album-open #classic .horne-mini{min-height:64px!important}}
@media(max-height:700px) and (max-width:799px){.album-open .horne-mini-object{min-height:36px!important}.album-open #classic .horne-mini{min-height:48px!important}}
