@font-face{font-family:AlbumPixel;src:url('assets/fusion-pixel.woff2') format('woff2');font-display:swap}
:root{--ink:#382759;--line:#7d65a8;--light-line:#c3b3df;--paper:#fcfaff;--lilac:#ede6fa;--mint:#dff2e8;--mint-line:#78aa99;--edge:#5e487f}
*{box-sizing:border-box}html{min-height:100%;background:#eee8fb}body{margin:0;color:var(--ink);font:12px/1.6 AlbumPixel,monospace;background:radial-gradient(circle at 12px 12px,#c7b6e8 1px,transparent 2px) 0 0/36px 36px;min-height:100vh;padding:62px 60px 54px;overflow-x:hidden}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible{outline:3px solid #8c69bd;outline-offset:4px}button:disabled{cursor:default}button,i,img{ -webkit-tap-highlight-color:transparent}i{display:inline-flex;font-style:normal;flex:none}svg{display:block;width:100%;height:100%;shape-rendering:crispEdges}img,canvas{image-rendering:pixelated}h1,h2,h3,p{margin:0}h1,h2{font-size:24px;font-weight:400;line-height:1.3}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.book-world{position:relative;max-width:1220px;margin:auto;perspective:2400px;transform:translateX(-25%);transition:transform 1500ms cubic-bezier(.45,0,.18,1);isolation:isolate}.book-world .album{width:100%;max-width:none;margin:0;padding:0}.game-shell{position:relative;display:grid;grid-template-columns:1fr 1fr;border:6px solid var(--edge);background:#cbbbe7;padding:10px;box-shadow:0 0 0 3px #aa96cc,0 0 0 7px #ded2f1,0 8px 0 7px #ac97cb,0 14px 0 7px #d1c3e8;border-radius:12px;gap:0}.game-shell:after{content:'';position:absolute;left:50%;top:12px;bottom:12px;width:28px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,#c1b0d74d 35%,#9981b366 50%,#fff8 58%,transparent);pointer-events:none;z-index:3}.dressing-room,.wardrobe{min-width:0;background:var(--paper);position:relative;padding:28px 26px 24px;border:2px solid #c6b7dc;box-shadow:inset 0 0 0 5px #f6f1fc,inset 0 0 0 7px #e6def0}.dressing-room{border-radius:10px 24px 24px 10px}.wardrobe{border-radius:24px 10px 10px 24px}.book-tab{position:absolute;top:-36px;font-size:24px;background:#faf7ff;border:3px solid var(--edge);box-shadow:inset 0 0 0 3px #e5dbf3,0 4px 0 #b5a1d0;padding:2px 16px;z-index:5}.book-tab.left{left:10%}.book-tab.right{right:9%;background:var(--mint);box-shadow:inset 0 0 0 3px #f4fff9,0 4px 0 #b5a1d0}.binding-top,.binding-bottom{position:absolute;left:calc(50% - 21px);width:42px;height:20px;background:#d4c5e9;border:3px solid var(--line);z-index:6;clip-path:polygon(0 25%,25% 25%,25% 0,75% 0,75% 25%,100% 25%,100% 75%,75% 75%,75% 100%,25% 100%,25% 75%,0 75%)}.binding-top{top:-20px}.binding-bottom{bottom:-15px}
.page-heading,.record-heading,.wardrobe-heading,.snack-page h2{display:flex;align-items:center;gap:12px;border:2px solid var(--light-line);background:#f0eafa;box-shadow:inset 0 0 0 3px white;border-radius:5px;padding:8px 12px;position:relative}.page-heading{height:52px;margin-bottom:8px;letter-spacing:2px}.page-heading i,.record-heading i,.wardrobe-heading i,.snack-page h2 i{width:28px;height:30px}.record-heading,.wardrobe-heading{background:var(--mint)}.record-heading{height:48px;margin:12px 0 0}.tiny-flower{margin-left:auto;color:var(--mint-line);font-size:24px}.photo-mount{border:2px solid var(--light-line);padding:6px;background:#fff;position:relative}.screen{position:relative;overflow:hidden;background:var(--mint);border:1px solid #c8d9d2}.screen:before,.screen:after{position:absolute;content:'⌘';font-size:24px;color:#c2b7d8;top:0;z-index:1;pointer-events:none}.screen:before{left:2px}.screen:after{right:2px;top:auto;bottom:0}#stage{display:block;width:100%;height:auto;aspect-ratio:14/9}.heart{position:absolute;right:10px;top:10px;width:42px;height:42px;padding:0;background:#fcfaffd9;border:2px solid #c3b2dc;border-radius:4px;font-family:AlbumPixel;font-size:32px;line-height:1}.heart[aria-pressed=true]{color:#8e69ad;background:#f1e5f7}.stage-controls{position:absolute;inset:0;pointer-events:none}.scene-hit{position:absolute;background:transparent;border:0;pointer-events:auto}.feed-hit{cursor:copy}
.outfit-summary{display:flex;flex-direction:column;border:2px solid #d8cbea;border-top:0;background:#fdfaff}.part-summary{display:grid;grid-template-columns:38px 56px 1fr 22px;gap:10px;align-items:center;text-align:left;border:0;border-bottom:1px dashed #cdbce6;background:transparent;padding:5px 12px;min-height:43px}.part-summary:last-child{border-bottom:0}.part-summary:hover{background:#efe8f9}.part-summary>img{width:32px;height:32px;object-fit:contain}.part-summary>span{font-size:12px}.part-summary strong{font-size:12px;color:#5878a4;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.part-summary>i{width:22px;height:22px}.background-picker{display:flex;align-items:center;gap:12px;margin-top:12px;height:22px}.swatches{display:flex;gap:7px}.swatch{width:18px;height:18px;border:2px solid white;outline:1px solid #c2b4d9;padding:0}.swatch[aria-pressed=true]{outline:2px solid #7b61a4}.background-name{font-size:12px;color:#9987b0}.page-number{position:absolute;bottom:4px;left:50%;font-size:12px;color:#b5a1cb}
.keepsakes{display:grid;grid-template-columns:.83fr 1.17fr;gap:14px;height:285px;margin-bottom:18px}.portrait-slot{border:2px solid #b3a0d5;position:relative;background:#eee6fa;box-shadow:inset 0 0 0 6px #fcfaff}.portrait-slot>i{position:absolute;left:15px;top:17px;width:27px;height:27px}.photo-corner{position:absolute;width:28px;height:28px;background:#aed7c5;border:2px solid #79a994;clip-path:polygon(0 0,100% 0,100% 25%,75% 25%,75% 50%,50% 50%,50% 75%,25% 75%,25% 100%,0 100%);z-index:1}.photo-corner.a{left:-2px;top:-2px}.photo-corner.b{right:-2px;top:-2px;transform:rotate(90deg)}.photo-corner.c{right:-2px;bottom:-2px;transform:rotate(180deg)}.photo-corner.d{left:-2px;bottom:-2px;transform:rotate(270deg)}.snack-page{display:flex;flex-direction:column;min-width:0}.snack-page h2{height:52px;margin-bottom:8px;gap:10px;padding:6px 10px;white-space:nowrap}.food-tray{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,1fr);gap:7px;flex:1}.snack{display:flex;align-items:center;justify-content:center;border:2px solid #cfbfe5;background:#f7f1fc;box-shadow:inset 0 0 0 3px white;border-radius:6px;padding:6px;min-width:0;touch-action:none;user-select:none}.snack img{width:100%;max-width:68px;height:70px;object-fit:contain;pointer-events:none}.snack:hover{background:#e0f2e8;border-color:#8db7a5;transform:translateY(-2px)}.snack-empty{border-style:dashed;color:#b4a0d1;font-size:36px;box-shadow:none;opacity:.65}.snack-empty:hover{transform:none;background:#f7f1fc;border-color:#cfbfe5}.wardrobe-heading{height:48px}.count{font-size:12px;color:#9585ab;margin-left:auto;white-space:nowrap}.tabs{display:grid;grid-template-columns:repeat(6,1fr);gap:0;margin:6px 0 12px}.tab{border:0;border-right:1px solid #d5c4e9;border-bottom:2px solid #d5c4e9;background:#faf6ff;padding:10px 0;white-space:nowrap;font-size:12px}.tab.active{background:#ddf0e5;color:#263852;border-bottom:3px solid var(--mint-line)}.looks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:124px;gap:8px;max-height:256px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#b6a0d1 #f2edf8;padding:1px 4px 3px 1px;overscroll-behavior:contain}.look-card{display:flex;flex-direction:column;min-width:0;align-items:center;justify-content:center;position:relative;border:2px solid #d5c6e9;background:#f1ebfa;box-shadow:inset 0 0 0 3px #faf7fd;border-radius:6px;padding:7px 4px 4px;gap:3px}.look-card:hover{border-color:#a294c0;background:#eae1f6}.look-card[aria-pressed=true]{background:#e1f2e8;border-color:#80ac98;box-shadow:inset 0 0 0 3px #f7fffa}.item-image{display:flex;align-items:center;justify-content:center;width:100%;height:88px;min-height:0}.item-image img{display:block;height:100%;width:auto;max-width:95%;object-fit:contain}.kind-upper .item-image img{height:76px}.kind-shoes .item-image img{width:62px;height:auto}.kind-hat .item-image img,.kind-glasses .item-image img{width:72px;height:auto}.kind-hair .item-image img{height:70px}.song-name{font-size:12px;line-height:1.3;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.accessory-heading{grid-column:1/-1;font-size:12px;font-weight:400;align-self:end}.looks.headwear{grid-auto-rows:124px}.looks.headwear .accessory-heading{height:24px;align-self:start}.actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.actions button{display:flex;gap:10px;justify-content:center;align-items:center;border:3px solid #8a73b2;background:#eee7fb;box-shadow:inset 0 0 0 3px white;padding:9px 4px;font-size:24px;white-space:nowrap;border-radius:5px}.actions button i{width:28px;height:28px}.actions .primary{background:#def1e7;border-color:#7da896}.actions button:hover{filter:brightness(1.04);transform:translateY(-2px)}.extra-actions{display:flex;justify-content:space-between;margin-top:8px}.extra-actions button{border:0;background:none;color:#9c89b6;font-size:12px;padding:2px 0}.side-bookmarks{position:absolute;right:-68px;top:44px;display:grid;gap:8px;z-index:4}.side-bookmarks button{position:relative;width:52px;height:64px;background:#e8dff6;border:3px solid var(--line);border-left:0;border-radius:0 5px 5px 0;box-shadow:inset 0 0 0 3px #f8f3ff;padding:10px}.side-bookmarks button:first-child{background:#d8efe2}.side-bookmarks button i{width:29px;height:32px}.side-bookmarks #close-book{height:45px;margin-top:18px}.side-bookmarks #close-book i{height:22px}.side-bookmarks #fav-count{position:absolute;bottom:1px;right:5px;font-size:12px}.album footer{display:flex;justify-content:space-between;color:#a58dbd;font-size:12px;margin-top:22px;padding:0 8px}
/* The actual front cover is a hinged HTML surface, not a picture of a book. */
.cover-scene{position:absolute;inset:0 0 auto 50%;height:calc(100% - 43px);z-index:10;perspective:2400px;pointer-events:none}.cover-volume{position:absolute;inset:-7px -7px -2px -4px;transform-style:preserve-3d;transform-origin:left center;transition:transform 1500ms cubic-bezier(.45,0,.18,1)}.cover-front,.cover-back{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;border:5px solid #614781;border-radius:5px 10px 10px 5px;overflow:visible}.cover-front{display:block;width:100%;height:100%;padding:0;text-align:center;background:#d4c3eb;box-shadow:inset 0 0 0 4px #ede3fa,inset 0 0 0 9px #ad91cd,7px 0 0 #fff9dc,11px 0 0 #b8a5cc,14px 0 0 #654c84,0 8px 0 #ad93cb;pointer-events:auto;transform:translateZ(2px);outline-offset:18px}.cover-front:hover{background:#d9c9ee}.cover-border{position:absolute;inset:30px 27px 28px 44px;border:3px solid #9676b9;box-shadow:0 0 0 6px #e8dbf6,inset 0 0 0 6px #e3d5f2;pointer-events:none}.cover-spine{position:absolute;top:0;bottom:0;left:0;width:25px;background:repeating-linear-gradient(0deg,#af94ce 0 112px,#9bd2bc 112px 126px,#dfeddb 126px 132px,#af94ce 132px 240px);border-right:4px solid #9375b2;box-shadow:inset 4px 0 #e1d1f2}.owner-tag{position:absolute;left:65px;top:70px;display:flex;align-items:center;gap:10px;padding:8px 12px;border:3px solid #82ad9e;box-shadow:0 0 0 3px #ecf5df,inset 0 0 0 3px #fffef1;background:#fff9e9;font-size:24px;z-index:2}.owner-tag i{width:30px;height:30px}.cover-lettering{position:absolute;left:14%;top:32%;width:78%;height:22%;object-fit:contain;mix-blend-mode:multiply;pointer-events:none}.cover-subtitle{position:absolute;left:15%;right:7%;top:58%;font-size:24px;letter-spacing:10px}.cover-flower{position:absolute;width:170px;height:190px;pointer-events:none}.cover-flower.top{right:18px;top:26px}.cover-flower.bottom{left:32px;bottom:30px;transform:rotate(180deg);width:190px;height:210px}.cover-star{position:absolute;font-size:36px;color:#8860ad}.s1{left:27%;top:25%}.s2{right:15%;top:69%;color:#7fae9d}.s3{left:49%;bottom:13%}.cover-lightstick{position:absolute;right:60px;bottom:68px;width:70px;height:132px}.cover-bookmark{position:absolute;left:65px;bottom:-44px;width:38px;height:68px;background:#99cdb4;border:3px solid #6b5488;border-top:0;box-shadow:inset 5px 0 #c8e7d3;z-index:-1}.cover-bookmark>i{position:absolute;width:24px;height:60px;bottom:-50px;left:4px}.cover-corner{position:absolute;width:18px;height:18px;background:#aad7c2;box-shadow:inset 5px 5px #daf3df}.cover-corner.tl{top:25px;left:40px}.cover-corner.tr{top:25px;right:25px;transform:rotate(90deg)}.cover-corner.bl{bottom:25px;left:40px;transform:rotate(270deg)}.cover-corner.br{bottom:25px;right:25px;transform:rotate(180deg)}.cover-back{transform:rotateY(180deg);background:var(--paper);overflow:hidden;box-shadow:inset 0 0 0 5px #ece2f6}.cover-back>.dressing-room{height:100%;width:100%;border-radius:8px 24px 24px 8px;padding:38px 36px 34px;pointer-events:none}.cover-back .page-number{display:none}.book-closed .album{visibility:hidden}.opening .album,.closing .album,.book-open .album{visibility:visible}.book-closed .dressing-room,.opening .game-shell>.dressing-room,.closing .game-shell>.dressing-room{visibility:hidden}.cover-back>.dressing-room{visibility:visible}.opening .book-world,.book-open .book-world{transform:translateX(0)}.opening .cover-volume,.book-open .cover-volume{transform:rotateY(-180deg)}.book-open .cover-scene{visibility:hidden;pointer-events:none}.opening .cover-scene,.closing .cover-scene{visibility:visible}.opening .book-tab.left,.closing .book-tab.left{visibility:hidden}.opening .side-bookmarks,.closing .side-bookmarks{visibility:hidden}.opening .cover-front,.closing .cover-front{pointer-events:none}.book-closed .album footer{visibility:hidden}
.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,16px);opacity:0;pointer-events:none;background:#45355f;color:#fff;border:2px solid #bca4d5;padding:10px 18px;z-index:100;transition:.15s;max-width:90vw}.toast.visible{opacity:1;transform:translate(-50%,0)}.food-ghost{position:fixed;left:0;top:0;width:56px;height:64px;object-fit:contain;z-index:99;pointer-events:none}.saved-looks{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.saved-card{border:2px solid #c4b0da;padding:8px}.saved-wear{display:flex;align-items:center;flex-direction:column;width:100%;border:0;padding:8px}.saved-wear img{height:180px}.remove-favorite{width:100%;margin-top:8px;border:0;background:#eee4f6}.dialog-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.dialog-header button{background:none;border:0;font-size:24px}.dialog-note{color:#9985b0;margin-bottom:15px}dialog{max-width:700px;width:90%;border:4px solid var(--line);padding:24px;background:#faf6ff;color:var(--ink)}dialog::backdrop{background:#291f4566;backdrop-filter:blur(3px)}
@media(min-width:1450px){.part-summary{min-height:48px}.part-summary>span,.part-summary strong{font-size:24px}.part-summary{grid-template-columns:38px 60px 1fr 22px;gap:10px}.tab{font-size:24px}.keepsakes{height:310px}.looks{grid-auto-rows:137px;max-height:282px}.item-image{height:99px}}
@media(max-width:1150px){body{padding:56px 52px 50px}.dressing-room,.wardrobe{padding:24px 18px 24px}.book-tab{font-size:24px;padding:2px 8px}.book-tab.left{left:5%}.book-tab.right{right:4%}.keepsakes{height:249px;gap:10px;margin-bottom:14px}.snack-page h2{font-size:24px;padding:6px;gap:6px}.snack-page h2 i{width:22px}.food-tray{gap:5px}.snack{padding:4px}.snack img{height:58px}.actions button{font-size:12px}.actions button i{width:24px;height:24px}.part-summary{padding:5px 8px;gap:6px;grid-template-columns:32px 40px 1fr 18px;min-height:40px}.part-summary>img{height:29px;width:29px}.part-summary>i{width:18px;height:18px}.looks{grid-auto-rows:112px;max-height:232px}.item-image{height:78px}.kind-upper .item-image img{height:66px}.cover-back>.dressing-room{padding:34px 28px}.owner-tag{top:60px;left:55px;font-size:24px;padding:4px 7px;gap:4px}.owner-tag i{width:24px;height:24px}.cover-flower.top{width:130px;height:145px}.cover-flower.bottom{width:155px;height:180px}.cover-lightstick{width:54px;height:106px;right:47px}.side-bookmarks{right:-59px}.side-bookmarks button{width:44px;padding:7px}.side-bookmarks button i{width:25px}}
@media(max-width:800px) and (orientation:portrait){body{padding:42px 24px 45px}.book-world{max-width:560px;transform:none!important;perspective:1600px}.game-shell{display:block;padding:7px;border-width:4px}.game-shell:after,.binding-top,.binding-bottom{display:none}.dressing-room,.wardrobe{padding:24px 16px;border-radius:6px}.wardrobe{margin-top:10px;padding-bottom:24px}.book-tab{font-size:12px;top:-25px}.book-tab.left{left:4%}.book-tab.right{right:4%}.page-heading{height:48px}.page-heading h1{font-size:24px}.record-heading{height:44px}.part-summary{min-height:44px;grid-template-columns:32px 42px 1fr 18px}.keepsakes{height:260px;margin-bottom:14px}.looks{max-height:276px;grid-auto-rows:134px}.item-image{height:96px}.kind-upper .item-image img{height:84px}.side-bookmarks{position:static;display:flex;justify-content:flex-end;gap:7px;margin-bottom:14px}.side-bookmarks button,.side-bookmarks #close-book{width:42px;height:38px;border:2px solid var(--line);margin:0;border-radius:3px;padding:5px}.side-bookmarks button i,.side-bookmarks #close-book i{width:25px;height:24px}.side-bookmarks #fav-count{bottom:0;right:2px}.cover-scene{left:0;right:0;top:0;height:650px}.cover-volume{inset:0;transform-origin:left}.cover-front{box-shadow:inset 0 0 0 4px #ede3fa,inset 0 0 0 9px #ad91cd,5px 0 0 #fff9dc,8px 0 0 #654c84,0 7px 0 #ad93cb}.book-closed:not(.opening) .album{height:650px;overflow:hidden}.cover-back>.dressing-room{padding:24px 16px}.owner-tag{top:70px;left:54px;font-size:24px}.cover-flower.top{top:24px;width:120px;height:140px;right:15px}.cover-lettering{top:35%;left:15%;width:78%;height:20%}.cover-subtitle{top:60%;font-size:24px;letter-spacing:6px}.cover-lightstick{bottom:60px}.cover-flower.bottom{width:150px;height:180px}.album footer{font-size:12px;gap:12px}.count{font-size:12px}.opening .cover-volume,.book-open .cover-volume{transform:rotateY(-175deg)}.opening .game-shell>.dressing-room,.closing .game-shell>.dressing-room{visibility:visible}.opening .wardrobe,.closing .wardrobe{visibility:hidden}.book-closed .dressing-room{visibility:hidden}.snack-page h2{font-size:24px}.actions button{font-size:12px}.actions button i{width:24px}.saved-looks{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.stage-copy{display:block;width:100%;height:auto;aspect-ratio:14/9}
#stage,.stage-copy{aspect-ratio:28/15}
.screen:before,.screen:after{content:'';width:18px;height:18px;border-top:3px solid #b9a9d2;border-left:3px solid #b9a9d2;box-shadow:inset 3px 3px #f7f3fd;top:4px;left:4px}
.screen:after{top:auto;left:auto;bottom:4px;right:4px;transform:rotate(180deg)}
@media(min-width:801px), (orientation:landscape){
 body{padding:50px 56px 44px}.book-world{width:1220px;max-width:none}.dressing-room,.wardrobe{padding:26px 24px 24px}.part-summary{grid-template-columns:36px 56px 1fr 22px;min-height:46px;padding:5px 10px;gap:10px}.part-summary>span,.part-summary strong{font-size:24px}.part-summary>img{width:34px;height:34px}.part-summary>i{width:22px;height:22px}.tab{font-size:24px;padding:7px 0}.keepsakes{height:285px;gap:14px;margin-bottom:18px}.looks{grid-auto-rows:124px;max-height:256px}.song-name{font-size:12px}.actions button{font-size:24px}.item-image{height:88px}.kind-upper .item-image img{height:76px}.book-tab.left{left:10%}.book-tab.right{right:9%}.cover-back>.dressing-room{padding:36px 34px 34px}.cover-flower.top{width:170px;height:190px}.cover-flower.bottom{width:190px;height:210px}.cover-lightstick{width:70px;height:132px;right:60px}.owner-tag{top:70px;left:65px;font-size:24px;padding:8px 12px;gap:10px}.owner-tag i{width:30px;height:30px}.side-bookmarks{right:-68px}.side-bookmarks button{width:52px;padding:10px}.side-bookmarks button i{width:29px}
}
.cover-back>.dressing-room{visibility:inherit}
.opening .game-shell,.closing .game-shell{clip-path:inset(-70px -80px -40px calc(50% - 8px))}
.book-decoration{position:absolute;width:36px;height:42px;z-index:7;pointer-events:none}.book-decoration.tl{left:-8px;top:3px}.book-decoration.tr{right:-8px;top:3px;transform:scaleX(-1)}.book-decoration.bl{left:-8px;bottom:3px;transform:scaleY(-1)}.book-decoration.br{right:-8px;bottom:3px;transform:rotate(180deg)}
@media(max-width:800px) and (orientation:portrait){.opening .game-shell,.closing .game-shell{clip-path:none}.opening .book-decoration,.closing .book-decoration{visibility:hidden}}
.kind-upper .item-image img{height:82px;max-width:90%}.kind-lower .item-image img{height:86px}.kind-hat .item-image img{max-height:70px;object-fit:contain}
.looks.headwear{grid-auto-rows:min-content}.looks.headwear .look-card{height:124px}.looks.headwear .accessory-heading{margin:0;height:24px}

/* AI-assisted jasmine is a separate transparent cover ornament. */
.cover-flower{object-fit:contain}.cover-flower.bottom{transform:rotate(180deg)}
@media(min-width:801px), (orientation:landscape){.cover-flower.top{width:200px;height:220px;right:16px;top:28px}.cover-flower.bottom{width:210px;height:230px;left:32px;bottom:28px}}

/* Matching jasmine on the stage and book corners; fine stitched binding. */
.book-decoration{width:52px;height:60px}.book-decoration img{display:block;width:100%;height:100%;object-fit:contain}.book-decoration.tl{left:-11px;top:1px}.book-decoration.tr{right:-11px;top:1px}.book-decoration.bl{left:-11px;bottom:1px}.book-decoration.br{right:-11px;bottom:1px}
.game-shell:before{content:'';position:absolute;inset:22px 3px;border-left:2px dashed #f5eafa;border-right:2px dashed #f5eafa;pointer-events:none;z-index:4}
.cover-spine:after{content:'';position:absolute;left:9px;top:13px;bottom:13px;border-left:2px dashed #f4e4fa;filter:drop-shadow(1px 0 #9272ae)}
.cover-front:after{content:'';position:absolute;right:13px;top:17px;bottom:17px;border-right:2px dashed #f2e6f9;pointer-events:none}
@media(max-width:800px) and (orientation:portrait){.book-decoration{width:40px;height:48px}.book-decoration.tl,.book-decoration.bl{left:-8px}.book-decoration.tr,.book-decoration.br{right:-8px}}

/* The portrait is a real canvas synced to the same outfit state as the doll. */
.portrait-slot{overflow:hidden;min-width:0;background:#e4edea}.portrait-slot #album-portrait{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%;image-rendering:pixelated}.portrait-slot>i{z-index:2;pointer-events:none}.portrait-slot:after{content:"";position:absolute;inset:0;border:6px solid #fcfaff;pointer-events:none}
@media(max-width:800px) and (orientation:portrait){.keepsakes{height:210px;grid-template-columns:1fr 1fr;gap:10px}.portrait-slot #album-portrait{position:absolute;left:-15%;bottom:4px;width:130%;height:auto;object-fit:contain}.portrait-slot>i{left:10px;top:12px;width:22px;height:22px}.snack-page h2{font-size:18px;gap:5px;padding:6px}.snack-page h2 i{width:22px;height:24px}.snack{padding:3px}.snack img{height:56px}}

/* A dedicated export control stays inside the portrait, away from the face. */
.portrait-save{position:absolute;right:7px;bottom:7px;z-index:3;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:transparent;color:#514166;isolation:isolate}.portrait-save:before{content:"";position:absolute;inset:5px;z-index:-1;border-radius:9px;background:#fcfaffdf;transition:background .16s}.portrait-save svg{width:20px;height:20px;shape-rendering:geometricPrecision}.portrait-save:hover:before,.portrait-save:focus-visible:before{background:#dff2e8}.portrait-save:focus-visible{border-radius:9px;outline-offset:0}.portrait-save:active:before{background:#c7e6d8}.portrait-save:disabled{opacity:.45;cursor:wait}
