/* Colored ambient halos identify touch targets before a finger reaches them. */
:root{--object-glint:#9c5577;--object-glint-shift:#86709f}
[data-book-object]{-webkit-tap-highlight-color:transparent}
body:not(:has(dialog[open])) :where(.album-story:not(.has-book-film)>.album-chapter>.page-seat>.sheet,.book-film:not(.three-book)[data-phase="read"]:not([data-navigation="moving"]):not([data-navigation="preparing"]) .right-deck .book-print){--tap-edge:#9c55776b;--tap-separator:#86709f36}
body:not(:has(dialog[open])) :where(.album-story:not(.has-book-film)>.album-chapter>.page-seat>.sheet,.book-film:not(.three-book)[data-phase="read"]:not([data-navigation="moving"]):not([data-navigation="preparing"]) .right-deck .book-print) :is(.trier-map:has(>button[data-book-object]),.real-memory:has(>button[data-book-object]),.folded-letter[data-book-object],.soundtrack-slip[data-book-object],.birthday-wish-note[data-book-object],.story-button[data-book-object]){outline:.7px solid #9c55774d;outline-offset:1px;box-shadow:0 0 3px 1px var(--tap-separator),1px 2px 3px #301e2a16}
body:not(:has(dialog[open])) :where(.album-story:not(.has-book-film)>.album-chapter>.page-seat>.sheet,.book-film:not(.three-book)[data-phase="read"]:not([data-navigation="moving"]):not([data-navigation="preparing"]) .right-deck .book-print) .photo-fragment[data-book-object] .fragment-image{outline:.7px solid #9c55774d;outline-offset:1px;box-shadow:0 0 3px 1px var(--tap-separator)}
body:not(:has(dialog[open])) :where(.album-story:not(.has-book-film)>.album-chapter>.page-seat>.sheet,.book-film:not(.three-book)[data-phase="read"]:not([data-navigation="moving"]):not([data-navigation="preparing"]) .right-deck .book-print) :is(.pet-sticker[data-book-object] .pet-portrait,.birthday-cake[data-book-object] .cake-art,.pocket-gift[data-book-object]){filter:drop-shadow(1px 0 0 var(--tap-edge)) drop-shadow(-1px 0 0 var(--tap-edge)) drop-shadow(0 1px 0 var(--tap-edge)) drop-shadow(0 -1px 0 var(--tap-edge)) drop-shadow(0 0 2px var(--tap-separator));transition:filter 160ms ease}
body:not(:has(dialog[open])) :where(.album-story:not(.has-book-film)>.album-chapter>.page-seat>.sheet,.book-film:not(.three-book)[data-phase="read"]:not([data-navigation="moving"]):not([data-navigation="preparing"]) .right-deck .book-print) :is(.trier-map:has(>:is(.object-hovered,.object-pressed,.object-focused)),.real-memory:has(>:is(.object-hovered,.object-pressed,.object-focused)),.folded-letter:is(.object-hovered,.object-pressed,.object-focused),.soundtrack-slip:is(.object-hovered,.object-pressed,.object-focused),.birthday-wish-note:is(.object-hovered,.object-pressed,.object-focused),.story-button:is(.object-hovered,.object-pressed,.object-focused)){outline:1px solid var(--object-glint);outline-offset:1px;box-shadow:0 0 0 2px #9c557738,0 0 5px #86709f50,1px 3px 5px #63334826}
body:not(:has(dialog[open])) :where(.album-story:not(.has-book-film)>.album-chapter>.page-seat>.sheet,.book-film:not(.three-book)[data-phase="read"]:not([data-navigation="moving"]):not([data-navigation="preparing"]) .right-deck .book-print) .photo-fragment:is(.object-hovered,.object-pressed,.object-focused) .fragment-image{outline:1px solid var(--object-glint);outline-offset:1px;box-shadow:0 0 0 2px #9c557738,0 0 5px #86709f50}
body:not(:has(dialog[open])) :where(.album-story:not(.has-book-film)>.album-chapter>.page-seat>.sheet,.book-film:not(.three-book)[data-phase="read"]:not([data-navigation="moving"]):not([data-navigation="preparing"]) .right-deck .book-print) :is(.pet-sticker:is(.object-hovered,.object-pressed,.object-focused) .pet-portrait,.cat-family-open:is(.object-hovered,.object-pressed,.object-focused) .pet-portrait,.birthday-cake:is(.object-hovered,.object-pressed,.object-focused) .cake-art,.pocket-gift:is(.object-hovered,.object-pressed,.object-focused)){filter:drop-shadow(1px 0 0 #9c5577db) drop-shadow(-1px 0 0 #9c5577db) drop-shadow(0 1px 0 #9c5577db) drop-shadow(0 -1px 0 #9c5577db) drop-shadow(0 0 2px #86709f55)}
body:not(:has(dialog[open])) :where(.album-story:not(.has-book-film)>.album-chapter>.page-seat>.sheet,.book-film:not(.three-book)[data-phase="read"]:not([data-navigation="moving"]):not([data-navigation="preparing"]) .right-deck .book-print) [data-book-object]{transition:translate 160ms ease,scale 160ms ease,outline-color 160ms ease,box-shadow 160ms ease}
body:not(:has(dialog[open])) :where(.album-story:not(.has-book-film)>.album-chapter>.page-seat>.sheet,.book-film:not(.three-book)[data-phase="read"]:not([data-navigation="moving"]):not([data-navigation="preparing"]) .right-deck .book-print) :is(button[data-book-object],a[data-book-object],.pet-sticker[data-book-object]){cursor:pointer}
body:not(:has(dialog[open])) :where(.album-story:not(.has-book-film)>.album-chapter>.page-seat>.sheet,.book-film:not(.three-book)[data-phase="read"]:not([data-navigation="moving"]):not([data-navigation="preparing"]) .right-deck .book-print) :is(.object-pressed,.object-focused):not(.cat-family-open){translate:0 -2px;scale:1.012}
body:not(:has(dialog[open])) :where(.album-story:not(.has-book-film)>.album-chapter>.page-seat>.sheet,.book-film:not(.three-book)[data-phase="read"]:not([data-navigation="moving"]):not([data-navigation="preparing"]) .right-deck .book-print) [data-book-object]:focus-visible{outline:3px solid var(--rose);outline-offset:5px}
@media(prefers-reduced-motion:reduce){[data-book-object],.pet-portrait,.cake-art{transition:none!important;translate:none!important;scale:none!important}}
