:root{--paper:#f6f1e7;--ink:#252825;--orange:#bd4934;--blue:#315b81;--light:#fffaf2;--line:#d5cdbc;--muted:#6c6b62;--olive:#6b735b}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-family:Tahoma,'Segoe UI',Arial,sans-serif;font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--blue);outline-offset:3px}h1,h2,h3,p{overflow-wrap:break-word}h1,h2,h3{font-weight:400}.site-nav{min-height:72px;padding:14px max(5vw,20px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px;position:relative;z-index:2;background:#fbf7ef}.wordmark{font:700 37px/.9 Georgia,serif;letter-spacing:-2px}.wordmark span{color:var(--orange)}.nav-center,.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:var(--blue)}.nav-actions{display:flex;align-items:center;gap:21px}.nav-link{border:none;background:none;color:var(--ink);font-weight:700}.nav-create{border:1px solid var(--ink);padding:12px 17px;background:var(--ink);color:var(--light);font-size:12px;font-weight:700}.nav-create span{margin-left:10px}.nav-create:hover{background:var(--orange);border-color:var(--orange)}.hero{min-height:740px;padding:7vw max(5vw,20px) 6vw;display:grid;grid-template-columns:1.08fr .92fr;gap:5%;overflow:hidden}.hero-copy{position:relative;z-index:1}.rec-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--orange);margin-right:8px}.hero h1{font:400 clamp(56px,6.15vw,104px)/.96 Georgia,'Times New Roman',serif;letter-spacing:-4px;margin:37px 0 25px}.hero h1 em{color:var(--orange);font-weight:400}.underline-accent{text-decoration:underline;text-decoration-color:var(--blue);text-decoration-thickness:2px;text-underline-offset:9px}.hero-thai{font:italic 23px/1.6 Georgia,Tahoma,serif;color:var(--blue);margin:20px 0 12px}.hero-desc{line-height:1.9;max-width:530px;color:#52544d}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:27px}.btn{padding:16px 21px;border:1px solid var(--ink);background:transparent;font-size:12px;font-weight:700;letter-spacing:.2px;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.2s}.btn-coral{color:white;background:var(--orange);border-color:var(--orange)}.btn-coral:hover{background:#a53b28}.btn-outline:hover{background:var(--ink);color:white}.btn-ink{background:var(--ink);color:white}.btn-ink:hover{background:var(--orange);border-color:var(--orange)}.btn-soft{background:#eee7db;border-color:#ddd1c0}.btn-small{padding:10px 14px}.hero-foot{margin-top:57px;letter-spacing:1px;color:var(--muted);font-size:11px}.hero-foot b{color:var(--orange)}.hero-gallery{min-height:560px;position:relative;background:#ddd6c9;align-self:stretch;box-shadow:10px 12px 0 #e7ddce;overflow:visible}.art-photo{position:relative;overflow:hidden}.art-main{position:absolute;inset:0;background:linear-gradient(165deg,#89b3ab,#f5c7a2 48%,#987d5a 65%,#353f33)}.photo-sky{position:absolute;inset:0;background:radial-gradient(circle at 80% 25%,#fcddac 0 9%,transparent 10%),linear-gradient(to bottom,#b5c6b7 0%,#e7b99a 50%,#c09376 62%,#596c58 63%)}.photo-hill{position:absolute;bottom:0;left:-14%;width:130%;height:53%;background:linear-gradient(145deg,#505b4d,#273f36);clip-path:polygon(0 53%,30% 20%,64% 42%,100% 3%,100% 100%,0 100%)}.photo-people{position:absolute;bottom:20%;left:29%;font-size:50px;letter-spacing:-6px;transform:rotate(-6deg);color:#201e1c;text-shadow:0 9px #201e1c}.photo-stamp{position:absolute;bottom:22px;right:25px;color:#fff7df;font:12px/1.3 monospace;opacity:.9;letter-spacing:1px}.art-polaroid{position:absolute;background:#fff9ef;padding:12px 12px 31px;box-shadow:8px 11px 32px #19140f4a;width:35%;height:41%;display:flex;flex-direction:column}.art-polaroid>.art-photo{flex:1}.art-polaroid i{font:italic 19px Georgia,serif;text-align:center;padding-top:11px;color:var(--orange)}.art-one{bottom:-25px;left:-12%;transform:rotate(-11deg)}.art-two{top:9%;right:-10%;transform:rotate(9deg)}.art-flower{background:radial-gradient(circle at 46% 42%,#fff6d4 0%,#f6dbaf 17%,transparent 18%),linear-gradient(120deg,#85a69a,#e0b288)}.art-flower span{position:absolute;left:20%;top:12%;font-size:110px;color:#f8e2b9;text-shadow:0 0 5px #b37f56}.art-night{background:linear-gradient(165deg,#2a4f67,#75576c 45%,#d49576 72%,#544f44)}.art-night span{position:absolute;left:33%;top:20%;font-size:85px;color:#ffdcac}.art-night .twinkle{left:13%;top:65%;font-size:28px}.hero-caption{position:absolute;bottom:16px;left:35%;color:#fff3d8;font-size:11px;letter-spacing:1px;font-weight:700}.hero-caption em{display:block;font:italic 20px Georgia,serif;letter-spacing:0}.hero-index{position:absolute;top:-26px;left:8px;font:10px monospace;letter-spacing:2px}.manifesto{background:#fdfaf4;display:grid;grid-template-columns:1fr 2fr;gap:6%;padding:85px max(5vw,20px);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.manifesto h2,.section-heading h2,.result-intro h2{font:400 clamp(44px,5vw,78px)/1.03 Georgia,serif;letter-spacing:-2px;margin:0}.manifesto h2 em,.section-heading h2 em,.result-intro h2 em{color:var(--blue);font-weight:400}.manifesto p:not(.eyebrow){line-height:1.85;font-size:15px;max-width:600px}.how-it-works{padding:90px max(5vw,20px) 105px}.section-heading{display:flex;gap:50px;align-items:end;justify-content:space-between;margin-bottom:40px}.step-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.step-visual{height:310px;display:flex;align-items:center;justify-content:center;overflow:hidden}.print-poster{background:#c7c6bb}.poster-inner{background:#f7f1e4;padding:26px;width:72%;min-height:240px;box-shadow:10px 10px 1px #9ea499;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center}.poster-inner small,.poster-inner span{font:9px monospace;letter-spacing:2px}.poster-inner strong{font:italic 46px/.9 Georgia,serif;color:var(--orange);margin:18px 0}.qr-symbol{font:51px Georgia;color:var(--ink);line-height:1;margin-top:8px}.phone-demo{background:#e7cfb8}.phone{background:#292a27;width:170px;height:285px;border:6px solid #292a27;border-radius:17px;padding:10px;color:white;box-shadow:16px 15px 15px #765c4f4d}.phone-head{font:9px monospace;display:flex;justify-content:space-between}.phone-lens{height:197px;margin-top:9px;background:linear-gradient(180deg,#8ea9a6,#dcb890 55%,#697865 56%,#2d4f46);position:relative;overflow:hidden}.phone-lens:before{content:' ';position:absolute;left:10%;bottom:-9px;width:100%;height:50px;background:#394f39;transform:rotate(-9deg)}.phone-lens>span{position:absolute;top:45%;left:45%;opacity:.7}.phone-shutter{text-align:center;font-size:47px;margin-top:-4px}.album-demo{background:#d9ded9}.album-card{width:79%;padding:17px;background:#fffaf4;box-shadow:6px 9px #c1bbac;transform:rotate(-3deg);display:flex;flex-direction:column;gap:12px;text-align:center}.album-card>span,.album-card>small{font:9px monospace;letter-spacing:2px;color:var(--blue)}.album-card strong{font:italic 26px Georgia,serif;color:var(--orange)}.album-tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:5px;height:145px}.album-tiles div{display:grid;place-items:center;background:linear-gradient(145deg,#dbae8b,#899d8f);font-size:35px;color:#fff2d9}.album-tiles div:nth-child(2){background:linear-gradient(150deg,#8db8c1,#eec293)}.album-tiles div:nth-child(3){background:linear-gradient(90deg,#5e6571,#b5a8a8)}.album-tiles div:nth-child(4){background:linear-gradient(140deg,#9c796d,#4b6b5a)}.step-title{display:flex;align-items:start;justify-content:space-between;gap:8px;margin:20px 0 8px}.step-title span{font:11px monospace;color:var(--orange);white-space:nowrap}.step-title h3{font-size:20px;font-weight:700;margin:0}.step p{color:var(--muted);line-height:1.85;margin:0}.result-block{background:#2d3330;color:#fffaf1;padding:85px max(5vw,20px)}.result-intro h2 em{color:#e4b7aa}.result-list{margin:40px 0 33px;display:grid;grid-template-columns:repeat(2,1fr);gap:0 30px}.result-list>div{display:grid;grid-template-columns:40px 1fr;gap:3px 12px;border-top:1px solid #8d9688;padding:18px 0}.result-list b{font:13px monospace;color:#dbb9ab;grid-row:span 2}.result-list strong{font:26px Georgia,serif}.result-list span{font-size:13px;color:#d1d5c9;line-height:1.6}.pilot-note{padding:19px max(5vw,20px);display:flex;gap:25px;background:#e7e2d8;color:#6b6055;font-size:12px;line-height:1.6}.pilot-note strong{color:var(--orange);white-space:nowrap}footer{padding:25px max(5vw,20px);display:flex;gap:20px;justify-content:space-between;align-items:center;background:#fdfaf3;border-top:1px solid var(--line);font:10px monospace;letter-spacing:1px;color:#6d6b64}footer strong{font:700 31px Georgia,serif;color:var(--orange)}
/* Working event app */
.workspace{max-width:1220px;margin:auto;padding:46px max(4vw,20px) 100px;min-height:calc(100vh - 150px)}.workspace.narrow{max-width:880px}.crumb{border:none;padding:0;background:none;font-size:12px;color:var(--blue);font-weight:700;margin-bottom:26px}.work-title{font:400 clamp(42px,5vw,72px)/1.05 Georgia,serif;letter-spacing:-2.5px;margin:10px 0}.work-title em{color:var(--orange)}.work-sub{font-size:15px;line-height:1.9;color:var(--muted);max-width:760px;margin:12px 0 32px}.work-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:28px}.eyebrow-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.status{display:inline-flex;align-items:center;gap:7px;border:1px solid #c1cfbf;background:#e2ebdc;color:#41533c;padding:7px 11px;border-radius:30px;font-size:11px;font-weight:700}.status.closed{border-color:#d9bbaa;background:#f9e4d6;color:#8e392b}.surface{border:1px solid var(--line);background:#fffcf6;padding:31px;box-shadow:5px 5px 0 #e9e1d3}.panel-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:22px}.panel-wide{grid-column:1/-1}.softpanel{background:#eae4da;border:1px solid var(--line);padding:25px}.field{display:flex;flex-direction:column;gap:9px;margin-bottom:19px}.field label{font-size:12px;font-weight:700}.field input,.field textarea,.field select,.key-input{width:100%;padding:14px;border-radius:0;border:1px solid #c8c3b9;background:#fffefa;min-width:0;color:var(--ink)}.field textarea{min-height:78px;resize:vertical}.field-hint,.fine{font-size:12px;line-height:1.7;color:#737065}.cols2{display:grid;grid-template-columns:1fr 1fr;gap:17px}.checkline{display:flex;gap:10px;align-items:flex-start;margin:20px 0;line-height:1.6}.checkline input{accent-color:var(--orange);margin-top:4px}.hint-box{background:#eee7db;border-left:3px solid var(--orange);padding:15px 18px;color:#4f534e;font-size:13px;line-height:1.8;margin:20px 0}.actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.label-sm{font-size:11px;letter-spacing:2px;font-weight:700;color:var(--blue)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.stat{padding:21px;background:#e9e3d9;border-top:3px solid var(--blue)}.stat b{display:block;font:42px Georgia,serif;color:var(--blue);margin-bottom:5px}.stat small{font-size:11px;letter-spacing:1px;text-transform:uppercase}.event-card{border:1px solid var(--line);background:#f1ebde;padding:22px}.event-card h3{font:italic 35px Georgia,serif;color:var(--orange);margin:17px 0}.event-card .date{font-size:12px;color:var(--muted)}.event-card .tagline{letter-spacing:2px;font-size:10px;font-weight:700;color:var(--blue)}.qr-img{width:200px;height:200px;object-fit:contain;background:#fff;padding:9px;border:1px solid #ddd;display:block;margin:22px auto}.invite-row{display:flex;gap:8px}.invite-row input{flex:1;min-width:0;padding:12px;background:#fff;border:1px solid var(--line)}.invite-row button{flex-shrink:0}.notice{font-size:12px;color:var(--orange);margin-top:10px}.film-camera{background:#252b28;color:#faf4e7;width:min(100%,430px);padding:19px 16px 23px;margin:0 auto;border-radius:18px;box-shadow:12px 12px 0 #d6cbbc}.camera-head{display:flex;justify-content:space-between;font:11px monospace;letter-spacing:1px;margin:0 2px 14px}.viewfinder{height:min(77vw,390px);max-height:390px;background:#4d5a50;position:relative;display:grid;place-items:center;overflow:hidden}.viewfinder video,.viewfinder img{width:100%;height:100%;object-fit:cover}.camera-placeholder{width:100%;height:100%;background:radial-gradient(circle at 71% 22%,#ddc49a 0 11%,transparent 12%),linear-gradient(160deg,#98aca2,#d3b58b 55%,#52695c 56%,#36483e);display:flex;align-items:center;justify-content:center;text-align:center;color:#fff5e4;font:italic 32px Georgia,serif;text-shadow:1px 2px 3px #333}.film-counter{position:absolute;top:12px;left:12px;background:#151a16b8;padding:6px 9px;font:11px monospace;color:#fff}.camera-tools{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:21px}.cam-tool{border:1px solid #a6a99e;background:none;color:#faf4e7;padding:10px 12px;font-size:12px}.shutter{width:75px;height:75px;flex-shrink:0;border-radius:50%;border:8px solid #fff9ec;background:var(--orange);box-shadow:inset 0 0 0 3px #252b28}.camera-caption{text-align:center;color:#d8d0be;font:11px monospace;letter-spacing:1px;margin-top:17px}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:17px;margin-top:26px}.memory-card{padding:8px 8px 15px;background:#fffdf7;box-shadow:3px 5px 1px #ded5c7;border:1px solid #e9e4d9}.memory-card img{width:100%;aspect-ratio:4/5;object-fit:cover;background:#e8d8c8;display:block}.memory-card p{font:italic 19px Georgia,serif;color:var(--orange);margin:10px 3px}.memory-tools{display:flex;gap:13px;margin:7px 3px 0;flex-wrap:wrap}.memory-tools button,.memory-tools a{font-size:12px;border:0;background:transparent;padding:0;color:var(--blue);text-decoration:underline;cursor:pointer}.memory-tools .danger{color:#a3352f}.empty{background:#eee9df;border:1px dashed #cfc7bb;padding:45px 20px;text-align:center;color:#706d63;margin-top:22px}.empty .heart{font:italic 65px Georgia,serif;color:var(--orange);margin-bottom:10px}.waiting{padding:35px;background:#eae6dd;text-align:center}.waiting h3{font:italic 35px Georgia,serif;color:var(--blue);margin:10px 0}.cover-preview{height:160px;background:radial-gradient(circle at 65% 35%,#f5c68b 0 10%,transparent 11%),linear-gradient(135deg,#a6a9a4,#d7c19f 55%,#657867 56%);margin-top:10px}.preview-shot{display:block;max-width:550px;width:100%;max-height:560px;object-fit:contain;margin:0 auto;background:#e2dfd7}.preview-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:18px}.guide-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:26px 0}.guide-mini span{border-top:1px solid var(--line);padding:13px 0;color:#615c55;font-size:12px}.keybox{padding:17px;background:#efe7dc}.keybox code{display:block;font-size:12px;word-break:break-all;margin:10px 0}.loading{text-align:center;padding:36px;color:var(--muted)}#toast{position:fixed;z-index:20;bottom:22px;left:50%;transform:translateX(-50%);min-width:250px;background:#242925;color:#fff6e8;padding:15px 20px;box-shadow:4px 5px #b8a995;display:none;text-align:center;line-height:1.5}#toast.show{display:block}.hidden{display:none!important}.danger-link{color:#a3352f}.date-note{font:12px monospace;color:var(--muted)}@media(max-width:1000px){.hero{grid-template-columns:1fr 1fr;gap:5%}.hero h1{font-size:clamp(55px,6.3vw,86px)}.hero-gallery{min-height:490px}.art-polaroid{width:45%;height:34%}.art-polaroid i{font-size:14px}.step-visual{height:250px}.step-title{display:block}.step-title span{display:block;margin-bottom:8px}}@media(max-width:740px){.site-nav{min-height:65px}.nav-center{display:none}.wordmark{font-size:31px}.nav-actions{gap:10px}.nav-create{padding:11px}.hero{display:block;padding:55px 6% 75px;min-height:0}.hero h1{font-size:clamp(53px,10.5vw,78px);line-height:1;letter-spacing:-2.4px}.hero-gallery{margin:60px 9% 18px 10%;min-height:400px}.art-one{left:-13%}.art-two{right:-12%}.hero-foot{margin-top:28px}.manifesto{display:block;padding:58px 6%}.manifesto .eyebrow{margin-bottom:23px}.how-it-works{padding:55px 6%}.section-heading{display:block}.step-grid{grid-template-columns:1fr;gap:42px}.step-visual{height:340px}.step-title{display:flex}.result-block{padding:60px 6%}.result-list{grid-template-columns:1fr}.pilot-note{display:block}.pilot-note strong{display:block;margin-bottom:7px}.workspace{padding:30px 5% 70px}.panel-grid{grid-template-columns:1fr}.surface{padding:20px}.work-head{display:block}.stats{gap:7px}.stat{padding:13px}.stat b{font-size:32px}.stat small{font-size:9px}.cols2{grid-template-columns:1fr}.guide-mini{grid-template-columns:1fr}.guide-mini span{padding:7px 0}.hero-actions .btn{width:100%}footer{flex-wrap:wrap}.hero-caption{left:40%;font-size:9px}}@media(max-width:390px){.hero h1{font-size:51px}.hero-gallery{min-height:300px}.art-polaroid i{font-size:12px}.step-visual{height:300px}.nav-link{font-size:11px}.nav-create{font-size:11px}}
@media print{.site-nav,footer,.btn,.actions,.crumb,.notice,#toast{display:none!important}.workspace{margin:0;max-width:none;padding:0}.surface,.event-card{box-shadow:none}.print-only{display:block!important}body{background:white}}

.host-album-card{margin-top:22px}.host-quote{font:italic 39px Georgia,serif;color:var(--blue);margin:12px 0}.invite-title{font:italic 30px Georgia,serif;margin:14px 0}.keybox-after{margin-top:20px}.guest-event-title{font:italic 45px Georgia,serif;color:var(--orange);margin:15px 0}.centered-actions{justify-content:center;margin-top:24px}.preview-surface{text-align:center}

/* ROLLI 0.3 — saved event list, privacy and printable invite */
.roll-list-item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 0;border-bottom:1px solid var(--line)}
.roll-list-item h3{font:italic 27px Georgia,serif;margin:6px 0;color:var(--ink)}
.roll-list-item p{font-size:13px;color:var(--muted);line-height:1.7;margin:0}
.restore-panel{margin-top:25px}.small-empty{padding:20px;margin:10px 0}.privacy-settings{margin-top:22px;padding:20px;background:#f6e8e1;border:1px solid #dcb9af}
.privacy-settings .danger{border-color:#a44232;color:#a44232}.print-invite{display:none}
@media(max-width:740px){.nav-actions{gap:7px}.nav-link{font-size:11px}.nav-create{font-size:11px}.roll-list-item{align-items:flex-start;flex-direction:column}}
@media(max-width:390px){.nav-actions{gap:5px}.site-nav{gap:4px}.nav-create{padding:9px 6px}.wordmark{font-size:28px}}
@media print{
 body:has(.print-invite) > *:not(#app){display:none!important}
 body:has(.print-invite) #app > .workspace{display:block!important;min-height:auto!important;max-width:none!important;margin:0!important;padding:0!important}
 body:has(.print-invite) .workspace > *:not(.print-invite){display:none!important}
 body:has(.print-invite) #app{display:block!important}
 .print-invite{display:flex!important;box-sizing:border-box;min-height:90vh;max-width:190mm;margin:0 auto;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:10mm;color:#262522;padding:20mm;background:white!important}
 .print-invite h1{font:italic 40pt Georgia,serif;margin:0;overflow-wrap:anywhere}
 .print-invite img{width:65mm;height:65mm;object-fit:contain}
 .print-invite p{font:15pt Georgia,serif;margin:0;overflow-wrap:anywhere}
 .print-invite small{font:8pt monospace;letter-spacing:1px}
}

/* ROLLI v0.5.1 — WHITE VINTAGE EDITORIAL
   Primary canvas and product surfaces are pure white.
   Film-camera housing and photo artwork remain deliberately dark/toned. */
:root {
  --paper: #ffffff;
  --light: #ffffff;
  --ink: #272b29;
  --orange: #b74734;
  --blue: #315b81;
  --line: #ded9cf;
  --muted: #625f59;
}
html, body, #app { background-color: #ffffff; }
.site-nav, .manifesto, .how-it-works, footer, .workspace { background-color: #ffffff; }
.site-nav { border-bottom: 1px solid var(--line); }
/* Vintage cues live in the typography, thin rules and the photographic vignettes. */
.eyebrow, .nav-center, .label-sm { letter-spacing: 2.2px; }
.hero-gallery { box-shadow: 10px 12px 0 #efece6; }
.art-polaroid { background: #ffffff; }
.poster-inner, .album-card { background: #ffffff; }
.result-block {
  background: #ffffff;
  color: var(--ink);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.result-intro h2 em { color: var(--orange); }
.result-list > div { border-top-color: var(--line); }
.result-list b { color: var(--orange); }
.result-list span { color: var(--muted); }
.pilot-note { background: #faf9f7; border-bottom: 1px solid var(--line); }
.btn-soft { background: #faf9f7; border-color: var(--line); }
.surface {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 4px 4px 0 #f0ede8;
}
.softpanel, .event-card, .stat, .empty, .waiting, .keybox, .privacy-settings {
  background: #ffffff;
  border: 1px solid var(--line);
}
.event-card { border-top: 3px double var(--blue); }
.stat { border-top: 3px solid var(--blue); }
.hint-box { background: #faf8f5; }
.privacy-settings { border-left: 3px solid var(--orange); }
.field input, .field textarea, .field select, .key-input, .invite-row input { background: #ffffff; }
.memory-card { background: #ffffff; box-shadow: 3px 5px 0 #eeeae3; }
.memory-card img, .preview-shot { background: #f6f4f0; }
.film-camera { background: #252b28; box-shadow: 10px 10px 0 #ece8e1; }
.camera-caption { color: #ede7da; }
/* The white canvas must remain white on small screens, including the guest workspace. */
@media (max-width: 740px) {
  .site-nav, .workspace, .surface, .event-card, .stat { background-color: #ffffff; }
}


/* ROLLI Phase 2 / Cute Memory Scrapbook — real app skin, no functional mocks.
   Design references: white mini album, handmade stickers, blue handwritten notes.
   Important: server, consent, permissions, API, storage flows remain unchanged. */
:root{
 --paper:#fff;--light:#fff;--ink:#252e3b;--orange:#c4473a;--blue:#225ab5;
 --line:#e3e0dc;--muted:#5a6170;--olive:#558477;
 --butter:#ffe37c;--pink:#ffd5e2;--sky:#dceaff;--mint:#dbeddc;
 --font-hand:'Segoe Print','Comic Sans MS','Comic Neue','Bradley Hand',cursive;
 --font-ui:'Trebuchet MS','Segoe UI',Tahoma,Arial,sans-serif;
}
body{font-family:var(--font-ui);font-size:14px;line-height:1.5;color:var(--ink);background:#fff}
#app{background:#fff}
.memory-ribbon{height:29px;display:flex;align-items:center;justify-content:center;gap:12px;padding:4px 12px;background:var(--blue);color:#fff;font-size:10px;font-weight:800;letter-spacing:1.7px;text-align:center}
.memory-ribbon span{color:var(--butter);font-size:14px}
.site-nav{background:#fff;min-height:82px;border-bottom:1px solid #e7e5e0;padding:13px max(4vw,22px)}
.wordmark{font-family:var(--font-hand);font-size:39px;letter-spacing:-3px;color:var(--orange);font-weight:900;position:relative;white-space:nowrap}
.wordmark:after{content:'';height:6px;border-radius:80px;background:var(--butter);position:absolute;bottom:-8px;left:0;right:0;transform:rotate(-2deg)}
.wordmark span{color:var(--orange)}
.nav-center{font-size:11px;letter-spacing:1.3px;font-family:var(--font-hand);color:var(--blue)}
.nav-actions{gap:12px}.nav-link{font-size:12px}.nav-link:hover{text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:5px}
.nav-create{border:0;border-radius:24px;padding:13px 19px;background:var(--blue);font-size:12px;box-shadow:3px 4px 0 #d8e5f8}
.nav-create:hover{background:#16478f}
.hero{max-width:1510px;margin:auto;min-height:640px;padding:72px max(5vw,20px) 68px;grid-template-columns:1.08fr .92fr;gap:6%;overflow:visible;align-items:center}
.hero .eyebrow{font-size:11px;letter-spacing:1px;color:var(--blue)}
.hero h1{margin:20px 0 12px;font:900 clamp(52px,6.2vw,94px)/1.12 var(--font-hand);letter-spacing:-5px;color:var(--blue);position:relative;transform:rotate(-1deg)}
.hero h1 .ink-blue{color:var(--blue)}
.hero h1 em{font:inherit;color:var(--orange);position:relative;display:inline-block}
.hero h1 em:after{content:'';position:absolute;background:var(--butter);height:8px;width:96%;border-radius:50%;bottom:0;left:0;transform:rotate(-3deg);z-index:-1}
.hero-spark{font:45px var(--font-hand);position:absolute;top:-15px;right:4%;color:#f2b322;transform:rotate(-12deg)}
.hero-thai{font:800 clamp(18px,2vw,24px)/1.7 var(--font-ui);color:#202b41;margin:22px 0 9px}
.hero-desc{font-size:14px;line-height:1.8;max-width:510px}
.hero-actions{margin-top:25px}.btn{border-radius:9px;padding:13px 18px;font-family:var(--font-ui);font-weight:800;font-size:13px;min-height:44px;letter-spacing:0;box-shadow:2px 3px 0 #f0e9e0}
.btn-coral{background:var(--orange);color:white;border-color:var(--orange)}.btn-coral:hover{background:#a83930}
.btn-ink{background:var(--blue);border-color:var(--blue)}.btn-ink:hover{background:#17488d;border-color:#17488d}
.btn-outline{border:1.5px solid #b5bdcb;background:#fff;color:#243955}.btn-outline:hover{background:#f0f6ff;color:var(--blue)}
.btn-soft{background:#fff7dd;border-color:#f0d895}
.hero-foot{font:700 12px var(--font-hand);letter-spacing:.2px;margin-top:30px}
.hero-foot b{display:inline-grid;place-items:center;background:var(--butter);border-radius:50%;width:23px;height:23px;color:#172e51;margin-right:4px}
.hero-gallery{align-self:center;background:#fff;max-width:580px;min-height:470px;border:0;box-shadow:none;isolation:isolate}
.art-main{inset:10% 12% 5% 7%;border:12px solid #fff;box-shadow:1px 9px 28px #31405b22;transform:rotate(3deg);border-radius:2px}
.art-one{width:38%;height:41%;bottom:-2%;left:-6%;transform:rotate(-12deg);box-shadow:2px 8px 15px #152d4b33;z-index:2}
.art-two{width:38%;height:42%;top:-3%;right:0;transform:rotate(10deg);box-shadow:4px 9px 15px #152d4b38;z-index:2}
.art-polaroid{padding:10px 10px 34px;background:#fff;border:1px solid #e8e4e1}
.art-polaroid i{font:700 16px var(--font-hand);color:#273c61}
.hero-tape{width:95px;height:25px;position:absolute;top:7%;left:30%;transform:rotate(-12deg);background:repeating-linear-gradient(-34deg,#7fb4e0b8 0 6px,#85bcdf99 7px 13px);z-index:4;opacity:.9}
.scrap-heart,.scrap-star,.scrap-smile{position:absolute;z-index:5;font-family:var(--font-hand);pointer-events:none}
.scrap-heart{color:#e15f8e;font-size:70px;top:45%;right:0;transform:rotate(15deg)}
.scrap-star{color:#f3c52c;font-size:48px;bottom:3%;right:7%;transform:rotate(-10deg)}
.scrap-smile{color:var(--blue);font-size:56px;top:-12%;left:1%;transform:rotate(17deg)}
.hero-scribble{position:absolute;z-index:5;top:1%;left:28%;font:700 15px var(--font-hand);color:var(--blue);transform:rotate(-7deg)}
.hero-caption{position:absolute;bottom:2%;left:47%;color:var(--blue);font-size:9px;letter-spacing:1px;text-shadow:none;z-index:4;transform:rotate(-3deg)}
.hero-caption em{font:700 15px var(--font-hand)}
.hero-index{top:-20px;right:7%;left:auto;color:#34466b;letter-spacing:1px}
.occasion-bar{max-width:1400px;margin:15px auto 0;padding:20px max(4vw,20px) 26px;border-top:1px dashed #dededb;border-bottom:1px dashed #dededb;display:flex;align-items:center;gap:22px}
.occasion-label{font:700 17px var(--font-hand);color:var(--orange);white-space:nowrap;transform:rotate(-2deg)}
.occasion-list{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.occasion-list span{display:inline-block;font:700 12px var(--font-ui);border:1px solid #dbe0e5;background:#fff;padding:8px 12px;border-radius:7px;transform:rotate(1deg)}
.occasion-list span:nth-child(3n+1){background:#ffedf2}.occasion-list span:nth-child(3n+2){background:#fff5cb}.occasion-list span:nth-child(3n){background:#e7f1ff}
.manifesto{grid-template-columns:1fr 2fr;gap:5%;background:white;border:0;max-width:1400px;margin:auto;padding:85px max(4vw,20px) 55px}
.manifesto h2,.section-heading h2,.result-intro h2{font:900 clamp(42px,5vw,70px)/1.25 var(--font-hand);letter-spacing:-2px;color:var(--ink)}
.manifesto h2 em,.section-heading h2 em,.result-intro h2 em{font:inherit;color:var(--blue)}
.manifesto h2 em{color:var(--orange)}
.manifesto>p.eyebrow{align-self:start}
.how-it-works{max-width:1400px;margin:auto;padding:65px max(4vw,20px) 80px}
.section-heading{align-items:start;gap:25px}
.step-grid{gap:19px}.step{position:relative;background:#fff;border:1px solid #dfdfdc;padding:10px 10px 20px;box-shadow:5px 6px 0 #eef2f8;border-radius:4px}
.step:before{content:'✳';position:absolute;top:-26px;right:15px;font-size:35px;color:var(--orange);transform:rotate(12deg);z-index:1}
.step:nth-child(2):before{content:'♡';color:#e97baa}.step:nth-child(3):before{content:'★';color:#e6b11c}
.step-visual{height:270px;border-radius:2px}
.print-poster{background:#e7f0fa}.phone-demo{background:#fff1d1}.album-demo{background:#fcebf0}
.step-title{margin:20px 11px 10px;flex-direction:column;gap:9px}.step-title span{padding:4px 11px;background:var(--butter);color:#1b3762;font:800 12px var(--font-ui);border-radius:14px}
.step:nth-child(2) .step-title span{background:#f8d4e0}.step:nth-child(3) .step-title span{background:#e1ecfb}
.step-title h3{font-size:19px}.step>p{padding:0 11px;font-size:13px}
.result-block{background:#fff;border-block:1px solid #ebebea;max-width:1400px;margin:0 auto 42px;padding:70px max(4vw,20px);position:relative}
.result-block:before{content:'♡';position:absolute;top:28px;right:8%;font:60px var(--font-hand);transform:rotate(17deg);color:#df7193}
.result-list{margin:32px 0}.result-list>div{border-top:1px dashed #cbd2df}.result-list strong{font:700 19px var(--font-ui)}.result-list b{font:800 15px var(--font-hand);color:var(--orange)}
.result-list span{font-size:13px}
.pilot-note{background:#fffae8;max-width:1400px;margin:auto;border-top:1px dashed #dbcfa7;border-bottom:1px dashed #dbcfa7}
footer{background:#fff;min-height:100px;letter-spacing:.4px;font-size:11px}
footer strong{font-family:var(--font-hand);font-size:32px}

/* Actual app: Form / Event Studio / Guest camera / Gallery */
.scrapbook-workspace{position:relative;max-width:1240px;padding-top:55px}
.work-doodle{position:absolute;right:5%;top:36px;color:#e7b52f;font:45px var(--font-hand);transform:rotate(17deg);pointer-events:none}
.work-doodle span{color:#dc739a;margin-left:15px;font-size:35px}
.crumb{background:#ecf3ff;padding:10px 13px;border-radius:6px;font-size:11px;margin-bottom:32px}
.work-brow{background:#fff1bb;display:table;padding:6px 11px;transform:rotate(-1deg);font-size:10px;letter-spacing:1px;color:#23519e}
.work-title{font:900 clamp(42px,5vw,66px)/1.16 var(--font-hand);letter-spacing:-2px;margin:19px 0 11px;color:var(--blue)}
.work-title em{color:var(--orange);font-style:normal}.work-sub{font-size:14px;color:var(--muted);margin:10px 0 30px}
.surface{position:relative;border:1px solid #d9dee8;border-radius:9px;box-shadow:4px 5px 0 #eef2f9;background:#fff}
.surface .label-sm,.event-card .tagline{font-size:11px;letter-spacing:1.4px}
.surface .label-sm{color:var(--blue)}
.create-layout>aside .event-card{transform:rotate(1deg)}
.create-layout>aside .event-card:before{content:'✿';position:absolute;top:13px;right:17px;color:#d74d44;font:34px var(--font-hand)}
.field label{color:#293955}.field input,.field select,.field textarea,.key-input{border:1px solid #c7d3e3;border-radius:7px;background:#fff;padding:13px 14px}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--blue)}
.cols2{gap:15px}.checkline{background:#f6f9ff;border-radius:9px;padding:15px;margin:18px 0}
.hint-box{background:#fffcf2;border:1px solid #f2e5c6;border-left:4px solid #f4b52e;border-radius:7px;line-height:1.8}
.event-card{position:relative;background:white;border:1px solid #dbe2ee;border-top:3px solid #477dcc;border-radius:7px;box-shadow:5px 6px 0 #edf2fc}
.event-card h3{font:800 30px/1.3 var(--font-hand);color:var(--orange)}
.cover-preview{border:8px solid white;box-shadow:0 0 0 1px #d4d5d1;transform:rotate(-2deg);height:185px;margin:18px 5px;background:radial-gradient(circle at 65% 27%,#f9e49c 0 10%,transparent 11%),linear-gradient(163deg,#a5d9e2,#f9c995 55%,#6f9ba7 56%,#468479)}
.guide-mini{gap:9px}.guide-mini span{font-size:12px;border-top:1px dashed #d1d7e1}
.stats.scrapbook-stats{gap:14px}.stats.scrapbook-stats .stat:nth-child(1){background:#e5f0ff;border-top-color:#336dbf;transform:rotate(-1deg)}
.stats.scrapbook-stats .stat:nth-child(2){background:#fff3c4;border-top-color:#e6b426;transform:rotate(1deg)}
.stats.scrapbook-stats .stat:nth-child(3){background:#ffe4ec;border-top-color:#e07c9c;transform:rotate(-.5deg)}
.stat{border-radius:7px;box-shadow:2px 3px 0 #eaeef3}.stat b{font:900 39px var(--font-hand);color:#275aa4}.stat small{font-weight:800;letter-spacing:.2px}
.host-album-card{border-top:6px solid #f9cc57;padding:29px}.host-album-card:after{content:'♡';position:absolute;right:25px;top:17px;color:#d85c8b;font:46px var(--font-hand);transform:rotate(15deg)}
.host-quote{font:800 clamp(26px,3vw,39px) var(--font-hand);color:var(--blue)}
.invite-title,.guest-event-title{font:800 clamp(26px,3.3vw,41px)/1.25 var(--font-hand);color:var(--orange)}
.qr-img{padding:16px;background:white;border:6px solid #f5f2ee;border-radius:8px;box-shadow:0 0 0 1px #c8d2e5}
.invite-row input{border:1px solid #cdd8e7;border-radius:7px;min-width:0}
.privacy-settings{border:1px solid #d8e2ee;border-left:4px solid #5080c3;background:#f7faff;border-radius:7px}
.privacy-settings:last-of-type{border-left-color:var(--orange);background:#fffafa}
.keybox{background:#fff9e9;border:1px dashed #e6ce80;border-radius:7px}
.status{border-color:#c0d8c8;background:#edf7ed;color:#3e6751}.status.closed{background:#fff3cb;border-color:#e6d19d;color:#7c5d21}
.roll-list-item{padding:18px 15px;border:1px dashed #d0dbed;border-radius:8px;margin:12px 0;box-shadow:3px 4px 0 #eef3fc}
.roll-list-item h3{font:800 25px var(--font-hand);color:var(--blue)}
/* Camera is still intentionally dark for contrast and familiar physical shutter. */
.scrapbook-camera{border:6px solid #313736;border-radius:24px;padding:14px 13px 17px;box-shadow:7px 8px 0 #ffe5b5;width:min(100%,440px)}
.scrapbook-camera .camera-head{font:800 12px var(--font-ui);letter-spacing:.5px}.scrapbook-camera .camera-head span:last-child{color:#ffe886}
.scrapbook-camera .camera-placeholder{font:800 29px var(--font-hand);color:#fff7e8}
.scrapbook-camera .viewfinder{height:auto;min-height:210px;aspect-ratio:4/4.2;max-height:400px;border:4px solid #151b1a}
.scrapbook-camera .camera-tools{gap:8px;margin-top:16px}.scrapbook-camera .cam-tool{font-family:var(--font-ui);font-weight:700;border:1px solid #7e928d;border-radius:8px;padding:10px 8px;min-height:46px;max-width:31%;font-size:12px}
.scrapbook-camera .shutter{width:72px;height:72px;border-color:#fdfcf4;box-shadow:inset 0 0 0 3px #171d1a,0 0 0 3px #5c6661;min-width:72px}
.scrapbook-camera .shutter:hover{background:#e96258}.scrapbook-camera .camera-caption{color:#d7ecd8;letter-spacing:.8px;font:800 11px var(--font-ui)}
.film-counter{background:#1b2020c4;color:#fff;font-weight:800;border-radius:4px}
/* Album: actual uploaded images, taped polaroid collection */
.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:23px 17px}
.memory-card{background:#fff;border:1px solid #dedfdc;padding:10px 10px 14px;border-radius:2px;box-shadow:3px 6px 0 #e7eaf0;position:relative;min-width:0}
.memory-card:nth-child(3n+1){transform:rotate(-1deg)}.memory-card:nth-child(3n+2){transform:rotate(1deg)}
.memory-card:before{content:'';background:#94c3eeaa;position:absolute;top:-10px;left:33%;height:20px;width:80px;transform:rotate(-5deg)}
.memory-card:nth-child(3n+2):before{background:#ffd7a7b5}.memory-card:nth-child(3n+3):before{background:#e7c7dfaa}
.memory-card img{aspect-ratio:4/5;border:1px solid #eee5dc;background:#f6f7f6}
.memory-card p{font:800 18px var(--font-hand);color:#294f8a;margin:11px 3px 7px}
.memory-tools button,.memory-tools a{font-size:12px;font-weight:700;color:#215bb4;text-underline-offset:3px}
.empty,.waiting{background:#f6f9ff;border:1px dashed #aabde0;border-radius:10px;padding:35px 20px}.empty .heart{font:800 44px var(--font-hand);color:#d1597e}
.preview-surface:before{content:'♡';position:absolute;top:8px;right:25px;color:#d46d90;font:40px var(--font-hand)}
.preview-shot{border:10px solid #fff;box-shadow:0 0 0 1px #e0e0dc,5px 7px 0 #ebeff5}
#toast{border-radius:9px;box-shadow:3px 4px 0 #f7d77d}
@media(max-width:1000px){.hero h1{font-size:clamp(48px,6vw,74px)}.hero-gallery{min-height:420px}.occasion-bar{display:block}.occasion-label{display:block;margin-bottom:15px}.art-polaroid i{font-size:13px}}
@media(max-width:740px){
 .memory-ribbon{height:30px;gap:6px;font-size:9px;letter-spacing:.5px}.site-nav{min-height:69px;padding:10px 4%}.wordmark{font-size:29px}.nav-actions{gap:5px}.nav-link{font-size:11px;padding:7px 3px}.nav-create{font-size:11px;padding:10px 9px;border-radius:12px}.nav-create span{margin-left:3px}.nav-center{display:none}
 .hero{padding:45px 6% 52px;min-height:0;display:block}.hero h1{font-size:clamp(43px,10vw,67px);letter-spacing:-3px;margin:22px 0 12px}.hero-spark{font-size:24px;top:-8px;right:0}.hero-thai{font-size:20px;margin:15px 0 10px}.hero-desc{font-size:13px}.hero-foot{margin-top:24px;font-size:11px}.hero-gallery{margin:60px 5% 5% 8%;min-height:325px}.art-main{inset:9% 5% 8% 7%}.art-one{left:-8%;height:37%;width:40%}.art-two{right:-4%;height:39%;width:41%}.scrap-smile{font-size:36px;top:-13%}.scrap-heart{font-size:47px}.hero-scribble{font-size:11px;left:17%}.hero-caption{left:44%;bottom:0}.hero-index{font-size:9px;top:-30px}
 .occasion-bar{margin:0 4%;padding:20px 2%}.occasion-list{gap:6px}.occasion-list span{font-size:11px;padding:7px 8px}
 .manifesto{display:block;padding:60px 6% 35px}.manifesto h2,.section-heading h2,.result-intro h2{font-size:clamp(37px,8.4vw,54px)}.manifesto .eyebrow{margin-bottom:18px}.how-it-works{padding:40px 6% 55px}.step-grid{gap:36px}.step-visual{height:260px}.step-title{display:flex}.result-block{padding:55px 6%}.result-list{grid-template-columns:1fr}
 .scrapbook-workspace{padding:30px 5% 75px}.work-doodle{font-size:26px;right:7%;top:25px}.work-doodle span{font-size:22px;margin-left:3px}.work-title{font-size:clamp(39px,10vw,54px);letter-spacing:-1.2px}.work-sub{font-size:13px}.surface{padding:18px}.scrapbook-stats{gap:7px}.stats.scrapbook-stats .stat{padding:12px 9px;transform:none}.stat b{font-size:30px}.stat small{font-size:10px;letter-spacing:0}
 .panel-grid{grid-template-columns:1fr}.guest-event-title{font-size:31px}.scrapbook-camera{padding:12px 10px 16px;box-shadow:5px 6px 0 #ffebb8;margin:0 auto}.scrapbook-camera .camera-tools{gap:5px}.scrapbook-camera .shutter{width:66px;height:66px;min-width:66px;border-width:7px}.scrapbook-camera .cam-tool{padding:9px 5px;font-size:11px;max-width:34%;min-width:0}.scrapbook-camera .viewfinder{min-height:185px;max-height:360px}
 .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 9px}.memory-card{padding:6px 6px 11px}.memory-card p{font-size:13px}.memory-tools{gap:7px}.memory-tools button,.memory-tools a{font-size:11px}.invite-row{flex-wrap:wrap}.invite-row input{width:100%;flex-basis:100%}.hint-box{padding:14px}
}
@media(max-width:365px){.nav-link{font-size:10px}.nav-create{font-size:10px;padding:10px 6px}.wordmark{font-size:26px}.hero h1{font-size:41px}.hero-gallery{min-height:285px}.scrapbook-camera .cam-tool{font-size:10px}.scrapbook-camera .shutter{width:60px;height:60px;min-width:60px}}
@media print{.memory-ribbon{display:none!important}.occasion-bar{display:none}.scrapbook-workspace{padding:0}.memory-card{box-shadow:none;transform:none!important}}
/* Phase-2 visual QA refinement: avoid the film label colliding with photo frames. */
.hero-caption{bottom:-22px;left:44%;max-width:53%;padding:5px 7px;background:#fff;color:var(--blue);box-shadow:2px 3px 0 #eff3fa;z-index:6}
@media(max-width:740px){.hero-caption{bottom:-22px;left:44%;max-width:58%;font-size:8px}.hero-caption em{font-size:12px}}


/* Phase 2 mobile camera acceptance pass (v0.7): put primary camera tools in the
   first viewport; scrapbook decoration never covers shutter or preview. */
@media (max-width:740px) {
 body.rolli-camera-mode .site-nav{min-height:52px;padding:7px 4%;}
 body.rolli-camera-mode .site-nav .wordmark{font-size:27px;}
 body.rolli-camera-mode .site-nav .nav-actions{gap:5px;}
 body.rolli-camera-mode .site-nav .nav-actions .nav-link{font-size:11px;}
 body.rolli-camera-mode .site-nav .nav-create{padding:8px 10px;font-size:11px;min-height:40px;}
 body.rolli-camera-mode .scrapbook-workspace{padding:6px 12px 52px;}
 body.rolli-camera-mode .scrapbook-workspace .crumb{margin:3px 0 5px;min-height:36px;}
 body.rolli-camera-mode .scrapbook-workspace .work-brow,
 body.rolli-camera-mode .scrapbook-workspace .work-doodle{display:none;}
 body.rolli-camera-mode .scrapbook-workspace .work-title{font-size:clamp(24px,6vw,30px);letter-spacing:-1px;margin:2px 0 3px;line-height:1.2;}
 body.rolli-camera-mode .scrapbook-workspace .work-sub{font-size:12px;line-height:1.35;margin:0 0 9px;}
 body.rolli-camera-mode .panel-grid{gap:14px;}
 body.rolli-camera-mode .scrapbook-camera{width:100%;padding:9px 9px 11px;border-width:4px;border-radius:18px;box-shadow:3px 4px 0 #ffe5b5;}
 body.rolli-camera-mode .scrapbook-camera .camera-head{margin:0 2px 8px;letter-spacing:0;font-size:11px;}
 body.rolli-camera-mode .scrapbook-camera .viewfinder{min-height:178px;height:min(39svh,335px);max-height:none;aspect-ratio:auto;border-width:3px;}
 body.rolli-camera-mode .scrapbook-camera .camera-tools{gap:6px;margin-top:9px;}
 body.rolli-camera-mode .scrapbook-camera .cam-tool{font-size:13px;line-height:1.2;min-height:52px;min-width:82px;padding:9px 7px;max-width:none;flex:1;}
 body.rolli-camera-mode .scrapbook-camera .shutter{width:68px;height:68px;min-width:68px;max-width:68px;flex:0 0 68px;}
 body.rolli-camera-mode .scrapbook-camera .camera-caption{font-size:11px;margin-top:9px;}
 body.rolli-camera-mode .centered-actions{justify-content:center;gap:8px;}
 body.rolli-camera-mode .centered-actions .btn{padding:10px 8px;font-size:12px;min-height:46px;flex:1;}
 body.rolli-camera-mode .event-card{padding:15px;}
 body.rolli-camera-mode .event-card h3{font-size:25px;margin:6px 0;}
 body.rolli-camera-mode .guide-mini{margin:8px 0;}
 body.rolli-camera-mode #toast{max-width:calc(100vw - 20px);width:max-content;bottom:12px;min-width:0;font-size:13px;}
}
@media(max-width:355px){
 body.rolli-camera-mode .scrapbook-camera .cam-tool{font-size:11px;min-width:70px;}
 body.rolli-camera-mode .scrapbook-camera .shutter{min-width:62px;width:62px;height:62px;flex-basis:62px;}
}

.camera-permission-tip{padding:12px 14px;border:1px solid #dce8e6;border-radius:12px;margin:12px 0 0;background:#f7fbf9;color:#35524c;font-size:13px;line-height:1.5}
/* ROLLI MODERN CAMERA V0.8 START
   Local-only cosmetic update. Does not change camera permissions, events, storage,
   uploads, security, routing, or the existing film filter implementation. */

/* An airy product-app canvas instead of a physical camera shell. */
body.rolli-camera-mode{background:#f6f8fc;color:#1b2535}
body.rolli-camera-mode .scrapbook-workspace{max-width:1340px;padding:16px clamp(14px,3vw,42px) 70px}
body.rolli-camera-mode .scrapbook-workspace .crumb{color:#52657e;font-weight:700;margin:4px 0 8px;min-height:30px}
body.rolli-camera-mode .scrapbook-workspace .work-title{font-family:var(--font-ui,'Segoe UI',Arial,sans-serif);font-size:clamp(27px,3.1vw,39px);font-weight:850;letter-spacing:-1.4px;line-height:1.12;margin:2px 0 5px;color:#23375b}
body.rolli-camera-mode .scrapbook-workspace .work-title em{color:#e65c53;font-style:normal}
body.rolli-camera-mode .scrapbook-workspace .work-sub{color:#58677a;max-width:660px;font-size:13px;line-height:1.48;margin:5px 0 17px}
body.rolli-camera-mode .panel-grid{grid-template-columns:minmax(0,1.58fr) minmax(270px,.88fr);align-items:start;gap:clamp(18px,3vw,42px)}
body.rolli-camera-mode .panel-grid>section,body.rolli-camera-mode .panel-grid>aside{min-width:0}

/* The live photo becomes the hero. Transparent camera HUD is layered on top. */
body.rolli-camera-mode .scrapbook-camera{
  width:100%;max-width:none;margin:0;padding:10px;border:1px solid #dfe6f1;border-radius:30px;
  background:#fff;box-shadow:0 18px 50px #1b386818,0 3px 12px #1b38680c;position:relative;overflow:hidden;
}
body.rolli-camera-mode .scrapbook-camera .camera-head{
  position:absolute;z-index:3;top:30px;left:30px;right:30px;display:flex;align-items:center;
  justify-content:space-between;gap:12px;font-family:var(--font-ui,'Segoe UI',Arial,sans-serif);
  margin:0;letter-spacing:.2px;font-size:11px;pointer-events:none;
}
body.rolli-camera-mode .scrapbook-camera .camera-head span{
  display:inline-flex;align-items:center;gap:5px;border:1px solid #ffffff48;border-radius:999px;
  padding:8px 12px;color:#fff!important;background:#111d30a6;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  font-weight:800;box-shadow:0 3px 12px #0002;white-space:nowrap;
}
body.rolli-camera-mode .scrapbook-camera .camera-head span:first-child{font-size:13px;letter-spacing:-.25px}
body.rolli-camera-mode .scrapbook-camera .camera-head span:first-child:before{
  content:'';height:7px;width:7px;border-radius:50%;background:#f06a61;box-shadow:0 0 0 3px #f06a613d
}
body.rolli-camera-mode .scrapbook-camera .viewfinder{
  position:relative;width:100%;height:clamp(340px,52svh,580px);max-height:none;min-height:0;aspect-ratio:auto;
  border:0;border-radius:23px;overflow:hidden;background:#c2d9de;isolation:isolate;
}
body.rolli-camera-mode .scrapbook-camera .viewfinder:after{
  content:'';position:absolute;z-index:1;bottom:0;left:0;right:0;height:36%;pointer-events:none;
  background:linear-gradient(to top,#0b16234d,transparent);
}
body.rolli-camera-mode .scrapbook-camera .viewfinder video,
body.rolli-camera-mode .scrapbook-camera .viewfinder img{width:100%;height:100%;object-fit:cover;display:block}
body.rolli-camera-mode .scrapbook-camera .camera-placeholder{
  width:100%;height:100%;font-family:var(--font-hand,ui-rounded,'Segoe UI',sans-serif);
  font-size:clamp(30px,3vw,49px);font-weight:850;line-height:1.15;text-shadow:0 4px 20px #26324a28;
  color:#fff9f2;background:radial-gradient(circle at 73% 24%,#ffe7b4 0 10%,transparent 11%),
    linear-gradient(165deg,#76b9c7 0%,#c6d6c5 53%,#d9ab93 54%,#df9c82 100%);
}
body.rolli-camera-mode .scrapbook-camera .film-counter{
  top:auto;bottom:22px;left:22px;z-index:2;padding:9px 13px;border-radius:999px;
  color:#fff;background:#1019279c;border:1px solid #ffffff53;
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  font:800 11px var(--font-ui,'Segoe UI',Arial,sans-serif);letter-spacing:.7px;
}
/* Control dock: dominant shutter and two generous, touch-friendly side actions. */
body.rolli-camera-mode .scrapbook-camera .camera-tools{
  display:grid;grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr);align-items:center;
  gap:15px;margin:10px 3px 0;padding:10px 0 3px;
}
body.rolli-camera-mode .scrapbook-camera .cam-tool{
  width:100%;max-width:none;min-width:0;min-height:62px;display:flex;align-items:center;justify-content:center;
  border:1px solid #e0e8f2;border-radius:19px;background:#f4f7fc;color:#24375c;
  font:800 14px/1.35 var(--font-ui,'Segoe UI',Arial,sans-serif);
  padding:10px 12px;box-shadow:none;transition:background .16s,border-color .16s,transform .16s;
}
body.rolli-camera-mode .scrapbook-camera .cam-tool:hover:not(:disabled){background:#eaf0fb;border-color:#b8c9ea;transform:translateY(-1px)}
body.rolli-camera-mode .scrapbook-camera .cam-tool:active:not(:disabled){transform:translateY(1px)}
body.rolli-camera-mode .scrapbook-camera .shutter{
  display:block;width:86px;height:86px;min-width:86px;max-width:86px;flex:none;
  border:7px solid white;border-radius:50%;background:#ed5c55;position:relative;
  box-shadow:0 0 0 3px #e4eaf3,0 7px 22px #ed5c5540,inset 0 0 0 0 transparent;
  transition:transform .16s,box-shadow .16s,background .16s;
}
body.rolli-camera-mode .scrapbook-camera .shutter:hover:not(:disabled){background:#f36a63;box-shadow:0 0 0 3px #e4eaf3,0 9px 26px #ed5c5560;transform:scale(1.04)}
body.rolli-camera-mode .scrapbook-camera .shutter:active:not(:disabled){transform:scale(.94)}
body.rolli-camera-mode .scrapbook-camera .camera-caption{
  font:800 10px var(--font-ui,'Segoe UI',Arial,sans-serif);letter-spacing:2px;
  color:#77869b;text-align:center;margin:7px 0 6px;
}
body.rolli-camera-mode .scrapbook-camera .camera-permission-tip{
  border:0;border-top:1px solid #edf0f6;border-radius:0;background:transparent;
  margin:8px 4px 0;padding:10px 4px 3px;font:500 11px/1.55 var(--font-ui,'Segoe UI',Arial,sans-serif);
  color:#798699;box-shadow:none;
}
body.rolli-camera-mode .centered-actions{justify-content:center;gap:12px;margin:16px 0 5px}
body.rolli-camera-mode .centered-actions .btn{
  flex:1;min-height:51px;padding:12px 16px;background:#fff;border:1px solid #dfe6f1;
  border-radius:14px;color:#344e72;box-shadow:0 3px 9px #1b38680b;
  font:750 12px var(--font-ui,'Segoe UI',Arial,sans-serif);
}
body.rolli-camera-mode .centered-actions .btn:hover{background:#edf3fc;color:#193763}
body.rolli-camera-mode .event-card{border:1px solid #e0e8f1;border-radius:22px;box-shadow:0 8px 24px #1b38680a;background:#fff;padding:22px}
body.rolli-camera-mode .event-card h3{font-family:var(--font-ui,'Segoe UI',Arial,sans-serif);font-weight:850;letter-spacing:-.8px;color:#263855}
body.rolli-camera-mode .panel-grid>aside>.hint-box{border-radius:17px;background:#fff8ec;color:#81643e;border:1px solid #fae2b4;box-shadow:none}
body.rolli-camera-mode .panel-grid>aside>.fine{color:#66768b;line-height:1.6}

@media(max-width:850px){
  body.rolli-camera-mode .panel-grid{grid-template-columns:minmax(0,1fr);gap:19px}
  body.rolli-camera-mode .scrapbook-workspace{padding:10px 13px 50px}
  body.rolli-camera-mode .scrapbook-workspace .work-title{font-size:28px}
  body.rolli-camera-mode .scrapbook-workspace .work-sub{font-size:12px;margin-bottom:12px}
  body.rolli-camera-mode .scrapbook-camera{border-radius:25px;padding:8px}
  body.rolli-camera-mode .scrapbook-camera .camera-head{top:24px;left:22px;right:22px}
  body.rolli-camera-mode .scrapbook-camera .viewfinder{height:clamp(300px,52svh,560px);border-radius:19px}
  body.rolli-camera-mode .scrapbook-camera .camera-tools{grid-template-columns:minmax(0,1fr) 78px minmax(0,1fr);gap:9px;margin:6px 2px 0}
  body.rolli-camera-mode .scrapbook-camera .cam-tool{min-height:56px;font-size:12px;padding:9px 5px;border-radius:15px}
  body.rolli-camera-mode .scrapbook-camera .shutter{width:74px;height:74px;min-width:74px;max-width:74px;border-width:6px}
}
@media(max-width:390px){
  body.rolli-camera-mode .scrapbook-camera .camera-head{left:18px;right:18px;font-size:10px;gap:5px}
  body.rolli-camera-mode .scrapbook-camera .camera-head span{padding:7px 9px}
  body.rolli-camera-mode .scrapbook-camera .viewfinder{height:48svh;min-height:260px}
  body.rolli-camera-mode .scrapbook-camera .camera-tools{grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr);gap:7px}
  body.rolli-camera-mode .scrapbook-camera .cam-tool{font-size:11px;min-height:52px}
  body.rolli-camera-mode .scrapbook-camera .shutter{width:66px;height:66px;min-width:66px;max-width:66px}
  body.rolli-camera-mode .centered-actions .btn{font-size:11px;padding:9px}
}
@media(prefers-reduced-motion:reduce){body.rolli-camera-mode .scrapbook-camera .shutter,body.rolli-camera-mode .scrapbook-camera .cam-tool{transition:none}}
/* ROLLI MODERN CAMERA V0.8 END */
/* ROLLI Birthday Hero — Local v0.8 */

.hero-gallery {
  background: #fff;
  box-shadow: none;
}

/* Hide the old illustrated decorations */
.hero-gallery > :not(.hero-birthday-photo) {
  display: none;
}

/* Display the real birthday collage */
.hero-gallery > .hero-birthday-photo {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ROLLI_FILM_ENGINE_V010 — light editorial film controls, mobile-first. */
.preview-surface.rolli-film-preview{max-width:840px;margin-inline:auto}
.rolli-film-preview .preview-shot{display:block;max-height:55vh;max-width:100%;width:auto;min-width:0;object-fit:contain;margin:12px auto 8px;border-radius:8px;background:#f2efe8;box-shadow:0 10px 25px #1e304e1a}
.rolli-film-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 13px}
.rolli-film-toolbar strong{font-size:14px;color:#263b60;letter-spacing:.3px}
.rolli-film-compare{border:1px solid #a6b5cb;background:#fff;color:#273d69;padding:9px 15px;border-radius:24px;cursor:pointer;font:700 12px sans-serif}
.rolli-film-compare[aria-pressed="true"]{background:#203961;color:#fff}
.rolli-film-choices{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;padding:3px 2px 12px;margin-bottom:7px;-webkit-overflow-scrolling:touch}
.rolli-film-choice{border:1px solid #d9dfe9;background:#fff;border-radius:13px;flex:0 0 128px;text-align:left;padding:12px 11px;min-height:68px;cursor:pointer;scroll-snap-align:start;color:#28364d}
.rolli-film-choice strong{display:block;font-size:13px;margin-bottom:5px}
.rolli-film-choice small{display:block;color:#66748c;font-size:10px;line-height:1.3}
.rolli-film-choice[aria-pressed="true"]{border:2px solid #2456cb;background:#f3f6ff;padding:11px 10px;box-shadow:0 2px 0 #d2ddf7}
.rolli-film-choice:disabled{cursor:not-allowed;opacity:.65}
.rolli-film-intensity{display:flex;align-items:center;gap:12px;margin:0 0 13px;font-size:12px;color:#354563}
.rolli-film-intensity label{min-width:72px;font-weight:700}
.rolli-film-intensity input{flex:1;accent-color:#2456cb;cursor:pointer;min-width:70px}
.rolli-film-intensity output{min-width:34px;text-align:right;font-variant-numeric:tabular-nums;font-weight:700}
.rolli-film-status{font-size:12px;color:#5a6881;min-height:20px;margin:6px 0 12px}
.rolli-film-preview .preview-actions{display:flex;flex-wrap:wrap;gap:10px}
.rolli-film-preview .preview-actions .btn{flex:1;min-width:180px}
.rolli-film-preview button:focus-visible,.rolli-film-preview input:focus-visible{outline:3px solid #e06f73;outline-offset:2px}
@media(max-width:600px){.rolli-film-preview .preview-shot{max-height:38svh}.rolli-film-choices{margin-inline:-8px}.rolli-film-choice{flex-basis:118px;min-height:61px}.rolli-film-toolbar{gap:5px}.rolli-film-preview .preview-actions .btn{min-width:0;flex-basis:100%;}}


/* ROLLI_FILM_LOCK_V0102: event-loaded film, simple disposable camera preview. */
.rolli-locked-preview .rolli-film-toolbar{align-items:center;margin-bottom:8px}
.rolli-loaded-label{font:700 10px/1.3 sans-serif;color:#2256b9;letter-spacing:1.1px;border:1px solid #cbd8f0;border-radius:999px;padding:8px 11px;white-space:nowrap}
.rolli-locked-preview .preview-shot{max-height:58svh}
@media(max-width:600px){.rolli-locked-preview .preview-shot{max-height:44svh}.rolli-loaded-label{font-size:9px;padding:7px}}


/* ROLLI_IMAGE_QUALITY_V011: unobtrusive native camera option */
.camera-native-cta{display:block;margin:9px auto 4px;border:0;background:transparent;color:#2854ac;font-family:inherit;font-size:12px;font-weight:600;line-height:1.45;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:6px 8px}.camera-native-cta:disabled{opacity:.45;cursor:not-allowed}

/* ROLLI_MEMORY_FIRST_SPRINT2 — landing-only. Does not affect the camera or app workflows. */
@media screen {
 .rolli-memory-hero {min-height:540px;max-width:1500px;margin:0 auto;padding:70px max(5vw,22px) 60px;grid-template-columns:1fr 1.05fr;gap:clamp(20px,3.5vw,60px);align-items:center;overflow:visible}
 .rolli-memory-hero .hero-copy{max-width:640px}
 .rolli-memory-hero .memory-eyebrow{font-size:11px;font-weight:750;letter-spacing:1.7px;color:#254ca8;line-height:1.5}
 .rolli-memory-hero h1{font:400 clamp(58px,5.8vw,94px)/.99 Georgia,'Times New Roman',serif;letter-spacing:-3.8px;color:#212a37;margin:25px 0 22px}
 .rolli-memory-hero h1 em{color:#2655b5;font-style:italic;font-weight:400}
 .rolli-memory-hero .memory-subhead{margin:0 0 10px;font-size:clamp(16px,1.4vw,20px);font-weight:700;color:#273244;line-height:1.4}
 .rolli-memory-hero .hero-desc{max-width:455px;margin:0;color:#58616e;line-height:1.7;font-size:15px}
 .rolli-memory-hero .hero-actions{margin-top:27px;gap:12px}
 .rolli-memory-hero .hero-actions .btn{min-height:49px;padding:14px 20px;border-radius:5px;font-size:13px}
 .rolli-memory-hero .hero-foot{margin-top:26px;letter-spacing:1.3px;font:11px/1.8 monospace;color:#627084}
 .rolli-memory-hero .hero-foot b{color:#ca4a43}
 .rolli-memory-hero .memory-hero-gallery{width:100%;max-width:690px;min-height:0;aspect-ratio:4/3;margin:0;display:flex;position:relative;align-self:center;align-items:center;background:#fff;box-shadow:none;overflow:visible;isolation:isolate}
 .rolli-memory-hero .memory-hero-image{position:relative;display:block;width:100%;height:100%;max-width:100%;object-fit:contain;filter:none;transform:none;border:none;box-shadow:none;border-radius:0}
 .rolli-memory-hero .memory-concept-tag{position:absolute;left:3%;top:1%;z-index:2;background:#fffefbea;border:1px solid #e6e9ef;color:#596b84;padding:5px 8px;font:9px monospace;letter-spacing:.8px}
 .rolli-memory-hero .memory-photo-note{position:absolute;right:3%;bottom:-13px;z-index:2;font:10px monospace;letter-spacing:1px;color:#2a56a5;padding:6px 9px;background:#fff}
 .rolli-memory-manifesto{padding:52px max(5vw,22px);grid-template-columns:1fr 2.25fr;background:#fafafa;border-block:1px solid #ececf0}
 .rolli-memory-manifesto h2{font:400 clamp(36px,3.6vw,59px)/1.06 Georgia,serif;letter-spacing:-1.7px}
 .rolli-memory-manifesto h2 em{color:#2655b5}
 .rolli-memory-manifesto p:not(.eyebrow){color:#606977;font-size:15px;max-width:580px;margin-bottom:0}
 .rolli-memory-steps{padding:75px max(5vw,22px) 85px;max-width:1500px;margin:auto}
 .rolli-memory-steps .section-heading{margin-bottom:34px;gap:20px;align-items:baseline}
 .rolli-memory-steps .section-heading h2{font:400 clamp(36px,4vw,62px)/1.08 Georgia,serif;letter-spacing:-2px}
 .rolli-memory-steps .section-heading h2 em{color:#2655b5}
 .rolli-memory-steps .memory-step-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
 .rolli-memory-steps .memory-step{position:relative;border:1px solid #e6e9ee;background:#fff;padding:28px 27px 30px;border-radius:10px;min-height:205px;box-shadow:none;transform:none}
 .rolli-memory-steps .memory-step-icon{display:block;font-size:32px;line-height:1;color:#2655b5;margin-bottom:16px;font-family:Arial,sans-serif}
 .rolli-memory-steps .memory-step-number{display:block;color:#bc4743;letter-spacing:1.3px;font:700 11px monospace}
 .rolli-memory-steps .memory-step h3{font:400 27px Georgia,serif;margin:10px 0;color:#253041}
 .rolli-memory-steps .memory-step p{font-size:14px;line-height:1.6;color:#667182;margin:0;max-width:310px}
 .rolli-memory-result{background:#243e73;color:#fff;text-align:center;padding:66px max(5vw,22px) 72px}
 .rolli-memory-result .eyebrow{color:#dbe6ff;letter-spacing:2px}
 .rolli-memory-result h2{font:400 clamp(47px,5.3vw,80px)/1.02 Georgia,serif;letter-spacing:-2px;margin:20px 0}
 .rolli-memory-result h2 em{color:#ffda91;font-weight:400}
 .rolli-memory-result p:not(.eyebrow){font-size:15px;line-height:1.6;color:#e4eaf6;margin:0 auto 26px;max-width:525px}
 .rolli-memory-result .btn{background:#fff;color:#243e73;border-color:#fff;border-radius:5px;min-height:49px}
 .rolli-memory-result .btn:hover{background:#f7e9d6;color:#243e73}
}
@media(max-width:980px){
 .rolli-memory-hero{grid-template-columns:1fr 1fr;min-height:0;padding:55px 5% 65px;gap:18px}
 .rolli-memory-hero h1{font-size:clamp(45px,5.7vw,73px);letter-spacing:-2.6px}
 .rolli-memory-hero .memory-hero-gallery{max-width:none;min-height:0}
 .rolli-memory-manifesto{grid-template-columns:1fr 2fr}
}
@media(max-width:740px){
 .rolli-memory-hero{display:flex;flex-direction:column;align-items:stretch;min-height:0;margin:0;padding:36px 6% 44px;gap:14px}
 .rolli-memory-hero h1{font-size:clamp(46px,11vw,70px);letter-spacing:-2.8px;margin:18px 0}
 .rolli-memory-hero .hero-desc{font-size:14px}
 .rolli-memory-hero .hero-actions{margin-top:18px;gap:8px;display:flex;flex-direction:column;align-items:stretch}
 .rolli-memory-hero .hero-actions .btn{width:100%;min-height:48px}
 .rolli-memory-hero .hero-foot{margin:18px 0 0;font-size:10px}
 .rolli-memory-hero .memory-hero-gallery{width:100%;height:auto;min-height:0;aspect-ratio:4/3;margin:0;padding:0}
 .rolli-memory-hero .memory-photo-note{right:1%;bottom:0;font-size:9px}
 .rolli-memory-manifesto{display:block;padding:38px 6%}
 .rolli-memory-manifesto h2{font-size:clamp(34px,8vw,48px)}
 .rolli-memory-steps{padding:55px 6%}
 .rolli-memory-steps .section-heading{display:block;margin-bottom:25px}
 .rolli-memory-steps .section-heading h2{font-size:clamp(34px,8vw,48px)}
 .rolli-memory-steps .memory-step-grid{grid-template-columns:1fr;gap:11px}
 .rolli-memory-steps .memory-step{min-height:0;padding:20px 21px}
 .rolli-memory-steps .memory-step-icon{margin-bottom:9px;font-size:25px}
 .rolli-memory-steps .memory-step h3{font-size:24px}
 .rolli-memory-result{padding:55px 6%}
}
@media(prefers-reduced-motion:reduce){.rolli-memory-hero *, .rolli-memory-steps *{animation:none!important;transition:none!important}}


/* ROLLI v0.7.2 QA: inline shutter/save status, never a second review screen. */
[hidden]{display:none!important}
body.rolli-camera-mode .camera-save-status{color:#f3eddc;font-size:12px;line-height:1.45;text-align:center;margin:12px 6px 5px;min-height:34px}
body.rolli-camera-mode .camera-recovery-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:7px auto 12px}
body.rolli-camera-mode .camera-recovery-actions .btn{background:#fff8e8;color:#24332f;border:1px solid #e5dfc9}
body.rolli-camera-mode .camera-recovery-actions .btn:focus-visible{outline:3px solid #ffffff}
