:root{--ink:#fff9ed;--wine:#230d24;--cream:#fff9ed;--gold:#ffe4a4;--pink:#d64875;--saffron:#f5a545;--scale:1}*{box-sizing:border-box}html{background:#230d24}body{margin:0;height:100svh;min-height:520px;display:flex;flex-direction:column;color:var(--ink);background:radial-gradient(ellipse at 50% 8%,#6f244b 0,#230d24 65%);font-family:"Tamil MN","Nirmala UI",Latha,"Noto Sans Tamil",sans-serif;font-size:calc(18px * var(--scale));line-height:1.6}button,select{font:inherit}button,select,a{touch-action:manipulation}button{cursor:pointer;min-height:44px;border:1px solid #f5a54566;border-radius:8px;background:#481b3f;color:#fff9ed;padding:7px 13px}button:hover{background:#703250}button:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #ffc977;outline-offset:3px}[hidden]{display:none!important}.skip{position:fixed;top:-100px;z-index:20;background:#230d24;color:white;padding:15px}.skip:focus{top:0}.garland{flex:0 0 16px;background:radial-gradient(circle at 50% 0,#f5a545 0 10px,transparent 11px) 0 0/28px 16px,radial-gradient(circle at 50% 0,#d64875 0 8px,transparent 9px) 14px 0/28px 16px;border-top:3px solid #ffe4a4}.side-flowers{position:fixed;top:25%;font-size:38px;line-height:1.9;color:#f5a545;text-shadow:0 0 24px #e48843a0;pointer-events:none;opacity:.65;z-index:0}.side-flowers.left{left:22px}.side-flowers.right{right:22px}header{text-align:center;padding:8px 18px 6px;flex-shrink:0;position:relative}.eyebrow{font-size:12px;letter-spacing:.05em;color:#ffc977;font-weight:600}.eyebrow span{margin-left:12px;border-left:1px solid #cbb895;padding-left:12px}.hero{display:flex;align-items:center;justify-content:center;gap:25px}h1{font-family:"Tamil Sangam MN","Tamil MN",Latha,serif;font-size:clamp(30px,4vw,44px);margin:0;line-height:1.5;color:#ffe4a4;text-shadow:0 2px 22px #d6487544}.lamp{font-size:32px}.subtitle{font-size:14px;color:#ffe1a7;margin:0}.demo{font-size:11px;color:#ffdec6;margin:3px 0 0}.mobile{display:none}main{max-width:1200px;width:100%;margin:0 auto;padding:0 48px 8px;display:flex;flex-direction:column;flex:1;min-height:0;position:relative}.day-section{padding:4px 0}.section-label{display:none}.days{display:flex;justify-content:center;gap:5px;flex-wrap:wrap}.days button{min-height:36px;font-size:13px;padding:4px 12px}.days button[aria-current="true"]{background:#f5a545;color:#230d24}.tools{display:flex;gap:12px;justify-content:center;align-items:center;flex-wrap:wrap;margin:6px 0 8px;padding:6px 0;border-top:1px solid #f5a54540;border-bottom:1px solid #f5a54540;font-size:14px;flex-shrink:0}.view-switch{display:flex;gap:3px;background:#290f2b;padding:3px;border-radius:9px}.view-switch button{border:0;background:transparent;padding:5px 12px}.view-switch button[aria-pressed="true"]{background:linear-gradient(135deg,#f5a545,#db5680);color:#260e25}.size-control{display:flex;align-items:center;gap:8px}select{padding:6px;border-radius:8px;border:1px solid #f5a54566;background:#38102b;color:#fff9ed;min-height:44px}.download{background:#56203b}.collection-header{display:flex;justify-content:center;align-items:center;gap:20px;flex-shrink:0}.collection-header .eyebrow{display:none}h2{font-size:calc(19px * var(--scale));margin:0;color:#ffe4a4}.collection-header>p{font-size:12px;color:#ffcd91;margin:0}.hint{text-align:center;color:#ffdec6;font-size:12px;margin:4px 0 6px;flex-shrink:0}.collection{display:grid;grid-template-rows:repeat(5,minmax(0,1fr));justify-items:center;gap:0;flex:1;min-height:0;padding:0 5px}.step{width:calc(69% + var(--step) * 3.8%);min-height:0;position:relative;display:grid;grid-template-columns:96px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 6px;padding:4px 15px 0;background:linear-gradient(105deg,#ad426a,#6f244b 75%,#993e70);border:1px solid #efb77880;border-bottom:0;border-radius:4px 4px 0 0;box-shadow:0 -3px 10px #10041966}.step:nth-child(3n+2){background:linear-gradient(105deg,#884b89,#59335e 75%,#78477d)}.step:nth-child(3n){background:linear-gradient(105deg,#ba5f53,#7e3b58 75%,#ad5368)}.step-heading{color:#ffe4a4;font-size:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.6;min-width:0;gap:1px}.step-category{font-size:10px;color:#fff1d0}.books{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 6px;min-height:0}.book{padding:0;border:0;background:none;border-radius:3px;display:block;text-align:left;min-width:0;min-height:0;height:100%;align-self:end;transition:filter .15s}.book:hover{background:none;filter:brightness(1.18)}.cover{height:100%;min-height:0;color:#fff9ed;padding:4px 11px;border-radius:3px 4px 0 0;background:linear-gradient(120deg,#ffffff15,transparent),var(--book-color);position:relative;box-shadow:-3px 0 0 #ffffff25 inset,3px -2px 8px #1c071a44;border-left:5px solid #0003;display:flex;align-items:center;gap:9px;overflow:hidden}.cover:before{content:"";position:absolute;border:1px solid #ffe4a43d;inset:3px;pointer-events:none}.cover .category,.cover .sample{display:none}.cover .book-title{font-size:calc(clamp(12px,2.1svh,19px) * var(--scale));line-height:1.5;position:relative;font-weight:600;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.cover .motif{font-size:22px;line-height:1;color:#ffe4a4;margin-left:auto;flex-shrink:0}.step-front{grid-column:1/-1;height:6px;margin:0 -15px;background:linear-gradient(#ffc977 0 2px,#a85770 2px 4px,#37132f 4px);font-size:0;box-shadow:0 2px 5px #1b061f55}.base{height:17px;flex-shrink:0;text-align:center;color:#ffe4a4;background:linear-gradient(90deg,#7a385a,#ad576f,#7a385a);display:flex;align-items:center;justify-content:center;gap:40px;border:1px solid #f5a54580;border-radius:0 0 8px 8px;font-size:13px;margin:0 5px}#status{font-size:12px;color:#ffe4a4;text-align:center;margin:0;flex-shrink:0}#status:empty{display:none}.list-mode{height:auto;min-height:100svh}.list-mode main{flex:none}.collection.list{display:flex;flex-direction:column;gap:16px;padding:12px 0;flex:none}.list .step{display:block;width:100%;border:1px solid #f5a54566;background:#38102be8;padding:18px;border-radius:12px;box-shadow:none}.list .step-heading{color:#ffe4a4;flex-direction:row;justify-content:flex-start;font-size:calc(20px * var(--scale));gap:12px;margin:0 0 12px}.list .step-category{font-size:calc(17px * var(--scale))}.list .books{display:flex;flex-direction:column;padding:0;gap:10px}.list .book{width:100%;background:#582444;padding:16px;min-height:52px;border:1px solid #cc7a8a66}.list .cover{background:none!important;padding:0;box-shadow:none;border:0;display:flex;height:auto}.list .cover:before,.list .category,.list .motif{display:none}.list .book-title{font-size:calc(21px * var(--scale));display:block}.list .sample{display:block;color:#ffcd91;font-size:12px;margin-left:auto;flex-shrink:0}.list .step-front{display:none}dialog{max-width:960px;width:calc(100% - 32px);max-height:90dvh;overflow:auto;border:1px solid #f5a54599;border-radius:16px;padding:55px 30px 30px;background:#38102b;color:#fff9ed;box-shadow:0 20px 80px #09010c99}dialog[open]{display:grid;grid-template-columns:280px 1fr;gap:30px}dialog::backdrop{background:#100416de;backdrop-filter:blur(4px)}.close{position:absolute;top:9px;right:10px;font-size:22px;padding:5px 14px}.modal-cover .cover{height:auto;min-height:370px;padding:30px;display:flex;flex-direction:column;justify-content:space-between;border-left:7px solid #0003}.modal-cover .book-title{font-size:calc(29px * var(--scale));display:block;overflow:visible}.modal-cover .motif{font-size:60px;margin:20px 0}.modal-cover .category{display:block;font-size:16px}.modal-cover .sample{display:block;font-size:13px}.modal-info h2{font-size:calc(28px * var(--scale));line-height:1.7}.author{font-size:16px;color:#ffcd91}.recommendation{border-left:3px solid #f5a545;padding-left:18px;margin:20px 0}.recommendation h3{font-size:20px;margin:0;color:#ffe4a4}.recommendation p{font-size:calc(19px * var(--scale));margin:8px 0}.demo-note{font-size:14px;color:#ffcd91}.modal-navigation{display:flex;gap:8px;flex-wrap:wrap;font-size:15px}.modal-navigation button{flex:1}.modal-open{overflow:hidden}@media(max-width:760px){body{min-height:560px}.side-flowers{display:none}header{padding:6px 12px}.eyebrow{font-size:10px}.hero{gap:12px}h1{font-size:30px}.lamp{font-size:25px}.subtitle{font-size:11px}.demo{font-size:9px}main{padding:0 8px 6px}.tools{gap:6px;margin:3px 0 6px;padding:5px 0;font-size:11px}.view-switch button{padding:5px 8px;font-size:11px}.size-control{gap:4px;font-size:11px}.size-control select{width:78px;font-size:11px;padding:3px}.download{font-size:11px;padding:5px 8px}.collection-header{gap:6px;flex-direction:column}h2{font-size:calc(15px * var(--scale))}.collection-header>p{font-size:10px}.hint{font-size:10px;margin:3px 0 5px}.step{width:calc(81% + var(--step) * 2.3%);padding:3px 5px 0;grid-template-columns:34px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 5px}.step-heading{font-size:9px}.step-category{display:none}.books{gap:4px;padding:0 2px}.cover{padding:3px 5px;border-left-width:3px;gap:0}.cover .book-title{font-size:calc(clamp(10px,1.8svh,14px) * var(--scale));line-height:1.6}.cover .motif{display:none}.step-front{margin:0 -5px;height:5px}.base{height:13px}dialog[open]{display:flex;flex-direction:column;gap:24px;padding:60px 20px 25px}.modal-cover{width:220px;margin:auto}.modal-cover .cover{min-height:300px}.modal-cover .book-title{font-size:28px}.modal-cover .motif{display:block;font-size:50px}.modal-info h2{font-size:26px}.list .step{padding:15px}.list .step-category{display:block}.list .cover{display:block}.list .cover .book-title{font-size:calc(20px * var(--scale))}.list .cover .sample{font-size:12px;margin-top:6px}}@media(max-height:650px) and (min-width:761px){header{padding:4px}h1{font-size:30px}.hero .lamp{font-size:24px}.tools{margin:2px 0;padding:3px 0}.tools button,.tools select{min-height:36px}.subtitle{font-size:12px}.demo{font-size:10px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media print{body{height:auto;background:#230d24;print-color-adjust:exact;-webkit-print-color-adjust:exact}.tools,.days,dialog,.day-section{display:none}.collection{height:700px;flex:none}.step{break-inside:avoid}.side-flowers{display:none}}
/* Real front covers, upright on a progressively wider nine-step staircase. */
.collection:not(.list) .step{width:calc(35% + var(--step) * 8%);grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 7px;padding:4px 14px 0}
.collection:not(.list) .step-heading{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:11px;z-index:2}
.collection:not(.list) .books{display:flex;justify-content:space-evenly;align-items:flex-end;height:100%;min-height:0;gap:12px;padding:0 40px}
.collection:not(.list) .book{height:100%;width:auto;aspect-ratio:.66;flex:0 1 auto;max-width:17%;border-radius:1px;box-shadow:4px -1px 8px #17071988;transition:filter .15s,transform .15s}
.collection:not(.list) .book:hover{transform:translateY(-3px)}
.real-cover{padding:0;border:0;border-radius:1px;background:none;box-shadow:none;overflow:visible;display:block;height:100%;aspect-ratio:var(--cover-ratio)}
.real-cover:before{display:none}.image-window{position:relative;width:100%;height:100%;overflow:hidden;background:#fff;border-radius:1px}
.image-window img{display:block;height:100%;width:var(--image-width);max-width:none;position:absolute;left:var(--image-left);top:var(--image-top)}
.cover-caption{display:none}.modal-cover .real-cover{padding:0;border:0;min-height:0;height:auto;width:100%;display:block;aspect-ratio:var(--cover-ratio)}
.modal-cover .image-window{height:100%;position:absolute;inset:0}.modal-cover{position:relative;align-self:start}
.modal-cover .real-cover{position:relative}.modal-cover .cover-caption{display:none}.modal-cover .real-cover img{height:100%;width:var(--image-width)}
.source-link{display:inline-block;font-size:13px;color:#ffc977;margin:0 0 18px;text-underline-offset:4px}.source-link:visited{color:#ffe4a4}
.list .books{display:flex}.list .book{height:auto;padding:12px}.list .real-cover{display:flex!important;aspect-ratio:auto;gap:18px;padding:0!important;align-items:center;height:auto}
.list .image-window{height:110px;width:72px;flex:0 0 72px;box-shadow:3px 2px 6px #15051988}.list .cover-caption{display:block}.list .book-title{font-size:calc(21px * var(--scale));line-height:1.7}.list .book-author{font-size:calc(15px * var(--scale));color:#ffcd91;display:block;margin-top:5px}
@media(max-width:760px){.collection:not(.list) .step{width:calc(42% + var(--step) * 7.2%);padding:3px 5px 0;grid-template-rows:minmax(0,1fr) 5px}.collection:not(.list) .step-heading{left:4px;font-size:8px}.collection:not(.list) .books{gap:6px;padding:0 22px}.collection:not(.list) .book{max-width:18%;aspect-ratio:.65;flex-shrink:1}.collection:not(.list) .step-front{height:5px}.list .image-window{height:92px;width:60px;flex-basis:60px}.list .book-title{font-size:calc(17px * var(--scale))}.list .book-author{font-size:13px}.list .real-cover{gap:12px}.modal-cover{width:240px;align-self:center}.modal-cover .real-cover{min-height:0}}
/* Silk padi cloth with woven gold zari and marigold–jasmine strings. */
.collection:not(.list) .step{grid-template-rows:minmax(0,1fr) 14px;border-top-color:#f6cd8866;background-image:repeating-linear-gradient(90deg,#fff5cd03 0 1px,transparent 1px 3px),linear-gradient(105deg,#ad426a,#6f244b 75%,#993e70)}
.collection:not(.list) .step:nth-child(3n+2){background-image:repeating-linear-gradient(90deg,#fff5cd03 0 1px,transparent 1px 3px),linear-gradient(105deg,#884b89,#59335e 75%,#78477d)}
.collection:not(.list) .step:nth-child(3n){background-image:repeating-linear-gradient(90deg,#fff5cd03 0 1px,transparent 1px 3px),linear-gradient(105deg,#ba5f53,#7e3b58 75%,#ad5368)}
.collection:not(.list) .step::before,.collection:not(.list) .step::after{content:"";position:absolute;top:0;bottom:14px;width:20px;background:url('decor/flower-string.svg') center top/20px 60px repeat-y;filter:drop-shadow(1px 2px 2px #22092288);pointer-events:none;z-index:3}
.collection:not(.list) .step::before{left:-7px}.collection:not(.list) .step::after{right:-7px}
.collection:not(.list) .step-front{height:14px;background:#d39b43 url('decor/zari.svg') left center/373px 14px repeat-x;border-bottom:2px solid #6d3523;box-shadow:0 2px 4px #1b061f77;position:relative}
.collection:not(.list) .step-heading{left:18px;color:#fff0c5;text-shadow:0 1px 3px #16081a}
.base{height:20px;background:#d39b43 url('decor/zari.svg') center/480px 18px repeat-x;border-color:#ffe3a0;color:#632546;text-shadow:0 1px #ffedb1}
@media(max-width:760px){.collection:not(.list) .step{grid-template-rows:minmax(0,1fr) 10px}.collection:not(.list) .step-front{height:10px;background-size:267px 10px}.collection:not(.list) .step::before,.collection:not(.list) .step::after{width:12px;bottom:10px;background-size:12px 36px}.collection:not(.list) .step::before{left:-3px}.collection:not(.list) .step::after{right:-3px}.collection:not(.list) .step-heading{left:9px}.base{height:14px;background-size:373px 14px}}
/* Original plum palette, compact padi and larger staggered book covers. */
header{padding:5px 18px 4px}header .hero{gap:16px}header h1{font-size:clamp(28px,3.5vw,40px)}header .lamp{display:none}header .subtitle{font-size:12px}header .demo{font-size:10px}.garland,.side-flowers{display:none}main{max-width:1350px;padding:0 12px 8px}.tools{margin:4px 0;padding:4px 0}.tools button,.tools select{min-height:40px}.collection-header h2{font-size:calc(17px * var(--scale))}.hint{margin:3px 0 4px}
.scene{position:relative;flex:1;min-height:0;overflow:hidden;background:radial-gradient(ellipse at 50% 5%,#6f244b 0,#230d24 75%);border:1px solid #f5a54544;border-radius:12px;box-shadow:0 4px 18px #14051740;isolation:isolate}
.scene::after{content:"";position:absolute;inset:0;background:url('decor/plum-decor-frame.png') center/100% 100% no-repeat;pointer-events:none;z-index:30}
.scene .collection:not(.list){position:absolute;top:19%;left:8%;right:8%;bottom:3%;padding:0;background:none;border-radius:0;display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:0;overflow:visible;isolation:auto}
.scene .collection:not(.list) .step,.scene .collection:not(.list) .step:nth-child(3n+2),.scene .collection:not(.list) .step:nth-child(3n){display:block;position:relative;width:100%;height:100%;min-height:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
.scene .collection:not(.list) .step::before{content:"";position:absolute;left:50%;transform:translateX(-50%);bottom:0;top:auto;width:var(--shelf-width);height:100%;background:repeating-linear-gradient(90deg,#fff5cd04 0 1px,transparent 1px 3px),linear-gradient(110deg,#ad426a,#6f244b 75%,#993e70);border:1px solid #eab88266;border-bottom:0;box-shadow:0 -1px 5px #16051f30;filter:none;z-index:0;pointer-events:none}
.scene .collection:not(.list) .step:nth-child(3n+2)::before{background:repeating-linear-gradient(90deg,#fff5cd04 0 1px,transparent 1px 3px),linear-gradient(110deg,#884b89,#59335e 75%,#78477d)}
.scene .collection:not(.list) .step:nth-child(3n)::before{background:repeating-linear-gradient(90deg,#fff5cd04 0 1px,transparent 1px 3px),linear-gradient(110deg,#ba5f53,#7e3b58 75%,#ad5368)}
.scene .collection:not(.list) .step::after{display:none}
.scene .collection:not(.list) .step-heading{position:absolute;left:calc((100% - var(--shelf-width))/2 + 7px);top:auto;bottom:14px;transform:none;color:#ffdfa2;font-size:9px;line-height:1.3;z-index:1;text-shadow:0 1px 2px #320a29}
.scene .collection:not(.list) .books{position:absolute;inset:0 0 12px;display:block;width:100%;height:auto;padding:0;margin:0;overflow:visible}
.scene .collection:not(.list) .book{position:absolute;left:var(--book-x);bottom:0;right:auto;top:auto;transform:translateX(-50%);height:var(--book-height);width:auto;aspect-ratio:auto;max-width:none;min-height:0;padding:0;margin:0;z-index:20;box-shadow:3px 0 7px #17071980;border-radius:1px}
.scene .collection:not(.list) .book:hover{transform:translateX(-50%) translateY(-3px)}
.scene .collection:not(.list) .real-cover{width:100%;height:100%;aspect-ratio:auto}
.scene .collection:not(.list) .step-front{position:absolute;left:50%;transform:translateX(-50%);bottom:0;grid-column:auto;width:var(--shelf-width);height:12px;margin:0;border:0;background:#d39b43 url('decor/zari.svg') center/320px 12px repeat-x;box-shadow:0 2px 4px #1b061f77;overflow:visible;z-index:1}
.scene .collection:not(.list) .step-front::after{content:"";position:absolute;inset:-2px 0 -2px;background:url('decor/shelf-flowers.png') center/144px 48px repeat-x;filter:drop-shadow(0 1px 1px #3d172e66);pointer-events:none}
.scene .base{display:none}
.list-mode .scene{background:none;border:0;box-shadow:none;overflow:visible;flex:none}.list-mode .scene::after{display:none}.list-mode .scene .collection{position:static;display:flex}
.collection.list .book{position:static!important;left:auto!important;bottom:auto!important;transform:none!important;height:auto!important;width:100%!important;max-width:none!important;aspect-ratio:auto!important}
@media(max-width:760px){body{min-height:560px}header{padding:4px 10px}header h1{font-size:28px}header .subtitle{font-size:10px}header .demo{font-size:8px}main{padding:0 4px 4px}.tools{gap:5px;padding:3px 0}.tools button,.tools select{font-size:10px;min-height:38px}.size-control{font-size:10px}.collection-header h2{font-size:14px}.scene{border-radius:7px}.scene .collection:not(.list){left:9%;right:9%;top:17%;bottom:3%}.scene .collection:not(.list) .step-heading{font-size:7px;bottom:11px;left:calc((100% - var(--shelf-width))/2 + 3px)}.scene .collection:not(.list) .books{bottom:9px}.scene .collection:not(.list) .step-front{height:9px;background-size:240px 9px}.scene .collection:not(.list) .step-front::after{background-size:105px 35px}}
.scene::after{z-index:0}.scene .collection:not(.list){top:28%;z-index:5}
@media(max-width:760px){.scene .collection:not(.list){top:24%}}

/* Full-page five-step Golu; reading controls stay in a small corner menu. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
body{min-height:0}main{max-width:none;padding:0;width:100%;height:100%;margin:0}.scene{border:0;border-radius:0;box-shadow:none}.scene .collection:not(.list){top:22%;bottom:3%}
.utility-menu{position:fixed;right:14px;bottom:14px;z-index:40}.utility-menu summary{list-style:none;display:flex;justify-content:center;align-items:center;width:48px;height:48px;border:1px solid #f5a54588;border-radius:50%;background:#38102bee;color:#ffe4a4;font-size:24px;cursor:pointer;box-shadow:0 2px 12px #10041688}.utility-menu summary::-webkit-details-marker{display:none}.utility-menu summary:focus-visible{outline:3px solid #ffc977;outline-offset:3px}.utility-menu[open] summary{margin-left:auto}.utility-menu .tools{position:absolute;right:0;bottom:58px;min-width:280px;max-width:calc(100vw - 28px);padding:14px;margin:0;border:1px solid #f5a54588;border-radius:12px;background:#38102bf5;box-shadow:0 4px 20px #10041699;font-size:14px;gap:10px}.utility-menu .tools button,.utility-menu .tools select{min-height:44px;font-size:14px}.utility-menu .size-control{font-size:14px}.day-section{position:absolute;top:max(12px,env(safe-area-inset-top));bottom:auto;left:14px;right:14px;z-index:35}.days{flex-wrap:nowrap;justify-content:flex-start;width:max-content;max-width:100%;margin:0 auto;overflow-x:auto;scrollbar-width:thin;padding:3px}.days button{flex:0 0 auto;min-height:44px;box-shadow:0 2px 8px #10041688}.days button{background:#38102bee}#status:not(:empty){position:fixed;bottom:75px;left:50%;transform:translateX(-50%);max-width:80vw;padding:8px 14px;background:#38102bf5;border-radius:8px;z-index:45}.list-mode main{height:auto;padding:12px 12px 80px}.list-mode .day-section{position:static}.list-mode .collection-header,.list-mode .hint{position:static!important;width:auto!important;height:auto!important;margin:8px 0!important;overflow:visible!important;clip-path:none!important;white-space:normal!important}
@media(max-width:760px){body{min-height:0}.scene .collection:not(.list){top:22%;bottom:3%}.utility-menu{right:8px;bottom:8px}.utility-menu summary{width:44px;height:44px}.utility-menu .tools{bottom:52px}.utility-menu .size-control select{width:auto}.day-section{top:max(8px,env(safe-area-inset-top));bottom:auto;left:8px;right:8px}}
@media print{.utility-menu{display:none}}

/* Raised silk-covered padi: recessed faces, projecting tops and shaded sides. */
.scene .collection:not(.list) .step::before{border-top:1px solid #ffe4a499;border-left:1px solid #ffe4a477;border-right:1px solid #260d29;box-shadow:inset 10px 0 10px -6px #ffe4a44d,inset -14px 0 12px -6px #16051f99,inset 0 7px 12px -7px #fff0c566,0 5px 10px #10041666}
.scene .collection:not(.list) .step::after{content:"";display:block;position:absolute;left:50%;right:auto;top:auto;bottom:12px;transform:translateX(-50%);width:var(--shelf-width);height:clamp(16px,3svh,30px);clip-path:polygon(3% 0,97% 0,100% 100%,0 100%);background:linear-gradient(180deg,#411832 0%,#b65b80 70%,#e1a18c 100%);border-bottom:1px solid #ffe4a499;filter:none;pointer-events:none;z-index:2}
.scene .collection:not(.list) .step:nth-child(3n+2)::after{background:linear-gradient(180deg,#302038,#8f6299 70%,#cdb0be 100%)}
.scene .collection:not(.list) .step:nth-child(3n)::after{background:linear-gradient(180deg,#54213a,#bb776e 70%,#e6b693)}
.scene .collection:not(.list) .step-front{z-index:3;box-shadow:0 4px 7px #10041688,inset 0 2px 1px #fff1bb99}
.scene .collection:not(.list) .book{box-shadow:6px 3px 10px #10041688,1px 0 1px #fff9ed66 inset}
@media(max-width:760px){.scene .collection:not(.list) .step::after{bottom:9px;height:16px}.scene .collection:not(.list) .step::before{box-shadow:inset 6px 0 7px -4px #ffe4a44d,inset -8px 0 8px -4px #16051f99,0 3px 6px #10041666}.scene .collection:not(.list) .book{box-shadow:4px 2px 7px #10041688}}

.image-window img,.modal-cover .real-cover img{height:var(--image-height,100%)}
