:root{--ink:#173b50;--muted:#727b7e;--paper:#f8f5ee;--blue:#174863;--line:#dedfd8;--pink:#eccac0;--white:#fffdfa}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #5088a6;outline-offset:4px}button:disabled{opacity:.55;cursor:wait}.topbar{max-width:1200px;margin:auto;padding:24px 40px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.logo{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-weight:650;letter-spacing:1px;font-size:18px}.logo small{display:block;font-size:9px;letter-spacing:2px;font-weight:400;margin-top:5px}.brand-mark{font-family:Georgia,serif;font-style:italic;font-size:43px;letter-spacing:-3px;line-height:1}.topbar nav{display:flex;gap:24px}.nav-link{background:transparent;border:0;padding:12px 0;font-size:13px;position:relative;color:var(--muted)}.nav-link.active{color:var(--ink)}.nav-link.active:after{content:"";position:absolute;bottom:4px;left:0;right:0;height:2px;background:var(--blue)}#album-count{display:inline-flex;align-items:center;justify-content:center;background:var(--pink);border-radius:50%;width:18px;height:18px;margin-left:7px;font-size:10px}main{max-width:1100px;margin:auto;padding:0 40px}.intro-section{padding:62px 0 49px;position:relative}.eyebrow{font-size:10px;letter-spacing:2px;margin:0 0 18px;color:var(--muted);line-height:1.7}.intro-section .eyebrow{display:flex;align-items:center;gap:8px}.eyebrow>span{height:6px;width:6px;background:var(--pink);border-radius:50%}h1{font-size:46px;letter-spacing:-1.5px;line-height:1.35;font-weight:550;margin:0 0 16px}h1 span{display:block}h2{font-size:23px;line-height:1.4;font-weight:550;margin:0}h3{font-size:28px;line-height:1.4;font-weight:550;margin:10px 0 22px}.intro{color:var(--muted);font-size:14px;line-height:1.9;margin:0}.intro-meta{display:flex;gap:13px;align-items:center;margin-top:23px;color:var(--muted);font-size:11px}.intro-meta i{height:3px;width:3px;background:#b3b8b3;border-radius:50%}.intro-flower{position:absolute;right:46px;top:70px;font-size:115px;line-height:1;color:var(--pink);font-weight:400;transform:rotate(12deg)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.section-heading .eyebrow{margin-bottom:8px;font-size:9px}.collection-note{font-size:11px;color:var(--muted);padding-bottom:3px}.themes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.theme{border:0;border-radius:0;background:none;text-align:left;padding:0;position:relative;min-width:0}.theme-photo{position:relative;border-radius:8px;overflow:hidden;aspect-ratio:3/4;background:#e7e1d8;outline:1px solid transparent;outline-offset:5px}.theme.selected .theme-photo{outline-color:var(--blue)}.theme img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .25s}.theme:hover img{transform:scale(1.025)}.theme-number{position:absolute;top:10px;left:10px;font-size:10px;color:white;letter-spacing:1px;background:#173b5055;padding:4px 6px;border-radius:3px}.theme-check{position:absolute;top:10px;right:10px;width:22px;height:22px;background:var(--paper);border-radius:50%;color:var(--blue);display:none;align-items:center;justify-content:center;font-size:13px}.theme.selected .theme-check{display:flex}.theme-text{display:flex;align-items:baseline;justify-content:space-between;gap:6px;margin-top:15px}.theme strong{font-size:16px;font-weight:550;letter-spacing:.5px}.theme-count{color:var(--muted);font-size:10px;white-space:nowrap}.theme small{display:block;margin-top:6px;color:var(--muted);font-size:11px;line-height:1.7}.reference-note{font-size:10px;color:var(--muted);margin:20px 0 25px}.selection-bar{background:#eeeae0;border-radius:10px;padding:21px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.small-label{font-size:10px;color:var(--muted);display:block;margin-bottom:4px}.selection-bar strong{font-size:18px;font-weight:550;margin-right:15px}#selection-tag{font-size:11px;color:var(--muted)}.primary{background:var(--blue);color:white;border:0;border-radius:8px;padding:16px 22px;font-size:13px;white-space:nowrap;display:flex;align-items:center;justify-content:space-between;gap:30px}.primary:hover{background:#103b54}.secondary{background:transparent;border:1px solid var(--line);padding:12px 18px;border-radius:8px;font-size:13px}.how-it-works{display:flex;align-items:center;justify-content:center;gap:23px;margin:29px 0;color:var(--muted);font-size:11px}.how-it-works b{font-family:Georgia,serif;font-style:italic;font-size:16px;font-weight:400;color:var(--ink);margin-right:7px}.flow-arrow{opacity:.4}.workspace{display:grid;grid-template-columns:1fr 1fr;gap:56px;margin:42px 0 0;padding:36px;background:var(--white);border:1px solid var(--line);border-radius:14px;scroll-margin-top:32px}.step{font-size:9px;letter-spacing:1.5px;color:var(--muted)}.upload-card h2{margin:10px 0 22px}.upload-zone{margin-top:18px;display:flex;aspect-ratio:1;border:1px dashed #acb7b8;border-radius:8px;background:#f3f2eb;align-items:center;justify-content:center;position:relative;overflow:hidden;cursor:pointer}.upload-zone input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;z-index:1}.upload-zone:focus-within{outline:3px solid #5088a6;outline-offset:4px}.upload-zone img{max-width:100%;max-height:100%;object-fit:contain}.upload-zone span{text-align:center}.upload-plus{font-size:32px;display:block;color:var(--blue);font-weight:300}.upload-zone strong{display:block;font-size:15px;font-weight:500;margin:14px}.upload-zone small{display:block;font-size:11px;line-height:1.9;color:var(--muted)}.subtle{color:var(--muted);font-size:11px;line-height:1.8}.controls label{display:block;font-size:12px;margin:18px 0}.controls select,.controls textarea{display:block;width:100%;padding:12px;border:1px solid var(--line);background:var(--paper);border-radius:7px;margin-top:8px;color:var(--ink)}textarea{min-height:86px;resize:vertical}.controls .consent{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.8;color:var(--muted)}.consent input{margin:4px 0 0;flex-shrink:0;accent-color:var(--blue)}.notice{padding:12px;background:#f0ede4;color:#6f7169;font-size:11px;line-height:1.8;border-radius:7px}.controls .primary,.controls .secondary{width:100%;margin-top:14px}.controls .secondary{margin-top:9px}.closing{padding:65px 0 60px;text-align:center}.closing p{font-size:23px;font-weight:400;line-height:1.7;letter-spacing:1px;margin:0 0 20px}.closing span{font-size:8px;letter-spacing:1.8px;color:var(--muted)}#gallery{padding:52px 0 80px;min-height:60vh}#gallery h1{font-size:35px}.job{border:1px solid var(--line);border-radius:12px;background:var(--white);padding:22px;margin-bottom:16px}.job-head{display:flex;justify-content:space-between;gap:20px;font-size:14px}.status{font-size:11px;color:var(--blue)}.photos{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.photos img{width:100%;aspect-ratio:3/4;object-fit:contain;background:#eeeae0;border-radius:7px}.photos a{display:block;text-align:center;color:var(--blue);font-size:12px;padding:9px}.review-actions{display:flex;gap:10px;flex-wrap:wrap}.review-actions button{border:1px solid var(--line);background:var(--paper);padding:10px;border-radius:6px;font-size:12px}.empty{border:1px dashed var(--line);padding:65px 22px;text-align:center;border-radius:12px;color:var(--muted);font-size:13px}.text-button{font-size:11px;border:0;background:none;padding:14px 0;color:var(--muted)}footer{max-width:1200px;margin:auto;border-top:1px solid var(--line);padding:27px 40px;display:flex;align-items:center;justify-content:space-between;gap:25px;font-size:10px;color:var(--muted)}.footer-brand{font-size:13px;color:var(--ink)}.footer-brand small{font-size:10px;display:block;color:var(--muted);margin-top:6px}.mobile-break,.mobile-nav{display:none}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:14px 20px;border-radius:10px;max-width:90%;font-size:13px;z-index:10;box-shadow:0 5px 25px #173b5020}[hidden]{display:none!important}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.theme img{transition:none}}
@media(max-width:680px){html{scroll-padding-top:20px}body{padding-bottom:calc(74px + env(safe-area-inset-bottom))}.topbar{padding:19px 20px;border:0}.logo{font-size:15px;gap:9px}.logo small{font-size:7px;letter-spacing:1.4px;margin-top:3px}.brand-mark{font-size:35px}.topbar nav{display:none}main{padding:0 20px}.intro-section{padding:26px 0 32px}.intro-section .eyebrow{font-size:8px;letter-spacing:1.4px;margin-bottom:14px}h1{font-size:32px;line-height:1.4;letter-spacing:-.7px;margin-bottom:12px}.intro{font-size:12px;line-height:1.9}.mobile-break{display:block}.intro-meta{font-size:9px;gap:9px;margin-top:17px}.intro-flower{font-size:72px;top:43px;right:1px}.section-heading{margin-bottom:17px;gap:10px}.section-heading .eyebrow{font-size:8px;letter-spacing:1.4px;margin-bottom:5px}h2{font-size:19px}.collection-note{font-size:9px;white-space:nowrap}.themes{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 13px}.theme-text{margin-top:12px}.theme strong{font-size:14px}.theme small{font-size:10px;margin-top:4px}.theme-count{font-size:9px}.theme-photo{border-radius:7px}.theme-number{top:8px;left:8px;font-size:8px}.theme-check{top:8px;right:8px;width:20px;height:20px}.reference-note{font-size:9px;line-height:1.7;margin:18px 0 20px}.selection-bar{padding:17px;display:block}.selection-bar strong{font-size:16px}#selection-tag{display:none}.selection-bar .primary{width:100%;margin-top:13px;font-size:13px;padding:15px 16px}.how-it-works{font-size:10px;gap:10px;margin:24px 0}.how-it-works b{font-size:14px;margin-right:4px}.workspace{grid-template-columns:1fr;padding:22px 18px;gap:25px;margin-top:28px}.controls select,.controls textarea{font-size:16px}.closing{padding:38px 0 40px}.closing p{font-size:19px}.closing span{font-size:7px;letter-spacing:1.1px}footer{padding:21px 20px;gap:15px}footer>span:last-child{font-size:9px;max-width:150px;line-height:1.8;text-align:right}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#f8f5eef5;border-top:1px solid var(--line);padding:9px 30px calc(9px + env(safe-area-inset-bottom));justify-content:space-around;z-index:5;backdrop-filter:blur(12px)}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10px;color:var(--muted);background:none;border:0;min-width:80px;padding:3px}.mobile-nav button>span{font-size:20px;line-height:1.1}.mobile-nav button.active{color:var(--blue);font-weight:600}#toast{bottom:calc(90px + env(safe-area-inset-bottom));font-size:12px;width:max-content;max-width:calc(100% - 36px)}#gallery{padding:25px 0 40px}#gallery .section-heading{align-items:start}#gallery h1{font-size:27px}#refresh{padding:9px 12px;font-size:11px}.job{padding:17px}.job-head{flex-wrap:wrap;gap:8px}.photos{grid-template-columns:repeat(2,1fr)}.review-actions button{min-height:44px}}
@media(max-width:350px){main{padding:0 16px}.topbar{padding:18px 16px}.intro-flower{font-size:58px;right:0}h1{font-size:29px}.collection-note{display:none}.theme strong{font-size:13px}.theme-count{font-size:8px}.intro-meta{gap:7px}}
/* 手机主题画廊：按已选线框保留模块顺序与密度。 */
body{padding-bottom:calc(68px + env(safe-area-inset-bottom))}.topbar{max-width:430px;padding:22px 20px 14px;border:0}.logo{font-size:16px;font-weight:550;letter-spacing:0}main{max-width:430px;padding:0 20px}.catalog-heading{margin:10px 0 20px}.catalog-heading h1{font-size:23px;line-height:1.4;letter-spacing:-.5px;margin:0 0 8px;font-weight:550}.catalog-heading p{font-size:12px;color:var(--muted);line-height:1.8;margin:0}.themes{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.theme-photo{aspect-ratio:3/4;border-radius:6px}.theme-text{margin-top:9px}.theme strong{font-size:14px}.theme small{font-size:11px;margin-top:3px}.theme-number{display:none}.theme-check{width:20px;height:20px;top:8px;right:8px}.comparison-placeholder{background:#edeae2;border:1px dashed #c6c9c3;border-radius:6px;min-height:85px;margin:20px 0 18px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;text-align:center;padding:9px}.comparison-placeholder strong{font-size:12px;font-weight:500}.comparison-placeholder span{font-size:11px;color:var(--muted)}.comparison-placeholder small{font-size:9px;color:var(--muted)}.catalog-action .primary{display:block;width:100%;text-align:center;padding:14px 10px;font-size:14px}.catalog-action p{text-align:center;color:var(--muted);font-size:11px;margin:8px 0 16px}.mobile-nav{display:flex;position:fixed;bottom:0;left:50%;right:auto;transform:translateX(-50%);width:100%;max-width:430px;background:#f8f5eef5;border-top:1px solid var(--line);padding:9px 30px calc(9px + env(safe-area-inset-bottom));justify-content:space-around;z-index:5;backdrop-filter:blur(12px)}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10px;color:var(--muted);background:none;border:0;min-width:80px;padding:3px}.mobile-nav button>span{font-size:20px;line-height:1.1}.mobile-nav button.active{color:var(--blue);font-weight:600}.workspace{grid-template-columns:1fr;padding:22px 18px;gap:25px;margin:12px 0 25px}.upload-card .step{display:block;margin-top:12px}#toast{bottom:calc(85px + env(safe-area-inset-bottom))}#gallery{padding:20px 0 35px}.photos{grid-template-columns:repeat(2,1fr)}
/* 保持线框中的主题封面高度，让四个主题与主按钮位于同一竖屏。 */
.theme-photo{height:156px;aspect-ratio:auto}.theme img{object-fit:cover;object-position:center 45%}.theme-photo[data-theme="cream"] img{object-position:center 65%}.theme-photo[data-theme="red"] img{object-position:center 80%}.theme-photo[data-theme="pink"] img{object-position:center 70%}
