:root{--ink:#27231f;--muted:#817b73;--paper:#fbfaf8;--surface:#fffefa;--line:#e9e4dd;--rose:#b76e69;--rose-dark:#975550;--rose-pale:#f5e9e6;--gold:#b49767;--green:#667f69;--shadow:0 22px 60px rgba(66,48,39,.08);--radius:22px;--sans:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;--serif:"Iowan Old Style","Baskerville","Songti SC",serif}*{box-sizing:border-box}html{min-height:100%;background:var(--paper)}body{margin:0;min-height:100vh;color:var(--ink);font-family:var(--sans);font-size:15px;background:linear-gradient(145deg,#faf6f0 0%,#fcfbf9 42%,#f7f3ef 100%);overflow-x:hidden}.ambient{position:fixed;pointer-events:none;z-index:-1;border-radius:50%;filter:blur(1px)}.ambient-one{width:420px;height:420px;right:-150px;top:120px;background:radial-gradient(circle,rgba(226,188,177,.17),transparent 72%)}.ambient-two{width:420px;height:420px;left:-200px;bottom:-150px;background:radial-gradient(circle,rgba(214,199,166,.16),transparent 72%)}button,input,textarea,select{font:inherit}button{cursor:pointer}.topbar{height:80px;padding:0 clamp(18px,5vw,78px);display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid rgba(231,224,215,.8);background:rgba(251,250,248,.8);backdrop-filter:blur(16px);position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-family:var(--serif);font-size:21px;letter-spacing:.02em;white-space:nowrap}.brand small{display:block;margin-top:2px;font:8px var(--sans);letter-spacing:.2em;color:#a49b91}.brand-mark{height:39px;width:39px;border-radius:50%;display:grid;place-items:center;border:1px solid #ddc8bb;color:var(--rose);font:italic 25px var(--serif)}.main-nav{display:flex;align-items:center;gap:8px}.nav-link{border:0;background:transparent;color:#766f67;padding:10px 14px;border-radius:24px;font-size:13px;transition:.2s}.nav-link:hover,.nav-link.active{background:#f1e7e2;color:var(--rose-dark)}.top-right{min-width:145px;display:flex;justify-content:flex-end;align-items:center;gap:10px}.signed-user{color:var(--muted);font-size:12px}.app-shell{max-width:1220px;margin:0 auto;padding:34px clamp(16px,4vw,48px) 70px;min-height:calc(100vh - 150px)}.footer{max-width:1220px;margin:auto;padding:16px clamp(20px,4vw,48px) 28px;display:flex;justify-content:space-between;color:#a49c93;font-size:11px;letter-spacing:.03em}.loading-card{max-width:300px;margin:120px auto;padding:30px;text-align:center;color:var(--muted)}.spinner{display:inline-block;width:23px;height:23px;border:2px solid #eadeda;border-top-color:var(--rose);border-radius:50%;animation:spin .8s linear infinite}.loading-card p{font-size:13px}@keyframes spin{to{transform:rotate(360deg)}}.hero{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:50px;padding:38px 0 48px}.eyebrow{color:var(--rose);font-size:11px;letter-spacing:.19em;text-transform:uppercase;font-weight:650}.hero h1,.page-heading h1{font:clamp(36px,5vw,58px)/1.16 var(--serif);letter-spacing:-.035em;margin:16px 0 18px;font-weight:500}.hero h1 em{color:var(--rose);font-weight:400}.hero-copy{max-width:570px;color:#716b63;line-height:1.9;font-size:15px}.hero-stamp{justify-self:center;width:min(100%,380px);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;position:relative;background:radial-gradient(circle at 50% 40%,#fbefea 0 18%,#f0e4db 18.3% 18.7%,#fcf8f3 19% 52%,rgba(221,200,184,.2) 52.4% 53%,transparent 53.5%);border:1px solid rgba(207,182,161,.36)}.hero-stamp:before,.hero-stamp:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(185,153,123,.25)}.hero-stamp:before{inset:15%}.hero-stamp:after{inset:23%}.stamp-center{text-align:center;z-index:1;font:italic 36px var(--serif);color:var(--rose)}.stamp-center small{display:block;font:10px var(--sans);letter-spacing:.3em;color:#a29484;margin-top:8px}.stamp-note{position:absolute;bottom:19%;right:5%;font:12px var(--serif);font-style:italic;color:#948779;transform:rotate(-9deg)}.section-card,.panel,.form-card,.auth-card,.shot-card,.admin-card{border:1px solid rgba(228,219,210,.88);border-radius:var(--radius);background:rgba(255,254,251,.91);box-shadow:var(--shadow)}.section-card{padding:clamp(22px,4vw,42px);max-width:780px;margin:0 auto}.section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.section-title h2,.panel h2,.admin-card h2{font:26px var(--serif);font-weight:500;margin:0 0 8px}.section-title p,.panel-subtitle{font-size:13px;line-height:1.7;color:var(--muted);margin:0}.step-badge,.status-pill,.tag{display:inline-flex;align-items:center;gap:7px;border-radius:30px;padding:7px 11px;font-size:11px;white-space:nowrap}.step-badge{background:#f4eee7;color:#92795d;letter-spacing:.08em}.status-pill{background:#f1ede8;color:#706961}.status-pill.success{background:#eaf1e9;color:#57745d}.status-pill.warning{background:#f8eee1;color:#a17642}.status-pill.error{background:#f8eae8;color:#a5544f}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field.full{grid-column:1/-1}.field label,.field-label{font-size:12px;color:#625d56;font-weight:600}.field label .optional{font-weight:400;color:#a39b92}.input,.textarea,.select{width:100%;border:1px solid #e8e1d9;background:#fffefa;border-radius:11px;padding:13px 14px;color:var(--ink);outline:none;transition:border .2s,box-shadow .2s}.input:focus,.textarea:focus,.select:focus{border-color:#c58e84;box-shadow:0 0 0 3px rgba(183,110,105,.1)}.input::placeholder,.textarea::placeholder{color:#b7b0a8}.textarea{resize:vertical;min-height:96px;line-height:1.75}.helper{font-size:11px;line-height:1.6;color:#a29a90}.privacy-note{display:flex;gap:11px;padding:14px 15px;background:#f8f3ed;border:1px solid #ece2d6;border-radius:12px;color:#7a7064;font-size:12px;line-height:1.7}.privacy-note .lock{font-size:16px;color:var(--gold);margin-top:1px}.checkbox-row{display:flex;align-items:flex-start;gap:10px;color:#766e65;font-size:12px;line-height:1.6}.checkbox-row input{accent-color:var(--rose);margin-top:3px}.button{border:1px solid transparent;border-radius:30px;padding:13px 22px;font-weight:600;font-size:13px;transition:transform .18s,background .18s,box-shadow .18s}.button:hover{transform:translateY(-1px)}.button-primary{background:var(--rose);color:white;box-shadow:0 9px 20px rgba(183,110,105,.2)}.button-primary:hover{background:var(--rose-dark)}.button-secondary{background:#f3eee8;color:#71655a;border-color:#e9e1d7}.button-ghost{background:transparent;border-color:#e6ded6;color:#756d64}.button-danger{background:#f8eae8;color:#a5544f}.button.small{padding:8px 15px;font-size:11px}.button.wide{width:100%}.button-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.right{justify-content:flex-end}.center{text-align:center}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin:10px 0 28px}.page-heading h1{font-size:42px;margin:9px 0 8px}.page-heading p{color:var(--muted);font-size:13px;line-height:1.7;margin:0}.layout-two{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:22px}.panel{padding:25px}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:20px}.progress-track{width:100%;height:7px;border-radius:5px;background:#eee8e1;overflow:hidden}.progress-track span{display:block;height:100%;background:linear-gradient(90deg,#bb7771,#d5ad92);border-radius:5px;transition:width .4s}.progress-meta{display:flex;justify-content:space-between;color:#8c8379;font-size:11px;margin:9px 0 18px}.divider{height:1px;background:var(--line);margin:20px 0}.timeline{display:grid;gap:13px}.timeline-row{display:grid;grid-template-columns:26px 1fr;gap:12px}.timeline-dot{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#f3ebe5;color:var(--rose);font-size:11px}.timeline-row h4{margin:2px 0 4px;font-size:13px}.timeline-row p{margin:0;color:var(--muted);font-size:11px;line-height:1.6}.upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.upload-tile{position:relative;border:1px dashed #d9cdc1;border-radius:13px;background:#fdfbf8;padding:13px;min-height:90px;display:flex;flex-direction:column;justify-content:center;gap:7px;transition:.2s}.upload-tile:hover{border-color:#c58e84;background:#fdf7f4}.upload-tile strong{font-size:12px;font-weight:600}.upload-tile span{font-size:10px;color:#9b9389}.upload-tile input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-tile.done{border-style:solid;border-color:#ced8cc;background:#f3f7f1}.upload-tile.done strong{color:#5d7a60}.upload-progress{position:absolute;bottom:7px;left:13px;right:13px;height:3px;border-radius:3px;background:#eee}.upload-progress span{display:block;height:100%;background:var(--green)}.story-list{display:grid;gap:14px}.story-card{border:1px solid #eee7df;border-radius:15px;padding:16px;background:#fffdfa}.story-card-head{display:flex;align-items:center;gap:11px;margin-bottom:13px}.story-number{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#f4eae5;color:var(--rose);font:15px var(--serif)}.story-card-head strong{font:18px var(--serif);font-weight:500}.story-card textarea{min-height:83px}.toggle-line{display:flex;align-items:center;gap:10px;padding:13px 0;color:#6f675e;font-size:13px}.toggle-line input{accent-color:var(--rose)}.dynamic-list{display:grid;gap:10px}.dynamic-item{display:grid;grid-template-columns:1fr 1.4fr auto;gap:8px;align-items:start}.dynamic-item .input{padding:10px 11px;font-size:12px}.icon-button{border:1px solid #e9e2d9;background:#fffdfa;color:#9a7770;border-radius:10px;width:38px;height:39px}.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.choice-card{position:relative;border:1px solid #eae3db;border-radius:14px;overflow:hidden;background:#fffdfa;cursor:pointer;transition:.2s}.choice-card:hover{transform:translateY(-2px);box-shadow:0 12px 25px rgba(54,38,27,.08)}.choice-card.selected{border-color:#bd8278;box-shadow:0 0 0 2px rgba(183,110,105,.12)}.choice-card input{position:absolute;opacity:0}.choice-image{height:120px;background:linear-gradient(135deg,#eee4dc,#f7f1e9);display:grid;place-items:center;color:#b39b83;font:italic 27px var(--serif);overflow:hidden}.choice-image img,.choice-image video{width:100%;height:100%;object-fit:cover}.choice-copy{padding:12px}.choice-copy strong{display:block;font:17px var(--serif);font-weight:500;margin-bottom:5px}.choice-copy p{margin:0;color:var(--muted);font-size:10px;line-height:1.6}.sample-video{width:100%;max-height:220px;border-radius:14px;background:#211f1e}.shot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.shot-card{overflow:hidden}.shot-image{aspect-ratio:16/9;background:linear-gradient(135deg,#eee6df,#f7f4ef);display:grid;place-items:center;position:relative;color:#a69b8f}.shot-image img{width:100%;height:100%;object-fit:cover}.shot-image .placeholder{font:italic 19px var(--serif)}.shot-time{position:absolute;left:12px;bottom:11px;padding:6px 9px;border-radius:20px;background:rgba(36,32,29,.72);color:white;font-size:10px}.shot-content{padding:17px}.shot-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.shot-top h3{font:20px var(--serif);font-weight:500;margin:0 0 9px}.shot-summary{color:#746d65;font-size:12px;line-height:1.75;margin:0 0 14px}.shot-details{display:grid;gap:7px;color:#898178;font-size:10px;line-height:1.6}.shot-details strong{color:#6e655b;font-weight:600}.review-box{margin-top:13px;padding-top:13px;border-top:1px solid #eee8e2;display:grid;gap:9px}.review-actions{display:flex;gap:8px;flex-wrap:wrap}.review-actions .button{padding:9px 15px}.auth-wrap{max-width:500px;margin:45px auto}.auth-card{padding:32px}.auth-card h2{font:30px var(--serif);font-weight:500;margin:0 0 7px}.auth-card>p{color:var(--muted);font-size:12px;line-height:1.7;margin:0 0 22px}.auth-tabs{display:flex;padding:4px;border-radius:24px;background:#f4f0eb;margin-bottom:21px}.auth-tabs button{flex:1;border:0;background:transparent;border-radius:20px;padding:10px;color:#837b72;font-size:12px}.auth-tabs button.active{background:white;color:var(--rose-dark);box-shadow:0 2px 8px rgba(50,40,32,.07)}.maker-hero{display:flex;align-items:center;gap:20px}.points-card{padding:16px 20px;border-radius:16px;background:linear-gradient(130deg,#f4e9e5,#fbf3eb);min-width:155px;text-align:center}.points-card strong{display:block;font:30px var(--serif);color:var(--rose-dark)}.points-card span{font-size:10px;letter-spacing:.08em;color:#a58f81}.order-table-wrap{overflow-x:auto}.order-table{width:100%;border-collapse:collapse;min-width:600px}.order-table th,.order-table td{text-align:left;padding:13px 12px;border-bottom:1px solid #f0ebe5;font-size:12px}.order-table th{color:#9a9188;font-weight:500}.order-table td{color:#5e5851}.order-table tr:last-child td{border:0}.resource-list{display:grid;gap:8px}.resource-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px;border:1px solid #eee7df;border-radius:11px;color:#71695f;font-size:11px}.resource-row a{color:var(--rose-dark);text-decoration:none}.subnav{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:19px}.subnav button{background:transparent;border:1px solid #e9e1d9;border-radius:22px;padding:8px 13px;color:#877d73;font-size:11px}.subnav button.active{background:#f2e8e3;color:var(--rose-dark);border-color:#ead8d0}.admin-layout{display:grid;grid-template-columns:1fr;gap:20px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.stat-card{border:1px solid #ece5dd;background:#fffefa;border-radius:15px;padding:17px}.stat-card strong{display:block;font:28px var(--serif);font-weight:500}.stat-card span{font-size:10px;color:#948a80}.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.admin-card{padding:21px}.admin-card h2{font-size:22px}.admin-card p{font-size:11px;color:var(--muted);line-height:1.65}.template-list{display:grid;gap:10px}.template-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #eee8e1;padding:12px;border-radius:12px}.template-row strong{font:16px var(--serif);font-weight:500}.template-row span{display:block;color:#9a9188;font-size:10px;margin-top:4px}.code-box{width:100%;min-height:115px;font:12px/1.8 ui-monospace,monospace;background:#faf7f3;border:1px solid #eae1d8;border-radius:12px;padding:13px;color:#65594c;white-space:pre-wrap;overflow-wrap:anywhere}.modal-backdrop{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:18px;background:rgba(38,31,26,.35);backdrop-filter:blur(3px)}.modal{width:min(520px,100%);max-height:min(88vh,720px);overflow:auto;padding:25px;border-radius:21px;border:1px solid #eee5dc;background:#fffefa;box-shadow:0 24px 75px rgba(35,26,20,.24)}.modal h3{font:24px var(--serif);font-weight:500;margin:0 0 9px}.modal p{font-size:12px;line-height:1.7;color:#786f65}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.toast-root{position:fixed;right:20px;bottom:20px;z-index:50;display:grid;gap:8px}.toast{max-width:min(390px,calc(100vw - 36px));padding:13px 17px;border-radius:12px;background:#332d28;color:white;box-shadow:0 10px 30px rgba(0,0,0,.18);font-size:12px;line-height:1.5;animation:fade-in .2s ease}.toast.error{background:#8f4d47}.toast.success{background:#57745d}@keyframes fade-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.hidden{display:none!important}.notice{padding:11px 13px;border-radius:10px;background:#f5f0e9;color:#817365;font-size:11px;line-height:1.7}.secure-link{display:flex;gap:8px}.secure-link .input{font-size:10px}.user-area-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:19px}.user-area-heading h2{font:26px var(--serif);font-weight:500;margin:0 0 5px}.user-area-heading p{color:var(--muted);font-size:11px;margin:0}.audio-hint{padding:10px 13px;background:#f5f1eb;border-radius:10px;color:#83796f;font-size:10px;line-height:1.6}.file-label{display:inline-flex;align-items:center;gap:8px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.file-label:before{content:"✓";color:#68836a}.muted{color:var(--muted)}.long-text{white-space:pre-wrap;line-height:1.8}.kicker{font-size:10px;color:#a2978b;letter-spacing:.1em;text-transform:uppercase}
@media(max-width:850px){.topbar{height:auto;min-height:72px;flex-wrap:wrap;padding:13px 20px;gap:10px}.main-nav{order:3;width:100%;justify-content:center;border-top:1px solid #eee8e2;padding-top:9px}.top-right{margin-left:auto}.app-shell{padding-top:23px}.hero{gap:20px}.hero-stamp{max-width:290px}.layout-two{grid-template-columns:1fr}.page-heading h1{font-size:36px}.stat-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.brand{font-size:19px}.brand-mark{height:34px;width:34px;font-size:22px}.topbar{padding:10px 15px}.nav-link{padding:9px 11px;font-size:11px}.signed-user{font-size:10px}.app-shell{padding:20px 13px 48px}.footer{padding:12px 15px 22px;display:grid;gap:6px;font-size:9px}.hero{grid-template-columns:1fr;padding:17px 6px 29px;gap:13px}.hero h1{font-size:39px;margin:11px 0}.hero-copy{font-size:13px;line-height:1.8}.hero-stamp{width:195px;margin:5px auto 0}.stamp-center{font-size:27px}.stamp-center small{font-size:7px}.stamp-note{font-size:9px}.section-card{padding:20px 16px;border-radius:18px}.section-title h2{font-size:23px}.section-title{margin-bottom:18px}.form-grid{grid-template-columns:1fr;gap:13px}.field.full{grid-column:auto}.input,.textarea,.select{font-size:16px}.textarea{min-height:88px}.page-heading{align-items:flex-start;flex-direction:column;gap:14px;margin:4px 2px 20px}.page-heading h1{font-size:33px}.panel{padding:17px;border-radius:17px}.panel h2{font-size:22px}.upload-grid{gap:8px}.upload-tile{min-height:86px;padding:10px}.choice-grid,.shot-grid,.admin-grid{grid-template-columns:1fr}.choice-image{height:145px}.shot-image{aspect-ratio:4/3}.shot-content{padding:14px}.dynamic-item{grid-template-columns:1fr 1fr auto}.dynamic-item .input{min-width:0}.auth-wrap{margin:22px auto}.auth-card{padding:23px 18px}.maker-hero{align-items:flex-start;flex-direction:column}.points-card{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left}.points-card strong{font-size:25px}.stat-grid{gap:8px}.stat-card{padding:12px}.stat-card strong{font-size:24px}.admin-card{padding:17px}.review-actions{display:grid;grid-template-columns:1fr 1fr}.review-actions .button{padding:10px 9px;font-size:11px}.button{padding:12px 18px}.button-row.mobile-stack{display:grid;grid-template-columns:1fr}.secure-link{flex-direction:column}.shot-top{align-items:flex-start}.user-area-heading{align-items:flex-start}.step-badge{font-size:9px;padding:6px 9px}}
.shot-video-panel{margin:18px 0}.shot-video-panel .button-row{align-items:center;flex-wrap:wrap}.shot-video-panel label{display:flex;align-items:center;gap:8px}.shot-video-panel select{width:auto;min-width:150px}.shot-video-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px;margin-top:16px}.shot-video-item{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:14px;border:1px solid #e6dce3;border-radius:12px;background:#fff}.shot-video-item>div{display:flex;flex-direction:column;gap:4px}.shot-video-item video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#17151a;border-radius:8px}.shot-video-item .muted{font-size:13px}@media(max-width:600px){.shot-video-panel .button-row{width:100%}.shot-video-panel label{width:100%;justify-content:space-between}.shot-video-panel select{max-width:65%}.shot-video-list{grid-template-columns:1fr}}
.shot-image{position:relative}.shot-video-play{position:absolute;z-index:3;right:12px;bottom:12px;width:42px;height:42px;border:1px solid rgba(255,255,255,.8);border-radius:50%;background:rgba(30,24,35,.78);color:white;display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.25)}.shot-video-play:hover,.shot-video-play:focus-visible{background:#b55379;outline:2px solid white;outline-offset:2px}.shot-video-actions{margin-top:10px}.shot-video-status{font-size:13px;color:#92506b}


/* Keep image editing controls clear of overlaid playback buttons. */
.generated-image-preview .image-edit-trigger,
.album-maker-output .image-edit-trigger { right: 72px !important; }
@media (max-width: 420px) {
  .generated-image-preview .image-edit-trigger,
  .album-maker-output .image-edit-trigger { right: 64px !important; }
}
