:root{--ink:#493c5b;--muted:#81768c;--pink:#ff8eae;--paper:#fffdfb}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:"Microsoft YaHei",system-ui,sans-serif;background:#fff6f3;background-image:radial-gradient(#f5c9d2 1.4px,transparent 1.4px);background-size:23px 23px}button,input,textarea{font:inherit}a{color:inherit;text-decoration:none}.wrap{max-width:1080px;margin:auto;padding:0 24px}header{height:76px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-weight:900;font-size:18px}.logo{width:42px;height:42px;background:#ffd76b;border:3px solid white;border-radius:42% 58% 50% 50%;display:grid;place-items:center;transform:rotate(-9deg);box-shadow:0 3px 0 #edbd56;font-size:22px}nav{display:flex;gap:10px;font-size:13px;font-weight:800;color:#756982;align-items:center}.bubble{background:white;border:2px solid #f6dce2;border-radius:99px;padding:8px 13px}.account-button{cursor:pointer;color:#785c88}.hero{display:grid;grid-template-columns:1fr .9fr;align-items:center;gap:20px;padding:40px 0 52px;min-height:480px}.tag{display:inline-block;background:#fff;border:2px solid #f4dce3;border-radius:99px;padding:9px 15px;font-weight:800;font-size:13px;transform:rotate(-2deg)}h1{font-size:clamp(48px,7vw,76px);line-height:1.12;letter-spacing:-2px;margin:23px 0 14px}.pink{color:#ec7193;text-shadow:2px 3px 0 white}.hero-copy p{font-size:16px;line-height:1.9;color:var(--muted);max-width:435px;margin:0 0 23px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#ff8eae;border:3px solid white;border-radius:18px;padding:12px 18px;color:white;font-weight:900;box-shadow:0 5px 0 #df6f91;cursor:pointer;transform:rotate(-1deg);transition:.2s}.button:hover{transform:translateY(-3px) rotate(1deg);box-shadow:0 8px 0 #df6f91}.scene{height:390px;display:grid;place-items:center;position:relative}.rainbow{position:absolute;width:300px;height:300px;border:17px solid #ffb4c8;border-bottom-color:transparent;border-left-color:#ffd76b;border-right-color:#a9e6d1;border-radius:50%;transform:rotate(-34deg)}.rainbow:after{content:"";position:absolute;inset:13px;border:12px solid #c9b7fa;border-bottom-color:transparent;border-left-color:#ffcf88;border-right-color:#9ddfc9;border-radius:50%}.cloud{position:absolute;bottom:48px;width:280px;height:74px;background:#fff;border-radius:60px;box-shadow:0 7px 0 #e9dfe9}.cloud:before,.cloud:after{content:"";position:absolute;background:#fff;border-radius:50%}.cloud:before{width:105px;height:105px;left:40px;top:-46px}.cloud:after{width:85px;height:85px;right:37px;top:-28px}.bear{position:relative;z-index:1;font-size:112px;filter:drop-shadow(0 7px 0 #e9a4b3);animation:bob 3s ease-in-out infinite}.float{position:absolute;z-index:2;background:white;border:2px solid #f5dce3;border-radius:19px;padding:10px 13px;font-size:13px;font-weight:900;box-shadow:0 4px 0 #efd6de}.f1{left:4px;top:62px;transform:rotate(-8deg)}.f2{right:0;top:55px;transform:rotate(6deg)}.f3{right:10px;bottom:26px;transform:rotate(-5deg)}.spark{position:absolute;font-size:28px;color:#f3b839}.sp1{right:22px;top:139px}.sp2{left:35px;bottom:95px;color:#ed8ba4}@keyframes bob{50%{transform:translateY(-9px) rotate(3deg)}}.info-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:3px 0 70px}.info{background:white;border:2px solid #f5dce3;border-radius:21px;padding:16px;display:flex;align-items:center;gap:12px;box-shadow:0 4px 0 #efdce0}.ico{font-size:29px}.info strong{display:block;font-size:14px}.info small{display:block;color:var(--muted);margin-top:4px;font-size:12px}section{padding:20px 0 63px}.head{display:flex;align-items:end;justify-content:space-between;margin-bottom:21px}.label{font-size:12px;color:#dd7893;font-weight:900;letter-spacing:1.2px}.head h2{font-size:30px;margin:5px 0 0}.head p{font-size:13px;color:var(--muted);margin:0 0 4px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.card{background:white;border:2px solid #f5dce3;border-radius:23px;padding:17px;box-shadow:0 5px 0 #efdce0;transition:.2s}.card:hover{transform:translateY(-4px) rotate(-.4deg)}.picture{height:125px;border-radius:17px;display:grid;place-items:center;font-size:59px;border:2px dashed #ffffffaa}.bg1{background:#ffe1e9}.bg2{background:#dff5eb}.bg3{background:#fff0c9}.card h3{font-size:17px;margin:14px 0 6px}.card p{font-size:13px;line-height:1.7;color:var(--muted);margin:0}.chip{display:inline-block;margin-top:12px;background:#fff2f5;padding:6px 10px;border-radius:99px;font-size:11px;font-weight:800;color:#c76c86}.diary{background:#e9e1ff;border:3px solid white;border-radius:28px;padding:27px 30px;display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;box-shadow:0 5px 0 #d2c5f1}.diary h2{font-size:27px;margin:6px 0 8px}.diary p{color:#716587;font-size:14px;line-height:1.8;margin:0 0 15px;max-width:600px}.diary-pic{font-size:64px}.muted{color:var(--muted)}.entry-list{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.entry{background:#fff;border:2px solid #f5dce3;border-radius:22px;padding:18px;box-shadow:0 4px 0 #efdce0}.entry-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.entry time{font-size:12px;color:#bd7086;font-weight:800}.entry h3{margin:10px 0 7px}.entry p{margin:0;color:var(--muted);font-size:14px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}.delete{border:0;background:#fff0f3;color:#bb637d;border-radius:12px;padding:7px 10px;cursor:pointer}.add-form{background:white;border:2px solid #f3dce5;border-radius:23px;padding:20px;margin-bottom:17px}.add-form h3{margin:0 0 15px}.fields{display:grid;grid-template-columns:1fr 2fr;gap:12px}.add-form label,dialog label{display:grid;gap:7px;font-size:13px;font-weight:800;color:#675b78}.add-form input,.add-form textarea,dialog input{width:100%;border:2px solid #eee3e8;border-radius:13px;background:#fffdfd;padding:11px 12px;color:var(--ink);outline-color:#ddbad7}.add-form textarea{min-height:92px;resize:vertical}.add-form .fullrow{grid-column:1/-1}.form-actions{display:flex;align-items:center;gap:12px;margin-top:13px}.status{font-size:13px;color:#b64f70}.empty{padding:19px;color:var(--muted);text-align:center;background:#fff9fb;border:2px dashed #e9cbd7;border-radius:18px}footer{padding:28px 0 38px;color:#8f8295;font-size:12px;display:flex;justify-content:space-between;gap:12px}dialog{border:3px solid white;border-radius:27px;padding:25px;width:min(92vw,420px);color:var(--ink);box-shadow:0 20px 70px #40324b33}dialog::backdrop{background:#382b46a6;backdrop-filter:blur(3px)}.dialog-close{display:flex;justify-content:flex-end}.x{border:0;background:#fff1f4;border-radius:50%;width:33px;height:33px;font-size:24px;cursor:pointer;color:#795e71}.dialog-art{text-align:center;font-size:40px}.dialog h2{text-align:center;margin:2px 0 8px}.dialog>p{text-align:center;font-size:13px;line-height:1.6}.dialog form#authForm{display:grid;gap:13px}.full{width:100%;transform:none}.error{color:#bc4d69;font-size:13px;min-height:1em;margin:0}@media(max-width:720px){.wrap{padding:0 18px}header{height:67px}.brand{font-size:15px}nav{gap:5px;font-size:11px}.bubble{padding:7px 9px}.hero{grid-template-columns:1fr;padding-top:14px;gap:0}.scene{height:290px;grid-row:1}.rainbow{width:225px;height:225px;border-width:13px}.rainbow:after{inset:10px;border-width:9px}.bear{font-size:89px}.cloud{width:220px;height:58px;bottom:23px}.cloud:before{width:82px;height:82px;top:-36px}.cloud:after{width:69px;height:69px;top:-23px}.f1{top:41px}.f2{top:33px}.f3{bottom:5px}h1{font-size:54px;margin-top:19px}.hero-copy p{font-size:14px}.info-row{grid-template-columns:1fr;margin:8px 0 46px;gap:9px}.info{padding:12px 15px}.head{display:block}.head h2{font-size:26px}.head p{margin-top:8px}.grid,.entry-list{grid-template-columns:1fr}.picture{height:150px}.diary{grid-template-columns:1fr;padding:22px}.diary h2{font-size:24px}.diary-pic{display:none}.fields{grid-template-columns:1fr}.add-form .fullrow{grid-column:auto}footer{flex-direction:column}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;scroll-behavior:auto!important;transition:none!important}}
.interest-media{display:grid;gap:10px;margin-top:14px}.interest-media figure{margin:0;overflow:hidden;border-radius:15px;background:#fff8fa;border:1px solid #f2dce4}.interest-media figure img,.interest-media figure video{display:block;width:100%;max-height:360px;object-fit:contain;background:#fff8fa}.interest-media figure img{object-fit:cover}.interest-media figcaption{padding:7px 10px;font-size:12px;color:var(--muted)}.audio-item{display:grid;gap:7px;padding:10px;border-radius:14px;background:#f6f0ff}.audio-item strong{font-size:12px}.audio-item audio{width:100%;height:38px}.netease-link{display:flex;align-items:center;gap:11px;padding:12px;border-radius:15px;background:#fff2f5;border:1px solid #f3dce5}.netease-link>span:first-child{font-size:28px}.netease-link strong,.netease-link small{display:block}.netease-link strong{font-size:13px}.netease-link small{font-size:11px;color:var(--muted);margin-top:4px}.netease-link:hover{background:#ffe8ee}
.back-to-top{position:fixed;right:max(20px,calc((100vw - 1080px)/2));bottom:24px;z-index:20;width:48px;height:48px;border:3px solid white;border-radius:50%;background:#ff8eae;color:white;font-size:27px;font-weight:900;box-shadow:0 4px 0 #df6f91,0 6px 18px #60415a30;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .2s,transform .2s,visibility .2s}.back-to-top.visible{opacity:1;visibility:visible;transform:translateY(0)}.back-to-top:hover{background:#ed7195}@media(max-width:720px){.back-to-top{right:17px;bottom:18px;width:45px;height:45px}}
.bear.has-image{width:180px;height:180px;display:grid;place-items:center;font-size:0}.bear.has-image img{display:block;width:100%;height:100%;object-fit:contain;border-radius:28px}@media(max-width:720px){.bear.has-image{width:150px;height:150px}}
.diary-book{max-width:820px;margin:22px auto 8px}.diary-book-spread{padding:12px;border:2px solid #e9c9d3;border-radius:24px;background:#f4e4e2;box-shadow:0 7px 0 #dfc5c7,0 14px 28px #5a45501a;perspective:1000px}.diary-page{position:relative;display:flex;flex-direction:column;min-height:330px;padding:28px 32px 22px;border:1px solid #f0dce0;border-radius:16px;background:repeating-linear-gradient(to bottom,#fffefa 0,#fffefa 34px,#e7edf3 35px,#fffefa 36px);box-shadow:inset 9px 0 0 #fff5f1;transform-origin:left center;animation:diary-page-in .32s ease both}.diary-page:before{content:"";position:absolute;left:18px;top:0;bottom:0;width:2px;background:#f2c9d1}.diary-page-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-left:15px;color:#b56e87;font-size:13px;font-weight:900}.diary-page-heading time{color:#907d99;font-size:12px}.diary-page-content{padding:27px 14px 20px 20px;flex:1}.diary-page-content h3{margin:0 0 12px;color:#5d4b70;font-size:21px}.diary-page-content p{margin:0;color:#645a6f;font-size:15px;line-height:2.1;white-space:pre-wrap;overflow-wrap:anywhere}.diary-page-actions{display:flex;justify-content:flex-end;gap:8px;padding-left:15px}.book-empty{display:grid;place-items:center;flex:1;color:#927e96;font-size:15px;text-align:center}.book-controls{display:flex;justify-content:center;align-items:center;gap:22px;margin-top:18px}.book-controls button{border:2px solid #f1d8df;border-radius:99px;background:white;color:#765c81;padding:9px 15px;font-weight:800;cursor:pointer}.book-controls button:disabled{opacity:.42;cursor:default}.book-controls span{min-width:92px;text-align:center;color:#8c7893;font-size:13px;font-weight:800}@keyframes diary-page-in{from{opacity:.35;transform:rotateY(-12deg)}to{opacity:1;transform:rotateY(0)}}@media(max-width:720px){.diary-page{min-height:280px;padding:23px 20px 18px}.diary-page-content h3{font-size:18px}.diary-page-content p{font-size:14px}.book-controls{gap:10px}.book-controls button{padding:8px 11px;font-size:12px}}
.notebook-title{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:13px 17px;border:2px solid #f1d8e0;border-radius:19px;background:#fff9fb;box-shadow:0 4px 0 #efdce0;color:#685477}.notebook-title>span:first-child{font-size:30px;transform:rotate(-8deg)}.notebook-title strong,.notebook-title small{display:block}.notebook-title strong{font-size:18px}.notebook-title small{margin-top:4px;color:#98839b;font-size:12px}.notebook-title .title-sparkle{margin-left:auto;color:#f4bf55;font-size:27px;transform:rotate(14deg)}.diary-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 4px 12px;color:#8d7b93;font-size:12px}.diary-toolbar label{display:flex;align-items:center;gap:8px;font-weight:800}.diary-toolbar select{border:2px solid #f0d8e0;border-radius:12px;background:#fff;padding:7px 10px;color:#765c81;font-weight:800}.diary-bookmarks{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 13px;padding-left:24px}.age-bookmark{border:1px solid #efd4df;border-bottom:0;border-radius:11px 11px 0 0;background:#ffe5ec;color:#a65d78;padding:7px 12px;font-size:12px;font-weight:900;cursor:pointer;box-shadow:0 -2px 0 #fff inset}.age-bookmark:nth-child(3n+2){background:#e9e3ff;color:#776598}.age-bookmark:nth-child(3n){background:#e0f4e9;color:#56876a}.age-bookmark.active{outline:2px solid #fff;transform:translateY(-2px);box-shadow:0 3px 0 #dfc5c7}.diary-book-spread{position:relative;margin-left:15px;padding:12px 12px 12px 27px}.diary-book-spread:before{content:"";position:absolute;z-index:2;left:0;top:13px;bottom:13px;width:22px;border-radius:12px;background:repeating-radial-gradient(ellipse 5px 8px at 10px 9px,transparent 0 4px,#cc8ba1 4.5px 6px,transparent 6.5px 18px);filter:drop-shadow(1px 1px 0 #fff)}.diary-page:after{content:"✦";position:absolute;right:22px;top:14px;color:#f3c65c;font-size:22px;transform:rotate(12deg)}.diary-page-meta{display:flex;align-items:center;gap:12px}.diary-page-meta b{padding:5px 9px;border-radius:99px;background:#fff0cf;color:#b58334;font-size:11px}.diary-page-meta time{color:#907d99;font-size:12px}#authForm label[hidden]{display:none}
@media(max-width:720px){.diary-toolbar{align-items:flex-start;flex-direction:column;gap:7px}.diary-bookmarks{padding-left:10px;gap:6px}.age-bookmark{padding:7px 9px;font-size:11px}.diary-book-spread{margin-left:7px;padding-left:24px}.notebook-title strong{font-size:16px}.notebook-title small{font-size:11px}}
