:root{--paper:#fbf7f1;--paper-strong:#fffdf9;--ink:#302721;--muted:#75685e;--line:#e7ddd3;--gold:#a98870;--gold-dark:#856954;--sage:#85916f;--rose:#c4877d;--green:#5f8c64;--red:#b65a52;--shadow:0 22px 60px rgba(78,61,45,0.16)}*{box-sizing:border-box}body,html{min-height:100%}body{margin:0;background:radial-gradient(circle at 10% 10%,rgba(255,255,255,.92),transparent 30%),linear-gradient(135deg,#efe6da,#fbf7f1 44%,#e9dfd4);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input{font:inherit}button{cursor:pointer}input{width:100%;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.62);color:var(--ink);min-height:48px;padding:0 16px;outline:none}input:focus{border-color:var(--gold);box-shadow:0 0 0 4px rgba(169,136,112,.12)}svg{width:20px;height:20px;stroke-width:1.7}.app-shell{min-height:100svh;display:grid;place-items:center;padding:18px}.phone-frame{width:min(100%,460px);min-height:min(860px,calc(100svh - 36px));max-height:calc(100svh - 36px);overflow:hidden;position:relative;display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.7);border-radius:26px;background:linear-gradient(130deg,rgba(255,255,255,.76),transparent 35%),var(--paper);box-shadow:var(--shadow)}.phone-frame.quest-enter{animation:questEnter .42s ease both}.phone-frame.screen-reveal{animation:screenReveal .52s cubic-bezier(.2,.8,.2,1) both}.access-screen.is-unlocking{pointer-events:none;animation:accessUnlock .42s ease both}.access-screen,.center-screen,.registration-screen{align-items:center;justify-content:space-between;padding:24px;text-align:center}.status-spacer{height:12px}.access-form,.intro-copy,.registration-form{display:grid;justify-items:center;grid-gap:12px;gap:12px}.intro-copy h1{margin:0;color:#6d4f3d;font-family:Georgia,Times New Roman,serif;font-size:clamp(2.1rem,11vw,3rem);font-weight:400}.access-form p,.intro-copy p,.registration-form p{margin:0;color:var(--muted);line-height:1.55}.intro-copy .date{color:var(--gold-dark);font-size:.78rem}.access-form,.registration-form{width:100%;padding:20px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.36)}.access-form h1{margin:0;color:#7a5944;font-family:Georgia,Times New Roman,serif;font-size:1.75rem;font-weight:400}.access-form>svg{width:42px;height:42px;padding:10px;border-radius:50%;background:#f4ebe2;color:var(--gold-dark)}.access-error{color:var(--red);font-size:.86rem}.admin-header h1,.admin-panel h2,.app-header h1,.empty-state h2,.modal-card h2,.profile-screen h2,.registration-form h2,.task-card h2{margin:0;color:#7a5944;font-family:Georgia,Times New Roman,serif;font-weight:400}.danger-button,.ghost-button,.primary-button{border:0;border-radius:999px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 22px}.primary-button{background:linear-gradient(135deg,#b89a82,#8f715b);color:white;box-shadow:0 10px 26px rgba(112,83,61,.22)}.primary-button:disabled{opacity:.55;cursor:not-allowed}.ghost-button{width:100%;min-height:42px;background:transparent;color:var(--gold-dark);border:1px solid var(--line)}.undo-button{width:100%;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;background:#eef1e7;color:var(--sage);font-weight:700}.danger-button{background:#fff4f1;color:var(--red)}.solid-danger{background:var(--red);color:white}.compact-button{min-height:40px;padding:0 14px}.app-header{flex:0 0 auto;display:grid;grid-template-columns:40px 1fr 40px;align-items:center;grid-gap:10px;gap:10px;padding:22px 18px 12px;text-align:center}.app-header p{margin:0 0 2px;color:var(--muted);font-size:.78rem}.app-header h1{font-size:1.45rem}.header-space{width:40px}.header-heart,.warning-icon{justify-self:center;color:var(--gold-dark)}.warning-icon{color:var(--red)}.icon-button{width:40px;height:40px;display:inline-grid;place-items:center;border:1px solid transparent;border-radius:50%;background:transparent;color:var(--ink)}.icon-button.filled{background:var(--gold);color:white}.screen-content{flex:1 1;overflow:auto;padding:8px 18px 96px}.task-list{display:grid;align-content:start;grid-gap:16px;gap:16px}.bonus-card,.result-card,.score-strip,.task-card,.warning-card{border:1px solid var(--line);background:rgba(255,253,249,.7);border-radius:18px}.score-strip{display:grid;grid-template-columns:auto 1fr;align-items:center;grid-gap:16px;gap:16px;padding:14px 16px}.score-strip span{display:block;color:#765642;font-family:Georgia,Times New Roman,serif;font-size:2rem}.score-strip small{color:var(--muted)}.category-progress-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}.category-progress-panel article{display:grid;grid-gap:8px;gap:8px;min-width:0;padding:11px 10px;border:1px solid var(--line);border-radius:16px;background:rgba(255,253,249,.7)}.category-progress-panel div:first-child{display:flex;align-items:center;gap:6px;min-width:0;color:var(--gold-dark)}.category-progress-panel svg{width:16px;height:16px;flex:0 0 auto}.category-progress-panel span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.76rem}.category-progress-panel strong{color:#765642;font-size:.94rem}.category-progress-bar{height:6px;overflow:hidden;border-radius:999px;background:#eee3d8}.category-progress-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--sage),var(--gold))}.mini-progress{height:8px;overflow:hidden;border-radius:999px;background:#eee3d8}.mini-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--sage),var(--gold))}.task-card{display:grid;grid-gap:16px;gap:16px;padding:16px}.task-card-top{display:grid;grid-template-columns:46px 1fr auto;align-items:start;grid-gap:12px;gap:12px}.task-card-top p{margin:0 0 6px;color:var(--gold-dark);font-size:.84rem}.task-card h2{font-size:1.16rem;line-height:1.32}.task-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:#f4ebe2;color:var(--gold-dark)}.points{padding:6px 9px;border-radius:999px;background:#eef1e7;color:var(--sage);font-weight:700;font-size:.82rem}.answer-list{position:relative;display:grid;grid-gap:10px;gap:10px}.answer-button{width:100%;min-height:46px;padding:10px 14px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.6);color:var(--ink)}.answer-button:disabled{cursor:default}.answer-button.is-correct{border-color:var(--green);background:rgba(95,140,100,.12);color:#355f39;font-weight:700}.answer-button.is-wrong{border-color:var(--red);background:rgba(182,90,82,.12)}.correct-burst{position:absolute;right:10px;top:-34px;padding:7px 12px;border-radius:999px;background:var(--green);color:white;font-weight:700;animation:burst .22s ease both}@keyframes burst{0%{transform:scale(.72) translateY(8px);opacity:0}45%{transform:scale(1.06) translateY(0);opacity:1}to{transform:scale(1) translateY(-4px);opacity:.92}}.upload-box{min-height:148px;display:grid;place-items:center;align-content:center;grid-gap:10px;gap:10px;border:1px dashed #c8b5a5;border-radius:16px;color:var(--gold-dark);text-align:center}.bonus-card input,.gallery-actions input,.upload-box input{display:none}.upload-box span{max-width:220px;color:var(--muted);font-size:.82rem}.completed-category{place-items:center;text-align:center;color:var(--muted)}.category-counter{color:#765642;font-family:Georgia,Times New Roman,serif;font-size:1.2rem;font-weight:400}.bonus-card{display:grid;grid-template-columns:1fr auto;align-items:center;grid-gap:14px;gap:14px;padding:16px}.bonus-card h2{margin:0 0 4px;color:#7a5944;font-family:Georgia,Times New Roman,serif;font-size:1.08rem;font-weight:400}.bonus-card p,.bonus-card small{margin:0;color:var(--muted)}.bottom-nav{position:absolute;inset:auto 10px 10px;display:grid;grid-template-columns:repeat(4,1fr);grid-gap:4px;gap:4px;padding:8px;border:1px solid var(--line);border-radius:18px;background:rgba(255,253,249,.92);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.bottom-nav button{display:grid;justify-items:center;grid-gap:3px;gap:3px;min-height:50px;border:0;border-radius:12px;background:transparent;color:var(--muted);font-size:.68rem}.bottom-nav button.active{background:#f4ebe2;color:var(--gold-dark)}.segmented{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:5px;gap:5px;margin-bottom:16px;padding:4px;border:1px solid var(--line);border-radius:999px}.segmented.compact{grid-template-columns:repeat(2,auto);margin:0}.segmented button{min-height:34px;border:0;border-radius:999px;background:transparent;color:var(--muted);font-size:.78rem}.segmented button.active{background:white;color:var(--gold-dark);box-shadow:0 3px 12px rgba(89,70,55,.09)}.progress-list,.ranking-list{display:grid;grid-gap:8px;gap:8px}.progress-row,.ranking-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;grid-gap:10px;gap:10px;padding:13px 12px;border-bottom:1px solid var(--line)}.ranking-row.me{border-radius:14px;border-bottom:0;background:rgba(169,136,112,.12)}.progress-row strong,.ranking-row em,.ranking-row span{color:var(--gold-dark);font-style:normal;font-weight:700}.ranking-person{min-width:0;display:inline-flex;align-items:center;gap:6px;overflow:hidden}.ranking-row svg{width:16px;height:16px;flex:0 0 auto;color:var(--red)}.gallery-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.gallery-groups{display:grid;grid-gap:16px;gap:16px}.gallery-group{display:grid;grid-gap:10px;gap:10px}.gallery-group-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-gap:12px;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:rgba(255,253,249,.72)}.gallery-group-header h2,.gallery-group-header p{margin:0}.gallery-group-header p{color:var(--gold-dark);font-size:.78rem}.gallery-group-header h2{margin-top:3px;color:#7a5944;font-family:Georgia,Times New Roman,serif;font-size:1rem;font-weight:400;line-height:1.28}.gallery-group-header span{min-width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#eef1e7;color:var(--sage);font-weight:800}.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.photo-grid figure{overflow:hidden;margin:0;border-radius:14px;background:white;border:1px solid var(--line)}.photo-grid img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.photo-grid figcaption{display:grid;grid-gap:2px;gap:2px;padding:8px;color:var(--muted);font-size:.74rem}.photo-grid span{color:var(--ink);font-weight:700}.profile-screen{display:grid;align-content:start;grid-gap:16px;gap:16px}.progress-hero{display:grid;justify-items:center;grid-gap:2px;gap:2px;padding:18px;color:var(--gold-dark)}.progress-hero strong{font-family:Georgia,Times New Roman,serif;font-size:3rem;font-weight:400}.progress-row{grid-template-columns:1fr auto}.result-card,.warning-card{display:flex;align-items:center;gap:14px;padding:14px}.result-card p,.result-card strong,.warning-card span{margin:0}.result-card{color:var(--gold-dark)}.result-card div{display:grid;grid-gap:2px;gap:2px}.result-card p{color:var(--muted);font-size:.78rem}.warning-card{color:var(--red);background:#fff4f1}.empty-state{display:grid;place-items:center;grid-gap:10px;gap:10px;min-height:220px;text-align:center;color:var(--muted)}.empty-state h2,.empty-state p{margin:0}.modal-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:22px;background:rgba(31,29,27,.62);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:backdropIn .28s ease both}.modal-card{position:relative;width:min(calc(100vw - 32px),430px);max-height:calc(100svh - 32px);overflow:auto;display:grid;justify-items:center;grid-gap:14px;gap:14px;padding:34px 26px 24px;border-radius:24px;background:var(--paper-strong);text-align:center;box-shadow:var(--shadow);animation:modalIn .36s cubic-bezier(.2,.8,.2,1) both}.modal-close{position:absolute;top:14px;right:14px;border:0;background:transparent;color:var(--ink)}.modal-card h2{font-size:1.55rem}.modal-card p{margin:0;color:var(--muted)}.onboarding-modal{display:grid;justify-items:center;grid-gap:16px;gap:16px}.onboarding-modal>*{animation:softRise .42s ease both}.onboarding-modal>:first-child{animation-delay:80ms}.onboarding-modal>:nth-child(2){animation-delay:.15s}.onboarding-modal>:nth-child(3){animation-delay:.22s}.onboarding-modal>:nth-child(4){animation-delay:.33s}.onboarding-modal h2{margin-bottom:8px}.onboarding-list{display:grid;grid-gap:10px;gap:10px;width:100%}.onboarding-item{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;grid-gap:10px;gap:10px;width:100%;padding:12px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.58);text-align:left}.onboarding-item h3{margin:0 0 3px;color:#7a5944;font-family:Georgia,Times New Roman,serif;font-size:1.02rem;font-weight:400}.onboarding-item p,.onboarding-item small{margin:0;color:var(--muted);font-size:.78rem;line-height:1.34}.onboarding-item strong{color:var(--sage);white-space:nowrap}.onboarding-item:first-child{animation:softRise .42s ease both;animation-delay:.26s}.onboarding-item:nth-child(2){animation:softRise .42s ease both;animation-delay:.34s}.onboarding-item:nth-child(3){animation:softRise .42s ease both;animation-delay:.42s}.registration-success-modal{position:relative;min-height:220px;display:grid;place-items:center;align-content:center;grid-gap:12px;gap:12px;overflow:hidden}.registration-success-modal>h2,.registration-success-modal>p,.registration-success-modal>svg:not(.success-heart){position:relative;z-index:1;animation:successTextIn .52s ease both}.success-salute{position:absolute;inset:0;pointer-events:none}.success-confetti,.success-heart{position:absolute;left:50%;top:50%}.success-heart{width:16px;height:16px;color:#a9786d;fill:rgba(201,132,124,.16);animation:successHeart 1.35s ease-out both}.success-confetti{width:6px;height:9px;border-radius:2px;background:var(--sage);animation:successConfetti 1.28s ease-out both}.sh1{--x:-132px;--y:-72px}.sh2{--x:126px;--y:-64px;animation-delay:70ms}.sh3{--x:-98px;--y:72px;animation-delay:.13s}.sh4{--x:104px;--y:76px;animation-delay:.18s}.sh5{--x:0px;--y:-104px;animation-delay:.22s}.sc1{--x:-148px;--y:-20px;background:#d99b73}.sc2{--x:142px;--y:-24px;background:#b9c28d;animation-delay:60ms}.sc3{--x:-64px;--y:-104px;background:#d7b486;animation-delay:.11s}.sc4{--x:72px;--y:-102px;background:#c4877d;animation-delay:.15s}.sc5{--x:-138px;--y:88px;background:#9aa77b;animation-delay:.2s}.sc6{--x:136px;--y:90px;background:#d99b73;animation-delay:.24s}.sc7{--x:-34px;--y:106px;background:#c4877d;animation-delay:90ms}.sc8{--x:36px;--y:108px;background:#b9c28d;animation-delay:.14s}.sc9{--x:-112px;--y:-82px;background:#d7b486;animation-delay:.19s}.sc10{--x:112px;--y:-84px;background:#d99b73;animation-delay:.23s}.registration-joy{position:fixed;inset:0;z-index:25;pointer-events:none;overflow:hidden;background:rgba(31,29,27,.18);animation:joyBackdrop 1.25s ease both}.joy-heart{position:absolute;left:50%;top:50%;width:20px;height:20px;color:#a9786d;fill:rgba(201,132,124,.18);animation:heartSalute 1.12s ease-out both}.heart-one{--x:-42vw;--y:-34vh}.heart-two{--x:36vw;--y:-38vh;animation-delay:70ms}.heart-three{--x:-30vw;--y:28vh;animation-delay:.13s}.heart-four{--x:34vw;--y:26vh;animation-delay:.18s}.heart-five{--x:0vw;--y:-42vh;animation-delay:.23s}.confetti{position:absolute;left:50%;top:50%;width:7px;height:10px;border-radius:2px;background:var(--sage);animation:confettiSalute .94s ease-out both}.c1{--x:-44vw;--y:-10vh;background:#d99b73}.c2{--x:42vw;--y:-18vh;background:#b9c28d;animation-delay:90ms}.c3{--x:-22vw;--y:-42vh;background:#d7b486;animation-delay:.13s}.c4{--x:20vw;--y:-40vh;background:#c4877d;animation-delay:.16s}.c5{--x:-46vw;--y:30vh;background:#9aa77b;animation-delay:.21s}.c6{--x:46vw;--y:30vh;background:#d99b73;animation-delay:.25s}.c7{--x:-8vw;--y:38vh;background:#c4877d;animation-delay:60ms}.c8{--x:8vw;--y:38vh;background:#b9c28d;animation-delay:.12s}.c9{--x:-34vw;--y:-28vh;background:#d7b486;animation-delay:.18s}.c10{--x:32vw;--y:-30vh;background:#d99b73;animation-delay:.22s}.c11{--x:-18vw;--y:12vh;background:#9aa77b;animation-delay:.26s}.c12{--x:18vw;--y:12vh;background:#c4877d;animation-delay:.3s}.modal-heart{color:var(--gold-dark)}.final-result{display:grid;grid-gap:4px;gap:4px}.final-result strong{color:#765642;font-family:Georgia,Times New Roman,serif;font-size:1.9rem;font-weight:400}.final-result em{color:var(--gold-dark);font-style:normal}.bonus-offer-icon{width:56px;height:56px;padding:14px;border-radius:50%;background:#f4ebe2;color:var(--gold-dark)}.bonus-offer-count{width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.58);color:var(--muted)}.bonus-offer-count strong{color:var(--sage);font-size:1.2rem}.nominations{padding:8px 12px;border-radius:999px;background:#eef1e7;color:var(--sage)!important}.winner-trophy{width:64px;height:64px;color:#b99155;fill:rgba(217,181,108,.18);animation:trophyPop .68s ease both}.winner-title{padding:10px 14px;border-radius:999px;background:#eef1e7;color:var(--sage);font-weight:800}.winner-salute{position:absolute;inset:0;overflow:hidden;pointer-events:none}.winner-salute span{position:absolute;left:50%;top:32%;width:7px;height:10px;border-radius:2px;background:#d99b73;animation:winnerConfetti 1.1s ease-out both}.winner-salute span:first-child{--x:-132px;--y:-36px}.winner-salute span:nth-child(2){--x:120px;--y:-42px;background:#b9c28d;animation-delay:80ms}.winner-salute span:nth-child(3){--x:-96px;--y:62px;background:#c4877d;animation-delay:.13s}.winner-salute span:nth-child(4){--x:92px;--y:70px;background:#d7b486;animation-delay:.17s}.winner-salute span:nth-child(5){--x:0px;--y:-88px;background:#9aa77b;animation-delay:.21s}.winner-salute span:nth-child(6){--x:0px;--y:98px;background:#d99b73;animation-delay:.25s}.toast{position:fixed;z-index:30;left:50%;bottom:22px;width:min(calc(100% - 36px),380px);transform:translateX(-50%);padding:13px 16px;border-radius:16px;background:rgba(48,39,33,.94);color:white;text-align:center}.couple-mark{width:190px;max-width:78%;height:auto;overflow:visible}.couple-mark circle,.couple-mark path{vector-effect:non-scaling-stroke}.bride-figure circle,.bride-figure path,.groom-figure circle,.groom-figure path,.heart-doodle,.sketch-line{fill:none;stroke:#5a4437;stroke-width:3.1;stroke-linecap:round;stroke-linejoin:round}.sketch-line.soft{stroke:#b59a85;stroke-width:2.2}.bride-figure circle,.groom-figure circle{fill:#f0c7a6}.groom-figure>path:first-of-type{fill:#2f3432}.groom-figure .shirt{fill:#fbf7f1}.bride-figure .hair{fill:#efd0a3}.bride-figure .dress{fill:#fffdf9}.bouquet circle{fill:#fffdf9;stroke:#7d8e67;stroke-width:2.4}.bouquet .leaf-fill{fill:#cfd8bd;stroke:#7d8e67;stroke-width:2.3}.heart-doodle{fill:transparent;stroke:#8f6b55;stroke-width:2.4}.heart-doodle.tiny{stroke-width:2}.divider-mark{display:flex;align-items:center;gap:10px;color:var(--gold-dark)}.divider-mark svg:first-child{transform:rotate(190deg)}.admin-shell{min-height:100svh;padding:28px;background:var(--paper);color:var(--ink)}.admin-gallery article,.admin-grid,.admin-header,.admin-panel,.admin-stats,.participant-table button{width:min(1160px,100%);margin-inline:auto}.admin-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.admin-header p{margin:0 0 4px;color:var(--muted)}.admin-header h1{font-size:clamp(1.7rem,4vw,2.4rem)}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:12px;gap:12px;margin-bottom:16px}.admin-panel,.admin-stats article{border:1px solid var(--line);border-radius:18px;background:rgba(255,253,249,.72)}.admin-stats article{display:grid;grid-gap:6px;gap:6px;padding:16px;color:var(--muted)}.admin-stats strong{color:#765642;font-size:1.6rem}.admin-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px;margin-bottom:16px}.admin-panel{padding:16px}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.participant-table{display:grid;grid-gap:8px;gap:8px}.participant-table button{display:grid;grid-template-columns:1fr auto auto;align-items:center;grid-gap:10px;gap:10px;min-height:46px;border:1px solid var(--line);border-radius:12px;background:white;padding:0 12px;text-align:left}.participant-table button.active{border-color:var(--gold);background:#f8efe7}.admin-warning svg,.participant-table svg{color:var(--red)}.participant-details{display:grid;grid-gap:14px;gap:14px}.detail-score strong{display:block;color:#765642;font-family:Georgia,Times New Roman,serif;font-size:2.4rem;font-weight:400}.admin-progress{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:8px;gap:8px}.admin-progress span,.nomination-list span{padding:9px 10px;border-radius:999px;background:#f4ebe2;color:var(--gold-dark);font-size:.86rem}.admin-warning{display:flex;gap:10px;padding:12px;border-radius:14px;background:#fff4f1}.admin-warning p{margin:0}.nomination-form{display:grid;grid-template-columns:1fr auto;grid-gap:8px;gap:8px}.nomination-list{display:flex;flex-wrap:wrap;gap:8px}.approval-toggle{display:flex;align-items:center;gap:10px;color:var(--muted)}.approval-toggle input{width:18px;min-height:18px}.admin-gallery{display:grid;grid-gap:10px;gap:10px}.admin-gallery article{display:grid;grid-template-columns:92px 1fr auto;align-items:center;grid-gap:12px;gap:12px;padding:10px;border:1px solid var(--line);border-radius:14px;background:white}.admin-gallery img{width:92px;height:78px;border-radius:10px;object-fit:cover}.admin-gallery div{display:grid;grid-gap:4px;gap:4px}.admin-gallery small,.admin-gallery span{color:var(--muted)}.admin-gallery-actions{display:flex!important;flex-direction:row;gap:6px}.admin-gallery-actions button{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:white;color:var(--muted)}.admin-gallery-actions button.active{color:white;border-color:var(--green);background:var(--green)}.admin-gallery-actions button.reject{border-color:var(--red);background:var(--red)}.admin-gallery-actions .delete-upload{color:var(--red);border-color:#f0c8c2;background:#fff4f1}@keyframes backdropIn{0%{opacity:0}to{opacity:1}}@keyframes modalIn{0%{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes softRise{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes successTextIn{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes questEnter{0%{opacity:.78;transform:translateY(10px);filter:blur(1.5px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}@keyframes screenReveal{0%{opacity:0;transform:translateY(16px) scale(.985);filter:blur(1.5px)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}@keyframes accessUnlock{0%{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}to{opacity:0;transform:translateY(-14px) scale(.985);filter:blur(1.5px)}}@keyframes successHeart{0%{opacity:0;transform:translate(-50%,-50%) scale(.45) rotate(-10deg)}20%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(4deg)}to{opacity:0;transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y))) scale(1.1) rotate(18deg)}}@keyframes successConfetti{0%{opacity:0;transform:translate(-50%,-50%) scale(.45) rotate(0deg)}24%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(45deg)}to{opacity:0;transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y))) scale(1) rotate(180deg)}}@keyframes joyBackdrop{0%{opacity:0}18%,78%{opacity:1}to{opacity:0}}@keyframes heartSalute{0%{opacity:0;transform:translate(-50%,-50%) scale(.55) rotate(-10deg)}20%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(4deg)}to{opacity:0;transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y))) scale(1.12) rotate(18deg)}}@keyframes confettiSalute{0%{opacity:0;transform:translate(-50%,-50%) scale(.45) rotate(0deg)}26%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(45deg)}to{opacity:0;transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y))) scale(1) rotate(180deg)}}@keyframes trophyPop{0%{opacity:0;transform:translateY(8px) scale(.78)}58%{opacity:1;transform:translateY(0) scale(1.08)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes winnerConfetti{0%{opacity:0;transform:translate(-50%,-50%) scale(.5) rotate(0deg)}30%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(45deg)}to{opacity:0;transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y))) scale(1) rotate(170deg)}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:1ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:1ms!important}}@media (max-width:760px){.app-shell{padding:0}.phone-frame{width:100%;min-height:100svh;max-height:100svh;border:0;border-radius:0}.admin-shell{padding:18px}.admin-grid,.admin-header{display:grid;grid-template-columns:1fr}.admin-stats{grid-template-columns:repeat(2,1fr)}.admin-gallery article{grid-template-columns:76px 1fr}.admin-gallery img{width:76px;height:76px}.admin-gallery-actions{grid-column:1/-1;justify-content:flex-end}}@media (max-width:380px){.screen-content{padding-inline:12px}.task-card-top{grid-template-columns:40px 1fr}.points{grid-column:2;width:max-content}.bottom-nav{inset-inline:6px}}.ranking-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ranking-winner-badge{flex:0 0 auto;display:inline-grid;place-items:center;width:22px;height:22px;border-radius:999px;background:#fff5dc;border:1px solid rgba(184,138,66,.36)}.ranking-row .ranking-winner-cup{width:14px;height:14px;color:#b88a42;stroke-width:2}.photo-open-button{display:block;width:100%;padding:0;border:0;background:transparent;color:inherit;text-align:inherit}.photo-lightbox-backdrop{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:18px;background:rgba(46,39,34,.82)}.photo-lightbox{width:min(100%,420px);max-height:calc(100svh - 36px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid var(--line);border-radius:24px;background:var(--paper-strong);box-shadow:0 22px 52px rgba(28,22,18,.28)}.photo-lightbox-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:10px;border-bottom:1px solid var(--line)}.photo-lightbox-actions a,.photo-lightbox-actions button{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:rgba(255,253,249,.86);color:var(--gold-dark);text-decoration:none}.photo-lightbox-actions span{min-width:44px;color:var(--muted);font-size:.86rem;text-align:center}.photo-lightbox-stage{min-height:320px;display:grid;place-items:center;overflow:auto;background:rgba(251,247,241,.86);overscroll-behavior:contain}.photo-lightbox-stage img{max-width:100%;max-height:70svh;object-fit:contain;transform-origin:center;transition:transform .16s ease}.photo-lightbox-caption{display:grid;grid-gap:4px;gap:4px;padding:12px 16px 16px;border-top:1px solid var(--line);color:var(--ink)}.photo-lightbox-caption span{color:var(--muted);font-size:.9rem}.gallery-tabs{grid-template-columns:minmax(84px,1.18fr) minmax(72px,1fr) minmax(72px,1fr) minmax(84px,1.18fr);margin-bottom:0}.gallery-tabs button{min-width:0;padding-inline:8px;white-space:nowrap}.gallery-tabs .gallery-tab-wide{min-width:84px}.admin-header-actions{display:flex;align-items:center;gap:8px}.admin-header-actions .ghost-button{width:auto;background:rgba(255,253,249,.72)}.admin-login-shell{display:grid;place-items:center}.admin-login-card{width:min(420px,100%);display:grid;grid-gap:16px;gap:16px;border:1px solid var(--line);border-radius:24px;background:rgba(255,253,249,.82);padding:28px;box-shadow:0 18px 48px rgba(112,83,61,.12)}.admin-login-card>svg{width:34px;height:34px;color:var(--gold-dark)}.admin-login-card p{margin:0;color:var(--muted)}.admin-login-card label{display:grid;grid-gap:8px;gap:8px;color:var(--gold-dark)}.admin-login-card input{width:100%}.admin-login-error{color:var(--red)}.cover-screen{align-items:center;justify-content:space-between;gap:18px;padding:24px;text-align:center}.cover-copy,.cover-hero{width:100%;display:grid;justify-items:center}.cover-hero{gap:10px;padding-top:30px}.cover-hero h1{color:#6d4f3d;font-size:clamp(2.35rem,10vw,3.45rem);line-height:1.02;letter-spacing:.01em}.cover-hero .date,.cover-hero h1{margin:0;font-family:Cormorant Infant,Cormorant Garamond,Georgia,Times New Roman,serif;font-weight:300}.cover-hero .date{color:var(--gold-dark);font-size:1.04rem;letter-spacing:.04em}.cover-main-heart{width:28px;height:28px;color:var(--ink)}.cover-hearts{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:8px;color:var(--gold-dark)}.cover-hearts svg{width:18px;height:18px}.cover-screen .couple-mark{width:min(230px,70%);margin:0 auto 12px}.access-heart-art{width:min(108px,24vw);margin:0 auto 6px}.access-heart-art,.cover-couple-art{height:auto;display:block;object-fit:contain}.cover-couple-art{width:min(252px,60%);margin:0 auto;filter:drop-shadow(0 18px 28px rgba(78,61,45,.08))}.cover-lead{max-width:380px;margin:18px 0 0;color:var(--muted);font-family:Cormorant Infant,Cormorant Garamond,Georgia,Times New Roman,serif;font-size:1.2rem;font-weight:300;line-height:1.42}.cover-copy{gap:22px}.cover-copy p{max-width:330px;margin:0;color:var(--muted);font-size:1rem;line-height:1.5}.cover-copy .primary-button{width:min(100%,280px)}.registration-cover-screen{justify-content:flex-start;gap:8px;padding:16px 20px 18px;overflow-y:auto}.registration-cover-screen .cover-hero{gap:6px;padding-top:0}.cover-registration-card{width:100%;display:grid;justify-items:center;grid-gap:8px;gap:8px;padding:14px 18px 16px;border:1px solid var(--line);border-radius:18px;background:rgba(255,253,249,.52)}.cover-registration-card h2{margin:0;color:#7a5944;font-size:1.78rem;letter-spacing:.01em}.cover-registration-card h2,.cover-registration-card p{font-family:Cormorant Infant,Cormorant Garamond,Georgia,Times New Roman,serif;font-weight:300}.cover-registration-card p{margin:0 0 2px;color:var(--muted);font-size:1.08rem;line-height:1.32}.registration-cover-screen{font-family:Cormorant Infant,Cormorant Garamond,Georgia,Times New Roman,serif;font-weight:300}.registration-cover-screen b,.registration-cover-screen strong{font-weight:500}.registration-cover-screen input{font-size:1.06rem}.registration-cover-screen .primary-button,.registration-cover-screen input{font-family:Cormorant Infant,Cormorant Garamond,Georgia,Times New Roman,serif;font-weight:300}.registration-cover-screen .primary-button{font-size:1.08rem}.cover-registration-card input{min-height:44px;border-radius:16px;background:rgba(255,255,255,.72)}.cover-registration-card .primary-button{width:min(100%,190px);min-height:44px;margin-top:0}.cover-screen .divider-mark{justify-content:center;margin-bottom:4px}.profile-name-card{display:grid;grid-gap:4px;gap:4px;padding:14px 16px;border:1px solid var(--line);border-radius:18px;background:rgba(255,253,249,.7)}.profile-name-card span{color:var(--muted);font-size:.78rem}.profile-name-card strong{min-width:0;color:var(--ink);font-size:1.05rem;overflow-wrap:anywhere}.category-picture-icon{overflow:hidden;padding:3px;border:1px solid rgba(231,221,211,.78);background:rgba(255,253,249,.74)}.category-picture-icon img{display:block;width:100%;height:100%;object-fit:contain;transform:scale(1.7);transform-origin:center}.category-picture-questions img{transform:translateY(7%) scale(2.05)}.category-picture-moments img{transform:scale(1.72)}.category-picture-finds img{transform:scale(1.86)}.onboarding-item .category-picture-icon{width:48px;height:48px}.category-entry-card .category-picture-icon,.task-card-top .category-picture-icon{flex:0 0 auto}.category-progress-icon{width:18px;height:18px;display:block;flex:0 0 auto;object-fit:contain;transform:scale(1.7)}@media (max-width:760px){.cover-screen{min-height:100svh;border-radius:0}}.registration-cover-screen,.registration-cover-screen button,.registration-cover-screen input{font-family:Helvetica Neue,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif!important;font-weight:300!important}.registration-cover-screen .cover-hero h1,.registration-cover-screen .cover-registration-card h2{font-family:Didot,Bodoni\ 72,Hoefler Text,Times New Roman,serif!important;font-weight:300!important;letter-spacing:.01em}.registration-cover-screen .cover-hero h1{font-size:clamp(2.15rem,8.4vw,2.82rem);line-height:1}.registration-cover-screen .cover-hero .date,.registration-cover-screen .cover-lead,.registration-cover-screen .cover-registration-card p,.registration-cover-screen .primary-button,.registration-cover-screen input::placeholder{font-family:Helvetica Neue,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif!important;font-weight:300!important}.registration-cover-screen .cover-hero .date{font-size:.88rem;letter-spacing:.06em}.registration-cover-screen .cover-lead{margin-top:8px;font-size:.96rem;line-height:1.36}.registration-cover-screen .cover-registration-card h2{font-size:1.54rem}.registration-cover-screen .cover-registration-card p{font-size:.88rem;line-height:1.32}.registration-cover-screen input{font-size:1rem}.success-couple-art{width:min(210px,62vw);height:auto;display:block;object-fit:contain;margin:0 auto;filter:drop-shadow(0 14px 24px rgba(78,61,45,.1))}.final-couple-art{width:min(230px,72%);max-height:250px;object-fit:contain;display:block;margin:6px auto 12px;filter:drop-shadow(0 16px 24px rgba(78,61,45,.12))}.photo-fallback{width:100%;aspect-ratio:1;min-height:118px;display:grid;place-items:center;align-content:center;grid-gap:6px;gap:6px;padding:16px;border:1px dashed rgba(133,105,82,.34);border-radius:16px;background:linear-gradient(145deg,rgba(255,253,249,.98),rgba(244,235,222,.9));color:var(--gold-dark);text-align:center}.photo-fallback svg{width:34px;height:34px;opacity:.74;stroke-width:1.5}.photo-fallback span{font-family:var(--font-heading);font-size:1.05rem;line-height:1.1}.photo-fallback small{font-size:.78rem;color:var(--muted)}.photo-fallback-large{min-height:min(62vh,520px);aspect-ratio:auto;border-radius:20px}.photo-fallback-large svg{width:48px;height:48px}.photo-fallback-large span{font-size:1.35rem}.gallery-screen .gallery-actions{display:grid;grid-template-columns:minmax(0,1fr) clamp(48px,11vw,56px);align-items:center;grid-gap:clamp(8px,2.4vw,14px);gap:clamp(8px,2.4vw,14px)}.gallery-screen .gallery-actions .gallery-tabs{width:100%;min-width:0;grid-template-columns:repeat(4,minmax(0,1fr))}.gallery-screen .gallery-tabs .gallery-tab-wide,.gallery-screen .gallery-tabs button{width:100%;min-width:0;padding-inline:clamp(5px,1.9vw,10px);overflow:hidden;text-overflow:ellipsis;font-size:clamp(.78rem,3.45vw,.92rem)}.gallery-screen .gallery-actions .icon-button.filled{width:clamp(48px,11vw,56px);height:clamp(48px,11vw,56px);min-width:0;min-height:0;aspect-ratio:1/1;flex:0 0 auto}.gallery-screen .gallery-actions .icon-button.filled svg{width:50%;height:50%;flex:0 0 auto}@media (max-width:390px){.gallery-screen .gallery-actions{grid-template-columns:minmax(0,1fr) 48px;gap:8px}.gallery-screen .gallery-tabs .gallery-tab-wide,.gallery-screen .gallery-tabs button{padding-inline:5px;font-size:.76rem}}.completion-celebration{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:inherit;z-index:0}.completion-celebration~*{position:relative;z-index:1}.modal-card .modal-close{z-index:2}.completion-celebration-piece{position:absolute;opacity:0;transform:translate(-50%,-50%) scale(.45);animation:completionCelebrationPop 1.45s ease-out both}.completion-celebration-piece--heart{color:var(--celebration-color,#9a7560);font-family:Georgia,Times New Roman,serif;font-size:22px;line-height:1}.completion-celebration-piece--confetti{width:6px;height:9px;border-radius:2px;background:var(--celebration-color,#d7b48e)}@keyframes completionCelebrationPop{0%{opacity:0;transform:translate(-50%,-50%) scale(.45) rotate(0deg)}22%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(14deg)}78%{opacity:.92}to{opacity:0;transform:translate(calc(-50% + var(--celebration-x)),calc(-50% + var(--celebration-y))) scale(1.05) rotate(var(--celebration-r))}}.gallery-screen .gallery-actions{grid-template-columns:minmax(0,1fr) clamp(44px,10.5vw,54px);gap:clamp(6px,2vw,10px)}.gallery-screen .gallery-actions .gallery-tabs{grid-template-columns:minmax(62px,1.05fr) minmax(70px,1fr) minmax(64px,.95fr) minmax(62px,1.05fr)}.gallery-screen .gallery-tabs .gallery-tab-wide,.gallery-screen .gallery-tabs button{padding-inline:clamp(3px,1.2vw,7px);overflow:visible;text-overflow:clip;white-space:nowrap;font-size:clamp(.68rem,2.9vw,.86rem)}.gallery-screen .gallery-actions .icon-button.filled{width:clamp(44px,10.5vw,54px);height:clamp(44px,10.5vw,54px);min-width:44px;min-height:44px;aspect-ratio:1;padding:0}@media (max-width:390px){.gallery-screen .gallery-actions{grid-template-columns:minmax(0,1fr) 44px;gap:6px}.gallery-screen .gallery-tabs .gallery-tab-wide,.gallery-screen .gallery-tabs button{padding-inline:3px;font-size:.64rem}}