*{box-sizing:border-box}html{color-scheme:dark;background:#13120f;color:#f2e5cc;font-family:Georgia,'Times New Roman',serif}body{margin:0;background:radial-gradient(ellipse at 18% 30%,#211d174a,transparent 55%),#13120f;min-height:100vh}header,footer,main{max-width:1680px;margin:auto}header,footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem clamp(1.2rem,4.5vw,5rem);border-bottom:1px solid #655b4b}header{min-height:76px}nav,.actions{display:flex;align-items:center;gap:clamp(1rem,3vw,3rem);flex-wrap:wrap}a,button{color:inherit}a{text-decoration:none}nav a,button,.link,footer a,.actions a{position:relative}nav a:after,.link:after,button:after,footer a:after,.actions a:after{content:'';position:absolute;left:0;right:0;bottom:-.28rem;height:3px;background:#e4523d;clip-path:polygon(0 75%,14% 33%,29% 40%,68% 3%,88% 20%,100% 55%,62% 65%,20% 94%);transform:scaleX(0) rotate(-1deg);transform-origin:left;transition:transform .22s}a:hover:after,button:hover:after,a:focus-visible:after,button:focus-visible:after,nav [aria-current]:after{transform:scaleX(1) rotate(-1deg)}:focus-visible{outline:2px solid #ef9b78;outline-offset:5px}nav{font-size:clamp(1rem,1.6vw,1.4rem)}.signature{font:italic 2.3rem Georgia}.skip{position:absolute;left:1rem;top:-8rem;z-index:9;background:#211}.skip:focus{top:1rem}
.homegrid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #62594a}.shelf{position:relative;min-width:0;padding:clamp(1.4rem,3vw,3rem) clamp(1.3rem,4.5vw,5rem);min-height:200px}.shelf+.shelf{border-left:1px solid #62594a}.shelf h2,.pagehead h1,.read h1{font-weight:400;font-style:italic;line-height:1.07;margin:0 0 1.4rem}.shelf h2{font-size:clamp(1.75rem,3vw,3rem);max-width:90%}.empty,time,.meta,.hint{color:#c2b4a0}.empty{font-style:italic;font-size:1.05rem}.doodle{display:inline-block;color:#e88864;vertical-align:middle;width:52px;height:40px;margin-left:.6rem;transition:transform .3s}.doodle:hover,.shelf:hover .doodle,.pagehead:hover .doodle{transform:rotate(-7deg) translateY(-2px)}.doodle svg{width:100%;height:100%;stroke:currentColor;stroke-width:1.35;fill:none;stroke-linecap:round;stroke-linejoin:round}
footer{border-bottom:0;border-top:1px solid #514a40;font-size:1rem;color:#c2b4a0;margin-top:2rem}.wrap,.read{max-width:1160px;margin:auto;padding:clamp(2rem,5vw,5rem) clamp(1.25rem,5vw,5rem);min-height:60vh}.read{max-width:890px}.pagehead{border-bottom:1px solid #635849;margin-bottom:2rem;padding-bottom:1.5rem}.pagehead h1,.read h1{font-size:clamp(2.35rem,5vw,4.8rem);overflow-wrap:anywhere}.pagehead p,.read p,.prose{font-size:1.18rem;line-height:1.65}.prose,.message{white-space:pre-wrap;overflow-wrap:anywhere}.prose{margin:2rem 0}.row{display:flex;align-items:baseline;justify-content:space-between;gap:1.3rem;padding:.9rem 0;border-bottom:1px solid #4a4135}.row a{font-size:1.2rem;overflow-wrap:anywhere}.row time{font-size:.95rem;white-space:nowrap}.covers{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:2rem}.cover{max-width:100%;width:240px;max-height:360px;object-fit:contain;object-position:left}.card img{width:100%;max-height:250px;object-fit:contain;object-position:left}.card h2{font-weight:normal}.actions{gap:1.2rem;margin:1.4rem 0}button,input,textarea,select{font:inherit}button{cursor:pointer;background:transparent;color:#f2e5cc;border:1px solid #766951;padding:.55rem .85rem;border-radius:2px}button:disabled{opacity:.55}button[aria-pressed=true]{color:#ffb396;border-color:#e27f66}.form{display:grid;gap:1rem;max-width:760px}.form label{display:grid;gap:.35rem}.form input,.form textarea,.form select{padding:.75rem;background:#1c1a17;color:#f4e8d6;border:1px solid #756a59;border-radius:2px;width:100%}.form textarea{resize:vertical}.form button{justify-self:start}.form [hidden],[hidden]{display:none!important}.comments{margin-top:3rem;border-top:1px solid #665b48}.comment{padding:1rem 0;border-bottom:1px solid #453d34}.comment small{color:#d2bda0}.comment p{margin:.5rem 0}.comment button{padding:.3rem .55rem;margin-right:.5rem}.error{color:#ffb29c}.back{display:inline-block;margin-bottom:1.4rem}.adminlist{margin-top:3rem}
@media(max-width:700px){header{align-items:flex-start;flex-direction:column;gap:.7rem}nav{gap:.8rem 1.15rem}.signature{font-size:1.8rem}.homegrid{grid-template-columns:1fr}.shelf+.shelf{border-left:0;border-top:1px solid #514a40}.shelf{min-height:148px}.row{flex-wrap:wrap;gap:.3rem}.doodle{width:38px}.wrap,.read{padding-top:2rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.signature img{display:block;width:clamp(145px,17vw,245px);height:47px;object-fit:contain;object-position:left center}
