/* Pastel sticker scrapbook theme */
:root{--bg:#fff9f6;--ink:#66516f;--muted:#ab96ad;--line:#efdfeb;--wine:#a27ac2;--sage:#f4e9fc}body{background-color:var(--bg);background-image:radial-gradient(#e9d8e6 1px,transparent 1px);background-size:20px 20px;font-family:"Microsoft YaHei",sans-serif}aside{background:#fff0f3;border-right:2px dashed #ebd3e1}.brand>span{color:#85628d;font-family:"Microsoft YaHei",sans-serif;font-size:27px;font-weight:800;letter-spacing:3px}.brand i{color:#eaa3b8}.brand small{color:#bf9db0;letter-spacing:3px}.side-label{color:#b18f9e}.side-note{color:#b093ad}.side-note>span{color:#da94b0}.side-note p{line-height:2.1}.profile{border-top:2px dashed #e7cbdc}.avatar{background:#f5d6e8;color:#9870a0;border:2px solid white;box-shadow:0 2px 0 #e7c9de}nav{gap:12px}nav button{border:1px solid transparent;border-radius:16px;color:#aa8eaa;transition:transform .2s}nav button:hover{transform:translateX(4px)}nav button.active{background:#eadbf6;border:1px solid #dbc5eb;box-shadow:0 3px 0 #d8bfe7;color:#86619f}header{background:#fffaf8d9;border-bottom:2px dashed #ecdae6}.preview{background:#f7edf9;color:#a17aaf;border-color:#e7d4ee;border-radius:20px}.content{padding-top:32px}.heading h1{font-family:"Microsoft YaHei",sans-serif;font-size:28px;font-weight:750;letter-spacing:1px}.heading h1 span{color:#e7b968}.heading p{color:#a78da6}.eyebrow{color:#c09cb9;letter-spacing:3px}.primary{background:#ad87c5;border:2px solid #9b75b3;border-radius:14px;box-shadow:0 4px 0 #e3ccea;padding:12px 20px;transition:transform .15s,box-shadow .15s}.primary:hover{transform:translateY(-2px);box-shadow:0 6px 0 #e3ccea}.hero{background:#fae6ee url('cartoon-banner.png') center/cover;border:5px solid #fff;border-radius:24px;box-shadow:0 4px 0 #ebd8e4;overflow:visible}.hero::before{content:'';position:absolute;top:-12px;left:40%;width:95px;height:25px;background:#d8c9edb8;transform:rotate(-5deg);z-index:2}.hero-shade{background:linear-gradient(90deg,#fff6e9d9 0%,#fff6e970 34%,transparent 62%);border-radius:19px}.hero-text{color:#795a83;left:33px;top:28px}.pill{background:#fffaf4bd;border:1px dashed #d7b2cd;color:#ba8eaa;font-size:8px}.hero h2{font-family:"Microsoft YaHei",sans-serif;font-size:32px;font-weight:750;letter-spacing:2px;line-height:1.55;margin:21px 0 12px}.hero p{color:#a18097;font-size:11px;max-width:320px;line-height:1.9;letter-spacing:0}.hero button{color:#a076a9;border-bottom:1px dashed #ba94c1;background:#fff8edaa;border-radius:8px;padding:7px 10px;margin-top:2px}.hero-caption{background:#fff8eddd;color:#b48da9;border:1px dashed #ddbdd4;border-radius:12px;padding:8px 13px;right:18px;bottom:18px;font-size:8px;letter-spacing:1.5px}.hero-caption span{line-height:2.2}.stats{gap:17px;margin-top:27px}.stats>div{border:1px solid #ecdce7;border-bottom:4px solid #e9d8e6;border-radius:18px;background:#fffdf9;padding:19px 15px;position:relative}.stats>div:nth-child(2){background:#fff5df;border-color:#f0e1bc}.stats>div:nth-child(3){background:#f4ebfc;border-color:#e4d5ed}.stats>div:nth-child(4){background:#edf4ee;border-color:#d9e7da}.stat-icon{background:#fbe5ee;color:#c18bac;border-radius:13px;width:39px;height:39px;display:grid;place-items:center;font-size:25px;flex-shrink:0}.stats>div:nth-child(2) .stat-icon{background:#f7e9c2;color:#bca16a}.stats>div:nth-child(3) .stat-icon{background:#e9dbf5;color:#a481bd}.stats>div:nth-child(4) .stat-icon{background:#dcebdc;color:#8da88a}.stats small{color:#ae98ad}.stats b{color:#8b6b97;font-size:27px}.stats em{color:#b09aaf}.stats>div:first-child b{font-family:inherit;font-size:21px}.section-title h2{font-family:"Microsoft YaHei",sans-serif;font-size:17px;font-weight:700;color:#886994}.section-title h2:before{content:'✿';color:#d9a0bc;margin-right:9px}.section-title h2 span{color:#baa5bd}.entry{border:1px solid #ecdfeb;border-radius:18px;background:#fffdfb;padding:19px;box-shadow:0 3px 0 #f0e3ec}.entry img{border:4px solid white;box-shadow:0 1px 4px #d5c0d3;transform:rotate(-3deg);border-radius:8px}.entry h3{font-family:"Microsoft YaHei",sans-serif;color:#907299;font-weight:600;font-size:15px}.entry p{color:#ab95aa}.entry small,.entry .tag{color:#bba4b8}.entry-actions button{color:#b18ab5}.expect{background:#f2e8fa;border:1px solid #e4d2ed;border-bottom:4px solid #e3ceed;border-radius:20px}.expect h3{font-family:"Microsoft YaHei",sans-serif;color:#9675a6;font-size:15px;font-weight:600}.expect p{color:#ae90bb}.expect>small{color:#bc9bc7}.expect button{color:#a47fb3;border-color:#c9acd5}.doodle{color:#c49dd8}.quote{background:#fff0e8;border-radius:14px;border:1px dashed #e8cccf;padding:13px;font-family:inherit;color:#b3929e;font-size:11px}.photo-card{border-radius:18px;background:white;box-shadow:0 4px 0 #eedde8;padding:12px}.photo-card img{border-radius:12px}.photo-card:nth-child(3n+1){transform:rotate(-1deg)}.photo-card:nth-child(3n+2){transform:rotate(1deg)}.photo-grid{gap:24px}.photo-card p{color:#9d7aa9;font-size:12px}.date-card,.wish{border-radius:18px;background:#fffafc;border-bottom:4px solid #ecdced}.date-card:nth-child(even){background:#fff6e1;border-color:#eee2c8}.date-card h3{font-family:inherit}.date-card>span{font-size:25px;color:#daa1be}.date-card b{color:#b28bc2}.empty{background:#fff4f8;border:2px dashed #e7cadf;border-radius:22px;color:#b19ab1}.empty b{font-family:inherit;color:#aa83b4;font-size:20px;margin-bottom:10px}.wish input{accent-color:#b38bc9}.wish.done{background:#eef4ee}.quote span{color:#c0a1a9}dialog{border:3px solid #ead8ed;border-radius:24px;background:#fff9fc;box-shadow:0 12px 50px #7f568433}dialog::backdrop{background:#7f668455}.modal-head h2{font-family:inherit;color:#9b72ae;font-weight:650}input:not([type=checkbox]),textarea{border-radius:12px;border-color:#e5d5e9;background:#fffdfd;outline-color:#c6a5d8}.modal-foot>button:not(.primary){color:#b59abe}#toast{background:#ad87bc;border:3px solid #f5e7f8;border-radius:18px;box-shadow:0 5px 20px #9976a333}footer{border-top:2px dashed #ecd7e4;color:#bea5b8}footer span{color:#c58eaf}.character-strip{display:flex;gap:8px;align-items:center;margin:16px 0 0}.character-strip span{font-size:9px;border-radius:20px;padding:5px 9px;background:#ffffffa6;border:1px dashed #e1c7d9;color:#ab87a1}.character-strip span:nth-child(2){background:#fff2cda6;color:#b4996c}.character-strip span:nth-child(3){background:#eee0f6a6;color:#a37bb5}.character-strip span:nth-child(4){background:#e4f0fca6;color:#8baac1}@media(min-width:1550px){.hero-text{top:43px}.hero h2{font-size:40px}.hero p{max-width:380px}}@media(prefers-reduced-motion:no-preference){.hero-caption{animation:bob 5s ease-in-out infinite}@keyframes bob{50%{transform:translateY(-4px) rotate(1deg)}}}
/* Full-scene wallpaper and illustrated controls */
body{background:#f6e1ed url('cartoon-banner.png') center center / cover fixed no-repeat}body:before{content:'';position:fixed;inset:0;background:linear-gradient(90deg,#fff5f54d,#fff8f51a);pointer-events:none;z-index:-1}aside{background:#fff0f1c9;backdrop-filter:blur(15px);border-right:2px dashed #fff8f9}.brand{display:flex;flex-direction:column;align-items:center;position:relative;padding:0}.brand .brand-mark{display:grid;place-items:center;width:78px;height:72px;font-size:49px;letter-spacing:0;background:#fff9ec;border:3px solid white;border-radius:29px;box-shadow:0 4px 0 #e7c5dc;transform:rotate(-5deg);margin-bottom:15px}.brand .brand-mark i{position:absolute;right:-9px;top:-8px;font-size:28px;margin:0;transform:rotate(20deg)}.brand .brand-name{font-size:26px;letter-spacing:4px}.brand small{font-size:8px;letter-spacing:3px}.side-label{text-align:center;font-size:10px;margin:22px 0}nav button{display:flex;align-items:center;gap:12px;padding:10px 12px;background:#fffaf66e}nav button span{margin-left:0}nav button .nav-sticker{font-size:23px;display:inline-grid;place-items:center;min-width:35px;height:35px;border:2px solid white;background:#ffe9ed;border-radius:12px;box-shadow:0 2px 0 #e4c7d6;transform:rotate(-6deg)}nav button:nth-child(2) .nav-sticker{background:#ffedbf;transform:rotate(6deg)}nav button:nth-child(3) .nav-sticker{background:#ead7f7}nav button:nth-child(4) .nav-sticker{background:#ffe2e9;transform:rotate(6deg)}nav button:nth-child(5) .nav-sticker{background:#ddebfc}.side-note{padding:18px 8px}.side-note>span{font-size:26px}.side-note p{font-size:11px}.side-note small{font-size:8px}.profile{padding-top:16px}.profile b{font-size:19px}header{background:#fff9f2ad;backdrop-filter:blur(12px)}.content{background:#fffaf37a;backdrop-filter:blur(2px);min-height:calc(100vh - 82px);border-radius:28px 28px 0 0;margin-top:20px}.heading{padding:17px 20px;background:#fffaf7ce;border:2px solid #fff;border-radius:22px;box-shadow:0 3px 0 #e6cbde66}.heading h1{font-size:25px}.hero{background:linear-gradient(100deg,#fff8ecd9,#fff2f254 60%,#fff0f01a);box-shadow:0 4px 0 #e1bcd399;border:3px solid #fff9ed;min-height:300px}.hero-shade{background:none}.hero-text{padding:0 0 5px}.hero-caption{background:#fff8edd9}.stats>div{background:#fffaf0e8}.stats>div:nth-child(2){background:#fff2d7e8}.stats>div:nth-child(3){background:#f0e1fbe8}.stats>div:nth-child(4){background:#e8f2e9e8}.stat-icon{font-size:25px;border:2px solid #fff;box-shadow:0 2px 0 #dcc3d6}.primary{border-radius:17px;border:2px solid white;box-shadow:0 4px 0 #cfa8dd,0 5px 15px #c59bc433;background:linear-gradient(135deg,#c3a0d9,#ad82c2);font-weight:600;letter-spacing:.5px}.primary:active{transform:translateY(3px);box-shadow:0 1px 0 #cfa8dd}.section-title{background:#fff9f3de;padding:12px 15px;border-radius:14px;border:1px solid white}.entry{background:#fffaf3eb;border:2px solid white}.expect{background:#f3e6fadf;border:2px solid white;border-bottom:4px solid #e3ceed}.quote{background:#fff1e7df}.date-card,.wish{background:#fff9f2eb;border:2px solid white;border-bottom:4px solid #e3ceed}.photo-card{background:#fffaf1eb;border:2px solid white}.empty{background:#fff5f4df}.header-right .avatar{font-size:17px}.modal-foot .primary:before{content:'🎀 ';font-size:15px}#cancel{background:#f2e5f5;border-radius:12px;padding:10px 18px}#close{background:#f5e2f2;width:32px;height:32px;border-radius:50%;line-height:24px}.entry-actions button,.delete{background:#f4e4f1;border:1px solid #ead3e7;border-radius:9px;padding:5px 8px}.entry-actions button:first-child:before{content:'✏️ ';font-size:11px}.photo-card button:before{content:'🧺 ';font-size:10px}footer{background:#fff9f3ad;border-radius:12px 12px 0 0;padding:18px 14px}.hero #cover-change{background:#fff8edc9;border:1px dashed #cfacc6;border-radius:12px;padding:8px 12px;font-size:11px}
@media(max-height:850px){aside{padding-top:24px}.brand .brand-mark{width:60px;height:54px;font-size:37px;margin-bottom:10px}.brand .brand-mark i{font-size:22px}.side-label{margin:16px 0}nav{gap:8px}.side-note{padding:12px 8px}.side-note p{margin:6px 0}.brand .brand-name{font-size:24px}}
/* Character sticker identity: 自嘲熊 & Jellycat 天空龙 */
.ip-sticker{position:relative;display:inline-block;overflow:hidden;flex-shrink:0}.ip-sticker:after{content:'';position:absolute;inset:0;background-image:url('ip-stickers.png');background-repeat:no-repeat;background-size:200% 100%;pointer-events:none}.ip-bear:after{background-position:left center}.ip-dragon:after{background-position:right center}.brand .brand-mark.ip-sticker{width:86px;height:86px;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible;filter:drop-shadow(0 4px 2px #c797b64d)}.brand .brand-mark.ip-sticker:after{inset:-4px}.brand .brand-mark.ip-sticker:hover{transform:rotate(5deg)}nav button .nav-sticker.ip-sticker{width:43px;height:43px;min-width:43px;border:0;border-radius:0;background:none;box-shadow:none;font-size:0;filter:drop-shadow(0 2px 1px #bfa2bf44);transform:rotate(-5deg)}nav button:nth-child(even) .nav-sticker.ip-sticker{transform:rotate(5deg)}nav button:hover .nav-sticker.ip-sticker{transform:rotate(0deg) scale(1.12)}nav button{padding:7px 10px;gap:10px}.avatar.ip-sticker{width:43px;height:43px;border:0;border-radius:0;background:none;box-shadow:none}.avatar.small.ip-sticker{width:43px;height:43px}.ip-friends{display:flex;gap:5px}.ip-friends .ip-sticker{width:53px;height:53px;filter:drop-shadow(0 3px 1px #c8a6c33d)}.side-note{padding-top:8px}.side-note p{margin-top:6px}@media(max-height:850px){.brand .brand-mark.ip-sticker{width:67px;height:67px;margin-bottom:6px}.ip-friends .ip-sticker{width:42px;height:42px}.side-note{padding-bottom:10px}}
/* IP stickers on actionable controls */
.primary{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:8px 18px 8px 10px;min-height:49px}.primary:before,.modal-foot .primary:before{content:'';display:inline-block;width:34px;height:34px;flex-shrink:0;background:url('ip-stickers.png') left center / 200% 100% no-repeat;filter:drop-shadow(0 2px 0 #ffffff66)}.primary[data-action="photos"]:before,.primary[data-action="wishes"]:before{background-position:right center}.expect button,#cover-change,.section-title button,.entry-actions button,.photo-card button,.delete{display:inline-flex;align-items:center;gap:5px}.expect button:before,#cover-change:before,.section-title button:before,.entry-actions button:before,.photo-card button:before,.delete:before{content:'';display:inline-block;width:26px;height:26px;flex-shrink:0;background:url('ip-stickers.png') right center / 200% 100% no-repeat}.entry-actions button:first-child:before{background-position:left center}.entry-actions button{padding:3px 6px;gap:2px}.entry-actions{gap:5px}.entry-actions button:before{width:21px;height:21px}#cancel:before{content:'';display:inline-block;width:25px;height:25px;background:url('ip-stickers.png') right center / 200% 100% no-repeat;vertical-align:middle;margin-right:5px}.expect button{border:1px dashed #c9acd5;border-radius:12px;padding:5px 10px;background:#fff9ff99}.section-title button{background:#fff7fb;border-radius:10px;padding:3px 8px}
/* More friends: Crybaby, caramel bunny, Bashful bunny, Westie */
.ip-crybaby:after,.ip-caramel:after,.ip-bunny:after,.ip-westie:after{background-image:url('more-ip-stickers.png');background-size:200% 200%}.ip-crybaby:after{background-position:left top}.ip-caramel:after{background-position:right top}.ip-bunny:after{background-position:left bottom}.ip-westie:after{background-position:right bottom}.ip-friends{gap:0}.ip-friends .ip-sticker{width:38px;height:38px}.stats .stat-icon.ip-sticker{width:43px;height:43px;background:none;border:0;box-shadow:none;overflow:visible}.primary[data-action="diary"]:before{background-image:url('more-ip-stickers.png');background-size:200% 200%;background-position:left top}.primary[data-action="photos"]:before{background-image:url('more-ip-stickers.png');background-size:200% 200%;background-position:right bottom}.primary[data-action="dates"]:before{background-image:url('more-ip-stickers.png');background-size:200% 200%;background-position:right top}.primary[data-action="wishes"]:before{background-image:url('more-ip-stickers.png');background-size:200% 200%;background-position:left bottom}.expect button:before{background-image:url('more-ip-stickers.png');background-size:200% 200%;background-position:right top}.section-title button:before{background-image:url('more-ip-stickers.png');background-size:200% 200%;background-position:left bottom}.entry-actions button:first-child:before{background-image:url('more-ip-stickers.png');background-size:200% 200%;background-position:left top}.entry-actions button:last-child:before,.photo-card button:before,.delete:before{background-image:url('more-ip-stickers.png');background-size:200% 200%;background-position:right bottom}#cancel:before{background-image:url('more-ip-stickers.png');background-size:200% 200%;background-position:left bottom}.modal-foot .primary:before{background-image:url('more-ip-stickers.png');background-size:200% 200%;background-position:right top}.ip-westie.brand-mark{transform:rotate(-4deg)}
/* Three independent editable avatars */
.brand-title{text-align:center;display:block}.brand-title .brand-name{font-weight:800;color:#85628d;white-space:nowrap}.profile-settings{display:flex;align-items:center;text-align:left;gap:10px;flex:1;padding:0;min-width:0}.profile-settings b{margin-left:auto}.editable-avatar{cursor:pointer;isolation:isolate;transition:transform .18s;overflow:hidden!important}.editable-avatar:hover{transform:scale(1.08)!important}.editable-avatar:focus-visible{outline:3px solid #af82c6;outline-offset:4px}.editable-avatar:before{content:'✎';position:absolute;right:0;bottom:0;width:17px;height:17px;border-radius:50%;background:#b18aca;color:white;border:1px solid white;font-size:11px;line-height:16px;z-index:3;opacity:0}.editable-avatar:hover:before,.editable-avatar:focus-visible:before{opacity:1}.brand .brand-mark.editable-avatar,.avatar.editable-avatar{border-radius:50%;border:2px solid #fff;background:#fff8f2;box-shadow:0 3px 0 #e9d0e1;transform:none}.brand .brand-mark.editable-avatar:after{inset:3px}.editable-avatar.custom-avatar:after,.avatar-dialog .custom-avatar:after{display:none}.editable-avatar img,#avatar-preview img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}.custom-avatar{padding:0!important}.brand .brand-mark.custom-avatar{border:3px solid white}.avatar-dialog{width:540px}.avatar-preview-wrap{text-align:center;padding:12px 0}.avatar-preview-wrap p{font-size:12px;color:#ad93b0}#avatar-preview{display:inline-block;width:104px;height:104px;border:3px solid white;border-radius:50%;background:#fff3f8;box-shadow:0 4px 0 #ead3e8;overflow:hidden}.avatar-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.avatar-presets button{border:2px solid #efdeef;background:#fffafc;border-radius:15px;padding:8px 3px;color:#a184ac}.avatar-presets button[aria-pressed=true]{border-color:#b88bca;background:#f0e1f7;box-shadow:0 2px 0 #d7b9e3}.avatar-presets .ip-sticker{width:57px;height:57px;display:block;margin:auto}.avatar-presets small{font-size:10px;display:block;margin-top:5px}.avatar-upload{display:block;text-align:center;padding:12px;border:1px dashed #d3b5dc;border-radius:12px;background:#f7edf9;cursor:pointer;color:#a07caf}.avatar-dialog input[type=file]{font-size:11px}.avatar-dialog .modal-foot{gap:8px;align-items:center}.avatar-dismiss,#avatar-default{font-size:12px;color:#a382b1}.avatar-dialog #avatar-default{margin-right:auto}.avatar-dialog .primary{padding:6px 12px;font-size:12px}.avatar-dialog .modal-head .avatar-dismiss{font-size:24px}
/* Preserve the full illustration, especially DIMOO on the right edge. */
body{background-color:#f8e8ee;background-size:100% auto;background-position:center 180px;background-repeat:no-repeat;background-attachment:fixed}.content{backdrop-filter:none;background:#fffaf340}.hero{height:auto;min-height:320px;aspect-ratio:3 / 1;background-color:#fff3ee;background-image:url('cartoon-banner.png');background-size:100% auto;background-position:center;background-repeat:no-repeat;overflow:hidden}.hero-shade{background:linear-gradient(90deg,#fff8edb3 0%,#fff8ed30 37%,transparent 48%);border-radius:20px}.hero-text{left:26px;top:24px;width:43%;color:#795a83}.hero h2{font-size:clamp(23px,2.15vw,36px);letter-spacing:1px;margin:17px 0 10px;line-height:1.45}.hero p{font-size:11px;line-height:1.8;max-width:300px}.hero .pill{font-size:7px;letter-spacing:1px}.hero .character-strip{gap:5px;margin-top:11px;flex-wrap:wrap}.hero .character-strip span{font-size:8px;padding:4px 7px}.hero #cover-change{margin-top:10px;padding:5px 8px;font-size:10px}.hero-caption{display:none}.hero:before{left:40%;top:-8px}.heading{background:#fffaf7e8}.stats>div{backdrop-filter:none}@media(min-width:1550px){.hero{min-height:350px}.hero-text{top:32px;left:34px}.hero h2{font-size:36px}.hero p{max-width:330px}}@media(max-width:1200px){.hero{min-height:300px}.hero-text{top:20px;left:21px;width:44%}.hero h2{font-size:24px}.hero p{max-width:260px;font-size:10px}.hero .pill{font-size:6px;letter-spacing:.6px}.hero #cover-change{margin-top:7px}}
body{min-width:900px;background-image:linear-gradient(#fff4f0df,#fff4f0df),url('cartoon-banner.png');background-size:100% 100%,100% auto;background-position:center,center 180px}.hero{background-size:contain}.hero-text{z-index:1}@media(max-width:1050px){.hero h2{font-size:23px}.hero-text{width:44%}.hero .character-strip{gap:3px}.hero .character-strip span{padding:4px 5px}.hero .pill{letter-spacing:.2px}}
.hero{background-image:none!important;width:100%;max-width:100%;min-width:0}.hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;pointer-events:none}.hero-shade{z-index:1}.hero-text{z-index:2}.hero::before{z-index:3}
/* Stronger wallpaper colors with readable content cards. */
body{background-image:linear-gradient(#fff4f04d,#fff4f04d),url('cartoon-banner.png')}.content{background:#fffaf318}body:before{background:linear-gradient(90deg,#fff5f51a,transparent)}.hero-shade{background:linear-gradient(90deg,#fff8ed66 0%,#fff8ed14 32%,transparent 45%)}
