.journal-home{--home-shadow:color-mix(in oklab, var(--foreground) 18%, transparent)}.home-intro{background:var(--background);color:var(--foreground)}.home-book-stage{width:100%;max-width:768px;margin-bottom:20px;position:relative}.home-open-book{aspect-ratio:4/3;background:var(--home-cover);box-shadow:0 24px 40px -12px var(--home-shadow),0 4px var(--paper-shade),0 7px var(--paper),0 10px var(--home-cover);border-radius:8px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:5px;transition:transform .7s;display:grid;position:relative}.home-open-book:before{content:"";background:linear-gradient(to right,var(--paper-shade),var(--home-spine),var(--paper-shade));width:8px;position:absolute;top:5px;bottom:5px;left:calc(50% - 4px)}.home-open-book:hover{transform:translateY(-8px)}.home-leaf{background:var(--paper);min-width:0;color:var(--ink);border-radius:3px;padding:48px 40px;position:relative}.home-lines{background:repeating-linear-gradient(to bottom,transparent 0,transparent 31px,var(--rule) 31px,var(--rule) 32px);line-height:32px}.home-book-quote,.home-book-note{background:var(--paper);padding:8px 0;line-height:1.35}.home-book-quote{text-decoration:underline;-webkit-text-decoration-color:var(--ribbon);-webkit-text-decoration-color:var(--ribbon);text-decoration-color:var(--ribbon);text-underline-offset:4px;text-decoration-thickness:6px}.home-ribbon{background:var(--ribbon);clip-path:polygon(0 0,100% 0,100% 100%,50% 86%,0 100%);width:24px;height:54px;position:absolute;top:-5px;right:32px}.home-book-action{white-space:normal;max-width:calc(100% - 24px);position:absolute;bottom:-24px;left:50%;transform:translate(-50%)}.home-book-action:hover{background:var(--home-hover)}.home-shelf{grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:36px;display:grid}.home-shelf-item{border-bottom:10px solid var(--paper-shade);min-width:0;box-shadow:0 10px 9px -9px var(--home-shadow);padding:12px 12px 0;position:relative}.home-shelf-item>a:first-child{perspective:900px;width:176px;margin:auto;display:block}.home-cover{transform-origin:0;border-right:5px solid var(--paper-shade);transform:rotateY(-12deg)}.home-shelf-item>a:hover .home-cover,.home-shelf-item>a:focus-visible .home-cover{transform:translateY(-9px)rotateY(-4deg)rotate(-2deg)}.home-cover h3{overflow-wrap:anywhere}.home-new-book{border:1px solid var(--border);border-left:8px solid var(--paper-shade);background:var(--paper);border-radius:3px 8px 8px 3px;flex-direction:column;justify-content:center;align-items:center;gap:16px;width:176px;height:256px;display:flex}@media (width<=700px){.home-open-book{min-height:310px}.home-leaf{padding:26px 16px}.home-book-quote{font-size:22px}.home-book-note{font-size:18px}.home-shelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}.home-shelf-item{padding:12px 0 0}.home-shelf-item>a:first-child,.home-cover,.home-new-book{width:100%;max-width:176px}}@media (prefers-reduced-motion:reduce){.home-open-book,.home-cover{transition:none;transform:none!important}}.journal-home[data-reduced=true] .home-open-book,.journal-home[data-reduced=true] .home-cover{transition:none;transform:none!important}
