:root {
  --paper:#F5F1E9; --cream:#FCFAF5; --white:#FFFFFF; --ink:#28332F; --muted:#708078;
  --sage:#556E60; --sage-dark:#3E584B; --sage-soft:#E9EEE6; --gold:#B79A72;
  --line:#E8E4DA; --danger:#A4584D; --shadow:0 18px 54px rgba(60,69,54,.06);
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
[hidden]{display:none!important}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"PingFang SC","Microsoft YaHei",-apple-system,BlinkMacSystemFont,sans-serif}
button,input,textarea{font:inherit}
button{cursor:pointer}
.app{min-height:100vh}
.header{height:88px;max-width:1180px;margin:auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none}
.brand-mark{display:grid;place-items:center;width:46px;height:46px;border:1px solid #B9B9A2;border-radius:50% 50% 4px 4px;color:var(--sage-dark);font-family:"Songti SC","STSong",serif;font-size:26px}
.brand strong,.brand small{display:block}
.brand strong{font-family:"Songti SC","STSong",serif;font-size:18px;letter-spacing:2px;font-weight:600}
.brand small{font-size:10px;color:#8B9389;letter-spacing:2px;margin-top:3px}
.top-nav{display:flex;gap:24px;align-items:center}
.nav-link{border:0;background:transparent;padding:8px 0;color:#808A80;font-size:13px;position:relative}
.nav-link.active{color:var(--sage-dark);font-weight:700}
.nav-link.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--gold)}
.hero{max-width:1180px;margin:6px auto 0;background:#EEEDE4;border-radius:12px;min-height:400px;display:grid;grid-template-columns:1.15fr .85fr;overflow:hidden;position:relative}
.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 17% 14%,rgba(255,255,255,.64),transparent 42%);pointer-events:none}
.hero-copy{padding:66px 30px 56px 76px;position:relative;z-index:1}
.eyebrow,.section-kicker{color:#A08760;font-size:10px;font-weight:700;letter-spacing:3px}
.eyebrow{display:flex;align-items:center;gap:12px}
.eyebrow-line{height:1px;width:22px;background:#B69A72}
.hero h1{font-family:"Songti SC","STSong",serif;font-weight:600;font-size:clamp(32px,4vw,52px);line-height:1.4;letter-spacing:2px;margin:29px 0 15px}
.hero h1 em{font-style:normal;color:var(--sage)}
.hero p{max-width:445px;color:#67766D;line-height:1.85;font-size:14px;margin:0 0 28px}
.hero-cta,.primary-button{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;background:var(--sage-dark);border:1px solid var(--sage-dark);color:#fff;text-decoration:none;border-radius:4px;padding:14px 21px;font-size:13px;font-weight:700;transition:background .2s,transform .2s}
.hero-cta:hover,.primary-button:hover:not(:disabled){background:#2E493C;transform:translateY(-1px)}
.hero-cta span,.primary-button span{font-size:18px;font-weight:400}
.hero-art{display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;padding:28px 35px 20px}
.art-arch{height:310px;width:247px;border-radius:130px 130px 0 0;background:linear-gradient(#BFCFC0,#E9E7D7 70%);border:8px solid rgba(255,255,255,.72);box-shadow:0 20px 44px rgba(83,96,77,.14);position:relative;overflow:hidden}
.art-sun{position:absolute;width:82px;height:82px;border-radius:50%;background:#E9D8AC;top:56px;left:82px;box-shadow:0 0 0 24px rgba(250,240,205,.25)}
.art-hill{position:absolute;width:360px;height:180px;border-radius:50% 50% 0 0;left:-55px}
.art-hill-back{background:#A2B5A0;bottom:-65px;transform:rotate(-14deg)}
.art-hill-front{background:#6F8E78;bottom:-105px;left:-95px;transform:rotate(16deg)}
.art-stem{position:absolute;right:66px;bottom:12px;width:2px;height:104px;background:#EEEBD8;transform:rotate(12deg)}
.art-flower{position:absolute;right:42px;bottom:100px;font-size:53px;line-height:1;color:#F3E9C9}
.art-caption{font-family:"Songti SC","STSong",serif;color:#7A8172;font-size:12px;letter-spacing:3px;margin-top:19px}
.intro-strip{max-width:1180px;margin:0 auto;padding:21px 70px;display:flex;align-items:center;justify-content:center;gap:27px;color:#7B8679;font-size:12px;letter-spacing:1px;background:#F1F0E8}
.intro-strip i{height:1px;width:24px;background:#C6CABA}
.invite-banner{max-width:850px;margin:25px auto 0;padding:13px 20px;background:#EDF3EA;border:1px solid #D9E5D4;border-radius:5px;display:flex;justify-content:space-between;gap:20px;color:#4D6A52;font-size:12px}
.entry-notice{max-width:850px;margin:35px auto;padding:44px 24px;text-align:center;background:#FCFBF7;border:1px dashed #CBD6C6;border-radius:6px}
.entry-notice h2,.family-status-card h3{font-family:"Songti SC","STSong",serif;font-size:27px;font-weight:600;margin:8px 0 13px}
.entry-notice p,.family-status-card p{color:#718273;font-size:13px;line-height:1.75;margin:0}
.family-status-card{text-align:center;padding:37px 28px}
.status-refresh{background:transparent;border:0;border-bottom:1px solid #9CAF9B;color:#4F7259;padding:9px 1px;margin-top:22px;font-size:12px}
.form-wrap,.works-view{max-width:850px;margin:0 auto;padding:72px 24px 80px}
.section-intro{text-align:center;margin-bottom:31px}
.section-intro h2{font-family:"Songti SC","STSong",serif;font-size:31px;letter-spacing:2px;font-weight:600;margin:12px 0 9px}
.section-intro p{color:var(--muted);font-size:13px;line-height:1.7;margin:0}
.card{background:var(--white);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow);padding:30px 34px;margin-bottom:18px}
.step-heading{display:flex;align-items:center;gap:16px}
.step-no{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:50%;border:1px solid #D8DED3;background:#F6F8F3;color:var(--sage);font-family:Georgia,serif;font-size:13px}
.step-heading>div{flex:1}
.step-heading h3,.confirm-heading h3,.progress-heading h3,.result-card h3{font-family:"Songti SC","STSong",serif;font-weight:600;font-size:22px;margin:0}
.step-heading p{margin:5px 0 0;color:var(--muted);font-size:12px}
.step-state{font-size:11px;color:#8C9488;border:1px solid #E1E5DB;border-radius:99px;padding:5px 10px;white-space:nowrap}
.step-state.done{background:#EAF3EA;border-color:#CEDFCE;color:#4B785B}
.step-state.working{background:#F8F3E7;border-color:#EEE2C8;color:#92754D}
.step-state.error{background:#FBEEEB;border-color:#EDCFC9;color:var(--danger)}
.photo-upload{display:flex;justify-content:center;align-items:center;margin-top:22px;min-height:205px;border:1px dashed #C8D0C2;background:#F8F9F5;border-radius:5px;position:relative;overflow:hidden;cursor:pointer}
.photo-upload:hover,.file-picker:hover{border-color:#8FA696;background:#F5F8F3}
.photo-upload img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#E7EAE3}
.photo-placeholder{display:flex;flex-direction:column;align-items:center;gap:7px;color:var(--sage-dark)}
.photo-placeholder strong{font-size:14px}
.photo-placeholder small,.file-picker small{font-size:11px;color:#8D9689;font-weight:400}
.upload-symbol{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#EDF1E9;color:#7F9A83;font-size:28px;font-weight:200;margin-bottom:3px}
.photo-change{position:absolute;right:13px;bottom:13px;background:rgba(255,255,255,.9);color:var(--sage-dark);padding:8px 13px;border-radius:3px;font-size:12px}
.guidance{padding:13px 16px;background:#F7F8F4;color:#6E7B70;border-left:2px solid #B4C6AE;font-size:12px;line-height:1.7;margin:20px 0}
.file-picker{display:flex;align-items:center;gap:15px;border:1px dashed #C8D0C2;background:#FAFBF8;border-radius:5px;padding:17px 20px;cursor:pointer}
.file-icon{font-size:22px;color:var(--sage);width:36px;text-align:center}
.file-picker>span:nth-child(2){flex:1;min-width:0}
.file-picker strong,.file-picker small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.file-picker strong{font-size:13px;font-weight:600;color:var(--ink);margin-bottom:5px}
.file-arrow{color:var(--sage);font-size:12px;border:1px solid #D5DED3;border-radius:3px;padding:6px 10px}
.inline-status,.field-tip{font-size:11px;color:#8A9487;line-height:1.6;margin:10px 0 0}
.reference-player{display:block;width:100%;height:38px;margin-top:14px}
.script-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:23px 0}
.script-option{background:#FAFAF7;border:1px solid #E5E8DE;border-radius:5px;text-align:left;padding:14px;min-height:126px;display:flex;flex-direction:column;gap:6px;color:var(--ink)}
.script-option span{font-family:Georgia,serif;font-size:11px;color:#A99575}
.script-option strong{font-size:13px}
.script-option small{font-size:11px;line-height:1.55;color:#7E8B7F}
.script-option:hover,.script-option.active{border-color:#8CA48D;background:#F1F6EE}
.field-label{display:flex;justify-content:space-between;margin-bottom:10px;font-size:12px;font-weight:700;color:#526658}
.field-label span{color:#9BA397;font-weight:400}
textarea{display:block;width:100%;min-height:120px;padding:15px;border:1px solid #DDE3D8;background:#FCFDFB;border-radius:4px;outline:none;resize:vertical;color:var(--ink);font-size:13px;line-height:1.7}
textarea:focus{border-color:#8DA98F;box-shadow:0 0 0 3px #EFF5EC}
.confirm-card{background:#FDFCF9}
.confirm-heading{display:flex;align-items:flex-start;gap:14px}
.confirm-heading>span{color:#B69870;font-size:23px}
.confirm-heading p{color:var(--muted);font-size:12px;margin:6px 0 0;line-height:1.6}
.consent{display:flex;align-items:flex-start;gap:11px;margin-top:24px;padding:16px;background:#F5F5EF;border-radius:4px;color:#5D6C60;font-size:12px;line-height:1.7;cursor:pointer}
.consent input{accent-color:var(--sage);width:17px;height:17px;flex:none;margin:2px 0 0}
.submit-row{display:flex;align-items:center;gap:20px;margin-top:22px}
.primary-button{min-width:225px}
.primary-button:disabled{opacity:.45;cursor:not-allowed;transform:none}
.submit-row p{color:#8B9589;font-size:11px;line-height:1.6;margin:0}
.progress-card{border-color:#D9E6D6;background:#F9FBF6}
.progress-heading{display:flex;align-items:center;gap:14px}
.pulse-dot{width:11px;height:11px;border-radius:50%;background:#8BAB86;box-shadow:0 0 0 6px #E4EEDF}
.progress-heading>div{flex:1}
.progress-heading p{font-size:12px;color:var(--muted);margin:5px 0 0}
.progress-heading strong{font-size:17px;color:var(--sage);font-weight:500}
.progress-track{height:7px;border-radius:99px;background:#E7EDE3;margin:25px 0 12px;overflow:hidden}
.progress-track span{display:block;height:100%;width:0;background:#6E9377;border-radius:99px;transition:width .3s}
.progress-steps{display:flex;justify-content:space-between;color:#9CA89B;font-size:11px}
.progress-steps span.active{color:#456E50;font-weight:700}
.progress-note{font-size:11px;color:#8A978A;margin:20px 0 0}
.result-card{text-align:center}
.result-card h3{font-size:25px;margin:10px 0}
.result-card p{color:var(--muted);font-size:12px;line-height:1.6}
.result-card video{display:block;width:100%;max-height:450px;background:#202B25;margin:20px 0;border-radius:4px}
.secondary-button{display:inline-block;text-decoration:none;color:var(--sage-dark);font-size:13px;border-bottom:1px solid #9AAE9D;padding:7px 1px}
.error-panel{padding:17px 22px;border:1px solid #E8C9C4;border-radius:4px;background:#FAF0ED;color:var(--danger);font-size:12px}
.error-panel p{margin:5px 0 0;line-height:1.6}
.works-view{min-height:60vh}
.task-list{display:grid;gap:13px}
.task-item{border:1px solid var(--line);border-radius:5px;background:#fff;padding:20px 24px;display:flex;align-items:center;gap:18px}
.task-item-body{flex:1;min-width:0}
.task-item strong{font-size:14px}
.task-item p{font-size:11px;color:var(--muted);margin:6px 0 0}
.task-status{font-size:11px;color:var(--sage);white-space:nowrap}
.task-action{border:1px solid #BACBBB;background:#F7FAF5;color:var(--sage-dark);font-size:12px;border-radius:3px;padding:8px 13px}
.empty-works{text-align:center;background:#FCFBF7;border:1px dashed #D4D9CB;padding:55px 20px;color:#879486;font-size:13px;line-height:1.8}
footer{max-width:1180px;margin:0 auto;padding:25px 28px 42px;border-top:1px solid #DDDCD0;display:flex;justify-content:space-between;gap:20px;color:#9AA195;font-size:11px}
.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);background:#31463A;color:#fff;padding:10px 16px;border-radius:4px;opacity:0;pointer-events:none;transition:.2s;font-size:12px;z-index:50}
.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:800px){
  .hero{border-radius:0;margin:0;grid-template-columns:1fr;min-height:0}
  .hero-copy{padding:48px 24px 20px}
  .hero h1{font-size:36px}
  .hero-art{padding:4px 20px 28px}
  .art-arch{height:200px;width:168px;border-width:6px}
  .art-sun{width:58px;height:58px;left:55px;top:32px}
  .art-flower{bottom:47px;right:19px}
  .art-stem{right:45px;bottom:-32px}
  .art-caption{margin-top:10px}
  .intro-strip{padding:19px 18px;gap:12px;flex-wrap:wrap;font-size:10px}
  .intro-strip i{width:12px}
}
@media(max-width:560px){
  .header{height:72px;padding:0 17px;gap:10px}
  .brand-mark{width:39px;height:39px;font-size:23px}
  .brand strong{font-size:16px}
  .brand small{font-size:9px;letter-spacing:1px}
  .top-nav{gap:12px}
  .nav-link{font-size:11px;white-space:nowrap}
  .hero-copy{padding:39px 22px 15px}
  .hero h1{font-size:31px;letter-spacing:1px;margin:20px 0 11px}
  .hero p{font-size:12px;line-height:1.75}
  .hero-cta{padding:11px 16px;font-size:12px}
  .hero-art{padding-bottom:23px}
  .art-arch{height:165px;width:142px}
  .art-sun{left:42px;top:24px}
  .art-hill{bottom:-102px}
  .art-hill-back{bottom:-76px}
  .art-caption{font-size:10px}
  .intro-strip{font-size:9px;gap:8px}
  .form-wrap,.works-view{padding:54px 15px 65px}
  .section-intro h2{font-size:26px}
  .card{padding:21px 18px;margin-bottom:13px}
  .step-heading{gap:10px}
  .step-no{width:36px;height:36px}
  .step-heading h3{font-size:19px}
  .step-heading p{font-size:11px}
  .step-state{padding:4px 7px;font-size:10px}
  .photo-upload{min-height:180px}
  .script-options{grid-template-columns:1fr;gap:8px}
  .script-option{min-height:0;padding:11px 13px;display:grid;grid-template-columns:26px 1fr;gap:3px 5px}
  .script-option span{grid-row:span 2}
  .script-option small{grid-column:2}
  .submit-row{display:block}
  .submit-row .primary-button{width:100%}
  .submit-row p{text-align:center;margin-top:10px}
  .task-item{padding:16px;flex-wrap:wrap;gap:8px}
  .task-action{width:100%}
  footer{padding:20px 16px 30px;flex-direction:column;gap:5px;text-align:center}
}
