/* 拾光 · 云朵与小星星。统一主题，覆盖早期页面的独立配色。 */
:root{--green:#6687a4;--muted:#8998a4;--line:#e4edf2;--ink:#465e70;--blue:#729bbd;--pink:#d8909d;--paper:#ffffff;font-family:"Microsoft YaHei","PingFang SC","Segoe UI",sans-serif;color:var(--ink);background:#f6faff}body{background:#f6faff;color:var(--ink)}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #9abdd9;outline-offset:4px}button{transition:background .2s,transform .2s,box-shadow .2s}h1{font-family:inherit;font-size:30px;font-weight:650;letter-spacing:2px;color:#425d71}h2,h3{color:#526c7e}.subtitle{color:#899aa8;line-height:1.9}.layout{grid-template-columns:210px minmax(0,1fr);background:#f6faff}.sidebar{padding:37px 22px 26px;background:#ffffff;border-right:1px solid #e9edf0;z-index:6}.brand{font-family:inherit;font-size:27px;letter-spacing:3px;font-weight:650;color:#5b7b96;white-space:nowrap}.brand-heart{font-family:Georgia,serif;color:#dba1ac;font-weight:400;font-size:33px;vertical-align:-1px}.brand small{font-size:8px;letter-spacing:2.6px;color:#a5b3bc;font-weight:400;margin-top:6px;margin-left:10px}.nav{gap:13px;margin-top:48px}.nav button{display:flex;align-items:center;gap:13px;padding:14px 16px;border-radius:17px;background:transparent;color:#8c9ca8;font-size:13px;position:relative;min-height:50px}.nav button:hover{background:#f0f6fb;color:#6a8eaa}.nav button.active{background:#e6f1fb;color:#688fae;font-weight:600;box-shadow:inset 0 0 0 1px #e1edf6}.nav-icon{width:23px;height:23px;flex-shrink:0}.nav-short{display:none}.nav-active-dot{width:5px;height:5px;background:#d59ca7;border-radius:50%;margin-left:auto}.side-bottom{color:#b0bdc4;font-size:10px;text-align:center;line-height:2}.sidebar-friends{width:155px;max-width:100%;display:block;margin:0 auto 14px;border-radius:18px;mix-blend-mode:multiply;opacity:.85}.private{color:#8ca3b5;font-size:11px;letter-spacing:1px}.main{padding:29px clamp(24px,4.5vw,72px) 55px;max-width:1450px;min-width:0}.topbar{border-bottom:1px dashed #dce8ef;padding-bottom:20px;color:#a1b1bb;font-size:10px;letter-spacing:1px}.topbar-crumb>span{color:#a9b7c1}.user{gap:10px}.user>.plain{font-size:10px;color:#a3b0b8}.eyebrow{font-size:9px;color:#a4b5c1;letter-spacing:2.5px}.heading{margin:31px 0 26px;gap:20px}h1{margin:10px 0}.primary{background:#7b9fbd;border-radius:25px;padding:12px 22px;font-size:12px;box-shadow:0 4px 12px #779aba17;color:#fff;border:1px solid #7399b7}.primary:hover{background:#698ead;transform:translateY(-1px)}.secondary{background:#ffffff;border:1px solid #e0eaf1;border-radius:20px;color:#7896ab;padding:10px 17px;font-size:12px}.secondary:hover{background:#edf5fb}.plain{color:#7896ab}.hero,.hero:has(.relationship-breakdown){min-height:335px;border-radius:27px;background:#e8f3fc;border:1px solid #e0eef8;padding:30px 34px;isolation:isolate;overflow:hidden}.hero-copy,.hero:has(.relationship-breakdown) .hero-copy{width:60%;z-index:2}.hero-title{font-family:inherit;font-size:24px;letter-spacing:2px;color:#526e84;margin:16px 0 13px;font-weight:500}.mini-label{font-size:9px;color:#91adc2;letter-spacing:2px}.hero-count{font-family:Georgia,serif;font-size:62px;line-height:1.1;color:#668ba9}.hero-count small{font-size:11px;color:#92a9b9;margin-left:10px}.relationship-breakdown{gap:6px 9px;margin-top:17px;color:#88a0b2;font-size:10px}.relationship-breakdown>span:not(.period-plus){padding:6px 10px;background:#ffffffa6;border:1px solid #fff;border-radius:12px}.relationship-breakdown b{font-size:15px;color:#7896ad}.period-plus{color:#caa0ab}.hero .relationship-hero-note{color:#8ba3b4;font-size:10px;line-height:1.9;margin-top:13px}.relationship-hero-edit{font-size:10px;color:#789bb6;padding:7px 0}.hero p{color:#9bafbd;font-size:10px;line-height:1.9}.hero-art{position:absolute;top:auto;bottom:32px;right:17px;width:43%;height:235px;background:none;z-index:1;display:flex;align-items:flex-end;justify-content:center}.hero-art>img{width:100%;height:auto;max-height:210px;object-fit:contain;mix-blend-mode:multiply;border-radius:22px}.hero-sticker{position:absolute;top:-2px;right:20px;background:#ffffff;border:1px solid #d7e6f3;color:#7e9cb4;font-size:11px;padding:9px 14px;border-radius:15px 15px 3px 15px;transform:rotate(5deg);box-shadow:0 3px 10px #97adbf0b;white-space:nowrap}.stats{gap:15px;margin:20px 0 33px}.stat{border:1px solid #e5edf3;border-radius:19px;background:#ffffff;padding:20px 22px}.stat:nth-child(2){background:#fff8f7;border-color:#f5e8e9}.stat:nth-child(3){background:#ffffff;border-color:#dde6ee}.stat strong{font-size:29px;color:#7f9ab1}.stat:nth-child(2) strong{color:#c294a0}.stat:nth-child(3) strong{color:#7598b5}.stat span{color:#a5b0b7;font-size:10px}.section-head h2{font-size:17px;font-weight:600;letter-spacing:1px}.section-head .plain{font-size:11px}.card{border-radius:20px;border-color:#e8edf0;background:#ffffff;box-shadow:0 3px 14px #6a829307}.cover{height:180px;background:#eaf3fa}.card-body{padding:20px}.card h3{font-size:16px;font-weight:500}.paper-art{font-size:32px;color:#acc0ce;background:#edf5fc;position:relative}.paper-art:after{content:'♡';color:#e6b9c2;position:absolute;right:25px;bottom:15px;font-size:29px;transform:rotate(13deg)}.meta{color:#a4b1ba;font-size:10px}.excerpt{color:#8c9ba7;font-size:12px;line-height:1.9}.tag{background:#edf5fb;color:#8ca6b9;border-radius:8px;font-size:9px}.empty{border-color:#dbe7ef;background:#ffffff;border-radius:20px;color:#a0b1bc}.empty h3{color:#839caf;font-size:17px}.empty p{color:#a4b1ba;font-size:12px}.empty-icon{color:#d8a8b4}.anniversary{background:#fffaf9;border:1px solid #f2e5e7;border-radius:22px;padding:27px 25px}.anniversary:nth-child(2n){background:#edf5fc;border-color:#e0ebf4}.anniversary:nth-child(3n){background:#eff5fa;border-color:#d4e3f0}.anniversary h3{font-family:inherit;font-size:17px;color:#89797e}.anniversary strong{font-size:43px;color:#bb8e9b}.anniversary strong small{font-size:12px}.anniversary small{color:#aca4a7}.anniversary-edit{color:#b59aa5;font-size:10px}.panel{border-color:#e6edf3;background:#ffffff;border-radius:22px;padding:27px}.panel h2{font-size:18px}.panel p{font-size:12px;color:#9baab4}.field{color:#8ca0af;font-size:12px;gap:9px}input,textarea{border-color:#e0e9f0;background:#fbfdff;border-radius:13px;color:#5c7385;padding:12px}input::placeholder,textarea::placeholder{color:#b0bdc8}input[type=checkbox]{accent-color:#86a8c4}.file-label{background:#f0f7fd;border-color:#cddfea;border-radius:16px;color:#8ba6b9}.notice{background:#ecf5fc;color:#8ba1b2;border-radius:16px}.notice.warning{background:#edf4fa;color:#7093b0}.error,.danger{color:#c48e9d}.footer{font-size:10px;letter-spacing:2px;color:#b2c1ca;margin-top:45px}dialog{background:#ffffff;border:1px solid #e0eaf1;border-radius:25px;box-shadow:0 20px 80px #5f819334;padding:27px}dialog::backdrop{background:#4e6a7c55;backdrop-filter:blur(5px)}dialog .dialog-title h2{font-size:19px}.member-avatar{background:#e4eff8;color:#7a9bb5;border-color:#d7e5ef}.member-avatar.avatar-tone-1{background:#f9e5e8;color:#bc8e9e;border-color:#f0d9df}#toast{background:#779ab5;border:1px solid #95b1c7;border-radius:17px;box-shadow:0 5px 20px #718fa626;font-size:12px}.login{background:#ffffff}.login-art{background:#e8f3fc;position:relative;overflow:hidden}.login-art:after{content:'';display:block;width:80%;height:150px;background:url('/assets/star-friends.jpg') center/contain no-repeat;margin-top:35px;mix-blend-mode:multiply}.login-art h1{font-family:inherit;font-size:35px;line-height:1.8;letter-spacing:2px}.login-box h2{font-family:inherit;font-size:25px;line-height:1.7;color:#658299}.login-box .primary{margin-bottom:19px}.timeline-page{background:#eaf5fd}.timeline-page .sidebar{background:#ffffff;border-color:#e9edf0}.timeline-page .nav button.active{background:#e6f1fb;color:#688fae}.timeline-page .topbar{border-color:#d8e7f1}.timeline-page .heading .primary{background:#7b9fbd;color:#fff;border-radius:25px}.timeline-page .main{background:#eaf5fd;max-width:1450px}.timeline-top{padding-top:8px}.timeline-caption{color:#a0b3c0}.timeline-caption .timeline-cat{color:#8fa9ba}.timeline-day{color:#9eb1c0;font-family:inherit;font-size:13px}.day-bubble{background:#ffffff;color:#c4ced0;box-shadow:0 2px 12px #8babc012}.day-heart{color:#d6a1af}.timeline-day small{color:#a5b5c0}.timeline-day.selected .day-bubble{outline-color:#a1bfd4}.timeline-sheet{border-radius:32px 32px 0 0;background:#ffffff}.timeline-tools{border-color:#edf1f3}.timeline-search input,.timeline-month-filter input{background:#ffffff;color:#849aaa}.timeline-month-filter input{border-color:#e6edf2}.timeline-tools .plain{color:#90a9bb}.timeline-filter-note{color:#acbbc4}.timeline-month-title{color:#9dafbd}.timeline-list,.timeline-empty{border-left-color:#dce8ef}.timeline-stamp,.empty-stamp{color:#a6b7c3}.stamp-repeat{color:#bac7d0}.timeline-dot{border-color:#bbd1df;background:#ffffff}.diary-paper{background:#ffffff;border-color:#e5eff7;border-radius:17px;box-shadow:0 4px 17px #8da3b211}.diary-content h3{color:#6d8596}.diary-lines{color:#7a8f9d;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent calc(2.05em - 1px),#cfd8df8c calc(2.05em - 1px),#cfd8df8c 2.05em)}.diary-meta,.diary-meta span{color:#a4b4bf}.diary-paper .timeline-cat{color:#a2b7c4}.timeline-end{color:#b8c9d4}.timeline-write{background:#8caec7;color:white;border:4px solid #ffffff;width:65px;height:65px;box-shadow:0 5px 18px #688a9e24}.timeline-page .footer{background:#ffffff;color:#b6c5ce}.photo-feed{max-width:860px}.photo-post,.photo-post:first-child{background:#ffffff;border:1px solid #e5edf3;border-radius:22px;padding:25px;margin-bottom:24px;box-shadow:0 4px 15px #7393aa05}.photo-post:last-child{border:1px solid #e5edf3}.post-clock{background:#e4b5c0;color:#fff9f7}.post-day{font-family:Georgia,serif;font-weight:400;color:#7a99b1;font-size:29px}.post-time{color:#adbbc5}.photo-post-caption{color:#8b9da9;font-size:13px}.photo-post-title{font-family:inherit;color:#7a91a3;font-size:17px}.photo-post-grid>a{border-radius:11px;background:#edf4fa}.photo-post-footer{color:#a8b7c1}.photo-post-author{color:#9bafbe}.relationship-total strong{color:#8aa6bd}.relationship-total>span,.relationship-period small{color:#a5b7c3}.relationship-period{border-color:#eaf0f4}.relationship-period>strong{color:#8ba6bc}.period-index{color:#c3d3df}.relationship-anniversary{border-color:#e9eff4}.relationship-anniversary h3{color:#b798a8;font-family:inherit}.period-editor-row{border-color:#e3edf3;background:#f7fbfe;border-radius:18px}.period-editor-row legend{color:#91acbf}.relationship-panel .section-head{align-items:center}.library-intro{background:#eaf3fb;border:1px solid #e0ebf4;border-radius:25px}.library-intro h2{font-family:inherit;color:#6e8da6;font-size:27px;font-weight:500;letter-spacing:2px}.library-intro p{color:#a0b1bd}.library-intro-stamp{color:#a9bece;border-color:#bdcfdc;background:#f8fbfe4d}.year-crate-card{border-color:#e5edf3;border-radius:23px;background:#ffffff;box-shadow:0 4px 17px #8da6b607}.year-crate-caption h2{font-family:inherit;font-size:17px;color:#7d99ad}.year-crate-card>p,.year-crate-caption>span{color:#a5b5bf}.library-rule{border-color:#e3edf3}.library-rule p{color:#a0b0ba}.library-rule b{color:#8ba5b8}.library-rule>span{color:#dab0bf}.month-shelf{background:#ecf3f7;border-color:#e0eaf0;border-radius:24px}.shelf-heading h2{font-family:inherit;color:#7a96ac;font-size:23px}.shelf-heading p,.library-footnote,.library-breadcrumb{color:#a0b1be}.empty-book-slot{border-color:#cfdee7;background:#f8fbfc;color:#aabcc7;border-radius:13px}.slot-number{color:#bacbd7}.month-slot.slot-current .empty-book-slot{background:#fff7f7;border-color:#ead3dc;color:#c3a3b2}.empty-book-slot small{color:#b0b6bc}.month-slot>p{color:#a4b5c1}.my-corner-profile{display:flex;align-items:center;gap:24px;background:#eaf3fb;border:1px solid #dfebf3;border-radius:25px;padding:29px 30px;margin-bottom:26px}.couple-avatars{display:flex;align-items:center;gap:9px}.couple-avatars .member-avatar{width:56px;height:56px;font-size:19px;border:3px solid #ffffff}.couple-heart{font-size:24px;color:#dca3b3}.my-corner-profile h2{font-size:20px;letter-spacing:1px;margin-top:10px;color:#7795ac}.my-corner-profile p{font-size:11px;color:#9fb1bf;margin-bottom:0}.corner-links{display:grid;gap:15px}.corner-link{display:flex;align-items:center;gap:20px;text-align:left;border:1px solid #e8edf1;border-radius:22px;padding:22px 25px;background:#ffffff;color:#7894a8}.corner-link:hover{transform:translateY(-2px);box-shadow:0 5px 18px #7996ab0b}.corner-icon{display:grid;place-items:center;border-radius:17px;width:50px;height:50px;font-size:24px;background:#eaf3fc;color:#98b1c6}.corner-rose .corner-icon{background:#fcedf0;color:#cba1af}.corner-yellow .corner-icon{background:#e6f0f8;color:#8daac1}.corner-link>span:nth-child(2){flex:1;display:grid;gap:9px}.corner-link strong{font-size:15px;font-weight:500}.corner-link small{font-size:11px;color:#a8b7c2}.corner-arrow{font-size:21px;color:#b5c6d2}.corner-art{margin:35px auto 0;text-align:center;max-width:370px}.corner-art img{width:100%;border-radius:20px;mix-blend-mode:multiply;opacity:.85}.corner-art p{font-size:10px;color:#b0c0cc;letter-spacing:1px}.book-entry-text{color:#768590}.book-entry h3{color:#728797}.book-entry-date{color:#aab8c0}.book-entry-date .plain{color:#9bb2c1}.notebook-page-header>span:first-child{color:#7b8f9b}.book-pagination>span,.reader-hint{color:#a4b4be}.contents-row{background:#eef5fa;color:#819bad;border-radius:12px}.book-entry-photos img{border-radius:9px}.connection-warning{background:#e6f0f8;color:#7797b2;border-bottom:1px solid #d0e2f1}
@media(min-width:761px) and (max-width:1050px){.layout{grid-template-columns:178px minmax(0,1fr)}.sidebar{padding:30px 14px}.brand{font-size:25px}.nav button{padding:13px 11px;gap:10px;font-size:12px}.main{padding-inline:28px}.hero,.hero:has(.relationship-breakdown){padding:28px;min-height:355px}.hero-art{width:40%;right:8px;bottom:45px;height:190px}.hero-sticker{right:8px;font-size:9px}.hero-copy,.hero:has(.relationship-breakdown) .hero-copy{width:63%}.hero-count{font-size:54px}.hero-count small{display:block;margin:8px 0 0}.hero-title{font-size:22px}.cards{gap:16px}.my-corner-profile{gap:17px;padding:25px}.couple-avatars .member-avatar{width:43px;height:43px;font-size:15px}.my-corner-profile h2{font-size:18px}}
@media(max-width:760px){:root{scroll-padding-bottom:100px}.layout{display:block}.sidebar,.timeline-page .sidebar{position:relative;top:auto;height:auto;padding:17px 20px 14px;border:0;background:#ffffff;display:block}.brand{font-size:24px;letter-spacing:2px;line-height:1}.brand-heart{font-size:28px}.brand small{display:none}.side-bottom{display:none}.nav{position:fixed;bottom:0;left:0;right:0;top:auto;z-index:20;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:0;padding:9px 9px calc(8px + env(safe-area-inset-bottom,0px));min-height:72px;background:#fffffff5;border-top:1px solid #e4edf3;border-radius:22px 22px 0 0;box-shadow:0 -5px 22px #7d9fb810;backdrop-filter:blur(14px);overflow:visible}.nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:7px 2px 6px;min-height:52px;border-radius:15px;color:#a5b7c4;font-size:10px;white-space:nowrap}.nav button.active,.timeline-page .nav button.active{background:#eaf3fb;color:#709aba;box-shadow:none}.nav-long{display:none}.nav-short{display:block;letter-spacing:.5px}.nav-icon{width:22px;height:22px}.nav-active-dot{position:absolute;top:6px;right:calc(50% - 18px);width:4px;height:4px;background:#d9a6b5;margin:0}.main{padding:17px 18px calc(110px + env(safe-area-inset-bottom,0px));max-width:100%;margin:0}.topbar{padding-bottom:16px;font-size:8px;letter-spacing:.5px}.topbar-crumb>span{display:none}.user{gap:7px}.user>span:first-child{font-size:8px}.user>.plain{font-size:9px;padding-right:0}.member-avatar.top-avatar{width:25px;height:25px;font-size:9px}.heading{margin:24px 0 22px;gap:10px}.heading h1{font-size:25px;letter-spacing:1px}.eyebrow{font-size:8px;letter-spacing:1.7px}.heading .subtitle{font-size:11px}.primary{padding:10px 14px;font-size:11px;border-radius:23px}.secondary{padding:9px 13px;font-size:11px}.hero,.hero:has(.relationship-breakdown){min-height:0;padding:25px 24px 145px;border-radius:23px}.hero-copy,.hero:has(.relationship-breakdown) .hero-copy{width:100%}.hero-title{font-size:21px;letter-spacing:1px;margin-top:13px}.hero-count{font-size:52px}.hero-count small{display:inline;font-size:10px;margin-left:9px}.relationship-breakdown{font-size:9px;gap:4px 6px;margin-top:13px}.relationship-breakdown>span:not(.period-plus){padding:5px 8px}.relationship-breakdown b{font-size:13px}.hero .relationship-hero-note{font-size:9px;margin-top:12px}.relationship-hero-edit{font-size:9px;padding:7px 0}.hero p{font-size:9px}.hero-art{width:230px;height:132px;right:13px;bottom:12px;top:auto;align-items:flex-end}.hero-art>img{max-height:125px;border-radius:18px}.hero-sticker{font-size:9px;top:10px;right:200px;max-width:80px;white-space:normal;text-align:center;line-height:1.7;padding:6px 8px;transform:rotate(-6deg);border-radius:12px}.stats{gap:8px;margin-top:13px;margin-bottom:28px}.stat{padding:16px 12px;border-radius:16px}.stat strong{font-size:25px;margin-bottom:8px}.stat span{font-size:9px}.section-head h2{font-size:16px}.section-head .plain{font-size:10px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card{border-radius:17px}.cover{height:145px}.card-body{padding:14px}.card h3{font-size:14px}.meta{font-size:9px;line-height:1.7}.excerpt{font-size:11px;min-height:40px}.tag{font-size:8px}.anniversary{padding:23px 17px;border-radius:18px}.anniversary strong{font-size:35px}.anniversary h3{font-size:15px}.anniversary>.meta{font-size:9px}.anniversary>small{font-size:10px}.anniversary-edit{right:8px;top:9px;font-size:9px}.panel{padding:22px 18px;border-radius:20px}.panel h2{font-size:17px}.panel p{font-size:11px}.field{font-size:11px}.footer{font-size:9px;letter-spacing:1px;margin-top:35px}.timeline-page .main{padding:17px 0 calc(105px + env(safe-area-inset-bottom,0px));background:#eaf5fd}.timeline-page .main>.topbar,.timeline-page .heading{margin-left:20px;margin-right:20px}.timeline-page .heading{margin-top:24px;margin-bottom:20px}.timeline-page .heading h1{font-size:25px}.timeline-page .heading .primary{font-size:11px;padding:10px 14px}.timeline-page .heading .subtitle{font-size:11px}.timeline-top{padding:0 18px 24px}.timeline-sheet{padding:21px 13px 28px;border-radius:27px 27px 0 0}.timeline-write{width:57px;height:57px;bottom:calc(94px + env(safe-area-inset-bottom,0px));right:19px;z-index:10}.timeline-list,.timeline-empty{margin-left:54px}.timeline-row,.timeline-empty{padding-left:15px}.timeline-row{padding-bottom:24px}.timeline-stamp{right:calc(100% + 11px)}.stamp-day{font-size:15px}.stamp-clock{font-size:12px}.diary-paper{padding:20px 16px;border-radius:16px;min-height:185px}.diary-content{width:calc(100% - 35px)}.diary-content h3{font-size:17px}.diary-lines{font-size:16px}.timeline-cat{width:51px;height:51px}.timeline-day{font-size:12px;gap:9px}.day-bubble{width:40px;height:40px}.timeline-day small{font-size:8px}.timeline-caption{font-size:9px}.timeline-caption>span:first-child{font-size:8px}.timeline-caption>span:last-child{font-size:9px}.timeline-week{gap:5px}.timeline-filter-note{font-size:9px}.timeline-tools{flex-wrap:wrap;gap:8px}.timeline-search{flex-basis:100%;border-bottom:1px solid #edf2f5}.timeline-month-filter{flex:1}.timeline-page .footer{padding:16px 10px}.photo-post,.photo-post:first-child,.photo-post:last-child{padding:19px 16px;margin-bottom:17px;border-radius:20px}.post-day{font-size:25px}.photo-post-grid{gap:4px}.photo-post-grid>a{border-radius:7px}.photo-post-caption{font-size:12px;line-height:1.9}.photo-post-title{font-size:15px}.photo-post-footer{font-size:8px;gap:8px}.photo-post-footer .plain{font-size:9px;padding-right:0}.my-corner-profile{padding:22px 18px;gap:17px;border-radius:22px;flex-direction:column;text-align:center}.couple-avatars .member-avatar{width:55px;height:55px}.my-corner-profile h2{font-size:19px;margin-top:11px}.my-corner-profile p{font-size:10px}.corner-link{padding:19px 17px;gap:15px;border-radius:20px}.corner-icon{width:43px;height:43px;border-radius:14px;font-size:21px}.corner-link strong{font-size:14px}.corner-link small{font-size:10px;line-height:1.7}.corner-art{max-width:280px;margin-top:30px}.corner-art p{font-size:9px}.library-intro{padding:25px 22px;border-radius:22px}.library-intro h2{font-size:23px;line-height:1.8}.library-intro p{font-size:10px}.year-crates{grid-template-columns:1fr}.year-crate-card{padding:25px 23px;border-radius:21px}.year-crate-caption h2{font-size:17px}.month-shelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 21px;padding:25px 19px;border-radius:20px}.month-book,.empty-book-slot{height:195px}.shelf-heading h2{font-size:21px}.book-pagination{gap:13px}.book-pagination .secondary{font-size:10px}.reader-toolbar{font-size:10px;flex-wrap:wrap;gap:12px}.reader-toolbar>span{order:3;width:100%;text-align:center}.reader-toolbar>.plain{font-size:11px}.notebook-binding{width:15px}.notebook-page{padding:20px 16px}.book-entry-text{font-size:16px;line-height:2}.book-entry-photos{grid-template-columns:1fr}.profile-editor{grid-template-columns:54px minmax(0,1fr);gap:15px}.login-art{padding:31px 26px}.login-art h1{font-size:27px;margin-top:24px}.login-art:after{height:90px;width:100%;margin-top:15px}.login-art .notice{margin-bottom:0}.login-box{padding:10px 0 40px}.login-box h2{font-size:23px}.login{display:block}.login-box .primary{font-size:12px}.book-contents .contents-row{gap:8px}.book-contents .contents-row>span{font-size:11px}.book-contents .contents-row>small{font-size:9px}#toast{bottom:calc(90px + env(safe-area-inset-bottom,0px));font-size:11px;max-width:90vw;white-space:normal;line-height:1.8}dialog{padding:22px 20px;border-radius:23px;max-height:85dvh;width:calc(100% - 26px)}.relationship-panel .section-head{align-items:flex-start}.relationship-period{gap:10px}.relationship-period h3{font-size:13px}.relationship-period>strong{font-size:24px}.connection-warning{font-size:11px;padding:10px 14px}}
@media(max-width:360px){.hero-sticker{right:185px;font-size:8px}.hero-art{width:210px}.hero-count small{display:block;margin:8px 0}.heading h1{font-size:23px}.heading .primary{padding:10px 11px}.cards{gap:9px}.card-body{padding:11px}.post-time{font-size:8px}.main{padding-inline:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* 文字保持清楚，浅色留给背景和装饰。 */
.subtitle{color:#7c909f}.hero p,.hero .relationship-hero-note{color:#7e98ac}.hero-count small{color:#839eb2}.stat span{color:#879aa7}.meta{color:#8a9eac}.excerpt{color:#7a8f9e}.photo-post-caption{color:#718b9f}.post-time{color:#8ba0b1}.panel p{color:#7c93a3}.corner-link small,.my-corner-profile p{color:#849bad}.diary-lines{color:#6c8598}.diary-meta,.diary-meta span{color:#8c9fac}.timeline-filter-note{color:#90a5b4}.shelf-heading p,.library-footnote,.library-breadcrumb{color:#879eae}.hero-eyebrow{display:flex;align-items:center;justify-content:space-between;gap:12px}.mini-couple{display:flex;align-items:center;gap:5px;flex-shrink:0}.mini-couple .member-avatar{width:26px;height:26px;font-size:9px;border:2px solid #ffffff}.mini-couple>span.couple-heart{font-size:17px;color:#d6a4b2}.hero-art img{border-radius:22px}.brand-heart{display:inline-block}
@media(max-width:760px){.hero,.hero:has(.relationship-breakdown){padding-bottom:132px}.hero-eyebrow{justify-content:flex-start;gap:16px}.mini-couple .member-avatar{width:23px;height:23px;font-size:8px}.mini-couple>span.couple-heart{font-size:15px}.hero-sticker{font-size:9px;right:188px;top:14px;max-width:85px;white-space:normal;line-height:1.7;transform:rotate(-6deg)}.hero-art{width:218px;height:120px;bottom:12px}.hero-art>img{max-height:117px}.hero-art:has(img){background:none}.subtitle{font-size:11px}.my-corner-profile p{font-size:11px}.corner-link small{font-size:11px}}
@media(max-width:760px){.hero-sticker{width:113px;max-width:none;right:150px;top:0;white-space:nowrap;padding:7px 9px;line-height:1.5;transform:rotate(-4deg)}}
/* 时光轴彻底移除旧黄色，包括日记纸与日期气泡。 */
.timeline-page,.timeline-page .main{background:#edf7ff}
.timeline-page .sidebar{background:#fff}
.timeline-page .timeline-sheet,.timeline-page .footer{background:#fff}
.timeline-page .day-bubble{background:#f8fcff;color:#aec7da;border:1px solid #e3eff8}
.timeline-page .diary-paper,.timeline-page .empty-paper{background:#fff;border-color:#e0edf7;box-shadow:0 4px 18px #86a9c010}
.timeline-page .diary-lines{background-image:repeating-linear-gradient(to bottom,transparent 0,transparent calc(2.05em - 1px),#d9e9f38c calc(2.05em - 1px),#d9e9f38c 2.05em)}
.timeline-page .timeline-search input,.timeline-page .timeline-month-filter input{background:#fff}
.timeline-page .timeline-dot{background:#fff;border-color:#b6d1e3}
.brand{font-size:18px;letter-spacing:.6px;display:flex;flex-wrap:wrap;align-items:center;gap:4px;white-space:normal;line-height:1.5}
.brand .brand-heart{font-size:25px;line-height:1}
.brand small{width:100%;margin:1px 0 0 27px;font-size:7px;letter-spacing:1.8px}
.journey-art{width:100%;height:100%;position:relative;display:flex;align-items:center;justify-content:center}
.journey-art>img{position:absolute;object-fit:contain;filter:saturate(.72);height:auto;mix-blend-mode:normal}
.journey-couple{width:150px;top:32px;left:calc(50% - 75px);transform:rotate(-4deg);z-index:2}
.journey-case{width:56px;left:18%;bottom:24px;transform:rotate(-14deg);z-index:3}
.journey-letter{width:55px;right:8%;top:32px;transform:rotate(15deg);z-index:3}
.journey-art-caption{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:10px;letter-spacing:1px;color:#8ba8bc}
.journey-cloud{position:absolute;width:170px;height:120px;border-radius:50%;background:#ffffffb0;transform:rotate(-9deg);left:calc(50% - 85px);top:62px}
.journey-cloud.cloud-two{width:200px;height:90px;left:calc(50% - 100px);top:103px;transform:rotate(9deg);background:#f9fcffa0}
.journey-spark{position:absolute;font:26px Georgia,serif;color:#d9adba;z-index:4}.spark-one{left:12%;top:35px;color:#a7c4d9}.spark-two{right:19%;bottom:33px;font-size:20px}
.hero-art .hero-sticker{top:4px;right:21px;font-size:10px}
.art-credit{font-size:8px;color:#9bafbd;line-height:1.8}.art-credit a{text-decoration:underline}
@media(max-width:1050px) and (min-width:761px){.brand{font-size:16px;letter-spacing:0}.brand .brand-heart{font-size:21px}.journey-couple{width:125px;top:35px;left:calc(50% - 62px)}.journey-case{width:44px;bottom:15px;left:6%}.journey-letter{width:43px;top:40px;right:0}.journey-art-caption{font-size:9px;bottom:-8px}}
@media(max-width:760px){.brand{font-size:21px;letter-spacing:1px;flex-wrap:nowrap}.brand .brand-heart{font-size:26px}.brand small{display:none}.journey-couple{width:95px;top:3px;left:calc(50% - 47px)}.journey-case{width:35px;left:8%;bottom:12px}.journey-letter{width:35px;right:1%;top:6px}.journey-art-caption{bottom:-5px;font-size:8px}.journey-cloud{width:145px;height:82px;left:calc(50% - 72px);top:23px}.journey-cloud.cloud-two{width:165px;height:60px;left:calc(50% - 82px);top:50px}.spark-one{left:10%;top:0;font-size:18px}.spark-two{right:15%;bottom:13px;font-size:16px}.hero-art .hero-sticker{top:0;right:156px;font-size:8px;width:110px}}
/* 首页当月日历 */
.home-calendar{background:#ffffff;border:1px solid #e1edf5;border-radius:25px;padding:27px 28px;margin-top:28px;box-shadow:0 5px 24px #83a2b507}.calendar-heading{display:flex;justify-content:space-between;gap:18px;align-items:center}.calendar-heading h2{font-family:inherit;font-size:23px;font-weight:500;letter-spacing:1px;margin:10px 0 7px;color:#6f8da4}.calendar-heading h2 strong{font-family:Georgia,serif;font-size:29px;font-weight:400}.calendar-heading p{font-size:11px;color:#9aafbd;margin:0}.calendar-heading .secondary{font-size:10px;padding:8px 13px}.calendar-legend{display:flex;flex-wrap:wrap;gap:12px 18px;margin:21px 0;color:#8fa5b5;font-size:10px}.calendar-legend>span{display:flex;align-items:center;gap:6px}.calendar-legend i{width:6px;height:6px;border-radius:50%;display:block}.legend-anniversary{background:#dca2b4}.legend-festival{background:#8eb9d6}.day-off-badge,.day-work-badge{font:9px/1.5 "Microsoft YaHei",sans-serif;border-radius:4px;padding:1px 3px;font-weight:400;background:#e6edf3;color:#8097a9}.day-work-badge{background:#e7f0f8;color:#80a0bb}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;color:#9bb1bf;font-size:11px;background:#f2f8fc;border-radius:10px;padding:11px 0;margin-bottom:9px}.calendar-weekdays>span:nth-last-child(-n+2){color:#c9a5b3}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.calendar-day{position:relative;min-width:0;min-height:99px;border:1px solid #edf2f5;border-radius:12px;background:#fff;padding:10px 9px;text-align:left;display:flex;flex-direction:column;color:#8099ab;transition:background .15s,border-color .15s}.calendar-day:hover{background:#f2f8fd;border-color:#d5e5f2}.calendar-day.is-weekend{background:#fbfcfe}.calendar-day.is-off{background:#f5f8fb;border-color:#e6ecf1}.calendar-day.is-work{background:#ffffff;border-color:#ddeaf4}.calendar-day.is-selected{border-color:#b2cfe3;box-shadow:0 0 0 1px #c4dded;background:#edf6fd}.calendar-day.is-today .calendar-number{background:#90b1ca;color:white;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;margin:-3px 0 -3px -3px}.calendar-day-top{display:flex;justify-content:space-between;align-items:center;gap:3px}.calendar-number{font-family:Georgia,serif;font-size:18px}.calendar-day-events{display:flex;flex-direction:column;gap:4px;margin-top:10px;min-width:0}.calendar-event{font-size:9px;color:#8fabbf;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.7;max-width:100%}.calendar-event.event-anniversary{color:#c58fa2}.calendar-today-label{font-size:8px;letter-spacing:1px;color:#92b1c8;margin-top:auto;padding-top:5px}.calendar-blank{border-radius:12px;background:#fafcfd55;min-height:99px}.calendar-day-detail{margin-top:20px;padding:17px 20px;background:#f4f9fd;border:1px solid #e7f0f6;border-radius:15px;display:flex;gap:22px;align-items:center}.calendar-day-detail>div:first-child{display:flex;flex-direction:column;gap:6px;white-space:nowrap}.calendar-day-detail strong{font-size:13px;font-weight:500;color:#7998b0}.calendar-day-detail small{font-size:9px;color:#a3b6c4}.calendar-detail-events{display:flex;flex-wrap:wrap;gap:7px}.detail-event{font-size:11px;border-radius:9px;padding:6px 9px;background:#e8f2fa;color:#89a9bf;line-height:1.6;overflow-wrap:anywhere}.detail-event.event-anniversary{background:#fbedf1;color:#bf8fa2}.detail-event.event-off{background:#e9eff3;color:#8397a7}.detail-event.event-work{background:#e9f1f8;color:#7e9eb9}.calendar-no-event{color:#a0b3c1;font-size:11px}.calendar-source{display:flex;flex-direction:column;gap:5px;font-size:9px;line-height:1.9;color:#a6b7c4;margin-top:18px}.calendar-source a{color:#8ca9be;text-decoration:underline;text-underline-offset:3px}.calendar-source>span{color:#b0bfca}
@media(max-width:760px){.home-calendar{padding:20px 13px;border-radius:21px;margin-top:24px}.calendar-heading{padding-inline:4px;gap:10px}.calendar-heading h2{font-size:19px;letter-spacing:.5px}.calendar-heading h2 strong{font-size:25px}.calendar-heading p{font-size:10px}.calendar-heading .secondary{font-size:9px;padding:8px 10px}.calendar-legend{font-size:8px;gap:9px 12px;margin:18px 4px}.calendar-legend>span{gap:4px}.calendar-weekdays{font-size:10px;padding:9px 0;margin-bottom:6px}.calendar-grid{gap:4px}.calendar-day{min-height:75px;padding:8px 4px;border-radius:9px}.calendar-blank{min-height:75px;border-radius:9px}.calendar-number{font-size:15px}.day-off-badge,.day-work-badge{font-size:7px;padding:0 2px;border-radius:3px}.calendar-day.is-today .calendar-number{width:21px;height:21px;margin:-2px 0 -2px -1px}.calendar-day-events{margin-top:8px;gap:3px}.calendar-event{font-size:8px;line-height:1.6;letter-spacing:0}.calendar-today-label{font-size:7px;padding-top:3px}.calendar-day-detail{padding:14px 12px;gap:13px;align-items:flex-start}.calendar-day-detail strong{font-size:12px}.calendar-day-detail small{font-size:8px}.detail-event{font-size:10px;padding:5px 7px}.calendar-no-event{font-size:10px}.calendar-source{font-size:8px;padding:0 3px}.calendar-source>span{font-size:8px}}
@media(max-width:360px){.home-calendar{padding-inline:9px}.calendar-grid{gap:3px}.calendar-day{padding-inline:3px}.calendar-number{font-size:14px}.calendar-event{font-size:7px}.calendar-day-top{gap:1px}.calendar-heading h2{font-size:18px}}
/* 首页插画与文字并排，去掉原先为底部装饰预留的高度。 */
.hero,.hero:has(.relationship-breakdown){display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,35%);align-items:center;gap:24px;min-height:0;padding:22px 32px}
.hero .hero-copy,.hero:has(.relationship-breakdown) .hero-copy{width:100%;min-width:0}
.hero .couple-cutout-art{position:static;top:auto;bottom:auto;right:auto;display:block;width:100%;height:auto;margin:0;align-self:center;background:none}
.hero .couple-cutout-art>img{display:block;width:100%;height:auto;max-height:255px;object-fit:contain;mix-blend-mode:normal;border-radius:0;filter:none;animation:none}
.hero .hero-title{margin-top:13px;margin-bottom:10px}
.hero .relationship-breakdown{margin-top:13px}
.hero .relationship-hero-note{margin-top:10px}
.hero .hero-copy>p:last-child{margin-bottom:0;margin-top:9px}
@media(min-width:761px) and (max-width:1050px){.hero,.hero:has(.relationship-breakdown){grid-template-columns:minmax(0,1fr) minmax(140px,34%);padding:22px 26px;gap:14px}.hero .couple-cutout-art>img{max-height:225px}}
@media(max-width:760px){.hero,.hero:has(.relationship-breakdown){grid-template-columns:minmax(0,1fr) minmax(100px,34%);gap:11px;padding:21px 19px;min-height:0}.hero .couple-cutout-art{align-self:start;margin-top:44px}.hero .couple-cutout-art>img{max-height:190px}.hero .hero-eyebrow{gap:7px;flex-wrap:wrap}.hero .mini-label{font-size:7px;letter-spacing:1px}.hero .mini-couple .member-avatar{width:20px;height:20px;font-size:7px}.hero .hero-title{font-size:19px;letter-spacing:.5px}.hero .hero-count{font-size:45px}.hero .hero-count small{display:block;margin:7px 0 0;font-size:9px}.hero .relationship-breakdown{gap:4px;margin-top:12px;font-size:8px}.hero .relationship-breakdown>span:not(.period-plus){padding:4px 6px}.hero .relationship-breakdown b{font-size:12px}.hero .relationship-hero-note{font-size:9px;line-height:1.8}.hero .relationship-hero-edit{font-size:8px}.hero .hero-copy>p:last-child{font-size:8px;line-height:1.8}}
@media(max-width:360px){.hero,.hero:has(.relationship-breakdown){padding:19px 15px;grid-template-columns:minmax(0,1fr) 94px;gap:8px}.hero .hero-title{font-size:18px}.hero .couple-cutout-art{margin-top:55px}}
@media(max-width:760px){.hero,.hero:has(.relationship-breakdown){grid-template-columns:minmax(0,1fr) minmax(130px,40%)}}
@media(max-width:360px){.hero,.hero:has(.relationship-breakdown){grid-template-columns:minmax(0,1fr) 110px}}
/* 两端的你我，和绕在日常里的红线。 */
.hero.red-thread-hero,.hero.red-thread-hero:has(.relationship-breakdown){position:relative;display:grid;grid-template-columns:minmax(100px,1fr) minmax(280px,1.7fr) minmax(100px,1fr);gap:20px;padding:35px 40px 29px;min-height:355px;align-items:center;background:linear-gradient(125deg,#e8f3fc,#edf6fd 55%,#f4f5fc)}
.red-thread-hero .red-thread{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;overflow:visible}
.red-thread path{fill:none;stroke:#d88396;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;opacity:.75;vector-effect:non-scaling-stroke}
.red-thread-hero .hero-person{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:12px;align-self:start;margin-top:39px;min-width:0}
.red-thread-hero .hero-person-left{justify-self:start}.red-thread-hero .hero-person-right{justify-self:end}
.red-thread-hero .hero-avatar{display:flex;align-items:center;justify-content:center;width:clamp(100px,11vw,158px);height:clamp(100px,11vw,158px);border:6px solid #ffffff;border-radius:50%;box-shadow:0 8px 28px #7399b525,0 0 0 1px #cfdfec;font-size:40px;overflow:hidden}
.red-thread-hero .hero-avatar.avatar-tone-1{box-shadow:0 8px 28px #b77d9920,0 0 0 1px #ecd4df}
.red-thread-hero .hero-avatar img{width:100%;height:100%;object-fit:cover}
.hero-person-name{font-size:17px;color:#63839c;font-weight:600;max-width:170px;overflow-wrap:anywhere;text-align:center}.hero-person-right .hero-person-name{color:#b38196}.hero-person-caption{font-size:10px;letter-spacing:1px;color:#95aab9}
.hero.red-thread-hero .hero-copy{width:100%;text-align:center;position:relative;z-index:1;min-width:0}
.red-thread-hero .hero-title{font-size:22px;margin:16px 0 9px}.red-thread-hero .hero-count{font-size:76px;letter-spacing:2px}.red-thread-hero .hero-count small{display:block;margin:6px 0 0;font-family:"Microsoft YaHei",sans-serif;letter-spacing:1px;font-size:11px}
.red-thread-hero .relationship-breakdown{justify-content:center;position:relative;margin-top:30px;flex-wrap:wrap}.red-thread-hero .relationship-hero-note{line-height:1.9}.red-thread-hero .hero-copy>p:last-child{margin-top:10px}
.red-thread-hero .hero-keepsake{position:absolute;bottom:12px;right:20px;width:104px;transform:rotate(7deg);opacity:.8;pointer-events:none}.hero-keepsake img{width:100%;height:auto;display:block}
@media(min-width:761px) and (max-width:1050px){.hero.red-thread-hero,.hero.red-thread-hero:has(.relationship-breakdown){padding:30px 22px;grid-template-columns:90px minmax(210px,1fr) 90px;gap:9px}.red-thread-hero .hero-avatar{width:90px;height:90px;font-size:30px}.red-thread-hero .hero-count{font-size:64px}.hero-person-caption{font-size:8px}.red-thread-hero .hero-keepsake{width:75px}}
@media(max-width:760px){.hero.red-thread-hero,.hero.red-thread-hero:has(.relationship-breakdown){grid-template-columns:62px minmax(0,1fr) 62px;gap:5px;padding:27px 13px 23px;min-height:330px;border-radius:24px}.red-thread-hero .hero-person{margin-top:26px;gap:9px}.red-thread-hero .hero-avatar{width:62px;height:62px;border-width:3px;font-size:23px}.hero-person-name{font-size:12px;max-width:65px}.hero-person-caption{display:none}.red-thread-hero .mini-label{font-size:6px;letter-spacing:1px}.red-thread-hero .hero-title{font-size:16px;margin-top:12px}.red-thread-hero .hero-count{font-size:49px;letter-spacing:0}.red-thread-hero .hero-count small{font-size:8px;margin-top:6px}.red-thread-hero .relationship-breakdown{margin-top:33px;gap:4px;font-size:8px}.red-thread-hero .relationship-breakdown b{font-size:12px}.red-thread-hero .relationship-breakdown>span:not(.period-plus){padding:4px 6px}.red-thread-hero .period-plus{width:100%;line-height:1}.red-thread-hero .relationship-hero-note{font-size:9px;margin-top:12px}.red-thread-hero .hero-copy>p:last-child{font-size:8px}.red-thread-hero .hero-keepsake{width:58px;bottom:12px;right:9px}.red-thread path{stroke-width:1.5}}
.red-thread-hero .red-thread{transform:translateY(-23px)}
@media(max-width:760px){.red-thread-hero .red-thread{transform:translateY(-54px)}}
.hero.red-thread-hero,.hero.red-thread-hero:has(.relationship-breakdown){background:#e8f3fc}
.hero-background-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.50;z-index:-1;pointer-events:none}
.background-settings-preview{position:relative;height:135px;max-width:520px;border-radius:18px;background:#e8f3fc;overflow:hidden;display:grid;place-items:center;margin:18px 0;color:#63839c;font-size:13px}
.background-settings-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.50}.background-settings-preview span{position:relative}



/* 页面直接以中文标题开始。 */
.main>.heading{margin-top:0;margin-bottom:25px}.main>.heading h1{margin-top:0}
@media(max-width:760px){.main>.heading{margin-top:0;margin-bottom:21px}}
.photo-add{font-size:33px;display:grid;place-items:center;z-index:5}.import-photo-row{display:flex;gap:15px;align-items:center;padding:12px 0;border-bottom:1px solid #e4edf2}.import-photo-row>img{width:75px;height:75px;object-fit:cover;border-radius:12px}.import-photo-row label{min-width:0;overflow-wrap:anywhere;flex:1}.import-photo-row small{font-size:10px;color:#8998a4}
.edit-photo-item{display:inline-flex;flex-direction:column;margin:8px;width:125px}.edit-photo-item img{width:125px;height:125px;object-fit:cover;border-radius:12px}.edit-photo-item button{font-size:11px;padding:6px}.wish-tree{position:relative;aspect-ratio:3/2;background:#8191ca url('/assets/wishing-tree.png') center/cover;border-radius:25px;overflow:hidden;min-height:530px}.wish-tree-caption{position:absolute;top:16px;left:20px;background:#28386199;color:#deebf5;padding:10px 17px;border-radius:20px;font-size:12px}.wish-jars{position:absolute;inset:15% 4% 4%;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:1% 2%;align-items:start}.wish-jar{background:transparent;border:0;color:#e2e7f5;min-width:0;padding:0;filter:drop-shadow(0 2px 3px #17224866)}.wish-jar:nth-child(3n){transform:translateY(24%)}.wish-jar svg{width:70%;max-height:125px;overflow:visible}.jar-string{fill:none;stroke:#39405c;stroke-width:1.8}.jar-glass{fill:#9aa6bd99;stroke:#4c5671;stroke-width:1.5}.jar-lid{fill:#707b92;stroke:#48536b;stroke-width:1.5}.jar-star{fill:#aab3c6;stroke:#69738d;stroke-width:1.2}.wish-jar.is-lit .jar-glass{fill:#d7e6f3b8;stroke:#d3e4f2}.wish-jar.is-lit .jar-star{fill:#a5bccf;stroke:#7e9fba;filter:drop-shadow(0 0 8px #becfdc)}.wish-jar.is-lit{filter:drop-shadow(0 0 12px #b2c5d599);color:#d4e5f2}.wish-jar span{display:block;font-size:10px;overflow-wrap:anywhere}.wish-history{margin-top:25px}.wish-history-item{display:flex;flex-direction:column;text-align:left;width:100%;padding:14px 4px;border-bottom:1px solid #e1eaf2;gap:8px;line-height:1.8}.wish-history-item small{color:#8b9eae}.wish-quote{padding:20px;border-radius:16px;background:#eef1fc}.memory-map{margin-top:28px}.map-search{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.map-search input{flex:1;min-width:120px}.map-search .error{width:100%;margin:0}.china-map-svg{width:100%;max-height:620px;background:#f3f9ff;border-radius:20px}.china-map-svg path{fill:#deebf7;stroke:#fff;stroke-width:1;cursor:crosshair}.china-map-svg path:hover{fill:#bcd8eb}.china-map-svg circle{fill:#e6a1ac;stroke:#fff;stroke-width:2}.china-map-svg g{cursor:pointer}.china-map-svg text{font-size:12px;fill:#5b7890;paint-order:stroke;stroke:#fff;stroke-width:3px}.place-list{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.memory-map>small{font-size:9px;color:#95a7b6}.field select{border:1px solid #dfe9f0;border-radius:12px;padding:10px;background:#fbfdff;color:#617c90;max-width:100%}
@media(max-width:760px){.nav{grid-template-columns:repeat(6,minmax(0,1fr))}.wish-tree{aspect-ratio:auto;min-height:730px;background-position:50% center}.wish-jars{inset:11% 3% 4%;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 8px}.wish-jar svg{height:69px;width:55px}.wish-jar span{font-size:9px}.wish-jar:nth-child(3n){transform:none}.wish-tree-caption{font-size:10px;left:12px;top:15px}.memory-map{padding:20px 12px}.map-search .secondary{font-size:10px;padding:8px}.nav .nav-short{font-size:9px}}
.tree-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:15px}.tree-editor-controls{background:#e9f3ff;padding:16px;border-radius:15px;margin-bottom:15px;display:flex;flex-wrap:wrap;gap:15px;color:#617f98;font-size:12px}.tree-editor-controls label{display:flex;align-items:center;gap:10px}.tree-editor-controls p{width:100%;margin:0;font-size:11px}.tree-editor-controls input{padding:0;accent-color:#7d9fc8}.tree-editor-controls select{padding:6px;border:1px solid #cadbec;border-radius:8px;background:white;color:#617f98}.tree-canvas-scroll{overflow-x:auto;border-radius:25px}.wish-tree{aspect-ratio:3/2;min-height:0;background-image:url('/assets/wishing-tree-blue.png');background-color:#649bd6;background-position:center;background-size:100% 100%}.tree-layout-svg{width:100%;height:100%;display:block;overflow:visible}#tree-svg-holder{position:absolute;inset:0}.long-jar-string{stroke:#243e64;stroke-width:1.6;fill:none;pointer-events:none}.positioned-jar{cursor:pointer;outline:none}.positioned-jar .jar-glass{fill:#a9c5dd99}.positioned-jar.is-lit .jar-glass{fill:#c5dceebf;stroke:#c5dcee}.positioned-jar.is-lit .jar-star{fill:#a2bacd;stroke:#7f9fba;filter:drop-shadow(0 0 10px #bdcedc)}.jar-position-label{font-size:11px;fill:#f6faff;paint-order:stroke;stroke:#31547e;stroke-width:2px;pointer-events:none}.positioned-jar.is-selected .jar-glass,.positioned-jar:focus .jar-glass{stroke:#fff;stroke-width:4}.wish-tree.is-editing .tree-layout-svg{touch-action:none}.wish-tree.is-editing .positioned-jar{cursor:grab}.wish-tree-caption{z-index:1;pointer-events:none}
@media(max-width:760px){.wish-tree{aspect-ratio:3/2;min-height:0;background-position:center}.wish-tree.is-editing{min-width:760px}.tree-toolbar button{font-size:10px;padding:10px 12px}.tree-editor-controls{padding:12px}.wish-tree-caption{font-size:8px;padding:7px 10px;top:8px;left:8px}.tree-editor-controls label{flex-wrap:wrap}.tree-editor-controls p{font-size:10px}}
.record-location{min-width:0;margin:10px 0}.record-location>.plain{font-size:11px;padding-left:0}.record-location .location-status{font-size:11px;line-height:1.8;margin:6px 0 12px}.location-search-results{max-height:200px;overflow:auto}.record-location .location-search-results button{font-size:12px}
/* 地图等比展示，蓝色衬底只包住紧凑的地图画布。 */
#china-memory-map{width:100%;max-width:760px;margin:12px auto 0;line-height:0}.china-map-svg{display:block;width:100%;height:auto;aspect-ratio:900/620;max-height:none;border-radius:16px}.memory-map .map-search{margin-bottom:8px}.memory-map .place-list:empty{display:none}.memory-map>small{display:block;margin-top:12px;line-height:1.8}
@media(max-width:760px){#china-memory-map{margin-top:8px}.china-map-svg{border-radius:12px}}
.china-map-svg .south-sea-frame{fill:none;stroke:#c7dbea;stroke-width:1;pointer-events:none}.china-map-svg .south-sea-label{font-size:10px;stroke:none;fill:#8daabd;pointer-events:none}
.complete-backup{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid #e1ebf2}.complete-backup form{margin-top:25px}.complete-backup .field{margin:15px 0}.complete-backup .check{margin-bottom:18px}.photo-lightbox{width:96vw;max-width:1500px;height:92dvh;max-height:96dvh;padding:15px;border-radius:20px;background:#f4f9ff}.photo-lightbox[open]{display:flex;flex-direction:column}.photo-lightbox header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:0 8px 12px;font-size:12px}.photo-lightbox header>div{display:flex;gap:12px;align-items:center}.photo-lightbox header .plain{font-size:12px}.lightbox-photo{flex:1;min-height:0;overflow:auto;display:flex;align-items:safe center;justify-content:safe center;background:#e8f1f8;border-radius:12px}.lightbox-photo img{display:block;max-width:100%;max-height:100%;object-fit:contain;flex-shrink:0}.photo-lightbox footer{text-align:center;font-size:10px;padding-top:10px;color:#8a9eae}.lightbox-prev,.lightbox-next{position:absolute;top:50%;border:1px solid #c6d9e8;background:#ffffffd9;color:#668aa7;border-radius:50%;width:42px;height:42px;font-size:29px}.lightbox-prev{left:22px}.lightbox-next{right:22px}.lightbox-prev:disabled,.lightbox-next:disabled{opacity:.25;cursor:default}@media(max-width:760px){.photo-lightbox{padding:10px;width:96vw;height:88dvh}.photo-lightbox header>div{gap:4px}.photo-lightbox header .plain{font-size:10px}.lightbox-prev,.lightbox-next{width:32px;height:32px;font-size:22px}.lightbox-prev{left:13px}.lightbox-next{right:13px}}
.complete-backup h2:not(:first-child){margin-top:26px}.complete-backup>a.secondary{display:inline-block;margin-top:5px}
.management-actions{margin:20px 0;flex-wrap:wrap}.management-actions+.subtitle{font-size:11px}#place-merge-form{margin-top:25px;padding-top:18px;border-top:1px solid #e1ebf3}#map-move-note{margin:10px 0;font-size:12px}#wish-edit-form textarea{min-height:120px}
.trash-search{margin:15px 0 22px}.trash-record{margin-bottom:18px}.trash-record h3{overflow-wrap:anywhere;font-family:inherit;font-size:17px}.trash-text{white-space:pre-wrap;overflow-wrap:anywhere;color:#6d8599;line-height:1.9;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;font-size:13px}.trash-photo-preview{display:flex;gap:9px;flex-wrap:wrap;margin:15px 0}.trash-photo-preview button{border:0;padding:0;background:none;width:100px;height:100px;border-radius:12px;overflow:hidden}.trash-photo-preview img{display:block;width:100%;height:100%;object-fit:cover}.trash-record .actions{flex-wrap:wrap;justify-content:flex-start;gap:10px}.trash-record .meta{font-size:11px;line-height:1.8}.trash-record .tag{display:inline-block}@media(max-width:760px){.trash-photo-preview button{width:75px;height:75px}.trash-record .actions button{font-size:11px}.trash-text{font-size:12px}}
.heading-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.memory-search-button{white-space:nowrap}.memory-search{min-width:0}.memory-search>.field{margin:14px 0}.memory-search-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.memory-search-filters input,.memory-search-filters select{width:100%;min-width:0}.memory-search-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#7e96aa;margin:15px 0}.memory-search-result{display:flex;width:100%;gap:16px;text-align:left;background:#f8fbff;border:1px solid #e1edf5;border-radius:16px;padding:16px;margin-bottom:13px;align-items:center;color:#607d93}.memory-search-result:hover{background:#eef6fd}.memory-result-copy{display:flex;flex-direction:column;gap:8px;min-width:0;flex:1}.memory-result-copy strong{font-size:15px;font-weight:500;overflow-wrap:anywhere}.memory-result-text{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.8}.memory-result-copy small{font-size:10px;color:#8ba1b2;overflow-wrap:anywhere}.memory-search-result>img{width:76px;height:76px;object-fit:cover;border-radius:12px;flex-shrink:0}.memory-search-filters select{padding:11px;border:1px solid #e0e9f0;border-radius:13px;background:#fbfdff;color:#627e94}
@media(max-width:760px){.heading-actions{gap:8px;flex-direction:column;align-items:flex-end}.heading-actions .memory-search-button{font-size:10px;padding:8px 12px}.memory-search-filters{gap:12px 10px}.memory-search-result{padding:12px;gap:10px}.memory-search-result>img{width:58px;height:58px}.memory-result-copy strong{font-size:13px}.memory-result-text{font-size:11px}.memory-result-copy .meta{font-size:9px}.memory-search-filters select{padding:10px;font-size:12px}}
.memory-search .field{margin:0;gap:7px}.memory-search>.field{margin:12px 0}.memory-search-filters{margin:14px 0;gap:14px}.memory-search-summary{margin:12px 0}.memory-search #memory-search-error:empty{display:none}.memory-search-filters input,.memory-search-filters select,.memory-search>.field input{padding:10px 12px}
.memory-search-hint{font-size:10px;color:#8a9fae;line-height:1.7;margin:8px 0 12px}
.on-this-day{margin:27px 0 30px;background:#fff9fa;border:1px solid #f0e5eb;border-radius:23px;padding:24px}.on-this-day h2{font-size:19px}.on-this-day header p{font-size:11px;color:#9a9caa;margin-bottom:0}.anniversary-memories{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:15px;margin-top:19px}.past-memory{text-align:left;background:white;border:1px solid #eee5e8;border-radius:15px;padding:0;overflow:hidden;min-width:0;color:#71879b}.past-memory>img,.past-memory-art{width:100%;height:150px;object-fit:cover;display:grid;place-items:center;background:#edf5fc;font-size:35px;color:#d8a8b6}.past-memory-copy{display:flex;flex-direction:column;gap:9px;padding:15px}.past-memory-copy small{font-size:9px;color:#9eacb7}.past-memory-copy strong{font-size:14px;font-weight:500;overflow-wrap:anywhere}.past-memory-copy>span{font-size:11px;white-space:pre-wrap;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.8}.custom-book-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;opacity:.75;pointer-events:none}.month-book:has(.custom-book-cover) .book-cover-label{position:relative;background:#ffffffe8;border-radius:9px;padding:10px}.book-dedication{display:flex;align-items:center;gap:24px;border:1px solid #e4edf4;border-radius:22px;padding:25px;background:#ffffff;margin:20px 0}.book-dedication>img{width:125px;height:165px;object-fit:cover;border-radius:12px}.book-dedication>div{min-width:0;flex:1}.book-dedication h2{font-size:22px;margin:12px 0;overflow-wrap:anywhere}.book-dedication p{white-space:pre-wrap;overflow-wrap:anywhere;color:#8195a5;font-size:13px;line-height:1.9}.reader-tools{display:flex;flex-wrap:wrap;gap:12px}.book-cover-picker{margin:22px 0;border:1px solid #e1eaf2;border-radius:15px;padding:15px;display:flex;flex-wrap:wrap;gap:12px}.book-cover-picker legend{color:#8ba0af;font-size:12px}.cover-choice{position:relative;display:block;width:95px;height:120px;cursor:pointer}.cover-choice input{position:absolute;top:4px;left:4px;z-index:1;accent-color:#7e9dbb}.cover-choice img,.default-cover-choice{width:100%;height:100%;object-fit:cover;border:2px solid transparent;border-radius:10px;display:grid;place-items:center;background:#e8f2fc;color:#819caf;font-size:11px}.cover-choice:has(input:checked) img,.cover-choice:has(input:checked) .default-cover-choice{border-color:#8bb0ce;box-shadow:0 0 0 2px #dceaf5}
@media(max-width:760px){.on-this-day{padding:19px 15px;margin:22px 0}.anniversary-memories{grid-template-columns:1fr}.past-memory{display:flex}.past-memory>img,.past-memory-art{width:95px;height:120px;flex-shrink:0}.past-memory-copy{padding:12px;gap:7px;flex:1;min-width:0}.past-memory-copy small{font-size:8px}.past-memory-copy strong{font-size:12px}.book-dedication{padding:18px 15px;gap:15px;align-items:flex-start}.book-dedication>img{width:80px;height:110px}.book-dedication h2{font-size:17px}.book-dedication p{font-size:11px}.reader-tools{gap:7px}.reader-tools .plain{font-size:10px}.cover-choice{width:80px;height:105px}}
/* 往年今日按年份分组，单条回忆也不会把照片拉成横幅。 */
.past-year{margin-top:22px}.past-year+.past-year{padding-top:20px;border-top:1px dashed #e7dce0}.past-year-heading{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.past-year-heading strong{font-size:17px;color:#708ba2;font-weight:600}.past-year-heading span{font-size:11px;color:#9a9fac}.past-year .anniversary-memories{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),420px));justify-content:start;gap:12px;margin-top:13px}.past-year .past-memory{display:flex;align-items:center;width:100%;height:150px;padding:12px;gap:13px;box-sizing:border-box}.past-year .past-memory>img,.past-year .past-memory-art{display:block;width:116px;height:116px;min-width:116px;max-width:116px;object-fit:contain;object-position:center;border-radius:10px;flex:0 0 116px;background:#eef5fc}.past-year .past-memory-art{display:grid;place-items:center}.past-year .past-memory-copy{flex:1;min-width:0;padding:0;gap:7px}.past-year .past-memory-copy strong{font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.past-year .past-memory-copy>span{font-size:11px;-webkit-line-clamp:2}.past-year-more{font-size:11px;margin-top:9px}.past-year .past-memory-copy small{font-size:9px;line-height:1.6}dialog .past-year .anniversary-memories{grid-template-columns:minmax(0,420px)}
@media(max-width:760px){.past-year{margin-top:18px}.past-year-heading strong{font-size:15px}.past-year-heading span{font-size:10px}.past-year .anniversary-memories{grid-template-columns:minmax(0,1fr)}.past-year .past-memory{height:128px;gap:10px;padding:10px}.past-year .past-memory>img,.past-year .past-memory-art{width:88px;height:88px;min-width:88px;max-width:88px;flex-basis:88px}.past-year .past-memory-copy strong{font-size:12px}.past-year .past-memory-copy>span{font-size:10px}.past-year .past-memory-copy small{font-size:8px}.on-this-day>.section-head{align-items:flex-start;gap:10px}.on-this-day>.section-head>.tag{font-size:8px;white-space:nowrap}}
.past-years-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:22px;align-items:start}.past-years-grid>.past-year{margin:0;min-width:0}.past-years-grid>.past-year+.past-year{padding-top:0;border-top:0}.past-years-grid .anniversary-memories{grid-template-columns:minmax(0,420px)}
@media(max-width:760px){.past-years-grid{grid-template-columns:minmax(0,1fr);gap:20px;margin-top:18px}.past-years-grid>.past-year+.past-year{padding-top:18px;border-top:1px dashed #e7dce0}.past-years-grid .anniversary-memories{grid-template-columns:minmax(0,1fr)}}
/* 系统界面只使用白、蓝、粉；照片和插画保持原色。 */
:root{--paper:#fff;--surface:#fff;--surface-blue:#edf6fd;--surface-pink:#fff4f8}
.sidebar,.timeline-page .sidebar,.panel,.card,.photo-post,.photo-post:first-child,.photo-post:last-child,dialog,.login,.home-calendar,.book-dedication,.notebook-page{background:#fff}
.stat{background:#fff;border-color:#e1ebf4}.stat:nth-child(2){background:#fff5f8;border-color:#f3e3eb}.stat:nth-child(3){background:#edf6fd;border-color:#dcebf6}.stat:nth-child(3) strong{color:#7e9fb9}
.anniversary:nth-child(3n){background:#edf6fd;border-color:#dcebf6}.corner-yellow .corner-icon{background:#edf5fd;color:#8aa9c1}
.notice.warning,.connection-warning{background:#fff1f6;color:#b07e96;border-color:#f0dce6}
.calendar-day.is-off{background:#f0f7fd;border-color:#e0edf7}.calendar-day.is-work{background:#fff4f8;border-color:#f1e2e9}.day-off-badge,.detail-event.event-off{background:#e7f2fc;color:#83a3bd}.day-work-badge,.detail-event.event-work{background:#fbedf3;color:#bb8da3}
.diary-paper,.timeline-page .diary-paper,.timeline-page .empty-paper{background:#fff;border-color:#e0edf7}.year-crate-card{background:#fff}.book-dedication{border-color:#e2edf5}.month-book:has(.custom-book-cover) .book-cover-label{background:#ffffffe8}
.positioned-jar.is-lit .jar-star,.wish-jar.is-lit .jar-star{fill:#ffd1e4;stroke:#d997b2;filter:drop-shadow(0 0 10px #ffd1e4)}.positioned-jar.is-lit .jar-glass,.wish-jar.is-lit .jar-glass{fill:#f6fbffbf;stroke:#fff}.wish-jar.is-lit{color:#fff3f9;filter:drop-shadow(0 0 12px #f8c9de99)}
.anniversary{background:#fff5f8;border-color:#f1e1e9}.anniversary:nth-child(2n),.anniversary:nth-child(3n){background:#edf6fd;border-color:#dcebf6}
/* 记录详情使用固定三列缩略图；单图浏览器限制为紧凑窗口。 */
#editor:has(.detail-photos){width:min(550px,calc(100vw - 28px));max-width:550px;padding:22px;box-sizing:border-box}
.detail-photos{display:grid;grid-template-columns:repeat(3,minmax(0,148px));gap:12px;margin:16px 0;justify-content:start}.detail-photos:empty{display:none}.detail-photos>div{min-width:0}.detail-photos img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;max-width:148px;max-height:none;margin:0;border-radius:10px;cursor:zoom-in}.detail-photos a{display:inline-block;font-size:10px;margin-top:6px;line-height:1.6}.detail-photos~.actions{flex-wrap:wrap;gap:10px}
.photo-lightbox{width:min(620px,calc(100vw - 28px));max-width:620px;height:min(660px,calc(100dvh - 48px));max-height:660px;padding:14px;box-sizing:border-box;background:#fff}.photo-lightbox[open]{display:flex}.photo-lightbox header{padding:0 2px 10px;flex-shrink:0}.lightbox-photo{background:#f6faff;min-height:0}.photo-lightbox footer{flex-shrink:0;font-size:9px;line-height:1.6}.lightbox-prev,.lightbox-next{width:34px;height:34px;font-size:24px}.lightbox-prev{left:20px}.lightbox-next{right:20px}
@media(max-width:760px){#editor:has(.detail-photos){width:calc(100vw - 24px);padding:18px}.detail-photos{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.detail-photos img{max-width:none}.detail-photos a{font-size:8px}.photo-lightbox{width:calc(100vw - 24px);max-width:620px;height:min(540px,82dvh);max-height:82dvh;padding:10px}.photo-lightbox header>div{gap:4px}.photo-lightbox header .plain{font-size:10px}.lightbox-prev{left:14px}.lightbox-next{right:14px}}
/* 任意弹窗打开时锁定页面背景；内容滚动只发生在弹窗内部。 */
html{scrollbar-gutter:stable}
html:has(dialog[open]),body:has(dialog[open]){overflow:hidden;overscroll-behavior:none}
dialog,.lightbox-photo{overscroll-behavior:contain}
.photo-post{cursor:pointer}.photo-post:hover{border-color:#c8ddeb}.photo-post:focus-visible{outline:3px solid #9abdd9;outline-offset:4px}
/* 弹窗保持滚动能力，隐藏原生滚动条以保留完整圆角。 */
dialog{scrollbar-width:none;-ms-overflow-style:none;scrollbar-gutter:auto}
dialog::-webkit-scrollbar{display:none;width:0;height:0}
.lightbox-photo{scrollbar-width:none;-ms-overflow-style:none}.lightbox-photo::-webkit-scrollbar{display:none;width:0;height:0}
.photo-wall-tools{max-width:860px;background:#fff;border:1px solid #e1ecf4;border-radius:22px;padding:10px 24px 2px;margin-bottom:22px}.photo-wall-tools .timeline-tools{padding:9px 0;gap:18px}.photo-wall-tools .timeline-filter-note{margin:11px 0 15px;font-size:11px}.photo-wall-tools .timeline-search{min-width:0}.photo-wall-tools .timeline-search input{min-width:0;background:#fff}.photo-wall-tools .timeline-month-filter input{background:#fff}.heading-actions:empty{display:none}
@media(max-width:760px){.photo-wall-tools{padding:10px 16px 1px;margin-bottom:17px;border-radius:19px}.photo-wall-tools .timeline-tools{gap:9px}.photo-wall-tools .timeline-filter-note{font-size:10px;margin:10px 0 13px}}

.photo-wall-tools{margin-left:auto;margin-right:auto}

/* Keep photo search and records on one continuous sheet. */
.photo-wall-panel{max-width:860px;margin:0 auto;background:#fff;border:1px solid #e1ecf4;border-radius:26px;padding:10px 24px 4px}
.photo-wall-panel .photo-wall-tools{max-width:none;border:0;border-radius:0;padding:0;margin:0}
.photo-wall-panel .photo-feed{max-width:none;margin:0}
.photo-wall-panel .photo-post{background:transparent;border:0;border-bottom:1px solid #e4edf2;border-radius:0;box-shadow:none;margin:0;padding:24px 0}
.photo-wall-panel .photo-post:last-child{border-bottom:0}
.photo-wall-panel .photo-post:first-child{padding-top:14px}
@media(max-width:760px){.photo-wall-panel{padding:10px 16px 2px;border-radius:20px}.photo-wall-panel .photo-wall-tools{padding:0;margin:0;border-radius:0}.photo-wall-panel .photo-post{padding:20px 0}}

.import-day{border:1px solid #e1ecf4;border-radius:16px;padding:14px;margin:14px 0;background:#f7fbff}.import-day h3{font-size:15px;margin:0 0 12px}.import-photo-row small{display:block;margin:5px 0;color:#7896ad}.import-photo-row input[type=checkbox]{width:auto}.import-photo-row>div{min-width:0}.import-photo-row strong{overflow-wrap:anywhere;font-size:12px}.import-day textarea{min-height:70px}

/* Phone controls stay reachable above the bottom navigation and keyboard. */
.mobile-tree-zoom{display:none}
@media(max-width:760px){
 .mobile-tree-zoom{display:inline-flex}
 .tree-canvas-scroll.is-zoomed .wish-tree{min-width:760px}
 .tree-canvas-scroll{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 .tree-canvas-scroll.is-zoomed::after{content:'左右滑动，找到想点亮的罐子';display:block;padding:9px 12px;color:#7593ab;font-size:11px;background:#edf6ff}
 input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),textarea,select,.field select{font-size:16px}
 input[type=date],input[type=month],select,.field select{min-height:44px;min-width:0;max-width:100%;box-sizing:border-box}
 .actions{flex-wrap:wrap;gap:10px}.actions button{min-height:44px}
 dialog{max-height:calc(100dvh - 32px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));scroll-padding:20px;padding-bottom:calc(22px + env(safe-area-inset-bottom,0px))}
 dialog .close{min-width:44px;min-height:44px}
 .tree-toolbar button{min-height:44px}
 .import-photo-row{grid-template-columns:72px minmax(0,1fr);gap:12px}
 .import-photo-row>img{width:72px;height:82px;object-fit:cover}
 .import-photo-row input[type=date]{width:100%;margin:5px 0}
 .import-photo-row label{display:flex;gap:8px;align-items:center;min-height:44px;font-size:12px}
 .import-photo-row input[type=checkbox]{width:20px;height:20px}
 .import-day{padding:12px}.import-day .field{margin-top:12px}
 .photo-lightbox header .plain{min-height:40px;padding:8px}
 .lightbox-prev,.lightbox-next{width:40px;height:40px}
 .timeline-write{bottom:calc(94px + env(safe-area-inset-bottom,0px))}
 .main{padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))}
}

.jar-touch-target{display:none}@media(max-width:760px){.jar-touch-target{display:block;pointer-events:all}.tree-canvas-scroll{scrollbar-width:none}.tree-canvas-scroll::-webkit-scrollbar{display:none}}

@media(max-width:760px){dialog button{min-height:44px}dialog input[type=file]{max-width:100%;font-size:12px}.tree-editor-controls input[type=range]{min-height:36px;flex:1;min-width:100px}.tree-editor-controls label{max-width:100%}}
.photo-post-caption{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;max-height:5.7em}
#editor:has(.detail-photos){height:min(640px,84dvh);max-height:84dvh;overflow-y:auto;overscroll-behavior:contain}
@media(max-width:760px){#editor:has(.detail-photos){height:82dvh;max-height:82dvh}}

/* Only the record body scrolls; identity and actions stay in place. */
#editor[open]:has(.record-detail-scroll){display:flex;flex-direction:column;overflow:hidden}
#editor:has(.record-detail-scroll)>.dialog-title,#editor:has(.record-detail-scroll)>.meta,#editor:has(.record-detail-scroll)>.notice{flex-shrink:0}
#editor:has(.record-detail-scroll)>.meta{margin-top:0;margin-bottom:14px}
.record-detail-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;overflow-wrap:anywhere}
.record-detail-scroll::-webkit-scrollbar{display:none}
.record-detail-scroll>.body-text{margin-top:0}
.record-detail-actions{flex-shrink:0;margin-top:0;padding-top:14px;border-top:1px solid #e4edf2;background:#fff;gap:10px;flex-wrap:wrap}
@media(max-width:760px){.record-detail-actions{gap:7px;padding-top:10px}.record-detail-actions button{font-size:11px;padding:9px 12px}#editor:has(.record-detail-scroll)>.meta{margin-bottom:12px}}

.anniversary-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;cursor:pointer;font:inherit;position:relative;gap:9px}.anniversary-card:hover{border-color:#b7d3e8}.anniversary-card.tone-blue{background:#edf7ff}.anniversary-card.tone-pink{background:#fff2f6}.anniversary-card.tone-white{background:#fff}.anniversary-symbol{position:absolute;right:22px;top:25px;font-size:27px;color:#d9a0b2}.anniversary-reminder{font-size:11px;color:#be7d95}.anniversary-note{font-size:12px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0}.anniversary-editor fieldset{border:0;padding:0;margin:0;min-width:0}.anniversary-editor summary{padding:14px 0;color:#6e94b1;cursor:pointer}.anniversary-editor .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.anniversary-editor .field{min-width:0}.anniversary-editor select{width:100%}.anniversary-editor textarea{min-height:80px}.anniversary-add{font-size:33px}.anniversary-card h3{padding-right:28px}@media(max-width:760px){.anniversary-editor .form-grid{grid-template-columns:1fr}.anniversary-editor .actions{position:sticky;bottom:0;background:#fff;padding-top:12px}}
/* Anniversary forms keep the heading and action row visible while settings scroll. */
#editor[open]:has(.anniversary-editor){display:flex;flex-direction:column;height:min(720px,88dvh);max-height:88dvh;overflow:hidden}
#editor:has(.anniversary-editor)>.dialog-title{flex-shrink:0}
.anniversary-editor{display:flex;flex-direction:column;flex:1;min-height:0;margin:0;overflow:hidden}
.anniversary-editor>fieldset{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;padding-bottom:12px}
.anniversary-editor>fieldset::-webkit-scrollbar{display:none}
.anniversary-editor>.subtitle,.anniversary-editor>.error,.anniversary-editor>.actions{flex-shrink:0}
.anniversary-editor>.subtitle{font-size:10px;line-height:1.7;margin:9px 0}
.anniversary-editor>.error:empty{display:none}
.anniversary-editor>.actions{position:static;margin:0;padding-top:12px;border-top:1px solid #e4edf2;background:#fff}
@media(max-width:760px){#editor[open]:has(.anniversary-editor){height:88dvh;max-height:88dvh}.anniversary-editor>.actions{position:static;gap:7px}.anniversary-editor>.actions button{padding:9px 12px;font-size:11px}}
/* Compact anniversary cards with clearer type hierarchy. */
.anniversary-card{min-height:0;padding:22px 24px;gap:10px;border-radius:22px;justify-content:flex-start}
.anniversary-card h3{font-size:21px;line-height:1.45;margin:8px 0 2px;overflow-wrap:anywhere}
.anniversary-card>strong{font-size:52px;line-height:1.15;margin:8px 0 10px}
.anniversary-card>strong small{font-size:14px}
.anniversary-card>.meta{font-size:11px}
.anniversary-card>small{font-size:13px;line-height:1.6}
.anniversary-card .anniversary-symbol{top:22px;right:22px;font-size:25px}
@media(max-width:760px){.anniversary-card{padding:20px;gap:8px}.anniversary-card h3{font-size:20px;margin:6px 0 0}.anniversary-card>strong{font-size:46px;margin:6px 0}.anniversary-card>small{font-size:12px}}
/* Center the anniversary hierarchy around its day count. */
.anniversary-card{align-items:center;text-align:center;justify-content:center;padding:22px 24px;gap:8px}
.anniversary-card>.meta{align-self:center;padding:0 26px;line-height:1.6}
.anniversary-card h3{padding:0;margin:5px 0 0;max-width:100%;font-size:21px;line-height:1.5}
.anniversary-card>strong{display:block;margin:9px 0 8px;line-height:1.15}
.anniversary-card>small{display:block;margin:0;line-height:1.7}
.anniversary-card .anniversary-note{max-width:100%;text-align:center}
.anniversary-card .anniversary-reminder{line-height:1.6}
@media(max-width:760px){.anniversary-card{padding:20px 16px;gap:7px}.anniversary-card h3{font-size:20px}.anniversary-card>strong{margin:8px 0}.anniversary-card .anniversary-symbol{top:18px;right:16px;font-size:22px}}

.personal-profile{position:relative;overflow:hidden;background:#e7f3fc;min-height:210px;justify-content:center;padding:28px}.personal-background{position:absolute;inset:0;border:0;padding:0;background:transparent;width:100%;height:100%;cursor:pointer}.personal-background img{width:100%;height:100%;object-fit:cover;opacity:.5}.personal-identity{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:12px;pointer-events:none}.personal-identity button{pointer-events:auto}.personal-avatar{padding:0;border:0;background:transparent;border-radius:50%}.personal-avatar .member-avatar{width:88px;height:88px;font-size:30px;border:3px solid white}.personal-name{border:0;background:#ffffffb3;border-radius:14px;padding:5px 16px;font-size:23px;color:#527c9b;font-weight:600}.personal-identity>span{font-size:10px;color:#68869f}.personal-profile~.corner-links{margin-top:24px}

.subpage-back{display:grid;place-items:center;width:42px;height:42px;border:1px solid #dce9f3;border-radius:50%;background:#fff;color:#7297b5;margin:0 0 15px;cursor:pointer}.subpage-back svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.subpage-back:hover{background:#eaf4fd;border-color:#bcd5e8}.main>.subpage-back+.heading{margin-top:0}@media(max-width:760px){.subpage-back{width:44px;height:44px;margin:0 0 12px}}

/* Share the same page background across navigation tabs. */
.timeline-page,.timeline-page .main{background:#f6faff}

.heading-actions .tree-toolbar{margin-bottom:0;justify-content:flex-end}.heading:has(.tree-toolbar){align-items:center;gap:20px}@media(max-width:760px){.heading:has(.tree-toolbar){flex-wrap:wrap;gap:10px}.heading-actions:has(.tree-toolbar){align-items:flex-end}.heading-actions .tree-toolbar{gap:7px}}

/* Let the photo wall use the same content width as the other pages. */
.photo-wall-panel{max-width:none;width:100%;box-sizing:border-box}
.stats .stat{text-align:center}.stats .stat strong{font-size:32px}@media(max-width:760px){.stats .stat strong{font-size:27px}}
.on-this-day{padding-top:18px}
.on-this-day>.section-head{margin-top:0;margin-bottom:16px}
.on-this-day>.section-head h2{margin-top:0;margin-bottom:8px}
.on-this-day>.section-head p{margin-top:0;margin-bottom:0}
@media(max-width:760px){.on-this-day{padding-top:16px}}
/* Keep the three home counters compact. */
.stats .stat{padding:10px 18px;min-height:0}
.stats .stat strong{margin-top:0;margin-bottom:4px;line-height:1.05}
.stats .stat span{line-height:1.4}
@media(max-width:760px){.stats .stat{padding:9px 10px}.stats .stat strong{margin-bottom:4px}}

.calendar-diary-marker{color:#6a98bc;background:#e7f3fd}.calendar-diaries{grid-column:1/-1;width:100%;margin-top:14px;padding-top:14px;border-top:1px solid #e2edf5}.calendar-diaries .section-head{margin:0 0 10px;font-size:12px}.calendar-diary-row{display:flex;justify-content:space-between;gap:15px;width:100%;text-align:left;border:0;background:#f3f9ff;border-radius:10px;padding:12px;color:#6486a1;margin-top:7px}.calendar-diary-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-diary-row small{flex-shrink:0}

.calendar-buttons{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.meeting-kpis{margin:0 0 24px}.meeting-kpis-head{display:flex;justify-content:space-between;align-items:center;font-size:13px}.meeting-kpis-head select{border:1px solid #dce9f4;border-radius:10px;padding:7px;background:#fff;color:#7093ae}.meeting-kpis .stats{grid-template-columns:repeat(2,minmax(0,1fr));margin:10px 0 5px}.meeting-kpis>p{font-size:10px;color:#92a6b7;line-height:1.7;margin:8px 0}.calendar-meeting-marker{background:#fff0f6;color:#c08b9d}@media(max-width:760px){.calendar-buttons{gap:5px}.calendar-buttons button{padding:8px;font-size:10px}.calendar-heading{flex-wrap:wrap;gap:12px}.calendar-heading>.calendar-buttons{width:100%;justify-content:flex-start}}
@media(max-width:760px){.nav{grid-template-columns:repeat(7,minmax(0,1fr))}.nav button{min-width:0;padding-left:1px;padding-right:1px}.nav .nav-short{font-size:10px}}
.life-month-heading{display:flex;align-items:center;gap:12px}.life-month-heading h2{margin:0}.life-month-heading button{font-size:28px;min-width:36px}.life-calendar-hint,.life-rule{font-size:11px;line-height:1.8;color:#879fae}.life-selected-day{margin-top:18px}.life-calendar .calendar-day{min-height:92px}.life-calendar .event-period{background:#ffe8f0;color:#b97695}.life-calendar .event-conflict{background:#eff0fc;color:#8987aa}.life-calendar .is-expected-period{border:1px dashed #dba9bd;background:#fff7fa}.life-calendar .event-expected{color:#b78f9f;background:transparent}.day-event-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.day-event-choices button{border:1px solid #dfeaf3;border-radius:16px;background:#f7fbff;text-align:left;padding:20px;color:#7093ad}.day-event-choices strong,.day-event-choices span{display:block}.day-event-choices span{font-size:11px;margin-top:10px;color:#91a4b3}.life-history{margin-top:22px}.life-type-tabs,.life-history-tools{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px;align-items:center}.life-history-tools label{font-size:12px;display:flex;gap:8px;align-items:center}.life-history-tools input{width:100px}.life-history-tools select{max-width:170px}.life-history-tools input,.life-history-tools select{border:1px solid #dce9f3;background:#fff;color:#708ea5;border-radius:10px;padding:8px}.life-history .stats{grid-template-columns:1fr 1fr;margin:12px 0}.life-span-group{margin-top:18px}.life-span-group h3{font-size:13px}.life-span-group .calendar-diary-row span small{display:block;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top:6px}.period-estimate{background:#fff3f8;border:1px solid #f1dde7;border-radius:15px;padding:15px;margin:16px 0}.period-estimate p{font-size:12px;line-height:1.8}.period-estimate small{font-size:10px;line-height:1.7;color:#a28b9a}#life-event-form .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}#life-event-form textarea{min-height:75px}@media(max-width:760px){.life-calendar .calendar-day{min-height:76px;padding:6px 3px}.life-calendar .calendar-event{font-size:8px}.day-event-choices{gap:8px}.day-event-choices button{padding:15px 12px}.life-type-tabs{gap:6px}.life-type-tabs button{font-size:11px;padding:9px}.life-month-heading{gap:4px}.life-month-heading h2{font-size:20px}.life-calendar .calendar-buttons input{max-width:160px}#life-event-form .form-grid{grid-template-columns:1fr}.life-history{padding:18px 14px}}

#editor[open]:has(.calendar-form-scroll){height:min(680px,86dvh);max-height:86dvh;overflow:hidden;display:flex;flex-direction:column}#editor:has(.calendar-form-scroll)>.dialog-title{flex-shrink:0}#life-event-form,#meeting-form{display:flex;flex-direction:column;flex:1;min-height:0;margin:0}.calendar-form-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;padding-right:2px}.calendar-form-scroll::-webkit-scrollbar{display:none}#life-event-form>.actions,#meeting-form>.actions{flex-shrink:0;margin:0;padding-top:12px;border-top:1px solid #e2edf5;background:#fff}

.day-event-choices.day-event-rows{display:flex;flex-direction:column;gap:12px}.day-event-row{display:grid;grid-template-columns:minmax(0,1fr) 116px;border:1px solid #dfeaf3;border-radius:16px;background:#f7fbff;overflow:hidden}.day-event-row>button{border:0;border-radius:0;background:transparent;margin:0}.day-event-row>.day-event-quick{padding:18px 20px}.day-event-row>.day-event-details{border-left:1px solid #dfeaf3;display:flex;align-items:center;justify-content:center;gap:9px;padding:12px;font-size:12px;text-align:center}.day-event-row>.day-event-details span{margin:0;color:#7799b2;font-size:12px}.day-event-row>button:hover{background:#edf6ff}.day-event-row>button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:760px){.day-event-row{grid-template-columns:minmax(0,1fr) 88px}.day-event-row>.day-event-quick{padding:16px 13px}.day-event-row>.day-event-details{padding:10px;gap:4px}.day-event-row>.day-event-details span{font-size:11px}}
.day-choice-error:empty{display:none}

.calendar-event[data-calendar-event]{cursor:pointer;pointer-events:auto}.calendar-event[data-calendar-event]:hover{filter:brightness(.96);text-decoration:underline}.calendar-event[data-calendar-event]:focus-visible{outline:2px solid #92b7d3;outline-offset:1px}

.map-search-input{position:relative;flex:1;min-width:120px}.map-search-input input{width:100%;box-sizing:border-box;padding-right:46px}.map-search-clear{position:absolute;right:8px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:50%;background:transparent;font-size:23px;color:#8aa5bb;padding:0;cursor:pointer}.map-search-clear[hidden]{display:none}.map-search-clear:hover{background:#eaf3fb}.map-search-clear:active{transform:translateY(-50%)}

.photo-sort-grid{display:grid;grid-template-columns:repeat(3,minmax(0,125px));gap:10px;margin:10px 0;align-items:start}.photo-sort-hint{font-size:11px;color:#8ca3b5;line-height:1.6;margin:10px 0 6px}.photo-sort-hint:empty{display:none}.photo-sort-tile{position:relative;aspect-ratio:1;min-width:0;border-radius:12px;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}.photo-sort-tile>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:12px;pointer-events:none;-webkit-user-drag:none}.photo-sort-tile:focus-visible{outline:3px solid #9abdd9;outline-offset:3px}.photo-order-number{position:absolute;left:7px;bottom:7px;background:#405b7299;color:white;border-radius:6px;min-width:20px;text-align:center;font-size:10px;line-height:20px;pointer-events:none}.photo-sort-tile>.photo-remove-icon,.import-sort-thumb>.photo-remove-icon{position:absolute;right:5px;top:5px;width:28px;height:28px;min-height:28px;min-width:28px;border:1px solid #e1ebf3;border-radius:50%;padding:0;display:grid;place-items:center;background:#ffffffed;color:#b57f96;font-size:22px;line-height:1;box-shadow:0 2px 6px #56738c18;touch-action:manipulation;cursor:pointer}.photo-is-dragging{opacity:.3;outline:2px dashed #a0bfd8}.photo-drag-ghost{z-index:999;opacity:.94;transform:scale(1.03) rotate(2deg);filter:drop-shadow(0 8px 15px #52759055);cursor:grabbing;overflow:hidden;border-radius:12px}.photo-drag-ghost button{display:none!important}.photo-sort-import-row{touch-action:pan-y}.import-sort-thumb{position:relative;flex-shrink:0;width:85px;height:85px;touch-action:none;cursor:grab;user-select:none}.import-sort-thumb>img{width:100%;height:100%;object-fit:cover;border-radius:12px;pointer-events:none;-webkit-user-drag:none}.import-sort-list .import-photo-row>div:last-child{flex:1;min-width:0}
@media(max-width:760px){.photo-sort-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.photo-sort-tile>.photo-remove-icon,.import-sort-thumb>.photo-remove-icon{width:30px;height:30px;min-height:30px;min-width:30px}.photo-sort-hint{font-size:10px}.import-sort-thumb{width:76px;height:76px}}

.place-memory-summary{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 16px;font-size:12px;color:#829bae}.place-memory-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0 20px}.place-memory-photos img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;cursor:zoom-in}.place-memory-item{padding:14px 0;border-top:1px solid #e1ecf5}.place-record-main{display:flex;flex-direction:column;gap:8px;width:100%;background:none;border:0;padding:0;text-align:left;color:#6789a3;cursor:pointer}.place-record-main small{font-size:10px;color:#8ca3b5}.place-record-main strong{font-size:16px;font-weight:500}.place-record-main>span{font-size:12px;line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.place-record-locate{font-size:11px;padding:12px 0 0}.map-linked-highlight{outline:3px solid #a6c8e2;outline-offset:3px}#editor[open]:has(.place-linked-records){width:min(620px,calc(100vw - 24px));height:min(680px,85dvh);max-height:85dvh;overflow-y:auto}@media(max-width:760px){.place-memory-photos{gap:7px}.place-record-main strong{font-size:14px}}

#editor[open]:has(.place-memory-body){display:flex;flex-direction:column;overflow:hidden}#editor:has(.place-memory-body)>.dialog-title,#editor:has(.place-memory-body)>.place-memory-summary{flex-shrink:0}.place-memory-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}.place-memory-body::-webkit-scrollbar{display:none}

@media(max-width:760px){.sidebar>.brand{display:none}.sidebar,.timeline-page .sidebar{padding:0;border:0;background:transparent;min-height:0}}
@media(max-width:760px){
 .timeline-tools,.photo-wall-tools .timeline-tools{display:flex;flex-wrap:nowrap;gap:7px;align-items:center}
 .timeline-tools .timeline-search{flex:1 1 0;flex-basis:0;min-width:0;border-bottom:0;gap:3px}
 .timeline-tools .timeline-search input{width:100%;min-width:0;font-size:12px;padding:8px 0}
 .timeline-tools .timeline-month-filter{flex:0 0 auto;gap:4px}
 .timeline-tools .timeline-month-filter>span{font-size:10px;white-space:nowrap}
 .timeline-tools .timeline-month-filter input{width:112px;min-width:0;font-size:11px;min-height:36px;padding:5px 6px}
 .timeline-tools>button{flex:0 0 auto;font-size:10px;white-space:nowrap;padding:8px 0}
}
@media(max-width:360px){.timeline-tools,.photo-wall-tools .timeline-tools{gap:5px}.timeline-tools .timeline-month-filter>span{display:none}.timeline-tools .timeline-month-filter input{width:102px}.timeline-tools .timeline-search input{font-size:11px}.timeline-tools>button{font-size:9px}}
/* Compact search typography on phones only. */
@media(max-width:760px){.timeline-tools .timeline-search,.timeline-tools .timeline-search input{font-size:11px}.timeline-tools .timeline-month-filter,.timeline-tools .timeline-month-filter input,.timeline-tools>button{font-size:10px}.timeline-tools .timeline-month-filter input::-webkit-datetime-edit{font-size:10px}}
/* Override the general mobile form font rule only for these compact search bars. */
@media(max-width:760px){
 .timeline-tools{-webkit-text-size-adjust:100%;text-size-adjust:100%}
 .timeline-tools #search,.timeline-tools #photo-wall-search{font-size:11px;line-height:1.4}
 .timeline-tools #search::placeholder,.timeline-tools #photo-wall-search::placeholder{font-size:11px;line-height:1.4}
 .timeline-tools #timeline-month,.timeline-tools #photo-wall-month{font-size:10px;line-height:1.4;min-height:32px;height:32px}
 .timeline-tools #timeline-month::-webkit-datetime-edit,.timeline-tools #photo-wall-month::-webkit-datetime-edit{font-size:10px;padding:0}
 .timeline-tools #timeline-month::-webkit-datetime-edit-fields-wrapper,.timeline-tools #photo-wall-month::-webkit-datetime-edit-fields-wrapper{font-size:10px}
 .timeline-tools .timeline-search>span,.timeline-tools .timeline-month-filter>span,.timeline-tools>button{font-size:10px}
}
