@font-face{font-family:'Moon Notes';src:url('assets/fonts/moon-notes.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;size-adjust:145%;ascent-override:78%;descent-override:22%;line-gap-override:0%}

:root{color-scheme:dark;--ink:#f0e4ce;--muted:#c3af9a;--wine:#692d37;--paper:#251b1d}
*{box-sizing:border-box}body{margin:0;overflow:hidden;background:#171112;color:var(--ink);font:14px 'Moon Notes',sans-serif}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #e8c887;outline-offset:5px}button{border:1px solid #b6a18a45;background:#25191de8;border-radius:30px;padding:10px 16px}button:hover{background:#57303be8}a{color:inherit}#world{position:fixed;inset:0;overflow:hidden;touch-action:none;cursor:grab}#world.dragging{cursor:grabbing}#scene{position:absolute;width:1672px;height:941px;transform-origin:0 0;will-change:transform}#bedroom{display:block;width:100%;height:100%;user-select:none;pointer-events:none}#world:after{content:'';position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 110px #150b1240}
.masthead{position:fixed;left:28px;top:23px;text-shadow:0 2px 10px #000;pointer-events:none}.masthead a{pointer-events:auto;text-decoration:none;font:500 26px 'Moon Notes',Georgia,serif}.masthead em{color:#ddbf9c}.masthead>span{display:block;font-size:9px;letter-spacing:3px;text-transform:uppercase;margin-top:3px;color:#d4c5b3}.top-actions{position:fixed;right:24px;top:24px;display:flex;gap:8px}.top-actions button{font-size:11px;backdrop-filter:blur(12px)}#hint{position:fixed;bottom:73px;left:50%;transform:translateX(-50%);font-size:11px;letter-spacing:.5px;text-shadow:0 2px 6px #000;background:#21161b90;padding:7px 12px;border-radius:15px;white-space:nowrap;pointer-events:none}.view-controls{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);display:flex;background:#25191def;border:1px solid #cbb89750;border-radius:40px;backdrop-filter:blur(12px);padding:3px}.view-controls button{border:0;background:transparent}.view-controls button:hover{background:#67404a}.view-controls #reset-view{font-size:11px;letter-spacing:.5px}.sound-controls{position:fixed;bottom:27px;left:24px;display:flex;align-items:center;gap:10px}.sound-controls button{font-size:11px}.sound-controls label{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.sound-controls input{width:65px;accent-color:#c69783}
.spot{position:absolute;left:calc(var(--x)*1%);top:calc(var(--y)*1%);width:calc(var(--w)*1%);height:calc(var(--h)*1%);transform:translate(-50%,-50%);border:0;border-radius:12px;padding:0;background:transparent;touch-action:none}.spot:hover,.spot:focus-visible{background:#ffeac210;box-shadow:0 0 25px #ffe1bd18}.spot span{position:absolute;left:50%;bottom:calc(100% + 6px);transform:translateX(-50%);font:12px 'Moon Notes',sans-serif;white-space:nowrap;padding:7px 12px;border-radius:20px;background:#24171cef;border:1px solid #d4b99d60;opacity:0;pointer-events:none;transition:opacity .2s}.spot:hover span,.spot:focus-visible span{opacity:1}.soft-light{position:absolute;inset:0;background:#170e2145;opacity:0;pointer-events:none;transition:opacity 1.2s}.dimmed .soft-light{opacity:1}#window-weather{position:absolute;left:84%;top:8%;width:14%;height:30%;overflow:hidden;pointer-events:none;clip-path:polygon(0 5%,97% 0,100% 100%,0 100%)}#rain{width:100%;height:100%;opacity:0;transition:opacity 1s}.raining #rain{opacity:.8}#shooting-star{position:absolute;top:18%;left:18%;width:60px;height:2px;background:linear-gradient(90deg,transparent,#fff0cc);opacity:0;transform:rotate(35deg)}#shooting-star.cross{animation:shoot 1.5s ease-out}#spinning-record{position:absolute;left:46.5%;top:61.9%;width:2.8%;height:1.4%;border-radius:50%;background:repeating-radial-gradient(ellipse,#201a1a 0 2px,#382c2b 3px 4px);pointer-events:none;opacity:0}#spinning-record:after{content:'';position:absolute;left:43%;top:35%;width:15%;height:30%;border-radius:50%;background:#a74b4c}.playing #spinning-record{opacity:1;animation:record 3s linear infinite}.has-updates #bow:after{content:'✧';position:absolute;right:0;top:0;color:#f6d99d;font-size:23px;animation:sparkle 2.6s ease-in-out infinite}
#entrance{position:fixed;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;gap:8vw;background:radial-gradient(ellipse at 65% 50%,#543037,#21181d 65%);transition:opacity .8s,visibility .8s}.welcome-copy{max-width:440px;padding:25px}.eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:3px;color:#c4a98d}h1{font:500 clamp(42px,5vw,76px)/1.03 'Moon Notes',Georgia,serif;margin:24px 0}h1 em{font-weight:400;color:#d7b9a7}.welcome-copy>p:last-child{font:18px/1.7 'Moon Notes',Georgia,serif;color:#c9b7a6}#enter{position:relative;width:220px;height:400px;border:10px solid #2a1a1c;border-radius:100px 100px 0 0;background:linear-gradient(100deg,#4b242e,#361c25);box-shadow:0 0 0 2px #9f7d6450,18px 20px 60px #0005;transition:transform .6s;transform-origin:left center}#enter:hover{transform:perspective(900px) rotateY(-12deg)}.door-top{position:absolute;left:25px;right:25px;top:40px;height:160px;border:2px solid #95736150;border-radius:70px 70px 0 0}.door-panel{position:absolute;left:25px;right:25px;bottom:35px;height:125px;border:2px solid #95736150}.door-knob{position:absolute;width:14px;height:14px;border-radius:50%;background:#c3a174;right:15px;top:58%;box-shadow:0 0 12px #f5dca625}.door-caption{position:absolute;left:0;right:0;top:51%;font:italic 22px 'Moon Notes',Georgia,serif;color:#dac3ad}.entrance-note{position:absolute;bottom:30px;font:italic 16px 'Moon Notes',Georgia,serif;color:#baa392}.entered #entrance{opacity:0;visibility:hidden;pointer-events:none}
dialog{width:min(580px,calc(100% - 30px));max-height:78dvh;border:1px solid #aa8b7555;border-radius:18px;background:var(--paper);color:var(--ink);padding:25px 30px;box-shadow:0 25px 100px #0009}dialog::backdrop{background:#110d14a8;backdrop-filter:blur(6px)}.panel-top{display:flex;align-items:center;justify-content:space-between}.panel-top p{font-size:9px;text-transform:uppercase;letter-spacing:2px;color:var(--muted)}#panel-close{border:0;background:transparent;padding:8px}h2{font:500 40px 'Moon Notes',Georgia,serif;margin:12px 0 18px}#panel-content{color:#d5c5b6;line-height:1.8}#panel-content p{margin:12px 0}.menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.menu-grid button{text-align:left;border-radius:9px;padding:15px}.entry{border-top:1px solid #b7a18e30;padding:15px 0}.entry h3{margin:0;font:26px 'Moon Notes',Georgia,serif}.entry time{font-size:11px;color:#bd9a85}.entry img{max-width:100%;border-radius:6px}.empty-note{padding:20px 0;font:italic 23px/1.5 'Moon Notes',Georgia,serif}.music-form input{width:100%;padding:12px;background:#150f13;color:var(--ink);border:1px solid #987f6c66;border-radius:7px;margin:10px 0}.music-form label{font-size:12px}.music-form button{margin-top:8px}#music-dock{position:fixed;right:22px;bottom:22px;width:min(340px,calc(100% - 30px));z-index:6;background:#20161df5;border:1px solid #b69a7b55;border-radius:14px;padding:12px;box-shadow:0 10px 50px #0008}#music-dock>div:first-child{display:flex;align-items:center;justify-content:space-between;padding:0 2px 8px;font:italic 18px 'Moon Notes',Georgia,serif}#music-close{padding:2px 10px;border:0;background:transparent}#player-container iframe{display:block;width:100%;height:152px;border:0;border-radius:9px}#toast{position:fixed;top:85px;left:50%;transform:translateX(-50%);padding:12px 20px;border-radius:20px;background:#35222bf2;opacity:0;pointer-events:none;transition:opacity .3s;z-index:30;text-align:center;max-width:90vw}#toast.visible{opacity:1}
@keyframes shoot{0%{opacity:0;transform:translate(-50px,-30px) rotate(35deg)}20%{opacity:1}100%{opacity:0;transform:translate(210px,140px) rotate(35deg)}}@keyframes sparkle{50%{opacity:.2;transform:scale(.7)}}@keyframes record{to{filter:brightness(1.2);transform:rotate(360deg)}}.still *{animation-play-state:paused!important}.still .cross{display:none}
@media(max-width:700px){.masthead{top:18px;left:16px}.masthead a{font-size:21px}.top-actions{right:12px;top:65px}.top-actions button{padding:8px 11px}.sound-controls{left:12px;bottom:76px}.sound-controls input{width:50px}#hint{bottom:119px;font-size:10px}.view-controls{bottom:18px}.welcome-copy{padding:15px;text-align:center}.welcome-copy h1{font-size:44px}#entrance{flex-direction:column;gap:12px}.welcome-copy>p:last-child{font-size:16px;margin-bottom:8px}#enter{width:130px;height:220px;border-width:7px}.door-top{top:18px;left:15px;right:15px;height:80px}.door-panel{bottom:15px;left:15px;right:15px;height:65px}.door-caption{font-size:18px}.entrance-note{bottom:10px;font-size:13px}dialog{padding:18px 22px}h2{font-size:34px}#music-dock{bottom:140px;right:15px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Illustrated entrance and quieter room presentation. */
:root{--ink:#dfcdb7;--muted:#b29b86;--paper:#26191d}
body,button,input{font-family:'Moon Notes',Georgia,serif}
body,button,a,#world,#world.dragging,.spot{cursor:url('assets/moon-cursor.svg') 5 3,auto}
button:hover,a:hover,.spot:hover{cursor:url('assets/star-cursor.svg') 12 12,pointer}
#bedroom{filter:brightness(.86) saturate(.88);image-rendering:auto}
.spot span{display:none!important}
.spot:hover{background:transparent;box-shadow:none}
.spot:focus-visible{background:transparent;box-shadow:none;outline:1px dotted #dbc299;outline-offset:3px}
.top-actions{top:18px;right:18px;gap:9px}
.top-actions button{font:22px Georgia,serif;width:38px;height:38px;padding:0;border:1px solid #c6a78a35;background:#28171c85;backdrop-filter:blur(6px)}
.view-controls{background:#24171cc2;border-color:#b6997a40;opacity:.75}
.view-controls:hover,.view-controls:focus-within{opacity:1}
.view-controls button{font-family:'Moon Notes',Georgia,serif}
.sound-controls{opacity:.75}.sound-controls:hover,.sound-controls:focus-within{opacity:1}
.sound-controls button{font:12px 'Moon Notes',Georgia,serif;background:#24171cb8}
#entrance{display:block;gap:0;background:#302023 url('assets/doorway.png') center/cover no-repeat;perspective:1500px;transform-origin:50% 55%;transition:opacity .9s,visibility .9s,transform 1.8s ease;isolation:isolate}
#door-opening,#enter{position:absolute;left:var(--door-left);top:var(--door-top);width:var(--door-width);height:var(--door-height);border:0;border-radius:0;padding:0}
#door-opening{background:#130e15;box-shadow:inset 0 0 50px #000}
#enter{background-image:url('assets/doorway.png');background-repeat:no-repeat;background-size:var(--art-width) var(--art-height);background-position:var(--door-bg-x) var(--door-bg-y);transform-origin:0 50%;box-shadow:none;transition:transform 1.35s cubic-bezier(.2,.55,.25,1),filter 1.35s;backface-visibility:hidden}
#enter:hover{transform:none;background-color:transparent}
#enter:focus-visible{outline:2px dotted #f0dbb5;outline-offset:7px}
.opening #enter,.opening #enter:hover{transform:rotateY(-33deg);filter:brightness(.75)}
.through-door #entrance{opacity:0;visibility:hidden;pointer-events:none;transform:scale(1.3)}
.entrance-sparkles{position:absolute;inset:0;pointer-events:none}
.entrance-sparkles i{position:absolute;color:#f4e6cf;font-size:17px;font-style:normal;animation:door-sparkle 4s ease-in-out infinite;text-shadow:0 0 10px #ffe1c655}
.entrance-sparkles i:nth-child(1){left:25%;top:29%;animation-delay:-1s}.entrance-sparkles i:nth-child(2){left:67%;top:37%;animation-delay:-3s}.entrance-sparkles i:nth-child(3){left:40%;top:67%;animation-delay:-2s}.entrance-sparkles i:nth-child(4){left:80%;top:69%;animation-delay:-.5s}.entrance-sparkles i:nth-child(5){left:20%;top:81%;animation-delay:-2.5s}.entrance-sparkles i:nth-child(6){left:55%;top:18%;animation-delay:-1.5s}
#welcome-screen{position:fixed;inset:0;z-index:25;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:radial-gradient(ellipse at center,#45252e 0,#271a22 55%,#18131a 100%);opacity:0;transition:opacity 1s;overflow:hidden;color:#ddc8ae}
#welcome-screen[hidden]{display:none}
#welcome-screen:before,#welcome-screen:after{content:'';position:absolute;inset:28px;border:1px solid #ad8c6540;border-radius:45% 45% 0 0;pointer-events:none}
#welcome-screen:after{inset:38px;border-color:#ad8c6520}
#welcome-screen.visible{opacity:1}#welcome-screen.leaving{opacity:0}
#welcome-screen>p{font:clamp(24px,4vw,35px) 'Moon Notes',cursive;margin:15px 0;color:#c2a38f}
#welcome-screen h1{font:400 clamp(42px,7vw,86px)/1.12 'Moon Notes',Georgia,serif;letter-spacing:-1px;margin:12px 20px 25px;text-shadow:0 2px 25px #0003}
#welcome-screen h1 em{font-size:.8em;color:#d7bba5;font-weight:400}
.welcome-stars{font-size:21px;letter-spacing:12px;color:#b99770}
#welcome-continue{border:0;background:none;font-size:26px;padding:18px;color:#c9a77d}
#panel-kicker{display:none}h2{font-family:'Moon Notes',Georgia,serif;font-weight:400}dialog{border-radius:6px 30px 6px 25px;box-shadow:0 20px 70px #0009;border-color:#8b6a5655;background:linear-gradient(130deg,#302024,#24191e)}
.empty-note,.entry h3,#music-dock>div:first-child{font-family:'Moon Notes',Georgia,serif}
.menu-grid button{font-size:17px;border-radius:4px 13px 4px 11px;background:#3f252c70}
@keyframes door-sparkle{0%,100%{opacity:0;transform:scale(.5) rotate(-10deg)}50%{opacity:.8;transform:scale(1) rotate(10deg)}}
@media(max-width:700px){.top-actions{top:14px;right:12px}#entrance{display:block}#enter{width:var(--door-width);height:var(--door-height);border:0}.sound-controls{bottom:74px}#welcome-screen:before{inset:14px}#welcome-screen:after{inset:22px}}
@media(prefers-reduced-motion:reduce){.opening #enter{transform:none}#entrance,#welcome-screen{transition:opacity .15s}}

/* A room around a fixed viewer, with full horizontal rotation and ceiling/floor views. */
#world{isolation:isolate;perspective-origin:50% 50%;background:#312b38;overscroll-behavior:none;user-select:none;-webkit-user-select:none}
#room-camera{position:absolute;left:50%;top:50%;width:0;height:0;transform-origin:0 0 0;transform-style:preserve-3d;pointer-events:none;will-change:transform}
.room-wall,#scene.room-wall{position:absolute;left:-836px;top:-470.5px;width:1672px;height:941px;transform-origin:50% 50%;transform-style:preserve-3d;backface-visibility:hidden;pointer-events:none}
.front-wall,#scene.front-wall{transform:translateZ(-836px)}
.right-wall{transform:rotateY(-90deg) translateZ(-836px)}
.rear-wall{transform:rotateY(180deg) translateZ(-836px)}
.left-wall{transform:rotateY(90deg) translateZ(-836px)}
.room-wall>img{display:block;width:100%;height:100%;pointer-events:none;user-select:none;-webkit-user-drag:none;filter:brightness(.83) saturate(.76)}
#bedroom{filter:brightness(.85) saturate(.85)}
.room-wall .spot{pointer-events:auto}
.room-plane{position:absolute;left:-836px;top:-836px;width:1672px;height:1672px;transform-origin:50% 50%;backface-visibility:hidden;pointer-events:none}
.ceiling{transform:rotateX(-90deg) translateZ(-470.5px);background:#4c424d}
.ceiling img{display:block;width:100%;height:100%;filter:brightness(.85)}
.floor{transform:rotateX(90deg) translateZ(-470.5px);background:repeating-linear-gradient(0deg,transparent 0 99px,#291e2570 100px 102px),repeating-linear-gradient(90deg,#403037 0 149px,#30242e 150px 152px,#48333a 153px 309px,#2c222b 310px 312px);border:1px solid #2a2028}
.floor-rug{position:absolute;inset:26%;border-radius:45%;background:#512b39;border:5px double #9a736254;box-shadow:inset 0 0 0 12px #3b202b,inset 0 0 0 14px #97736340}
#look-surface{position:absolute;inset:0;z-index:4;pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;cursor:url('assets/moon-cursor.svg') 5 3,grab}
#world.dragging #look-surface{cursor:grabbing}
#twilight{position:absolute;inset:0;z-index:5;pointer-events:none;background:linear-gradient(180deg,#25274325,#25213c12 55%,#160f1d18);box-shadow:inset 0 0 120px #1d142b26}
.dimmed #twilight{background:#15132638}
.dimmed .soft-light{opacity:1}
.side-window-rain{position:absolute;left:33%;top:20%;width:34%;height:35%;opacity:0;pointer-events:none;background:repeating-linear-gradient(105deg,transparent 0 15px,#c2c9da48 16px,transparent 17px 35px);background-size:71px 180px;mask-image:linear-gradient(transparent,#0008 20%,#0008 80%,transparent);animation:window-rain .7s linear infinite;transition:opacity .7s}
.raining .side-window-rain{opacity:.5}
@keyframes window-rain{to{background-position:-20px 180px}}
.view-controls button{min-width:36px}#turn-left,#turn-right{font-size:25px;padding:3px 12px}

/* Your own handwriting. UI symbols retain a system-font fallback. */
body{font-size:18px;line-height:1.5}
button,input,textarea{font-family:'Moon Notes',Georgia,serif}
#welcome-screen h1{font-size:clamp(38px,6.5vw,78px);line-height:1.3;letter-spacing:0;font-weight:400}
#welcome-screen>p{font-size:clamp(22px,3.5vw,32px);line-height:1.5}
#welcome-screen h1 em,.empty-note,#music-dock>div:first-child{font-style:normal}
h2{font-size:36px;line-height:1.35}
#panel-content{font-size:19px;line-height:1.7}
.menu-grid button{font-size:19px;line-height:1.4}
.sound-controls button,.music-form label,.view-controls #reset-view,.entry time{font-size:15px}
.top-actions button,.view-controls button,#welcome-continue,#panel-close,#music-close,.welcome-stars{font-family:Georgia,serif}
@media(max-width:700px){#welcome-screen h1{font-size:clamp(34px,8vw,50px)}#panel-content{font-size:18px}}

/* More open layout, glass-sky ceiling, and full-page reading views. */
body,a,button,input,#world,#world.dragging,.spot,#look-surface,button:hover,a:hover,.spot:hover{cursor:auto}
button,a,button:hover,a:hover,.spot,.spot:hover{cursor:pointer}
#look-surface{cursor:grab}#world.dragging #look-surface{cursor:grabbing}
.floor{background:#49322b url('assets/hardwood.svg') 0 0/400px 800px repeat;border-color:#2e211e}
.ceiling{background:#171d35;overflow:hidden}
.ceiling img{filter:none}
#roof-shooting-star{position:absolute;left:20%;top:23%;width:220px;height:3px;background:linear-gradient(90deg,transparent,#c4d6ff 80%,#fff);opacity:0;border-radius:50%;box-shadow:0 0 7px #b8caff55;pointer-events:none}
#roof-shooting-star.cross{animation:roof-star 2.1s ease-out}
@keyframes roof-star{0%{opacity:0;transform:translate(-100px,-50px) rotate(32deg)}18%{opacity:.9}100%{opacity:0;transform:translate(800px,480px) rotate(32deg)}}
.still #roof-shooting-star{display:none}
.reading .top-actions,.reading .view-controls,.reading .sound-controls{visibility:hidden}
#panel.section-page{position:fixed;inset:0;z-index:30;width:100%;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;overflow-y:auto;overscroll-behavior:contain;background:radial-gradient(ellipse at 80% 0,#41252f,#271c26 55%,#211922);color:#dfcfba;padding:0;outline:none}
#panel[hidden]{display:none}
.page-inner{width:min(960px,100%);margin:0 auto;padding:55px 50px 180px}
.panel-top{justify-content:flex-start;margin-bottom:48px}
#panel-close{font:20px 'Moon Notes',Georgia,serif;border:1px solid #b99c7f55;border-radius:0;background:transparent;padding:12px 18px;line-height:1.5}
#panel-title{font:400 clamp(34px,4vw,50px)/1.4 'Moon Notes',Georgia,serif;margin:0 0 50px;letter-spacing:0}
#panel-content{font-size:26px;line-height:1.8;overflow-wrap:anywhere}
#panel-content .empty-note{font-size:26px;line-height:1.8;margin:0}
.entry h3{font-size:31px;line-height:1.6}.entry time{font-size:19px}.menu-grid{gap:18px}.menu-grid button{font-size:24px;padding:24px}
.sound-controls button,.music-form label{font-size:20px}.music-form input{font-size:22px}.music-form button{font-size:22px}
#music-dock{z-index:40}
.poster-original{display:block;width:auto;max-width:100%;height:auto;max-height:none;margin:20px auto}
.wall-poster{position:absolute;margin:0;left:calc(var(--px)*1%);top:calc(var(--py)*1%);width:calc(var(--pw)*1%);height:auto;transform:translateZ(2px) rotate(var(--tilt,0deg));transform-origin:50% 50%;padding:0;border:0;border-radius:0;background:none;box-shadow:1px 3px 4px #0d0a0e50;pointer-events:none}
.wall-poster img{display:block;width:100%;height:auto;pointer-events:none;filter:brightness(.88) saturate(.86);user-select:none;-webkit-user-drag:none}
.wall-poster:before,.wall-poster:after{content:'';position:absolute;width:24px;height:13px;background:#cbb99d70;z-index:1;pointer-events:none}
.wall-poster:before{top:-5px;left:4px;transform:rotate(-27deg)}.wall-poster:after{bottom:-4px;right:3px;transform:rotate(-23deg)}
.wall-poster:hover{background:none;box-shadow:1px 3px 4px #0d0a0e50}
@media(max-width:700px){.page-inner{padding:30px 24px 200px}.panel-top{margin-bottom:34px}#panel-title{font-size:32px;margin-bottom:35px}#panel-content,#panel-content .empty-note{font-size:22px}.menu-grid{grid-template-columns:1fr}.menu-grid button{font-size:21px}#panel-close{font-size:17px}.sound-controls button{font-size:16px}#music-dock{bottom:14px}}

/* One quiet crescent cursor, and a silent two-click doorway. */
html,body,body *,body *:hover,body #look-surface,body #world.dragging #look-surface{cursor:url('assets/crescent-cursor.svg') 3 3,auto!important}
.door-ajar #enter,.door-ajar #enter:hover{transform:rotateY(-14deg);filter:brightness(.93)}
.opening #enter,.opening #enter:hover{transform:rotateY(-82deg);filter:brightness(.85)}
#welcome-screen{background:radial-gradient(ellipse at 50% 40%,#2b3049 0%,#1a2336 50%,#111a2b 100%);color:#e7decf}
#welcome-screen:before,#welcome-screen:after{border-color:#9eacc22b}
#welcome-screen:after{border-color:#9eacc215}
#welcome-screen h1{font-size:clamp(54px,7.5vw,108px);line-height:1.3;max-width:calc(100vw - 60px);color:#e7decf;margin:26px 20px 35px}
#welcome-screen h1 em{color:#c9cddd;font-size:.8em}
.welcome-stars{color:#bcc8de;font-size:32px;letter-spacing:0}
#welcome-continue{color:#c6cede;font-size:30px}
@media(max-width:700px){#welcome-screen h1{font-size:clamp(34px,8.5vw,48px);line-height:1.5;max-width:calc(100vw - 40px)}}
@media(prefers-reduced-motion:reduce){.door-ajar #enter{transform:rotateY(-10deg)}.opening #enter{transform:rotateY(-75deg)}}

/* Cohesion pass: one large floor rug, unified twilight grading and corner levels. */
.room-wall>img,#bedroom{filter:brightness(.78) saturate(.74)}
#twilight{background:linear-gradient(180deg,#17274b30,#202b4a25 60%,#171a3524);box-shadow:inset 0 0 100px #10172b2b}
.dimmed #twilight{background:#11192f45}
.central-rug{position:absolute;left:8%;top:8%;width:84%;height:84%;display:block;pointer-events:none;filter:brightness(.82) saturate(.8);transform:translateZ(.7px)}
.floor{background-size:400px 800px;box-shadow:inset 0 0 80px #20182155}
.front-skirt-repair{position:absolute;top:710px;height:123px;pointer-events:none;transform:translateZ(.2px);filter:brightness(.78) saturate(.74);background:linear-gradient(to bottom,#8b604c 0,#8b614d 78px,#38241b 79px,#cf936b 80px,#d0956c 84px,#6f4b36 86px,#bf8863 88px,#c18b65 118px,#2e1e15 120px)}
.repair-left{left:0;width:22%;mask-image:linear-gradient(90deg,#000 0 96%,transparent 100%)}
.repair-right{right:0;width:10.5%;mask-image:linear-gradient(270deg,#000 0 96%,transparent 100%)}
.design-review #room-camera *{animation:none!important}
.design-review .entrance-sparkles{display:none}
.design-review #shooting-star,.design-review #roof-shooting-star{display:none}

/* Discovery-led controls and one coherent window wall. */
.view-controls,.sound-controls{display:none!important}
#window-weather{left:34%;top:18%;width:32%;height:35%;clip-path:none}
#spinning-record{left:61.7%;top:62%;width:2.8%;height:1.4%}
.ceiling{background:#050a18}

/* Single illustrated scene; no wall planes or perspective camera. */
#world.single-scene{perspective:none;background:#191316}
.single-scene #room-camera{left:0;top:0;width:1672px;height:941px;transform-origin:0 0;transform-style:flat}
.single-scene #scene{left:0;top:0;width:1672px;height:941px;transform:none;transform-origin:0 0;pointer-events:none}
.single-scene #scene .spot{pointer-events:auto}
.single-scene .wall-poster{transform:rotate(var(--tilt,0deg))}
.single-scene #window-weather{left:82.7%;top:8%;width:14.7%;height:34%;clip-path:polygon(0 10%,100% 0,100% 100%,0 100%)}
.single-scene #spinning-record{left:46.5%;top:61.9%;width:2.8%;height:1.4%}
.single-scene #bedroom{filter:brightness(.82) saturate(.77)}
#welcome-screen{background:#270d17 url('assets/welcome-roses.png') center/cover no-repeat;color:#eadbd0;padding:40px 24px 190px}
#welcome-screen:before{inset:0;border:0;border-radius:0;background:linear-gradient(180deg,#160a1260,#160a1220 65%,#10070c65);z-index:-1}
#welcome-screen:after{inset:26px;border-color:#c5a49b30;border-radius:0;z-index:-1}
#welcome-screen{isolation:isolate}
#welcome-screen h1{color:#eadbd0;text-shadow:0 2px 18px #100609}
#welcome-screen h1 em{color:#cfb9bb}
.welcome-stars{color:#dcc7b9}
.welcome-phases{position:absolute;bottom:40px;left:50%;transform:translateX(-50%);width:min(720px,76vw);height:125px;object-fit:cover;object-position:center 56%;mix-blend-mode:screen;opacity:.8;pointer-events:none;user-select:none}
#welcome-continue{color:#dfc9be;margin-top:6px}
@media(max-width:700px){#welcome-screen{padding-bottom:155px}.welcome-phases{bottom:35px;width:88vw;height:90px}#welcome-screen:after{inset:14px}}
@media(max-height:550px){#welcome-screen{padding:15px 20px 90px}#welcome-screen h1{font-size:38px;margin:5px 0}.welcome-stars{font-size:20px}.welcome-phases{bottom:12px;height:65px;width:min(500px,65vw)}#welcome-continue{padding:5px}}

/* Larger title and an uncropped moon photograph, lifted clear of the bottom. */
#welcome-screen{padding:35px 24px 24vh;outline:none}
#welcome-screen h1{font-size:clamp(66px,9vw,144px);line-height:1.35;margin:20px 20px 28px}
.welcome-phases{bottom:0;width:min(820px,84vw,130vh);height:auto;object-fit:contain;object-position:center}
@media(max-width:700px){#welcome-screen h1{font-size:clamp(43px,10vw,70px);margin:16px 10px;max-width:calc(100vw - 40px)}.welcome-phases{bottom:14px;width:90vw;height:auto}}
@media(max-height:550px){#welcome-screen{padding:12px 20px 23vh}#welcome-screen h1{font-size:clamp(38px,9vh,56px);margin:8px 10px}.welcome-phases{bottom:-4px;width:min(560px,76vw,120vh);height:auto}}

/* Quiet local movement, with the original flat illustration kept in place. */
.breeze-layer{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;filter:brightness(.82) saturate(.77)}
.candle-live{position:absolute;width:7px;height:22px;transform:translate(-50%,-100%);transform-origin:50% 100%;border-radius:65% 35% 55% 45%;background:linear-gradient(0deg,#e5a65b,#f2d4a0 58%,#f7e4b7);box-shadow:0 0 7px 2px #f1b97645,0 0 27px 10px #edaf6b13;pointer-events:none;opacity:.75;animation:candle-flicker 2.3s var(--delay) ease-in-out infinite;animation-play-state:paused}
.candle-live:after{content:'';position:absolute;left:2px;bottom:0;width:3px;height:10px;border-radius:50%;background:#fff1ceaa}
@keyframes candle-flicker{0%,100%{transform:translate(-50%,-100%) rotate(-3deg) scale(.88,1);opacity:.65}23%{transform:translate(-50%,-100%) rotate(4deg) scale(1,.84);opacity:.85}47%{transform:translate(-50%,-100%) rotate(-5deg) scale(.8,1.08);opacity:.72}76%{transform:translate(-50%,-100%) rotate(2deg) scale(.95,.94);opacity:.9}}
.single-scene #spinning-record{display:block;left:46.5%;top:61.7%;width:2.7%;height:1.4%;opacity:1;overflow:hidden;background:#201919;transform:rotate(-2deg);animation:none}
#spinning-record:before{content:'';position:absolute;left:0;top:-16px;width:45px;height:45px;border-radius:50%;background:conic-gradient(from 20deg,#30272a 0deg,#161217 50deg,#6c515540 85deg,#20191b 135deg,#120f12 230deg,#58444875 275deg,#20191b 330deg);animation:record-grooves 4s linear infinite;animation-play-state:paused}
#spinning-record:after{left:39%;top:28%;width:23%;height:43%;background:#803d44;box-shadow:inset 0 0 0 2px #54272c}
@keyframes record-grooves{to{transform:rotate(360deg)}}
.lamp-breath{position:absolute;left:45%;top:46%;width:12%;height:23%;border-radius:50%;background:radial-gradient(ellipse,#e6c49112,transparent 66%);pointer-events:none;mix-blend-mode:screen;animation:lamp-breath 7s ease-in-out infinite;animation-play-state:paused}
@keyframes lamp-breath{50%{opacity:.55}}
.entered:not(.still):not(.reading) .candle-live,.entered:not(.still):not(.reading) #spinning-record:before,.entered:not(.still):not(.reading) .lamp-breath{animation-play-state:running}
.still #spinning-record:before{animation-play-state:paused!important}
.single-scene #shooting-star{left:12%;top:15%;width:65px;background:linear-gradient(90deg,transparent,#dbe4f8);box-shadow:0 0 4px #d1dcf855}
.single-scene #shooting-star.cross{animation:window-star 1.7s ease-out}
@keyframes window-star{0%{opacity:0;transform:translate(-35px,-20px) rotate(30deg)}18%{opacity:.85}100%{opacity:0;transform:translate(170px,95px) rotate(30deg)}}
.reading .candle-live,.reading #spinning-record:before,.reading .lamp-breath{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.candle-live,#spinning-record:before,.lamp-breath{animation:none!important}.breeze-layer{display:none}}

/* A small lift in the practical lights, preserving the muted room palette. */
.single-scene #bedroom,.breeze-layer{filter:brightness(.85) saturate(.77)}
.candle-live{box-shadow:0 0 9px 3px #f1c79770,0 0 32px 13px #edc19725}
.lamp-breath{background:radial-gradient(ellipse,#ecd6b52b,transparent 68%)}
.single-scene #scene:after{content:'';position:absolute;inset:0;pointer-events:none;mix-blend-mode:screen;background:radial-gradient(circle at 5.7% 4.1%,#f6dfb94d 0,transparent 19px),radial-gradient(circle at 9% 5.8%,#f6dfb94d 0,transparent 19px),radial-gradient(circle at 12.5% 4.8%,#f6dfb94d 0,transparent 19px),radial-gradient(circle at 16.5% 4.7%,#f6dfb94d 0,transparent 19px),radial-gradient(circle at 27% 3.9%,#f6dfb94d 0,transparent 19px),radial-gradient(circle at 30.2% 4.7%,#f6dfb94d 0,transparent 19px),radial-gradient(circle at 33.4% 3.1%,#f6dfb94d 0,transparent 19px),radial-gradient(circle at 45.3% 4.8%,#f6dfb94d 0,transparent 19px),radial-gradient(circle at 48.8% 2.9%,#f6dfb94d 0,transparent 19px),radial-gradient(circle at 59.8% 3.6%,#f6dfb94d 0,transparent 19px),radial-gradient(circle at 63.3% 4.1%,#f6dfb94d 0,transparent 19px),radial-gradient(circle at 66.7% 3%,#f6dfb94d 0,transparent 19px),radial-gradient(circle at 85.9% 3.7%,#f6dfb94d 0,transparent 19px)}
.dimmed .single-scene #scene:after,.dimmed .lamp-breath{opacity:.35}

/* Slightly warmer, brighter overall bedroom grade. */
.single-scene #bedroom,.breeze-layer{filter:brightness(.93) saturate(.84) sepia(.035)}
.single-scene .wall-poster img{filter:brightness(.93) saturate(.88) sepia(.025)}
.single-scene #twilight{background:linear-gradient(180deg,#442d2912,#65422d09 60%,#271a2512);box-shadow:inset 0 0 100px #21151d19}
.dimmed .single-scene #twilight{background:#20131b38}

/* The diary opens into a paper notebook, on a burgundy cloth surface. */
#panel.journal-mode{background:linear-gradient(#190e17a8,#21121bad),url('assets/welcome-roses.png') center/cover fixed;color:#4d3436}
.journal-mode .page-inner{width:min(1250px,100%);padding:24px 44px 60px}
.journal-mode .panel-top{margin-bottom:24px}
.journal-mode #panel-close{color:#e5d5c4;border-color:#d2b9a14a;background:#21121b65;border-radius:4px 10px 4px 8px;font-size:17px;padding:8px 15px}
.journal-mode #panel-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0;padding:0}
.journal-book{position:relative;display:grid;grid-template-columns:1fr 1fr;background:#5f2e39;padding:10px 11px 14px;border-radius:9px 12px 13px 8px;box-shadow:0 25px 65px #0b050b9c,0 3px 0 #2a1720,0 6px 0 #6d4650;perspective:1700px}
.journal-book:after{content:'';position:absolute;left:50%;top:10px;bottom:14px;width:32px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,#66523a22 32%,#4c382e30 49%,#fff6de19 54%,transparent);pointer-events:none;z-index:2}
.journal-paper{position:relative;height:clamp(490px,70vh,740px);overflow:auto;padding:42px 42px 58px;color:#57413e;scrollbar-color:#b8a48b transparent;scrollbar-width:thin;background-color:#e6dcc5;background-image:linear-gradient(90deg,#9d7d5810,transparent 12%,#fff7df17 75%),repeating-linear-gradient(transparent 0 41px,#8b80601b 41px 42px);background-position:0 0,0 22px;box-shadow:inset 0 -4px 0 #c0ae90,inset 0 -7px 0 #e2d2b4}
.journal-left{border-radius:4px 0 0 5px;box-shadow:inset -13px 0 20px -15px #58412b8a,inset 0 -4px 0 #bda98d,inset 0 -7px 0 #e2d2b4;transform-origin:100% 50%}
.journal-right{border-radius:0 5px 7px 0;box-shadow:inset 14px 0 22px -20px #513d2ab0,inset 0 -4px 0 #bda98d,inset 0 -7px 0 #e2d2b4;transform-origin:0 50%}
.journal-inscription{position:relative;min-height:100%;text-align:center;padding-top:10px}
.journal-small{font-size:16px!important;color:#8c6e65;margin:0 0 36px!important;line-height:1.7}
.journal-cover-title{font:400 clamp(30px,3vw,43px)/1.4 'Moon Notes',Georgia,serif;margin:0;color:#68414a}
.journal-cover-moon{display:block;font:38px Georgia,serif;color:#9e8169;margin-top:24px;transform:rotate(-12deg)}
.pressed-rose{width:125px;margin:26px auto 0;transform:rotate(-14deg);filter:drop-shadow(2px 3px 1px #63473725);opacity:.86}
.pressed-rose svg{display:block;width:100%;height:auto}
.journal-folio{position:absolute;bottom:20px;left:0;right:0;text-align:center;font:13px Georgia,serif;color:#9d846d}
.journal-entry{font-size:22px;line-height:1.9;white-space:normal}
.journal-date{display:block;font:italic 14px/1.5 Georgia,serif;color:#967569;margin-bottom:24px}
.journal-entry-title{font:400 29px/1.5 'Moon Notes',Georgia,serif;color:#6e424a;margin:0 0 24px}
.journal-entry p{font-size:22px;margin:0 0 21px!important;white-space:pre-wrap;line-height:1.9}
.journal-photo{display:block;width:100%;height:auto;padding:7px 7px 20px;background:#f4ecda;box-shadow:1px 3px 5px #6c55432a;margin:18px 0 25px;transform:rotate(-1deg)}
.journal-link{font-size:17px;color:#794d57}
.journal-blank{min-height:100%}
.journal-empty-note{font-size:21px!important;line-height:1.9!important;color:#a18d78;margin-top:72px!important;transform:rotate(-2deg)}
.journal-controls{display:flex;justify-content:center;align-items:center;gap:30px;margin-top:28px;color:#dfcbbb}
.journal-controls button{border-color:#c8a99455;background:#25151d88;padding:6px 20px;font:25px Georgia,serif;border-radius:50%;width:52px;height:48px}
.journal-controls button:disabled{opacity:.25;cursor:default!important}
.journal-controls button:focus-visible{outline-color:#ead4b1}
.journal-page-status{font:14px Georgia,serif;letter-spacing:2px;min-width:48px;text-align:center}
.turn-forward .journal-right{animation:journal-turn-forward .34s ease-in-out both}
.turn-back .journal-left{animation:journal-turn-back .34s ease-in-out both}
@keyframes journal-turn-forward{50%{transform:rotateY(-24deg);filter:brightness(.89)}}
@keyframes journal-turn-back{50%{transform:rotateY(24deg);filter:brightness(.89)}}
@media(max-width:700px){.journal-mode .page-inner{padding:20px 15px 50px}.journal-book{grid-template-columns:1fr;padding:7px 7px 12px}.journal-paper{height:auto;min-height:440px;padding:30px 29px 55px}.journal-book:after{display:none}.journal-left,.journal-right{border-radius:3px;box-shadow:inset 0 -4px 0 #bda98d}.journal-left{border-bottom:1px solid #bca78d}.journal-inscription{min-height:350px}.pressed-rose{width:100px}.journal-small{margin-bottom:20px!important}.journal-cover-title{font-size:34px}.journal-empty-note{margin-top:40px!important}.journal-controls{position:sticky;bottom:12px;width:max-content;margin:22px auto 0;background:#28151ded;border-radius:40px;padding:6px 12px;gap:20px}.journal-entry p{font-size:20px}}
@media(prefers-reduced-motion:reduce){.turn-forward .journal-right,.turn-back .journal-left{animation:none!important}}

html.returning-visitor #entrance{display:none}
.journal-contents{display:flex;flex-direction:column;min-height:100%;gap:28px;padding-bottom:6px}
.journal-contents .journal-cover-title{font-size:35px;margin:0 0 8px}
.journal-chapters{display:grid;gap:15px;flex:1;align-content:start}
.journal-chapter{display:block;width:100%;text-align:left;border:0;border-bottom:1px dotted #92756265;border-radius:0;background:none;color:#65474a;padding:9px 0 17px;line-height:1.6}
.journal-chapter:hover{background:#9c705b0b}
.chapter-number{display:block;font:italic 13px Georgia,serif;letter-spacing:.5px;color:#9c7c69;margin-bottom:8px}
.chapter-name{display:block;font:21px/1.7 'Moon Notes',Georgia,serif}
.journal-contents-empty{font-size:19px!important;line-height:1.9!important;color:#a18d78}
.journal-jump{margin-top:auto;padding:13px 0 6px;text-align:left;font:18px/1.7 'Moon Notes',Georgia,serif;border:0;border-top:1px solid #aa8d6b50;border-radius:0;background:none;color:#80505b}
.journal-jump:hover{background:none;color:#5e303c}
.journal-jump:disabled{opacity:.45;cursor:default!important}
.journal-chapter:focus-visible,.journal-jump:focus-visible{outline-color:#80505b}

/* A folded letter on burgundy cloth. */
#panel.letter-mode{background:linear-gradient(#20111a95,#20111ab5),url('assets/welcome-roses.png') center/cover fixed;color:#62444a}
.letter-mode .page-inner{width:min(930px,100%);padding:24px 40px 90px}
.letter-mode .panel-top{margin-bottom:30px}
.letter-mode #panel-close{color:#e5d5c4;border-color:#d2b9a14a;background:#21121b65;border-radius:4px 10px 4px 8px;font-size:17px;padding:8px 15px}
.letter-mode #panel-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0;padding:0}
.letter-desk{position:relative;max-width:720px;margin:0 auto;padding-bottom:20px}
.letter-desk:before{content:'';position:absolute;left:-12px;right:-12px;top:30%;bottom:0;background:#bda18e;border:1px solid #8e6a5b;border-radius:5px;box-shadow:0 22px 65px #0a040b70;transform:rotate(-1.5deg)}
.letter-desk:after{content:'';position:absolute;left:-10px;right:-10px;bottom:1px;height:150px;pointer-events:none;background:linear-gradient(153deg,transparent 49.5%,#90715d55 50%,transparent 50.5%),linear-gradient(207deg,transparent 49.5%,#90715d55 50%,transparent 50.5%);opacity:.4}
.letter-paper{position:relative;padding:45px 64px 50px;border:1px solid #cfbda2;border-radius:3px 5px 5px 2px;background:#e9dfc9;box-shadow:0 2px 0 #bbaa91,0 5px 0 #d9cbb1,0 8px 18px #32201b24;color:#68494d;z-index:1;background-image:linear-gradient(90deg,#ad896a08,transparent 25%,#fff7e31a 75%)}
.letter-paper:after{content:'';position:absolute;left:0;right:0;top:51%;height:1px;pointer-events:none;background:#b299791c;box-shadow:0 1px 0 #fff7df24}
.letter-stamp{position:absolute;right:32px;top:28px;width:66px;height:76px;display:grid;place-items:center;font:36px Georgia,serif;color:#8d5b64;border:3px dotted #a17779;outline:1px solid #b79b8845;outline-offset:-8px;transform:rotate(7deg);background:#d3bca63b}
.letter-heading{font:400 clamp(28px,3.5vw,39px)/1.5 'Moon Notes',Georgia,serif;margin:0 64px 22px 0;color:#784951}
.letter-intro{font-size:19px!important;line-height:1.9!important;color:#947467;margin:0 54px 35px 0!important}
.letter-form{position:relative;z-index:1}
.letter-field{margin-bottom:26px}
.letter-field label{display:block;font:20px/1.8 'Moon Notes',Georgia,serif;color:#79535b;margin-bottom:8px}
.letter-input{display:block;width:100%;min-height:46px;font:22px/1.8 'Moon Notes',Georgia,serif;color:#553d43;border:0;border-bottom:1px solid #a68c6b88;border-radius:0;padding:6px 8px;background:#fff7df24;outline:none;box-shadow:none;caret-color:#7d394b}
.letter-input:focus{border-color:#8d5664;box-shadow:0 2px 0 #8d566425;background:#fff8e340;outline:1px dotted #946372;outline-offset:4px}
textarea.letter-input{resize:vertical;min-height:210px;max-height:650px;line-height:38px;background:repeating-linear-gradient(transparent 0 37px,#aa94752b 37px 38px);background-position:0 7px;padding:7px 8px}
.letter-signoff{font-size:20px!important;color:#927162;margin:28px 0 24px!important;transform:rotate(-3deg);transform-origin:left}
.letter-send{display:block;margin:0 auto;border:1px solid #693744;border-radius:4px 13px 5px 11px;padding:13px 25px;background:#773f4e;color:#f0dfc6;font:20px/1.7 'Moon Notes',Georgia,serif;box-shadow:0 3px 0 #55303a}
.letter-send:hover{background:#854b59}.letter-send:disabled{opacity:.45;cursor:default!important;box-shadow:none}
.letter-send:focus-visible{outline-color:#824a59}
.letter-status{font:14px/1.7 Georgia,serif!important;color:#977a69;text-align:center;margin:20px 0 0!important}
@media(max-width:700px){.letter-mode .page-inner{padding:20px 23px 60px}.letter-paper{padding:32px 27px 36px}.letter-stamp{right:20px;top:24px;width:48px;height:57px;font-size:29px}.letter-heading{font-size:27px;margin-right:42px}.letter-intro{margin-right:12px!important;font-size:17px!important}.letter-field label{font-size:18px}.letter-input{font-size:20px}.letter-send{font-size:18px}.letter-status{font-size:13px!important}.letter-desk:before{left:-8px;right:-8px}}

/* Local record player, without a Spotify login. */
#room-audio{display:none}
#music-dock{background:#291c24f5;padding:16px 18px;border-radius:7px 20px 8px 15px}
#player-container .record-title{font:21px/1.7 'Moon Notes',Georgia,serif;color:#e4cbb7;margin:5px 0 8px}
#music-state{font:13px/1.6 Georgia,serif;color:#bfa797;margin:5px 0 12px}
#music-play{font:18px 'Moon Notes',Georgia,serif;background:#653644;border-radius:4px 12px 5px 11px;padding:10px 18px}
.music-control-label{display:block;margin-top:14px;font:13px/1.5 Georgia,serif;color:#cab5a3}
#music-volume,#music-seek{display:block;width:100%;margin:9px 0;accent-color:#ba8e87}
#music-elapsed{font:12px Georgia,serif;color:#bfa797}
.single-scene #spinning-record:before{animation-play-state:paused}
.entered.music-playing:not(.still):not(.reading) #spinning-record:before{animation-play-state:running}


/* Cover left, paginated chapters right, and a real pressed rose. */
.journal-inscription .journal-small{font-size:24px!important;line-height:1.7;margin-bottom:22px!important;color:#815f59}
.journal-inscription .journal-cover-title{font-size:32px}
.journal-inscription .journal-cover-moon{font-size:28px;margin-top:16px}
.pressed-rose{width:145px;margin:15px auto 0;transform:rotate(-10deg);opacity:.95}
.pressed-rose img{display:block;width:100%;max-height:280px;object-fit:contain;height:auto}
.journal-contents{gap:16px}
.journal-chapters{gap:10px}
.journal-chapter{padding:6px 0 12px}
.chapter-name{font-size:19px;line-height:1.55}
.chapter-number{margin-bottom:5px}
.chapter-page-number{font:13px/1.5 Georgia,serif!important;margin:-10px 0 0!important;color:#9c7c69}
.journal-chapter-continued{font-size:16px!important;line-height:1.7!important;color:#9c7c69;margin-top:auto!important}
@media(max-width:700px){.journal-inscription .journal-small{font-size:22px!important}.pressed-rose{width:135px}.pressed-rose img{max-height:250px}}

.letter-stamp{width:87px;height:87px;right:27px;top:24px;border:0;outline:0;background:none;transform:rotate(7deg);filter:drop-shadow(1px 3px 2px #613a3228)}
.letter-stamp img{display:block;width:100%;height:100%;object-fit:contain}
.letter-heading{margin-right:85px}
@media(max-width:700px){.letter-stamp{width:63px;height:63px;right:17px;top:23px}.letter-heading{margin-right:56px}}

/* Taller notebook pages, with space below the pressed rose. */
.journal-paper{height:clamp(640px,86vh,980px)}
@media(max-width:700px){.journal-paper{height:auto;min-height:620px}}

/* Scrapbook details stay behind the writing and outside the click targets. */
.journal-lace{position:absolute;top:0;bottom:0;left:3px;width:38px;overflow:hidden;pointer-events:none;opacity:.87}
.journal-lace img{position:absolute;left:50%;top:0;transform:translateX(-48.7%);height:100%;width:auto;max-width:none;object-fit:contain;mix-blend-mode:multiply}
.journal-kiss{position:absolute;right:22px;top:22px;width:112px;height:88px;object-fit:contain;transform:rotate(24deg);opacity:.83;pointer-events:none}
.journal-contents>.journal-cover-title{padding-right:110px}
#panel.journal-mode:before,#panel.journal-mode:after{content:'';position:fixed;width:clamp(150px,21vw,340px);height:clamp(260px,57vh,580px);background:url('assets/journal-paper-corner.png') left top/100% 100% no-repeat;pointer-events:none;z-index:0;filter:brightness(.86) saturate(.8);opacity:.87}
#panel.journal-mode:before{top:0;left:0}
#panel.journal-mode:after{bottom:0;right:0;transform:rotate(180deg)}
.journal-mode .page-inner{position:relative;z-index:1}
.journal-mode #panel-close{background:#21121bee}
@media(max-width:700px){.journal-lace{width:27px;left:0}.journal-kiss{right:17px;top:21px;width:84px;height:67px}.journal-contents>.journal-cover-title{padding-right:82px}#panel.journal-mode:before,#panel.journal-mode:after{width:130px;height:250px}}

/* Love-note scraps frame the letter behind its stationery. */
#panel.letter-mode:before,#panel.letter-mode:after{content:'';position:fixed;pointer-events:none;z-index:0;background:url('assets/letter-love-paper.png') right bottom/100% 100% no-repeat;filter:brightness(.88) saturate(.85)}
#panel.letter-mode:before{left:0;top:0;bottom:0;width:clamp(180px,25vw,420px);background-size:auto 200%;clip-path:polygon(0 0,78% 0,85% 14%,80% 29%,92% 44%,88% 59%,96% 76%,93% 90%,100% 100%,0 100%)}
#panel.letter-mode:after{right:0;bottom:0;width:clamp(250px,34vw,560px);height:clamp(430px,78vh,840px)}
.letter-mode .page-inner{position:relative;z-index:1}
.letter-mode #panel-close{background:#21121bee}
@media(max-width:700px){#panel.letter-mode:before{width:130px}#panel.letter-mode:after{width:200px;height:410px}}

/* A record sleeve browser, opened by the headphones on the bed. */
#panel.headphones-mode{background:radial-gradient(ellipse at 75% 30%,#6a2838 0,#32151f 47%,#170e14 100%);color:#f2e5d2}
.headphones-mode .page-inner{width:100%;padding:24px 0 70px}
.headphones-mode .panel-top{padding:0 32px;margin-bottom:8px}
.headphones-mode #panel-close{font-size:17px;padding:8px 16px;border-color:#c6a38a55}
.headphones-mode #panel-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0;padding:0}
.headphones-layout{display:grid;grid-template-columns:45% 55%;min-height:calc(100dvh - 170px);align-items:center;gap:0}
.vinyl-stage{position:relative;align-self:stretch;min-height:min(640px,calc(100dvh - 190px));overflow:hidden}
.headphones-vinyl{position:absolute;width:min(74vh,700px);max-width:none;height:auto;aspect-ratio:1;left:calc(min(74vh,700px) / -2);top:50%;margin-top:calc(min(74vh,700px) / -2);border-radius:50%;animation:headphones-spin 22s linear infinite;filter:drop-shadow(12px 22px 24px #0008)}
.headphones-player{width:min(55vh,490px,calc(100% - 72px));justify-self:center;padding:24px 28px 25px;border:1px solid #b57e7955;border-radius:24px;background:linear-gradient(135deg,#842f3e,#5d1325 60%,#3b0e1d);box-shadow:0 24px 70px #09030970,inset 0 1px 0 #e1b3a13b}
#panel-content .sleeve-eyebrow{margin:0 0 18px;font:12px/1.5 Georgia,serif;letter-spacing:2px;color:#e0bcae;text-align:center}
.sleeve-cover-button{display:block;width:100%;padding:0;border:0;background:none;border-radius:12px}
.sleeve-cover{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;aspect-ratio:1;overflow:hidden;border-radius:12px;background:radial-gradient(ellipse at 30% 20%,#d0baa0,#8e6a63 65%,#4c3038);box-shadow:0 5px 18px #1f071c55,inset 0 0 0 1px #f4ddbc33}
.sleeve-cover img{display:block;width:100%;height:100%;object-fit:cover}
.sleeve-moon{font:100px/1 Georgia,serif;color:#ecd8b7;text-shadow:0 4px 12px #30132350}
.sleeve-caption{font:19px/1.6 'Moon Notes',Georgia,serif;text-align:center;padding:0 25px;color:#eedfce}
.sleeve-title{display:block;text-align:left;width:100%;padding:20px 0 0;border:0;background:none;font:clamp(24px,2.8vw,34px)/1.4 'Moon Notes',Georgia,serif;color:#fff0da;border-radius:0;overflow-wrap:anywhere}
.sleeve-title:hover:not(:disabled){text-decoration:underline;text-underline-offset:6px}
.sleeve-title:disabled{opacity:1;cursor:default!important}
#panel-content .sleeve-hint{font:12px/1.7 Georgia,serif;color:#d7b5ab;margin:8px 0 26px}
.sleeve-progress{height:3px;border-radius:5px;background:#e5c7b34a;overflow:hidden}
.sleeve-progress span{display:block;height:100%;background:#f5dfc7;transition:width .25s}
#panel-content .sleeve-status{font:12px/1.5 Georgia,serif;letter-spacing:1px;margin:10px 0 12px;color:#d9b9ac}
.sleeve-controls{display:flex;align-items:center;justify-content:center;gap:34px}
.sleeve-controls button{border:0;background:none;color:#f8ead3;padding:8px;min-width:48px;min-height:48px;border-radius:8px;font:24px/1 Georgia,serif}
.sleeve-controls .sleeve-read{font-size:43px;padding:0 8px}
.sleeve-controls button:disabled{opacity:.3;cursor:default!important}
.headphones-mode button:focus-visible,.headphones-source:focus-visible{outline:2px solid #f4dbb8;outline-offset:5px}
.headphones-reading{width:min(800px,100% - 48px);margin:30px auto 0}
.sleeve-back{border:0;background:none;padding:10px 0;margin-bottom:24px;color:#e5c8b3;font:19px/1.5 'Moon Notes',Georgia,serif}
.headphones-entry{padding:45px clamp(24px,5vw,65px) 60px;background:#e9dfca;color:#563740;border-radius:3px 16px 4px 12px;box-shadow:0 22px 70px #09030955}
.headphones-entry-date{font:13px Georgia,serif;color:#89685e}
.headphones-entry-title{font:clamp(30px,4vw,44px)/1.5 'Moon Notes',Georgia,serif;margin:15px 0 28px;outline:none}
.headphones-entry-cover{width:100%;margin-bottom:32px;border-radius:5px;overflow:hidden}
.headphones-entry-cover img{display:block;width:100%;max-height:650px;object-fit:contain}
#panel-content .headphones-writing p{font:23px/2 'Moon Notes',Georgia,serif;margin:0 0 25px;white-space:pre-wrap}
.headphones-source{font:17px/1.7 Georgia,serif;color:#75394a}
@keyframes headphones-spin{to{transform:rotate(360deg)}}
@media(max-width:700px){.headphones-mode .panel-top{padding:0 20px}.headphones-mode #panel-title{font-size:20px;margin:10px 24px 18px}.headphones-layout{grid-template-columns:30% 70%;min-height:640px}.vinyl-stage{min-height:570px}.headphones-vinyl{width:580px;right:10%;margin-top:-290px}.headphones-player{width:calc(100% - 22px);padding:19px 16px 20px;margin-right:16px;border-radius:18px}.sleeve-title{font-size:25px}.sleeve-controls{gap:12px}.sleeve-caption{font-size:16px;padding:0 14px}.sleeve-moon{font-size:70px}#panel-content .sleeve-eyebrow{font-size:10px;letter-spacing:1px}.headphones-reading{width:calc(100% - 32px)}#panel-content .headphones-writing p{font-size:21px}}
@media(prefers-reduced-motion:reduce){.headphones-vinyl{animation:none}.sleeve-progress span{transition:none}}

/* Original music scraps, positioned around the reading and browsing surfaces. */
/* Compact soundtrack dock; the same audio element keeps playing between pages. */
#music-dock{z-index:40;width:min(340px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow-y:auto;right:16px;bottom:16px;padding:16px 18px;background:linear-gradient(#15040555,#15040577),url('assets/music-player-lace.png') center/cover;border:1px solid #9a514c80;border-radius:10px 23px 9px 20px;box-shadow:0 14px 55px #09040d80;color:#e7d5c0}
#music-dock [hidden]{display:none!important}
#music-dock .mini-player-heading{font:17px/1.5 'Moon Notes',Georgia,serif;padding:0;margin-bottom:10px}
#music-close{font:22px Georgia,serif;padding:0 7px}
.music-sources{display:flex;gap:6px;margin:0 0 15px;padding:3px;background:#160605a6;border-radius:8px}
.music-sources button{flex:1;font:12px/1.5 Georgia,serif;padding:6px 8px;border:0;border-radius:5px;background:none;color:#c7aea4}
.music-sources button[aria-pressed=true]{background:#752622d9;color:#ffecd8}
.mini-track{display:grid;grid-template-columns:46px minmax(0,1fr) 30px;align-items:center;gap:11px}
.mini-vinyl{width:46px;height:46px;border-radius:50%;animation:headphones-spin 12s linear infinite;animation-play-state:paused}
.music-playing .mini-vinyl{animation-play-state:running}
#music-dock .record-title{font:19px/1.4 'Moon Notes',Georgia,serif;margin:0 0 4px;overflow-wrap:anywhere}
#music-artist{font:12px/1.5 Georgia,serif;color:#bfa79d;margin:0}
#music-list-toggle{padding:3px;border:0;background:none;color:#d8bfae;font:26px Georgia,serif}
#music-state{font:11px/1.5 Georgia,serif;color:#b89c91;margin:11px 0 4px}
#music-seek{display:block;width:100%;height:4px;margin:12px 0 7px;accent-color:#d0a69e;cursor:pointer}
#music-elapsed{display:block;text-align:right;font:10px/1.5 Georgia,serif;color:#bfa89d}
.mini-transport{display:flex;align-items:center;justify-content:space-between;margin:8px 0 12px;gap:6px}
.mini-transport button{width:38px;height:36px;min-width:32px;padding:0;border:0;border-radius:8px;background:none;color:#e4cabb;font:18px Georgia,serif}
.mini-transport #music-play{width:47px;height:44px;font:27px/1 Georgia,serif;background:#8a3029;color:#ffecd8;border-radius:50%;padding:0}
.mini-transport #music-shuffle,.mini-transport #music-repeat{font-size:21px;color:#9c827b}
.mini-transport button[aria-pressed=true]{color:#f1c0bd!important;background:#923d333f}
.mini-volume{display:flex;align-items:center;gap:12px;font:11px Georgia,serif;color:#bda49b}
#music-volume{height:4px;margin:0;flex:1;min-width:0;accent-color:#b78c8c}
#music-track-list{list-style:none;padding:10px 0 0;margin:12px 0 0;border-top:1px solid #c3a79230;max-height:165px;overflow-y:auto}
#music-track-list button{display:block;text-align:left;width:100%;padding:9px 7px;border:0;border-radius:5px;background:none;font:12px/1.6 Georgia,serif;color:#bda8a1}
#music-track-list button[aria-current=true]{background:#772c2280;color:#f7dbc7}
#music-spotify-embed iframe{display:block;width:100%;height:352px;border:0;border-radius:12px}
#music-dock button:focus-visible{outline:2px solid #e3bcb0;outline-offset:3px}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(prefers-reduced-motion:reduce){.mini-vinyl{animation:none}}
.headphones-front-trim{position:fixed;inset:0;z-index:4;pointer-events:none;overflow:hidden;user-select:none}
.headphones-lace{position:absolute;top:0;left:0;right:0;height:180px;background:url('assets/headphones-floral-lace.png') left top/545px 180px repeat-x;z-index:2}
.headphones-hanging-stars{position:absolute;right:12px;top:165px;width:clamp(145px,12vw,225px);height:auto;z-index:1;opacity:1}
.headphones-waves{position:absolute;left:4%;top:6%;width:65vw;height:105vh;object-fit:contain;opacity:1;pointer-events:none}
@media(max-width:700px){.headphones-lace{height:140px;background-size:430px 140px}.headphones-hanging-stars{right:0;top:135px;width:105px}.headphones-waves{left:-20%;top:14%;width:105vw;height:90vh}}

@media(max-width:700px){}
.headphones-mode .page-inner{position:relative;padding-bottom:40px}
.headphones-mode .panel-top,.headphones-shell{position:relative;z-index:1}
.headphones-decorations{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;user-select:none}
.headphones-doodles,
.headphones-doodles{right:12px;bottom:14px;width:clamp(140px,15vw,210px);transform:rotate(-8deg)}

.music-sticker{position:absolute;display:block;background-image:url('assets/headphones-stickers.png');background-repeat:no-repeat;filter:drop-shadow(3px 7px 4px #08040a50);opacity:.94}
.sticker-headset{left:43%;top:13%;width:clamp(70px,7vw,105px);aspect-ratio:310/390;background-size:217.742% 307.692%;background-position:0 15.432%;clip-path:polygon(1% 51%,7% 29%,23% 8%,51% 1%,76% 5%,94% 23%,99% 43%,91% 60%,94% 83%,80% 95%,47% 100%,20% 95%,3% 82%);transform:rotate(16deg)}
.sticker-cassette{left:33%;bottom:8%;width:clamp(80px,8vw,120px);aspect-ratio:325/470;background-size:207.692% 255.319%;background-position:92.857% 56.164%;clip-path:polygon(5% 0,95% 1%,100% 9%,99% 95%,92% 100%,0 98%,1% 5%);transform:rotate(-18deg)}
.sticker-record{right:3%;top:7%;width:clamp(65px,7vw,110px);aspect-ratio:340/365;background-size:198.529% 328.767%;background-position:95.522% 2.994%;clip-path:ellipse(48% 48% at 50% 50%);transform:rotate(13deg)}
.headphones-player{position:relative;z-index:2}


.headphones-mode .panel-top{padding-top:180px;margin-bottom:15px}






.headphones-kiss{position:absolute;object-fit:contain;width:clamp(95px,12vw,170px);opacity:.9}
.kiss-upper{left:27%;top:15%;transform:rotate(19deg)}
.kiss-lower{left:44%;bottom:13%;width:clamp(80px,9vw,130px);transform:rotate(-23deg)}
.headphones-player:before,.headphones-player:after{content:'';position:absolute;z-index:3;top:-12px;width:80px;height:27px;background:#c5ab9270;box-shadow:inset 0 0 0 1px #e0c9a72a;pointer-events:none}
.headphones-player:before{left:-19px;transform:rotate(-28deg)}
.headphones-player:after{right:-19px;transform:rotate(26deg)}
@media(max-width:700px){.headphones-mode .panel-top{padding-top:145px}.kiss-upper{left:3%;top:20%;width:70px}.kiss-lower{left:5%;bottom:24%;width:55px}.headphones-player:before,.headphones-player:after{width:49px;height:20px}}
@media(max-width:700px){.headphones-mode #panel-title{margin:0}.headphones-layout{grid-template-columns:24% 76%;min-height:640px}.headphones-vinyl{width:420px;left:-210px;right:auto;margin-top:-210px}.headphones-player{width:calc(100% - 24px);margin-right:14px}.headphones-doodles{left:auto;top:auto;right:6px;bottom:8px;width:105px}.sticker-headset{left:6%;top:65px;width:54px}.sticker-cassette{left:3%;bottom:22px;width:58px}.sticker-record{right:2%;top:10px;width:48px}.headphones-reading{z-index:2}}

/* Black ink throughout the journal paper. */
/* Larger lace corners and loose palette stickers around the vanity. */
.makeup-lace{width:clamp(320px,36vw,560px)}
.makeup-floating-bow{position:absolute;right:3%;top:12%;width:clamp(125px,13vw,205px);height:auto;transform:rotate(12deg);filter:drop-shadow(3px 5px 3px #18040670)}
.makeup-product-pictures{align-items:flex-start;gap:24px;padding-top:30px}
.makeup-palette-sticker{display:block;width:calc(50% - 12px);max-width:180px;height:auto;object-fit:contain;transform:rotate(-9deg);filter:drop-shadow(5px 9px 4px #08020580)}
.makeup-palette-sticker:nth-child(2){transform:rotate(10deg);margin-top:35px}
@media(max-width:1000px){.makeup-lace{width:clamp(290px,39vw,430px)}.makeup-palette-sticker{max-width:155px}}
@media(max-width:700px){.makeup-lace{width:280px}.makeup-floating-bow{right:1%;top:14%;width:95px}.makeup-palette-sticker{max-width:135px;width:calc(50% - 12px)}}
/* A lacy makeup scrapbook, opened from the bedroom vanity. */
#panel.makeup-mode{background:radial-gradient(ellipse at 45% 20%,#5c1c1d90,#210908eb 78%),url('assets/music-player-lace.png') center/cover fixed;color:#e9d5b9}
.makeup-mode .page-inner{position:relative;width:min(1360px,100%);padding:30px 75px 130px}
.makeup-mode .panel-top{position:relative;z-index:3;margin-bottom:15px}
.makeup-mode #panel-close{background:#240b09d9;border-color:#b99c7955;border-radius:3px 10px 4px 7px;font-size:16px;padding:8px 15px}
.makeup-mode #panel-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0;margin:0}
.makeup-decor{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;user-select:none}
.makeup-lace{position:absolute;width:clamp(190px,24vw,370px);height:auto;opacity:.95}
.makeup-lace-left{left:0;top:0}.makeup-lace-right{right:0;bottom:0;transform:rotate(180deg)}
.makeup-margin-collage{position:absolute;left:-55px;top:27%;width:190px;height:70vh;object-fit:contain;object-position:left top;opacity:.85;transform:rotate(-8deg)}
.makeup-floating-kiss{position:absolute;width:110px;right:4%;top:16%;transform:rotate(17deg);opacity:.9}
.makeup-shell{position:relative;z-index:1}
.makeup-heading{font:clamp(28px,4vw,48px)/1.6 'Moon Notes',Georgia,serif;color:#eedcc2;text-align:center;max-width:820px;margin:10px auto 25px;transform:rotate(-2deg)}
.makeup-filters{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;margin-bottom:32px}
.makeup-filter{font:13px/1.5 Georgia,serif;border:1px solid #b58c6b60;border-radius:4px;background:#250c09d0;color:#dfc7ab;padding:8px 14px}
.makeup-filter[aria-pressed=true]{background:#d1bd9f;color:#27120d;border-color:#d1bd9f}
.makeup-spread{display:grid;grid-template-columns:minmax(0,1.16fr) minmax(0,1fr);gap:45px;align-items:start}
.makeup-vanity{position:relative;padding-top:24px}
.makeup-camera{position:relative;width:100%;aspect-ratio:1672/941;transform:rotate(-4deg);filter:drop-shadow(0 13px 10px #0c020870);z-index:1}
.makeup-camera-frame{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:fill;z-index:2;pointer-events:none}
.makeup-camera-photo{position:absolute;left:17.1%;top:33.7%;width:39.1%;height:51.3%;overflow:hidden;background:radial-gradient(ellipse at 30% 25%,#d5c5a7,#88705d);display:grid;place-items:center;z-index:1}
.makeup-camera-photo>img{display:block;width:100%;height:100%;object-fit:cover}
.makeup-photo-heart{font:46px/1 Georgia,serif;color:#693027}
.makeup-camera-bow{position:absolute;right:-9%;top:-22%;width:30%;height:auto;z-index:3;transform:rotate(12deg);filter:drop-shadow(2px 4px 2px #13040c50)}
.makeup-vanity-details{position:relative;min-height:430px;margin-top:25px;padding-left:27%;padding-bottom:25px}
.makeup-photo-strip{position:absolute;left:4%;top:9px;width:110px;aspect-ratio:430/1829;background:url('assets/makeup-photo-strip.png') 44.18% 6.25%/267.91% 111.97% no-repeat;transform:rotate(7deg);box-shadow:5px 8px 9px #08020555}
.makeup-strip-photo{position:absolute;left:6.3%;width:87%;height:20.8%;overflow:hidden;background:#311312;display:grid;place-items:center}
.makeup-strip-photo-0{top:1.7%}.makeup-strip-photo-1{top:25.36%}.makeup-strip-photo-2{top:49.26%}.makeup-strip-photo-3{top:73.1%}
.makeup-strip-photo img{display:block;width:100%;height:100%;object-fit:cover}
.makeup-product-pictures{display:flex;flex-wrap:wrap;gap:18px 12px;justify-content:center;padding-top:27px;position:relative;z-index:1}
.makeup-product-photo{position:relative;width:calc(50% - 10px);max-width:155px;min-width:100px;margin:0;padding:7px 7px 15px;background:#e8dcc3;box-shadow:3px 7px 10px #08020560;transform:rotate(-8deg)}
.makeup-product-photo:nth-child(2){transform:rotate(8deg);margin-top:20px}.makeup-product-photo:nth-child(3){transform:rotate(4deg);margin-left:28px}
.makeup-product-photo:before{content:'';position:absolute;width:45%;height:20px;left:28%;top:-9px;background:#bca18590;transform:rotate(7deg)}
.makeup-product-photo img{display:block;width:100%;height:125px;object-fit:cover}
.makeup-product-photo figcaption{color:#3e2118;text-align:center;font:14px/1.7 'Moon Notes',Georgia,serif;margin-top:8px}
.makeup-lipstick{position:absolute;right:-7%;bottom:-12px;width:120px;height:245px;object-fit:contain;transform:rotate(18deg);z-index:2;filter:drop-shadow(5px 8px 4px #08020570)}
.makeup-pencil{position:absolute;left:26%;top:55px;width:22px;height:330px;object-fit:cover;object-position:center;clip-path:polygon(40% 0,63% 0,100% 9%,100% 100%,0 100%,0 9%);transform:rotate(-12deg);z-index:2}
.makeup-paper{position:relative;min-height:610px;padding:74px 48px 155px;background:linear-gradient(110deg,#c9b697,#efe2c8 40%,#dfcdac);color:#170d09;border-radius:3px 11px 4px 7px;transform:rotate(2deg);box-shadow:0 18px 40px #10020680;isolation:isolate}
.makeup-paper:before,.makeup-paper:after{content:'';position:absolute;top:-11px;width:85px;height:30px;background:#b6a080a1;pointer-events:none}.makeup-paper:before{left:-16px;transform:rotate(-25deg)}.makeup-paper:after{right:-13px;transform:rotate(22deg)}
.makeup-paper-kiss{position:absolute;right:23px;top:19px;width:98px;height:65px;object-fit:contain;transform:rotate(-14deg);opacity:.88;z-index:-1}
.makeup-paper-rose{position:absolute;left:-42px;bottom:-27px;width:155px;filter:drop-shadow(4px 8px 4px #2a0a0750);transform:rotate(-18deg)}
.makeup-writing{position:relative;z-index:1}
.makeup-date{font:12px/1.7 Georgia,serif;color:#694e39}
.makeup-entry-title{font:clamp(26px,2.8vw,37px)/1.7 'Moon Notes',Georgia,serif;color:#160d09;margin:15px 0 30px;outline:none;overflow-wrap:anywhere}
#panel-content .makeup-writing p{font:22px/1.95 'Moon Notes',Georgia,serif;color:#21120d;margin:0 0 22px;white-space:pre-wrap}
#panel-content .makeup-writing .makeup-entry-subtitle{font:italic 16px/1.9 Georgia,serif;color:#70513f}
.makeup-products-used{padding-left:20px;font:16px/1.9 Georgia,serif;color:#382016}
#panel-content .makeup-writing .makeup-products-heading{font-size:20px;margin:28px 0 10px;color:#6f2e27}
.makeup-entry-link{font:13px/1.8 Georgia,serif;color:#722c24;text-underline-offset:4px}
.makeup-paper-star{display:block;margin-top:50px;font:60px/1 Georgia,serif;color:#7a3c32}
#panel-content .makeup-writing .makeup-empty{font:italic 17px/2 Georgia,serif;color:#72543c}
.makeup-swatches{display:flex;flex-wrap:wrap;justify-content:center;gap:15px;margin:35px auto 0;max-width:1000px}
.makeup-swatch{position:relative;flex:0 1 205px;min-height:69px;padding:14px 22px;color:#fff0dc;font:17px/1.6 'Moon Notes',Georgia,serif;text-align:center;border:0;border-radius:0;background-image:url('assets/makeup-swatches.png');background-repeat:no-repeat;background-size:100% 460%;background-color:transparent;filter:drop-shadow(2px 5px 3px #10010750);text-shadow:0 1px 3px #13020b}
.makeup-swatch-0{background-position:center 16%}.makeup-swatch-1{background-position:center 38%}.makeup-swatch-2{background-position:center 61%}.makeup-swatch-3{background-position:center 85%}
.makeup-swatch[aria-pressed=true]{outline:1px dashed #e2bda0;outline-offset:5px}
.makeup-waiting-swatches{width:260px;transform:rotate(-4deg);opacity:.9}.makeup-waiting-swatches img{display:block;width:100%;height:auto}
.makeup-mode button:focus-visible,.makeup-mode a:focus-visible{outline:2px solid #e7bc9d;outline-offset:4px}
@media(max-width:1000px){.makeup-mode .page-inner{padding:25px 40px 110px}.makeup-spread{gap:25px}.makeup-paper{padding:65px 30px 130px;min-height:540px}.makeup-camera-bow{right:-4%;width:29%}.makeup-photo-strip{width:88px;left:0}.makeup-vanity-details{padding-left:25%;min-height:380px}.makeup-product-photo{min-width:85px}.makeup-product-photo img{height:100px}.makeup-lipstick{width:90px;right:-5%;height:200px}.makeup-pencil{height:270px}.makeup-product-photo figcaption{font-size:12px}.makeup-margin-collage{left:-90px;opacity:.7}}
@media(max-width:700px){.makeup-mode .page-inner{padding:20px 24px 100px}.makeup-heading{font-size:29px;margin:30px auto 22px}.makeup-spread{grid-template-columns:1fr;gap:35px}.makeup-filters{gap:6px}.makeup-filter{font-size:12px;padding:8px 10px}.makeup-camera{max-width:500px;margin:0 auto}.makeup-camera-bow{top:-15%;right:-2%;width:27%}.makeup-vanity-details{margin:25px auto 0;max-width:440px;min-height:340px;padding-left:29%}.makeup-photo-strip{width:83px;left:3%}.makeup-product-photo{max-width:120px;min-width:85px}.makeup-product-photo img{height:95px}.makeup-pencil{left:27%;height:240px}.makeup-lipstick{right:-5px;bottom:-15px;width:87px;height:180px}.makeup-paper{min-height:420px;padding:65px 30px 120px;transform:rotate(1deg)}.makeup-paper-rose{width:120px;left:-18px}.makeup-lace{width:190px}.makeup-floating-kiss{right:0;top:13%;width:65px}.makeup-margin-collage{left:-100px;width:140px;top:32%;opacity:.6}.makeup-swatch{flex-basis:calc(50% - 12px);font-size:15px;padding:14px 16px}.makeup-paper-star{margin-top:15px}#panel-content .makeup-writing p{font-size:21px}}
/* Spin in the record's own plane, then project the whole disc onto the platter. */
.single-scene #spinning-record{left:47.76%;top:62.36%;width:3.7%;height:auto;aspect-ratio:1;border-radius:50%;background:none;overflow:visible;opacity:.93;transform:translate(-50%,-50%) rotate(-3.5deg) scaleY(.28);transform-origin:center;animation:none}
.single-scene #spinning-record:before{left:0;top:0;width:100%;height:100%;border-radius:50%;background:conic-gradient(from 22deg,transparent 0deg,#9b827124 42deg,transparent 86deg,transparent 185deg,#9b827121 235deg,transparent 284deg),repeating-radial-gradient(circle,#1d1916 0 1px,#2c251f 1px 1.5px,#1b1714 1.5px 2.5px);animation:record-grooves 5s linear infinite;animation-play-state:paused}
.single-scene #spinning-record:after{left:37%;top:37%;width:26%;height:26%;border-radius:50%;background:radial-gradient(circle,#b49c79 0 6%,#38201b 7% 12%,#76382e 13% 80%,#4b2823 81%);box-shadow:none}
.entered.music-playing:not(.still):not(.reading) #spinning-record:before{animation-play-state:running}
/* A burgundy film scrapbook with cut-paper cinema ephemera. */
#panel.cinema-mode{background:radial-gradient(ellipse at 60% 15%,#692824bb,#170807ed),url('assets/music-player-lace.png') center/cover fixed;color:#efdfc6}
.cinema-mode .page-inner{position:relative;width:min(1420px,100%);padding:30px 75px 130px}
.cinema-mode .panel-top{position:relative;z-index:3;margin-bottom:10px}
.cinema-mode #panel-close{font-size:16px;padding:8px 15px;background:#1b0908c9;border-color:#bda28a60;border-radius:3px 9px 3px 7px}
.cinema-mode #panel-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0}
.cinema-decor{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden;user-select:none}
.cinema-camera-corner{position:absolute;left:-36px;top:12%;width:clamp(170px,22vw,350px);height:85vh;object-fit:contain;object-position:left top;opacity:.9;transform:rotate(-5deg)}
.cinema-sticker{position:absolute;background-image:url('assets/cinema-sticker-sheet.png');background-repeat:no-repeat;filter:drop-shadow(3px 6px 2px #08030280)}
.cinema-reel-sticker{right:2%;top:7%;width:120px;aspect-ratio:1;background-size:260% 460%;background-position:96% 0;transform:rotate(13deg)}
.cinema-clapper-sticker{right:-18px;bottom:9%;width:180px;aspect-ratio:426/500;background-size:220.89% 334.4%;background-position:100% 19.2%;transform:rotate(15deg)}
.cinema-countdown-sticker{left:19%;bottom:4%;width:65px;aspect-ratio:246/610;background-size:382.52% 274.1%;background-position:0 80.04%;transform:rotate(13deg);opacity:.85}
.cinema-lights-sticker{right:13%;top:0;width:165px;aspect-ratio:365/462;background-size:257.81% 361.9%;background-position:95.5% 100%;transform:rotate(-5deg)}
.cinema-shell{position:relative;z-index:1}
.cinema-heading{text-align:center;margin:10px 0 40px}
#panel-content .cinema-kicker{font:11px/1.6 Georgia,serif;letter-spacing:3px;text-transform:uppercase;color:#c2a48d;margin:0 0 9px}
.cinema-name{font:clamp(37px,5vw,64px)/1.4 'Moon Notes',Georgia,serif;margin:0;color:#f1dfc0;transform:rotate(-2deg)}
#panel-content .cinema-subtitle{font:italic 17px/1.7 Georgia,serif;color:#cbae98;margin:8px 0 0}
.cinema-columns{display:grid;grid-template-columns:270px minmax(0,1fr);gap:45px;align-items:start}
.cinema-sidebar{padding-top:15px}
.letterboxd-card{position:relative;padding:25px 21px 20px;background:linear-gradient(140deg,#201b16,#100f0d);border:1px solid #978f6f60;box-shadow:0 14px 35px #08030165;transform:rotate(-3deg);border-radius:3px 8px 3px 8px}
.letterboxd-card:before{content:'';position:absolute;top:-12px;left:32%;height:26px;width:80px;background:#b7a48180;transform:rotate(5deg);box-shadow:0 0 1px #e8d7ad70}
.letterboxd-brand{display:flex;align-items:center;gap:10px;font:16px Georgia,serif;color:#e4d7bf}
.letterboxd-dots{display:block;width:40px;height:12px;background:radial-gradient(circle at 6px 6px,#ed9654 0 5px,transparent 6px),radial-gradient(circle at 20px 6px,#77ad70 0 5px,transparent 6px),radial-gradient(circle at 34px 6px,#7aa7bd 0 5px,transparent 6px)}
.letterboxd-identity{display:flex;align-items:center;gap:12px;margin:25px 0 18px}
.letterboxd-identity>img{width:48px;height:48px;border-radius:50%;object-fit:cover;filter:saturate(.65)}
#panel-content .letterboxd-name{font:23px/1.5 'Moon Notes',Georgia,serif;margin:0;color:#eee0c8}
#panel-content .letterboxd-handle{font:11px/1.6 Georgia,serif;margin:2px 0 0;color:#aaa28e;overflow-wrap:anywhere}
.letterboxd-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;border-top:1px solid #94866e45;border-bottom:1px solid #94866e45;padding:14px 0}
.letterboxd-stats strong{display:block;font:24px Georgia,serif;color:#e6d3b1}.letterboxd-stats span{display:block;font:10px/1.7 Georgia,serif;color:#b2a58e;margin-top:4px}
#panel-content .letterboxd-label{font:italic 13px Georgia,serif;color:#c6b296;margin:18px 0 10px}
.letterboxd-favourites{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}
.letterboxd-poster{aspect-ratio:2/3;background:#3a3026;border-radius:2px;overflow:hidden}
.letterboxd-poster img{display:block;width:100%;height:100%;object-fit:cover}
.letterboxd-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.letterboxd-links a{font:11px/1.6 Georgia,serif;color:#d8c2a5;text-underline-offset:4px}.letterboxd-links .letterboxd-profile{width:100%;font-size:14px;color:#e5dbbe}
#panel-content .letterboxd-snapshot{font:9px/1.6 Georgia,serif;color:#9b927e;margin:17px 0 0}
.cinema-admit{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:40px 5px;padding:18px 15px;background:#cdbc99;color:#48251f;font:10px Georgia,serif;transform:rotate(5deg);border-left:3px dotted #8a6d57;border-right:3px dotted #8a6d57;box-shadow:0 5px 10px #0004}.cinema-admit-heart{font-size:23px;color:#6d241f}
.cinema-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.cinema-filter{padding:8px 13px;border:1px solid #b8977a60;border-radius:4px;background:#1e0b0bb0;color:#c7ac97;font:13px Georgia,serif}.cinema-filter[aria-pressed=true]{background:#c6b08e;color:#2a1712;border-color:#c6b08e}
.cinema-screen{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1fr);align-items:stretch;box-shadow:0 18px 45px #0c030580}
.cinema-projection{position:relative;padding:20px 17px;background:#100e0b;border:8px solid #27201a;transform:rotate(-1.5deg);min-height:350px}
.cinema-projection:before,.cinema-projection:after{content:'';position:absolute;top:6px;bottom:6px;width:6px;background:repeating-linear-gradient(#c2b79e 0 9px,transparent 9px 18px);opacity:.5}.cinema-projection:before{left:-5px}.cinema-projection:after{right:-5px}
.cinema-feature-image{height:350px;display:grid;place-items:center;overflow:hidden}.cinema-feature-image img{display:block;width:100%;height:100%;object-fit:contain}
.cinema-projection-label{display:block;text-align:center;font:10px/1.5 Georgia,serif;color:#b19b7c;margin-top:18px;letter-spacing:1px}
.cinema-review{padding:30px 27px 36px;background:linear-gradient(115deg,#cbbb9c,#eee1c3 38%,#e4d4b4);color:#1c100e;transform:rotate(1deg);position:relative;max-height:460px;overflow:auto}
.cinema-review:before{content:'';position:absolute;top:0;left:26%;width:45%;height:15px;background:#a18b6b45}
.cinema-review-meta{display:flex;justify-content:space-between;gap:12px;font:10px/1.7 Georgia,serif;color:#725840}
.cinema-review-title{font:clamp(26px,2.6vw,36px)/1.5 'Moon Notes',Georgia,serif;color:#21100e;margin:20px 0 10px;outline:none}
#panel-content .cinema-rating{font:22px Georgia,serif;letter-spacing:3px;color:#662e28;margin:0 0 22px}
#panel-content .cinema-writing p{font:20px/1.9 'Moon Notes',Georgia,serif;margin:0 0 18px;white-space:pre-wrap}
#panel-content .cinema-writing .cinema-diary-note{font:italic 17px/1.9 Georgia,serif;color:#6b5040;margin:25px 0}
.cinema-review-link{display:inline-block;font:12px/1.7 Georgia,serif;color:#70372d;margin-top:20px;text-underline-offset:5px}
.cinema-empty-screen{grid-column:1/-1;text-align:center;min-height:350px;padding:70px 30px;background:#120d0bc9;border:14px solid #2d211b;color:#dfccb0}.cinema-empty-star{font:60px Georgia,serif}.cinema-empty-screen h4{font:28px/1.6 'Moon Notes',Georgia,serif;margin:22px 0 15px}.cinema-empty-screen p{font:14px/1.8 Georgia,serif!important}
#panel-content .cinema-roll-caption{font:18px/1.6 'Moon Notes',Georgia,serif;margin:30px 0 13px;color:#e0c4a2;transform:rotate(-1deg)}
.cinema-reel{display:flex;gap:13px;padding:18px 14px;overflow-x:auto;background:#100d0b;border-top:8px dashed #9f8f7445;border-bottom:8px dashed #9f8f7445;scrollbar-color:#82604a #120d0b;scrollbar-width:thin}
.cinema-frame,.cinema-blank-frame{flex:0 0 105px;position:relative;padding:0 0 9px;border:1px solid #6f5a3d70;border-radius:0;background:#1e1712;color:#d8bca0;text-align:left}.cinema-frame[aria-pressed=true]{outline:2px solid #d3b78d;outline-offset:3px}
.cinema-frame-number{display:block;font:9px/1.5 Georgia,serif;color:#b29768;padding:4px 7px}
.cinema-frame-poster{height:140px;background:#413124;display:grid;place-items:center}.cinema-frame-poster img{display:block;width:100%;height:100%;object-fit:cover}
.cinema-frame-title{display:block;padding:7px 6px 0;font:11px/1.5 Georgia,serif}.cinema-blank-frame{height:170px}.cinema-blank-frame>span:last-child{display:block;text-align:center;font:40px Georgia,serif;margin-top:35px;color:#78614c}
.cinema-missing{font:45px Georgia,serif;color:#b09b7c}
#panel-content .cinema-status{font:11px/1.6 Georgia,serif;color:#c6a58d;margin:12px 0}
.cinema-mode a:focus-visible,.cinema-mode button:focus-visible{outline:2px solid #f6ddb0;outline-offset:4px}
@media(max-width:1000px){.cinema-mode .page-inner{padding:25px 40px 100px}.cinema-columns{grid-template-columns:220px minmax(0,1fr);gap:25px}.cinema-screen{grid-template-columns:1fr}.cinema-projection{min-height:250px}.cinema-feature-image{height:290px}.cinema-review{max-height:none}.cinema-camera-corner{left:-65px;width:200px;opacity:.65}.cinema-lights-sticker{right:2%;width:120px}}
@media(max-width:700px){.cinema-mode .page-inner{padding:20px 24px 120px}.cinema-columns{grid-template-columns:1fr;gap:15px}.cinema-heading{margin:20px 0 30px}.cinema-name{font-size:37px}.cinema-sidebar{display:grid;grid-template-columns:1fr;max-width:310px;width:100%;margin:0 auto 20px}.cinema-admit{margin:25px 0 10px}.letterboxd-card{transform:rotate(-2deg)}.cinema-camera-corner{width:165px;left:-75px;opacity:.65}.cinema-reel-sticker{width:70px;right:-15px;top:10%}.cinema-clapper-sticker{width:100px;right:-35px;bottom:2%}.cinema-countdown-sticker{left:-18px;width:45px;bottom:10%}.cinema-lights-sticker{width:85px;right:0}.cinema-screen{grid-template-columns:1fr}.cinema-feature-image{height:320px}.cinema-review{padding:25px 22px}.cinema-filter{font-size:12px;padding:8px 10px}.cinema-kicker{letter-spacing:1px!important}.cinema-review-meta{flex-wrap:wrap}}
.journal-mode .journal-paper,.journal-mode .journal-paper *{color:#000}
.journal-mode .journal-paper .journal-jump:disabled{opacity:1}
/* Personal-photo scrapbook: broad lace framing and pasted Polaroids. */
.makeup-mode [hidden]{display:none!important}
.makeup-lace{width:clamp(470px,49vw,800px);max-width:none}
.makeup-lace-top-right{top:0;right:0;transform:scaleX(-1)}
.makeup-lace-bottom-left{bottom:0;left:0;transform:scaleY(-1)}
.makeup-looks-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:70px 48px;padding:35px 35px 90px;max-width:1120px;margin:auto}
.makeup-polaroid{position:relative;margin:0;padding:13px 13px 37px;background:#e8ddc5;box-shadow:3px 9px 19px #09000070;align-self:start;transform:rotate(-5deg)}
.makeup-polaroid-1{transform:rotate(4deg);margin-top:30px}
.makeup-polaroid-2{transform:rotate(-2deg)}
.makeup-polaroid-3{transform:rotate(5deg);margin-top:15px}
.makeup-polaroid:before{content:'';position:absolute;left:29%;top:-13px;width:43%;height:30px;background:#c1ac87a8;transform:rotate(-8deg);z-index:2}
.makeup-look-image{display:block;width:100%;height:auto;max-height:430px;object-fit:contain;background:#201817}
.makeup-photo-caption{height:18px;text-align:center;margin-top:12px;color:#6e202d;font-size:22px}
.makeup-gallery-kiss{position:absolute;width:95px;height:auto;right:-25px;bottom:-20px;transform:rotate(-18deg);pointer-events:none}
.makeup-gallery-bow{position:absolute;width:115px;height:auto;right:-31px;top:-35px;transform:rotate(14deg);pointer-events:none}
.makeup-entry-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:25px 0}
.makeup-entry-choice{padding:10px 18px;border:1px solid #ad927262;background:#231010;color:#e8ddc5;cursor:pointer}
.makeup-entry-choice[aria-pressed=true]{background:#e8ddc5;color:#24100d}
.makeup-entry-choice:focus-visible{outline:2px solid #e8ddc5;outline-offset:4px}
@media(max-width:1000px){.makeup-lace{width:clamp(420px,55vw,650px)}.makeup-looks-gallery{gap:60px 32px;padding:30px 10px 70px}}
@media(max-width:700px){.makeup-lace{width:340px;opacity:.85}.makeup-looks-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:50px 23px;padding:25px 5px 65px}.makeup-polaroid{padding:8px 8px 25px}.makeup-gallery-kiss{width:65px;right:-12px}.makeup-gallery-bow{width:75px;right:-12px;top:-23px}}
@media(max-width:420px){.makeup-looks-gallery{grid-template-columns:1fr;padding:25px 22px 65px}.makeup-polaroid-1,.makeup-polaroid-3{margin-top:0}}
/* Keep the preview photographs inside the camera and strip openings. */
.makeup-camera-photo>img,.makeup-strip-photo>img{position:absolute;inset:0;width:100%;height:100%;min-height:0;object-fit:cover}
.makeup-camera-photo>img{object-position:50% 42%}
.makeup-strip-photo-0>img{object-position:50% 38%}
.makeup-strip-photo-1>img{object-position:62% 42%}
.makeup-strip-photo-2>img{object-position:50% 30%}
.makeup-strip-photo-3>img{object-position:50% 42%}

/* Entry titles live on the writing paper. */
.makeup-paper .makeup-entry-nav{display:flex;flex-direction:column;align-items:stretch;margin:0 0 28px;gap:8px}
.makeup-paper .makeup-entry-nav:empty{display:none}
.makeup-paper .makeup-entry-choice{background:transparent;color:#25130f;border:0;border-bottom:1px solid #7d54434a;text-align:left;padding:10px 0;font-family:inherit;font-size:18px}
.makeup-paper .makeup-entry-choice[aria-pressed=true]{color:#702632;text-decoration:underline;text-underline-offset:5px}
.makeup-paper .makeup-entry-choice:focus-visible{outline-color:#702632}

/* Original cover wraps, showing only their spine panels on the bed shelf. */
.personal-books{position:absolute;inset:0;pointer-events:none}
.personal-book{position:absolute;left:calc(var(--book-x)*1%);bottom:47.6%;width:.9%;height:calc(var(--book-h)*1%);background-repeat:no-repeat;background-color:#171412;filter:brightness(.76) saturate(.75);border-radius:1px 1px 0 0;box-shadow:inset 2px 0 3px #ffffff18,inset -2px 0 3px #0008,1px 1px 2px #0007;transform:rotate(-.5deg);transform-origin:bottom center}
.entered:not(.still):not(.reading) #spinning-record:before{animation-play-state:running!important}
/* Fashion: a wardrobe-door scrapbook in wine, paper and silver. */
#panel.fashion-mode{background:radial-gradient(ellipse at top,#531b24b8,#170a0ce8),url('assets/music-player-lace.png') center/cover fixed;color:#eadfc8}
.fashion-mode .page-inner{position:relative;width:min(1500px,100%);padding:25px 40px 110px}
.fashion-mode .panel-top{position:relative;z-index:4;margin-bottom:4px}
.fashion-mode #panel-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.fashion-mode #panel-close{border-radius:4px;background:#1d1011db;font-size:15px}
.fashion-shell{position:relative;min-height:850px;padding:10px 20px 60px}
.fashion-decor{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.fashion-lace{position:absolute;top:0;width:330px;opacity:.92}
.fashion-lace-left{left:-45px}.fashion-lace-right{right:-45px;transform:scaleX(-1)}
.fashion-heading{display:flex;align-items:center;justify-content:center;gap:24px;position:relative;z-index:1;margin:40px 0 25px}
#panel-content .fashion-heading h3{font:italic bold clamp(44px,5.5vw,76px)/1.2 Georgia,serif;margin:0;color:#ecdcc3;letter-spacing:-3px;text-shadow:2px 3px #16080a}
.fashion-heading-star{font-size:25px;color:#bd9c81}
.fashion-tabs{position:relative;z-index:2;display:flex;justify-content:center;gap:12px;margin:0 0 45px}
.fashion-tab{font:18px Georgia,serif;border-radius:2px;padding:12px 25px;background:#1e1111;border:1px solid #bda58a66}
.fashion-tab[aria-pressed=true]{background:#e4d4b5;color:#291615;box-shadow:2px 4px 8px #08000050;transform:rotate(-2deg)}
.fashion-layout{position:relative;display:grid;grid-template-columns:170px minmax(0,1fr) 170px;gap:12px;align-items:start}
.fashion-board{position:relative;min-height:620px;padding:95px 42px 65px;background:repeating-linear-gradient(0deg,transparent 0 31px,#78644c0b 31px 32px),#dfd3b9;box-shadow:5px 12px 28px #08000066;color:#211718;transform:rotate(-.6deg);border:1px solid #ab9477;isolation:isolate}
.fashion-board:before,.fashion-board:after{content:'';position:absolute;top:-15px;width:100px;height:32px;background:#b7a081a6;transform:rotate(-18deg)}
.fashion-board:before{left:4%}.fashion-board:after{right:4%;transform:rotate(14deg)}
.fashion-tattoo{position:absolute;top:-65px;left:50%;transform:translateX(-50%) rotate(5deg);width:190px;height:155px;pointer-events:none}
#panel-content .fashion-board-title{font:26px 'Moon Notes',Georgia,serif;text-align:center;color:#391d23;margin:0 0 40px}
.fashion-margin,.fashion-right{position:relative;min-height:650px;pointer-events:none}
.fashion-sprite{display:block;position:absolute;background-image:url('assets/fashion/icons.png');background-repeat:no-repeat;filter:grayscale(1) brightness(1.65) contrast(1.4);mix-blend-mode:multiply}
.fashion-margin{background:#d9ccb3;transform:rotate(-5deg);margin-top:85px;box-shadow:2px 5px 10px #0006;min-height:480px}
.fashion-sewing{left:-12%;top:10px;width:125%;height:155px;background-size:180% 310%;background-position:100% 40%}
.fashion-rose{position:absolute;width:110px;left:-28px;top:145px;filter:drop-shadow(2px 4px 3px #0005)}
.fashion-magazines{left:0;top:270px;width:100%;height:180px;background-size:185% 290%;background-position:100% 72%}
.fashion-angel{position:absolute;top:-10px;left:-15px;width:205px;max-width:none;transform:rotate(9deg);filter:drop-shadow(1px 4px 4px #0007)}
.fashion-butterfly{top:220px;left:10px;width:130px;height:180px;background-size:325% 330%;background-position:100% 0;filter:grayscale(1) brightness(1.65) contrast(1.4);background-color:#d9ccb3;transform:rotate(12deg);box-shadow:2px 4px 8px #0005}
.fashion-shopping{top:445px;left:-10px;width:170px;height:185px;background-size:220% 290%;background-position:100% 100%;background-color:#d9ccb3;transform:rotate(-8deg);box-shadow:2px 5px 10px #0006}
.fashion-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 25px}
.fashion-empty{grid-column:1/-1;min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.fashion-hanger{position:relative;width:210px;height:85px;border:3px solid #686260;border-top:0;border-radius:20% 20% 28% 28%;clip-path:polygon(50% 0,100% 75%,100% 100%,0 100%,0 75%);background:linear-gradient(150deg,transparent 48.8%,#706a68 49% 50%,transparent 50.4%),linear-gradient(210deg,transparent 48.8%,#706a68 49% 50%,transparent 50.4%);filter:drop-shadow(1px 2px 1px #41372d40)}
.fashion-paper-tag{position:relative;width:240px;min-height:160px;margin-top:20px;padding:30px 20px 20px;background:#eee3cd;box-shadow:3px 5px 9px #4b332d30;transform:rotate(5deg);text-align:center;border:1px solid #c7b392}
.fashion-paper-tag:before{content:'';position:absolute;left:50%;top:-35px;height:40px;width:1px;background:#6b5d4d;transform:rotate(-10deg)}
.fashion-tag-heart{font:45px Georgia,serif;color:#782d3c}
#panel-content .fashion-paper-tag p{font:17px/1.6 Georgia,serif;color:#624b3e;margin:12px 0 0}
.fashion-card{position:relative;padding:10px 10px 20px;background:#efe6d4;box-shadow:3px 6px 9px #46302740;transform:rotate(-3deg);align-self:start}
.fashion-card-1{transform:rotate(3deg)}.fashion-card-2{transform:rotate(-1deg)}
.fashion-card:before{content:'';position:absolute;z-index:1;top:-12px;left:44%;width:12px;height:28px;border:2px solid #817975;border-radius:8px;transform:rotate(14deg);pointer-events:none}
.fashion-photo-button{display:block;width:100%;padding:0;border:0;border-radius:0;background:#d5c5ac}
.fashion-photo{display:block;width:100%;height:auto;max-height:460px;object-fit:contain}
#panel-content .fashion-card-title{font:18px/1.5 Georgia,serif;color:#251718;margin:16px 5px 5px}
#panel-content .fashion-card-note{font:16px/1.6 Georgia,serif;color:#614a40;margin:5px}
.fashion-shop-link{display:inline-block;font:15px Georgia,serif;color:#782d3c;margin:12px 5px 0;text-underline-offset:4px}
.fashion-viewer[hidden]{display:none}.fashion-viewer{position:fixed;inset:0;z-index:100;background:#10090af5;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:70px 25px 25px}
.fashion-viewer-close{position:absolute;top:20px;right:25px;font:18px Georgia,serif}.fashion-viewer-image{max-width:95%;max-height:76vh;object-fit:contain}
#panel-content .fashion-viewer-caption{font:18px/1.5 Georgia,serif;text-align:center;max-width:700px}
@media(max-width:1000px){.fashion-layout{grid-template-columns:100px minmax(0,1fr) 100px}.fashion-board{padding:95px 25px 45px}.fashion-angel{width:140px;left:-30px}.fashion-butterfly{width:90px;left:0}.fashion-shopping{width:110px;left:0}.fashion-margin{min-height:480px}.fashion-sewing{height:130px}.fashion-magazines{height:150px}.fashion-rose{width:85px}}
@media(max-width:700px){.fashion-mode .page-inner{padding:20px 18px 90px}.fashion-shell{padding:0 0 30px}.fashion-heading{margin:55px 0 25px;gap:10px}#panel-content .fashion-heading h3{font-size:44px;letter-spacing:-2px}.fashion-heading-star{font-size:15px}.fashion-tabs{gap:7px;margin-bottom:65px}.fashion-tab{font-size:15px;padding:10px 16px}.fashion-layout{grid-template-columns:1fr}.fashion-margin,.fashion-right{display:none}.fashion-board{min-height:550px;padding:95px 20px 45px}.fashion-lace{width:230px}.fashion-lace-left{left:-60px}.fashion-lace-right{right:-60px}.fashion-gallery{gap:30px 16px}.fashion-card{padding:7px 7px 14px}#panel-content .fashion-card-title{font-size:16px}#panel-content .fashion-card-note{font-size:14px}}
@media(max-width:420px){.fashion-gallery{grid-template-columns:1fr}.fashion-heading-star{display:none}}
.fashion-sewing{background-size:176.687% 417.959%;background-position:100% 35.302%}
.fashion-magazines{background-size:192% 445.217%;background-position:95.109% 62.972%}
.fashion-butterfly{background-size:329.143% 335.738%;background-position:96.01% 0}
.fashion-shopping{background-size:240% 386.415%;background-position:95.238% 98.155%}
@media(max-width:700px){.fashion-right{display:block;min-height:145px;margin-top:25px}.fashion-angel{width:160px;left:50%;top:0;transform:translateX(-50%) rotate(5deg)}.fashion-right .fashion-sprite{display:none}}
/* Draped lace, photo-only outfits, and one combined ideas board. */
.fashion-shell{padding-top:145px}
.fashion-draped-lace{position:absolute;left:0;top:-65px;width:100%;height:290px;object-fit:fill;filter:drop-shadow(0 5px 3px #0006)}
.fashion-heading{margin-top:55px}
.fashion-outfits .fashion-layout{display:block;max-width:1050px;margin:auto}
.fashion-outfits .fashion-margin,.fashion-outfits .fashion-right,.fashion-outfits .fashion-tattoo,.fashion-outfits .fashion-board-title{display:none}
.fashion-outfits .fashion-board{width:100%;background:transparent;border:0;box-shadow:none;transform:none;padding:25px 55px 60px;min-height:500px}
.fashion-outfits .fashion-board:before{top:0;left:0;width:30px;height:100%;transform:rotate(-1deg);background:#221b1a url('assets/fashion/leopard-studs-script.png') 0 100%/245% 107% no-repeat;box-shadow:2px 4px 9px #0005}
.fashion-outfits .fashion-board:after{top:0;right:0;width:20px;height:100%;transform:rotate(1deg);background:#211c1c url('assets/fashion/leopard-studs-script.png') 50.5% 100%/640% 107% no-repeat;box-shadow:2px 4px 9px #0005}
.fashion-outfits .fashion-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 25px}
.fashion-outfits .fashion-card{padding:8px;background:#ded5c3;box-shadow:2px 5px 12px #0009}
.fashion-photo-placeholders{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;min-height:350px}
.fashion-photo-placeholder{position:relative;aspect-ratio:3/4;display:grid;place-items:center;background:linear-gradient(145deg,#281b20,#130e10);border:8px solid #d9ceba;box-shadow:3px 6px 15px #0008;transform:rotate(-3deg);align-self:start}
.fashion-photo-placeholder:nth-child(2){transform:rotate(4deg);margin-top:35px}.fashion-photo-placeholder:nth-child(3){transform:rotate(-1deg)}
.fashion-photo-placeholder:before{content:'';position:absolute;left:43%;top:-20px;width:13px;height:28px;border:2px solid #c1bab4;border-radius:8px;transform:rotate(12deg)}
.fashion-photo-placeholder span{font:50px Georgia,serif;color:#af8c82}
.fashion-ideas .fashion-right:after{content:'';position:absolute;top:200px;left:15px;width:100px;height:400px;background:#000 url('assets/fashion/leopard-studs-script.png') 99% 100%/260% 104% no-repeat;transform:rotate(5deg);box-shadow:3px 4px 8px #0008}
.fashion-ideas .fashion-butterfly,.fashion-ideas .fashion-shopping{display:none}
@media(max-width:700px){.fashion-shell{padding-top:90px}.fashion-draped-lace{top:-20px;left:-18px;width:calc(100% + 36px);height:175px}.fashion-heading{margin-top:40px}.fashion-outfits .fashion-board{padding:20px 22px 40px}.fashion-outfits .fashion-board:before{width:13px}.fashion-outfits .fashion-board:after{width:10px}.fashion-outfits .fashion-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px}.fashion-photo-placeholders{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 17px;min-height:400px}.fashion-photo-placeholder{border-width:6px}.fashion-photo-placeholder:nth-child(3){margin-top:8px}.fashion-ideas .fashion-right:after{display:none}.fashion-ideas .fashion-tattoo{width:155px}}
@media(max-width:420px){.fashion-outfits .fashion-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
