@font-face{font-family:local-rounded;src:local("Hiragino Sans GB")}
:root{--paper:#faf7f0;--surface:#fffdf9;--ink:#403c34;--muted:#827c70;--line:#e8e1d5;--accent:#a45e40;--accent-dark:#84472e;--peach:#f1ddcc;--sage:#e7eadc;--radius:22px;font-family:local-rounded,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button{border:0;background:none}button:focus-visible,a:focus-visible{outline:3px solid #ae7350;outline-offset:5px}input:focus,select:focus,textarea:focus{outline:2px solid #bb8968;outline-offset:2px}[hidden]{display:none!important}.wrap{width:min(1224px,calc(100% - 100px));margin:auto}.site-header{height:106px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:28px}.brand{display:inline-flex;align-items:center;gap:11px;font-size:19px;font-weight:700;white-space:nowrap}.brand-note{border-left:1px solid #d8cfc0;padding-left:12px;font-size:13px;font-weight:400;color:var(--muted)}.paw{position:relative;display:inline-block;width:30px;height:32px;flex-shrink:0;transform:rotate(-12deg);color:var(--accent)}.paw i{position:absolute;width:7px;height:10px;border-radius:50%;background:currentColor;top:3px;left:9px}.paw i:nth-child(1){left:0;top:10px;transform:rotate(-30deg)}.paw i:nth-child(3){left:19px;top:5px;transform:rotate(20deg)}.paw i:nth-child(4){left:25px;top:15px;width:6px;height:9px;transform:rotate(40deg)}.paw b{position:absolute;width:21px;height:16px;background:currentColor;left:5px;top:17px;border-radius:50% 50% 40% 40%;transform:rotate(6deg)}nav{display:flex;gap:32px;font-size:14px}nav a:hover,.admin-link:hover{color:var(--accent)}.admin-link{font-size:13px;background:var(--surface);border:1px solid var(--line);padding:11px 17px;border-radius:30px;display:flex;gap:18px}.hero{display:grid;grid-template-columns:45% 55%;min-height:664px;align-items:center;padding:45px 0 60px;gap:0}.hero-copy{padding-bottom:12px}.small-label{font-size:12px;letter-spacing:1.5px;color:var(--muted);display:flex;align-items:center;gap:9px}.status-dot{width:7px;height:7px;background:#94a17b;border-radius:50%}h1{font-size:clamp(38px,4.1vw,60px);font-weight:600;line-height:1.43;letter-spacing:1px;margin:22px 0 15px}.title-dot{color:var(--accent)}.hero-description{color:var(--muted);font-size:14px;margin:0 0 27px;line-height:1.8}.profile-facts{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:35px;font-size:11px}.birthday-pill,.age-pill{padding:9px 12px;border-radius:30px;background:#eee9df;color:#665d4f}.birthday-pill span{color:var(--accent);margin-right:6px}.age-pill{background:var(--sage);color:#657052}.button{display:inline-flex;align-items:center;justify-content:center;gap:30px;border-radius:30px;padding:13px 23px;font-size:13px;border:1px solid var(--line);background:var(--surface);line-height:1.6;min-height:44px}.button.primary{background:var(--accent);border-color:var(--accent);color:white}.button.primary:hover{background:var(--accent-dark)}.button:hover{border-color:#bda58f}.album-summary{display:flex;gap:12px;align-items:baseline;margin-top:30px;color:var(--muted);font-size:11px}.album-summary strong{font-size:22px;font-weight:500;color:var(--ink);margin-right:-7px}.hero-photos{height:520px;position:relative}.hero-main{position:absolute;left:1%;top:20px;width:67%;height:462px;border:8px solid #fffdf9;box-shadow:0 12px 36px #5c443611;border-radius:180px 180px 16px 16px;overflow:hidden;padding:0;transform:rotate(-3deg);background:#ded3c4}.hero-main img{width:100%;height:100%;object-fit:cover;object-position:50% 48%;display:block}.hero-photo-note{position:absolute;bottom:0;left:0;right:0;padding:12px 15px;display:flex;justify-content:space-between;align-items:center;background:#fffdf9;color:#5f584b;font-size:11px}.hero-small{position:absolute;right:0;width:32%;height:208px;background:#fffdf9;border:7px solid #fffdf9;border-radius:8px;box-shadow:0 8px 25px #55422e14;padding:0;transform:rotate(7deg);overflow:hidden}.hero-small img{display:block;width:100%;height:calc(100% - 29px);object-fit:cover}.hero-small span{display:block;font-size:10px;padding:8px 3px;line-height:1.1;color:#7a7161;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hero-small-1{top:32px}.hero-small-2{top:282px;right:1%;transform:rotate(-6deg)}.hero-sticker{position:absolute;top:0;left:40%;z-index:2;padding:12px 22px;background:var(--sage);border:3px solid var(--paper);border-radius:50%;font-size:12px;color:#687255;transform:rotate(12deg)}.hero-spark{position:absolute;color:#b67c54;font-size:38px;font-weight:300}.spark-one{left:-3%;top:455px}.spark-two{right:9%;top:237px;font-size:25px}.hero-placeholder{height:100%;display:flex;flex-direction:column;gap:20px;align-items:center;justify-content:center;border:1px dashed #d0bda6;border-radius:45% 45% 20px 20px;background:#f1eade;color:var(--muted)}.hero-placeholder span{font-size:80px}.album-section{background:#f3efe6;border-top:1px solid var(--line);padding:53px 0 70px;min-height:450px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}h2{font-size:28px;font-weight:500;margin:10px 0 0;letter-spacing:.5px}#photo-count{font-size:13px;vertical-align:middle;background:#e9e0d3;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;min-width:27px;height:27px;margin-left:9px;color:#8b7c68}.view-switch{display:flex;gap:3px;border:1px solid #ded6c8;border-radius:30px;padding:4px;font-size:12px}.view-switch button{border-radius:24px;padding:10px 19px;color:var(--muted)}.view-switch button.active{background:var(--surface);color:var(--ink);box-shadow:0 1px 4px #55422e0c}.album-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:28px 0}.tag-filters{display:flex;gap:7px;flex-wrap:wrap}.filter-chip{font-size:12px;padding:9px 15px;border:1px solid transparent;border-radius:30px;color:#766f63}.filter-chip span{margin-left:6px;font-size:10px;opacity:.65}.filter-chip.active{background:var(--ink);color:#fffdf9}.filter-chip:hover:not(.active){background:#e7e0d4}.album-tools{display:flex;gap:14px;align-items:center}.search-box{display:flex;align-items:center;gap:7px;border-bottom:1px solid #d6cdbc;max-width:160px}.search-box span{font-size:25px;color:#7c7465}.search-box input{min-width:0;width:100%;border:0;background:none;font-size:12px;padding:9px 0}.album-tools select{background:transparent;border:0;font-size:11px;max-width:105px;padding:9px 2px}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:29px 24px;align-items:start}.photo-card{text-align:left;padding:0;min-width:0;display:block;width:100%;border-radius:15px}.card-image{display:block;position:relative;aspect-ratio:4/4.5;border-radius:15px;overflow:hidden;background:#e3d9c8}.card-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}.photo-card:hover .card-image img{transform:scale(1.035)}.card-open{position:absolute;right:14px;bottom:14px;width:32px;height:32px;display:grid;place-items:center;background:#fffdf9dd;border-radius:50%;opacity:0;transition:opacity .2s}.photo-card:hover .card-open{opacity:1}.cover-badge{position:absolute;left:14px;top:14px;background:#fffdf9e6;border:1px solid #fff9;border-radius:18px;font-size:10px;padding:7px 10px}.card-caption{display:flex;justify-content:space-between;gap:10px;align-items:start;padding:16px 2px 0}.card-caption>span:first-child{min-width:0}.card-caption strong{display:block;font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-caption small{font-size:10px;display:block;color:#898071;margin-top:9px;line-height:1.6}.tag{background:#e8e1d4;color:#81735e;font-size:10px;border-radius:20px;padding:6px 10px;white-space:nowrap;display:inline-block}.timeline-group{display:grid;grid-template-columns:160px 1fr;gap:25px;position:relative;padding-bottom:45px}.timeline-group:not(:last-child):before{content:"";position:absolute;left:5px;top:10px;bottom:0;width:1px;background:#d9cdbc}.timeline-label{position:relative;padding-left:23px}.timeline-dot{position:absolute;width:10px;height:10px;background:#bc8d6c;left:0;top:5px;border-radius:50%;border:2px solid #f3efe6}.timeline-label h3{font-size:15px;margin:0;font-weight:500}.timeline-label p{color:var(--muted);font-size:11px}.empty-state{grid-column:1/-1;text-align:center;padding:65px 20px;color:var(--muted);border:1px dashed #d9cebd;border-radius:18px;background:#faf7f078}.empty-state h3{font-size:19px;font-weight:500;color:var(--ink)}.empty-state p{font-size:13px;line-height:1.8}.empty-mark{font-size:38px;color:#a17c60}.empty-state .button{margin-top:10px}.site-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:126px;color:#847a69;font-size:11px}.site-footer .brand{font-size:13px;font-weight:400}.site-footer .paw{transform:scale(.7) rotate(-12deg);margin-right:-4px}.photo-dialog{padding:0;border:0;max-width:min(1040px,92vw);width:1040px;max-height:90dvh;border-radius:22px;background:var(--surface);color:var(--ink);overflow:auto}.photo-dialog[open]{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr)}dialog::backdrop{background:#30291fbb;backdrop-filter:blur(6px)}.dialog-close{position:absolute;right:14px;top:12px;width:36px;height:36px;background:#fffdf9ed;border-radius:50%;font-size:25px;z-index:5;display:grid;place-items:center}.lightbox-image{background:#e5dfd4;position:relative;min-height:400px;display:flex;align-items:center;justify-content:center}.lightbox-image>img{display:block;width:100%;height:78dvh;max-height:780px;object-fit:contain}.photo-arrow{position:absolute;top:50%;width:36px;height:36px;border-radius:50%;background:#fffdf9e6;color:#403c34;font-size:20px}.photo-arrow.previous{left:12px}.photo-arrow.next{right:12px}.photo-detail{padding:70px 30px 30px;display:flex;flex-direction:column}.photo-detail h2{font-size:25px;margin:22px 0 12px;overflow-wrap:anywhere}.photo-detail p{font-size:13px;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere;color:#7d7364}.photo-detail .small-label{font-size:11px;line-height:2;letter-spacing:0}.detail-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:30px;color:#9b8f7c;font-size:12px}
@media(min-width:1450px){.hero{min-height:710px}.hero-photos{height:550px}.hero-main{height:490px}.hero-small{height:220px}.hero-small-2{top:300px}.spark-one{top:485px}.spark-two{top:255px}}
@media(max-width:1000px){.wrap{width:calc(100% - 60px)}.site-header{height:88px}nav{gap:20px}.brand-note{display:none}.hero{min-height:590px;grid-template-columns:43% 57%;padding-top:30px}.hero-photos{height:450px}.hero-main{height:390px;top:30px}.hero-small{height:170px}.hero-small-1{top:45px}.hero-small-2{top:255px}.hero-sticker{top:15px;left:35%}.spark-one{top:407px}.spark-two{top:212px}.hero-description{max-width:220px}.profile-facts{gap:8px;max-width:245px}.gallery{gap:25px 18px}.album-toolbar{align-items:start}.album-tools{gap:8px}.search-box{max-width:135px}.timeline-group{grid-template-columns:120px 1fr;gap:12px}.timeline-group .gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.card-caption{gap:6px}.site-footer{gap:15px}}
@media(max-width:680px){.wrap{width:calc(100% - 36px)}.site-header{height:78px;gap:10px}.brand{font-size:16px;gap:9px}.brand-note,nav{display:none}.admin-link{font-size:11px;padding:10px 13px;gap:10px}.hero{grid-template-columns:1fr;padding:32px 0 30px;gap:12px;min-height:auto}.hero-copy{position:relative;padding-bottom:4px}.hero-copy .small-label{font-size:10px}h1{font-size:38px;line-height:1.25;margin:19px 0 14px}h1 br{display:none}h1 .title-dot{display:none}.hero-description{font-size:12px;margin-bottom:18px;max-width:none}.profile-facts{margin-bottom:21px;max-width:none;font-size:10px}.birthday-pill,.age-pill{padding:8px 10px}.hero-copy>.button{font-size:12px;min-height:42px;padding:10px 19px;gap:28px}.album-summary{display:inline-flex;margin:0 0 0 14px;gap:8px;font-size:10px;flex-wrap:wrap;max-width:calc(100% - 155px)}.album-summary strong{font-size:18px}.album-summary>span{display:none}.hero-photos{height:382px;margin:6px 9px 0}.hero-main{left:0;top:15px;width:64%;height:345px;border-width:6px}.hero-small{width:32%;height:146px;border-width:5px;right:1%}.hero-small-1{top:27px}.hero-small-2{top:210px;right:0}.hero-small span{font-size:9px}.hero-sticker{left:39%;top:0;padding:9px 15px;font-size:10px}.hero-photo-note{font-size:10px;padding:10px}.spark-one{top:341px;left:-3%;font-size:30px}.spark-two{top:173px;right:10%;font-size:22px}.album-section{padding:32px 0 42px}.section-heading .small-label{font-size:10px}h2{font-size:23px;margin-top:8px}.view-switch button{font-size:11px;padding:9px 12px}.album-toolbar{flex-direction:column;align-items:stretch;gap:18px;margin:23px 0}.album-tools{justify-content:space-between}.search-box{max-width:220px;flex:1}.tag-filters{gap:4px}.filter-chip{padding:8px 13px;font-size:11px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 13px}.card-image{border-radius:12px;aspect-ratio:3/4}.card-caption{padding:12px 1px 0;display:block}.card-caption strong{font-size:12px}.card-caption small{font-size:9px;margin-top:6px}.card-caption .tag{margin-top:8px;font-size:9px;padding:4px 8px}.cover-badge{left:9px;top:9px;font-size:8px;padding:5px 8px}.card-open{display:none}.timeline-group{grid-template-columns:1fr;gap:15px;padding-left:14px}.timeline-label{padding-left:10px}.timeline-dot{left:-14px}.timeline-group:not(:last-child):before{left:4px}.timeline-label h3{font-size:14px}.timeline-label p{margin:5px 0}.site-footer{min-height:130px;flex-wrap:wrap;gap:0 20px;padding:25px 0}.site-footer .brand{width:100%;font-size:12px}.site-footer>a:last-child{margin-left:auto}.photo-dialog{max-width:94vw;max-height:92dvh;border-radius:15px}.photo-dialog[open]{display:block}.lightbox-image{min-height:0}.lightbox-image>img{height:57dvh}.photo-detail{padding:22px}.photo-detail h2{margin:8px 0;font-size:22px}.photo-detail p{margin:4px 0}.detail-bottom{padding-top:20px}.empty-state{padding:45px 18px}.empty-state p{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
