@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&family=Caveat:wght@400;500;600&display=swap');
:root{
  --ink:#332622;--ink-soft:#66534d;--muted:#917b75;--paper:#fff8f4;--paper-2:#fff0eb;
  --blush:#ffe1db;--blush-2:#f7ccc9;--rose:#dd7381;--rose-2:#c9556b;--rose-deep:#a74861;
  --line:rgba(199,132,125,.2);--shadow:0 10px 25px rgba(178,96,96,.13), 0 2px 7px rgba(137,73,79,.055);
  --serif:'Playfair Display',Georgia,'Times New Roman',serif;--sans:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --hand:'Caveat','Segoe Print','Bradley Hand','Noteworthy','Comic Sans MS','Comic Neue',cursive;--shell-width:435px;
}
*,*::before,*::after{box-sizing:border-box}html,body{height:100%;margin:0}body{font-family:var(--sans);color:var(--ink);background:#f5d9d2;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}a{color:var(--rose-deep)}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:600}::selection{background:#f8bec2;color:#6c3443}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #c84a6a;outline-offset:3px}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.icon{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ambient-bg{position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 11% 7%,#ffece7 0,transparent 37%),radial-gradient(ellipse at 96% 96%,#f4bcb5 0,transparent 36%),linear-gradient(130deg,#ffede6,#f6ccc7 63%,#f5d6ca)}.ambient-bg::before{content:"";position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");opacity:.22;mix-blend-mode:multiply}.bg-heart{position:absolute;color:#fff7f1;font-family:Georgia,serif;opacity:.65}.bg-heart-1{font-size:160px;left:6%;top:8%;transform:rotate(-19deg)}.bg-heart-2{font-size:250px;right:3%;bottom:4%;transform:rotate(22deg)}.bg-heart-3{font-size:70px;left:18%;bottom:9%;transform:rotate(-20deg)}
.desktop-intro{position:fixed;z-index:1;top:27%;left:max(6%,calc(50% - 625px));width:min(330px,28vw);pointer-events:none}.intro-mark{font-family:Georgia;font-size:80px;line-height:.7;color:#cf6676;margin-bottom:32px}.desktop-kicker{font-size:11px;letter-spacing:4px;color:#a65f64;font-weight:700;margin-bottom:16px}.desktop-intro h1{font-size:clamp(40px,4.1vw,68px);line-height:1.09;letter-spacing:-1.8px}.desktop-intro h1 em{font-weight:400;color:#c85e73}.desktop-intro>p:not(.desktop-kicker){font-size:15px;line-height:1.75;color:#83655f;margin-top:22px;max-width:270px}.desktop-note{display:block;font-size:11px;margin-top:45px;color:#ae7b7c;letter-spacing:.5px}
.device-wrap{position:relative;z-index:2;min-height:100dvh;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto;padding:26px 0 12px;transform:translateX(11%)}.device{position:relative;display:flex;flex-direction:column;width:min(calc(100vw - 28px),var(--shell-width));height:min(calc(100dvh - 66px),885px);min-height:580px;max-height:930px;overflow:hidden;background:radial-gradient(circle at 78% 9%,rgba(255,211,203,.28),transparent 27%),linear-gradient(155deg,#fffaf6 0%,#fff4ed 58%,#fff5f0 100%);border:7px solid #28201e;border-radius:48px;box-shadow:0 0 0 2px #aa8b7f,0 0 0 7px #d7b5a8,0 24px 72px rgba(100,41,47,.25),inset 0 0 0 1px #fff}.under-device{font-size:11px;color:#9d716d;margin-top:16px;letter-spacing:.3px}
.app-header{height:84px;min-height:84px;display:grid;grid-template-columns:52px 1fr 52px;align-items:center;padding:10px 18px 7px;z-index:5;background:linear-gradient(to bottom,rgba(255,248,243,.98),rgba(255,248,243,.92));border-bottom:1px solid rgba(215,159,144,.11)}.brand{background:none;border:0;display:flex;align-items:center;justify-content:center;gap:7px;padding:0;min-width:0;color:var(--ink)}.brand-icon{width:42px;height:39px;color:#ed8391;flex:none}.brand-words{display:flex;flex-direction:column;align-items:flex-start;line-height:1}.brand-name{font-family:var(--serif);font-weight:700;font-size:28px;letter-spacing:-1.45px}.brand-tagline{font-size:7px;font-weight:700;letter-spacing:2.2px;margin-top:6px;white-space:nowrap}.icon-button{border:0;background:transparent;color:#3e3130;width:43px;height:43px;border-radius:50%;display:grid;place-items:center;transition:background .2s,color .2s}.icon-button:hover{background:#ffe4e0;color:var(--rose-deep)}.heart-button{justify-self:end}.back-button{justify-self:start}.screen-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#edd2cb transparent}.screen-content::-webkit-scrollbar{width:5px}.screen-content::-webkit-scrollbar-thumb{background:#f2d0c9;border-radius:9px}.screen{padding:18px 22px 30px;min-height:100%}.screen.home-screen{padding-top:12px}.screen-title{font-size:32px;line-height:1.22;text-align:center;letter-spacing:-.7px}.screen-subtitle{text-align:center;color:#74605a;line-height:1.55;font-size:13px;max-width:320px;margin:11px auto 21px}.doodle{font-family:Georgia,serif;color:#e76678;font-size:41px;line-height:0;vertical-align:-7px;display:inline-block;transform:rotate(15deg);font-weight:400}.micro-label{text-transform:uppercase;font-size:10px;letter-spacing:2px;color:#a77e76;font-weight:700}.section-gap{height:18px}.caption{font-size:12px;color:#9b7975;line-height:1.5}.fine-print{font-size:11px;color:#997c75;line-height:1.55}.center{text-align:center}.muted{color:var(--muted)}.rose{color:var(--rose-deep)}
.bottom-nav{position:relative;display:grid;grid-template-columns:repeat(3,1fr);align-items:center;min-height:75px;padding:8px 11px max(8px,env(safe-area-inset-bottom));border-top:1px solid #f2dcd4;background:rgba(255,249,246,.98);z-index:7;box-shadow:0 -6px 22px rgba(155,94,90,.045)}.nav-link{background:transparent;border:0;color:#a18b86;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:9.5px;letter-spacing:.1px;font-weight:700;padding:7px 2px;border-radius:14px;min-width:0}.nav-link .icon{width:21px;height:21px}.nav-link.active{color:#bf536a;background:#ffedea}.nav-link:not(.active):hover{background:#fff0eb}
.hero-heading{text-align:center;margin:0 auto 20px}.hero-heading .hello{font-size:39px;letter-spacing:-1.3px;line-height:1.26}.hero-heading .hello .doodle{font-size:42px}.hero-heading p{font-size:14px;line-height:1.52;color:#6d5a55;margin:11px auto 0;max-width:290px}.demo-strip{display:flex;align-items:flex-start;gap:7px;border-radius:13px;background:#fff2e4;border:1px solid #f0d5bf;color:#876e5b;padding:10px 12px;font-size:10.5px;line-height:1.45;margin:0 0 17px}.demo-strip .icon{width:15px;height:15px;margin-top:1px;color:#b8815d}
.home-card{display:flex;align-items:center;position:relative;width:100%;text-align:left;overflow:hidden;padding:20px 19px;min-height:118px;margin:0 0 14px;border-radius:27px;background:linear-gradient(145deg,rgba(255,248,244,.96),rgba(255,226,220,.93));border:1px solid rgba(255,255,255,.9);box-shadow:var(--shadow);color:var(--ink);transition:transform .16s,box-shadow .16s}.home-card:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(178,96,96,.16)}.home-card:active{transform:translateY(0)}.home-card .card-text{position:relative;z-index:2;max-width:65%;display:flex;flex-direction:column;align-items:flex-start}.card-icon{width:33px;height:33px;color:#b87a6c;margin-bottom:8px}.home-card h2{font-size:24px;line-height:1.12;letter-spacing:-.45px;margin:0 0 9px}.home-card p{font-size:12px;color:#6b5651;line-height:1.55}.home-card.love-card{background:linear-gradient(145deg,#f7a3a5,#d76e7e 80%,#c75c73);color:#fff}.home-card.love-card h2{font-size:26px;color:white}.home-card.love-card p{color:#fff9f7}.home-card.small-card{min-height:105px;gap:13px}.home-card.small-card .card-icon{width:47px;height:47px;margin:0 2px 0 0;color:#dc8586}.home-card.small-card .card-text{max-width:79%}.home-card.small-card h2{font-size:22px}.home-card.small-card p{font-size:11px}.home-card.streak-card{background:linear-gradient(140deg,#ffe9e3,#ffe3df 64%,#ffece0);min-height:103px}.streak-medallion{display:flex;flex-direction:column;justify-content:center;align-items:center;width:58px;height:58px;flex:none;border-radius:50%;border:2px solid #e58f92;background:#fff3ec;font-family:var(--serif);font-size:22px;color:#ac455f;line-height:1.1;box-shadow:0 4px 8px rgba(201,90,109,.12)}.streak-medallion small{font-family:var(--sans);font-size:7px;font-weight:700;letter-spacing:1px}
.primary-btn,.secondary-btn,.outline-btn,.danger-btn{border-radius:19px;min-height:53px;font-size:14px;font-weight:700;display:inline-flex;justify-content:center;align-items:center;gap:10px;padding:12px 18px;transition:filter .2s,transform .15s,background .15s}.primary-btn{border:1px solid #f8a7ab;color:#fff;background:linear-gradient(148deg,#f79da2,#de7582 68%,#c95b72);box-shadow:0 10px 18px rgba(214,100,113,.21),inset 0 1px 0 rgba(255,255,255,.4)}.primary-btn:hover{filter:saturate(1.13) brightness(1.02)}.primary-btn:active,.secondary-btn:active{transform:scale(.99)}.primary-btn .icon{width:21px;height:21px}.secondary-btn{border:1px solid #f0d0c8;background:#fff8f4;color:#9f5064}.outline-btn{background:transparent;border:1px solid #d98893;color:#ab5368}.danger-btn{border:1px solid #efbfbd;color:#ad4a59;background:#fff1ef}.block-btn{width:100%}.small-btn{min-height:39px;padding:8px 12px;font-size:12px;border-radius:12px}.link-button{border:none;background:transparent;color:#b14d66;font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:8px}.btn-row{display:flex;gap:10px}.btn-row>*{flex:1}.pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#fff0eb;color:#985c61;font-size:10px;font-weight:700;white-space:nowrap}.pill .icon{width:13px;height:13px}.pill.ok{background:#eaf6e9;color:#3b875a}.pill.pending{background:#fff0de;color:#a77645}.pill.declined{background:#fff0f0;color:#b45a62}
.date-pill{display:flex;align-items:center;gap:11px;border-radius:21px;border:1px solid rgba(255,255,255,.9);background:#fff5ef;padding:17px;margin:19px 0 18px;box-shadow:0 5px 12px rgba(160,95,83,.065);font-size:15px}.date-pill .icon{color:#ba7770}.date-pill span{flex:1}.write-paper{position:relative;border:1px solid white;border-radius:29px;min-height:320px;background:linear-gradient(158deg,#fff9f6 0,#fff4ee 65%,#ffe9e5 100%);padding:25px 21px 16px;box-shadow:var(--shadow);overflow:hidden}.write-paper::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.14;background-image:radial-gradient(#cba89d .55px,transparent .55px);background-size:7px 7px}.write-paper textarea{width:100%;min-height:209px;max-height:280px;resize:vertical;border:0;outline:none;background:transparent;position:relative;z-index:1;color:#3e2d28;font-family:var(--hand);font-size:28px;line-height:1.3;font-weight:500;padding:0;overflow:auto}.write-paper textarea::placeholder{font-size:24px;color:#a58b80}.paper-bottom{position:relative;z-index:2;display:flex;align-items:flex-end;justify-content:space-between;min-height:50px}.paper-bottom .doodle{font-size:48px;line-height:1.1}.photo-chip{display:flex;gap:7px;align-items:center;border:1px solid #e8c6bc;border-radius:11px;background:rgba(255,255,255,.6);padding:8px 10px;color:#a76b68;font-size:11px;font-weight:700}.photo-chip .icon{width:16px;height:16px}.photo-preview-wrap{display:inline-flex;gap:8px;align-items:center;position:relative;margin-top:9px}.photo-preview{width:95px;height:92px;object-fit:cover;border:6px solid #fff;border-bottom-width:11px;transform:rotate(4deg);box-shadow:0 4px 14px rgba(103,69,65,.15)}.delete-photo{background:#fff;border:1px solid #debdb9;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;color:#a35b60}.delete-photo .icon{width:15px;height:15px}.counter{font-size:11px;color:#99766f;font-family:var(--sans)}.error-text{font-size:12px;color:#a84658}.form-hint{text-align:center;color:#997a74;font-size:11px;line-height:1.5;margin:11px 0 0}.field-stack{display:flex;flex-direction:column;gap:7px}.field-label{font-size:12px;font-weight:700;color:#654b45}.text-input,.textarea-input{border:1px solid #efd8d1;background:#fffaf7;border-radius:16px;padding:13px 15px;width:100%;color:#43322d;outline:none;font-size:14px}.text-input:focus,.textarea-input:focus{border-color:#d87889;box-shadow:0 0 0 3px rgba(229,133,145,.15)}.textarea-input{min-height:142px;resize:vertical;line-height:1.6}.hand-input{font-family:var(--hand);font-size:28px;line-height:1.24}.form-group{margin-top:15px}.detail-card{padding:19px 17px;background:linear-gradient(145deg,#fff9f5,#ffe8e2);border:1px solid white;box-shadow:var(--shadow);border-radius:25px;position:relative}.detail-card .tiny-date{display:flex;gap:6px;align-items:center;color:#956e69;font-size:11px;margin-bottom:12px}.detail-card .tiny-date .icon{width:17px;height:17px}.detail-card .message{font-family:var(--hand);font-size:25px;line-height:1.3;word-break:break-word;color:#49332b}.detail-card.with-photo{padding-right:136px;min-height:176px}.detail-card .message{max-width:100%}.detail-card .corner-polaroid{position:absolute;width:134px;right:1px;top:10px;transform:rotate(5deg);filter:drop-shadow(0 4px 7px rgba(137,96,91,.13))}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:19px 0}.choice{border:1px solid #fff;border-radius:24px;background:linear-gradient(150deg,#fff9f5,#ffebe5);box-shadow:var(--shadow);padding:20px 11px 18px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--ink)}.choice .icon{width:34px;height:34px;color:#9c6e60}.choice h3{font-family:var(--sans);font-size:15px;font-weight:700}.choice p{font-size:11px;color:#78635b;line-height:1.45}.choice.hot{background:linear-gradient(155deg,#f7a0a5,#d36a7b);color:white}.choice.hot .icon,.choice.hot p{color:white}.info-tile{display:flex;gap:13px;padding:16px;border-radius:22px;background:#fff1ee;border:1px solid #fff;box-shadow:0 5px 11px rgba(171,90,90,.06);margin-top:13px}.info-tile .icon{width:30px;height:30px;color:#d27579}.info-tile h3{font-family:var(--sans);font-size:13px;font-weight:700;margin-bottom:5px}.info-tile p{font-size:11px;line-height:1.54;color:#74615c}.info-tile.key-tile{background:#fff1dc}.info-tile.key-tile .icon{color:#a87952}
.love-card-sheet{border-radius:26px;padding:20px 17px 18px;border:1px solid white;background:linear-gradient(150deg,#fff9f5,#ffe8e2);box-shadow:var(--shadow);position:relative}.love-card-sheet .sheet-title{font-family:var(--serif);font-size:24px;display:flex;align-items:center;gap:8px;margin-bottom:11px}.love-card-sheet .sheet-title .icon{width:20px;height:20px;color:#cb7581}.love-card-sheet .promise-textarea{height:142px;min-height:130px;background:rgba(255,255,255,.38)}.sheet-note{font-size:11px;color:#9f7b73;line-height:1.55;margin-top:11px}.love-promise{text-align:left;font-family:var(--hand);font-size:29px;line-height:1.3;overflow-wrap:anywhere;white-space:pre-wrap}.photo-accent{width:111px;align-self:flex-end;filter:drop-shadow(0 5px 8px rgba(139,91,89,.15));transform:rotate(6deg)}.status-card{padding:23px 17px;background:linear-gradient(165deg,#fff5f1,#ffdfda);border:1px solid white;border-radius:28px;box-shadow:var(--shadow);text-align:center;margin-top:17px}.status-icon{width:62px;height:62px;border-radius:19px;background:#ffe3e0;color:#d96b7b;display:grid;place-items:center;margin:0 auto 11px;transform:rotate(-6deg)}.status-icon .icon{width:38px;height:38px}.status-card h2{font-size:24px;margin:3px 0 7px}.status-card p{font-size:12px;color:#785e56;line-height:1.55}.participants{display:grid;grid-template-columns:1fr 44px 1fr;align-items:center;gap:4px;margin:17px 4px 15px}.person{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}.avatar{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;font-family:var(--serif);font-size:23px;color:#a0435b;background:linear-gradient(145deg,#ffe3cf,#f3a8ac);border:4px solid white;box-shadow:0 4px 12px rgba(190,111,112,.14)}.avatar.partner{background:linear-gradient(135deg,#f4d8c7,#d9a7a6)}.person strong{font-family:var(--serif);font-size:16px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.people-heart{color:#e27282;display:grid;place-items:center}.people-heart .icon{height:31px;width:31px}.person .pill{padding:5px 8px}.action-spread{display:flex;gap:7px;justify-content:center;margin:16px 0 0;flex-wrap:wrap}.action-spread .small-btn{flex:1}.pending-highlight{margin:15px 0;padding:14px 13px;background:#fff8eb;border:1px solid #f4dfc8;border-radius:15px;font-size:11px;line-height:1.55;color:#886d59}.mini-step{display:flex;align-items:center;gap:10px;padding:9px 0;font-size:12px;color:#806b65}.mini-step .circle-number{width:24px;height:24px;border-radius:50%;background:#fbd7d6;color:#b3556d;font-weight:700;display:grid;place-items:center;flex:none}
.archive-tabs{display:flex;align-items:center;gap:7px;overflow-x:auto;padding:4px 0 12px;scrollbar-width:none}.archive-tabs::-webkit-scrollbar{display:none}.filter-btn{border:1px solid #ebcfc8;background:#fff9f5;border-radius:999px;padding:9px 13px;white-space:nowrap;color:#9b7974;font-size:11px;font-weight:700}.filter-btn.active{background:#de7884;color:white;border-color:#de7884}.archive-list{display:flex;flex-direction:column;gap:11px}.archive-item{display:flex;align-items:center;gap:12px;border-radius:21px;background:linear-gradient(145deg,#fff9f4,#ffede8);border:1px solid white;box-shadow:0 6px 15px rgba(169,93,90,.09);text-align:left;padding:15px 12px;color:#3d2c29;width:100%}.archive-item:hover{transform:translateY(-1px)}.archive-icon{width:42px;height:42px;flex:none;border-radius:14px;background:#ffe1dc;color:#cf7080;display:grid;place-items:center}.archive-icon .icon{width:23px;height:23px}.archive-copy{flex:1;min-width:0}.archive-copy strong{display:block;font-size:12px;margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.archive-copy small{display:block;color:#96776e;font-size:10px;margin-bottom:5px}.archive-copy p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:#795d55}.archive-item .tiny-chevron{color:#af746e;width:18px;height:18px}.empty-state{padding:38px 15px;text-align:center;background:linear-gradient(145deg,#fffaf6,#ffeae4);border:1px solid white;border-radius:24px}.empty-state .icon{color:#db7982;width:48px;height:48px;margin-bottom:15px}.empty-state h3{font-size:23px;margin-bottom:7px}.empty-state p{color:#866e65;font-size:12px;line-height:1.55;margin:0 auto 18px;max-width:265px}.history-title{font-family:var(--serif);font-size:22px;margin:18px 0 12px}
.progress-card{padding:20px 17px;border-radius:25px;border:1px solid white;background:linear-gradient(145deg,#fff9f6,#ffe5e0);box-shadow:var(--shadow);margin-bottom:16px}.progress-number{font-family:var(--serif);font-size:44px;line-height:1.1;color:#ad5167}.progress-track{height:10px;background:#f5d4d0;border-radius:100px;overflow:hidden;margin:14px 0 9px}.progress-fill{height:100%;background:linear-gradient(90deg,#eca3a5,#d46075);border-radius:100px}.progress-foot{display:flex;justify-content:space-between;color:#9c7870;font-size:11px}.calendar-panel{border-radius:24px;border:1px solid white;background:#fff9f6;padding:18px 15px;box-shadow:var(--shadow)}.calendar-heading{font-family:var(--serif);font-size:21px;text-align:center;margin-bottom:14px}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.calendar-day{text-align:center;padding:7px 0;font-size:11px;color:#8c776e;border-radius:50%;height:33px;display:flex;align-items:center;justify-content:center}.calendar-weekday{font-weight:700;color:#bd8e8b;font-size:10px;text-align:center;padding-bottom:7px}.calendar-day.written{background:#e28290;color:white;font-weight:700}.calendar-day.today{border:2px solid #e28290;color:#aa4c66;font-weight:700}.calendar-day.written.today{color:white}.calendar-day.empty{opacity:0}
.settings-card{padding:16px;background:linear-gradient(155deg,#fff9f5,#ffece6);border:1px solid #fff;border-radius:23px;box-shadow:var(--shadow);margin-bottom:14px}.settings-card h3{font-family:var(--serif);font-size:21px;margin-bottom:9px}.settings-card p{font-size:12px;color:#795e56;line-height:1.6}.setting-row{display:flex;align-items:center;gap:12px;padding:7px 0}.setting-row>.icon{width:25px;height:25px;color:#bb6679}.setting-row div{flex:1}.setting-row strong{display:block;font-size:12px}.setting-row small{display:block;color:#9b7770;font-size:11px;margin-top:3px}.setting-row .icon:last-child{width:18px;height:18px;color:#bd8580}.divider{height:1px;background:#efd9d1;margin:14px 0}.subtle-note{color:#9f7d75;font-size:11px;line-height:1.5;margin-top:10px}
.modal-overlay{position:absolute;inset:0;z-index:20;background:rgba(47,24,33,.33);display:flex;align-items:flex-end;justify-content:center;animation:fadeIn .17s ease-out}.modal-sheet{position:relative;background:#fff9f6;border-radius:28px 28px 0 0;padding:29px 23px 28px;width:100%;box-shadow:0 -13px 42px rgba(78,30,38,.14);border:1px solid #fff;animation:sheetUp .23s ease-out}.modal-sheet h2{font-size:25px;margin:0 0 10px}.modal-sheet p{font-size:13px;color:#735b55;line-height:1.65;margin-bottom:18px}.modal-sheet .modal-close{position:absolute;right:14px;top:13px}.modal-sheet .icon-art{width:51px;height:51px;border-radius:15px;background:#ffe0dd;color:#cb5f72;display:grid;place-items:center;margin-bottom:14px}.modal-sheet .icon-art .icon{width:28px;height:28px}.modal-sheet .btn-row{margin-top:15px}.toast-host{position:absolute;left:18px;right:18px;bottom:86px;display:flex;justify-content:center;pointer-events:none;z-index:30}.toast{background:#3c302f;color:#fff5f2;border-radius:13px;max-width:100%;font-size:12px;line-height:1.45;padding:12px 15px;box-shadow:0 10px 26px rgba(44,22,27,.2);animation:toastIn .2s ease-out;opacity:.98}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes sheetUp{from{transform:translateY(24px);opacity:.5}to{transform:translateY(0);opacity:1}}@keyframes toastIn{from{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:.98}}
@media(max-width:1040px){.desktop-intro{display:none}.device-wrap{transform:none}}
@media(max-width:540px){.ambient-bg,.desktop-intro,.under-device{display:none}.device-wrap{padding:0;display:block;transform:none}.device{width:100%;height:100dvh;max-height:none;min-height:0;border:none;border-radius:0;box-shadow:none}.app-header{padding-top:calc(10px + env(safe-area-inset-top));height:calc(76px + env(safe-area-inset-top));min-height:calc(76px + env(safe-area-inset-top));}.screen{padding:20px 23px 29px}.screen.home-screen{padding-top:13px}.bottom-nav{min-height:70px}.modal-sheet{padding-bottom:max(26px,env(safe-area-inset-bottom))}}
@media(max-width:360px){.screen{padding-inline:16px}.app-header{padding-inline:10px}.hero-heading .hello{font-size:35px}.screen-title{font-size:29px}.home-card h2{font-size:22px}.brand-name{font-size:25px}.brand-icon{width:35px;height:34px}.brand-tagline{font-size:6px;letter-spacing:2px}.nav-link{font-size:9px}.choice{padding-inline:7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Keep the example promise legible on compact phones. */
.promise-textarea::placeholder{font-size:23px;line-height:1.28;color:#978783}

/* V1.1 home: two primary actions with a quiet journal milestone and archive link. */
.home-screen .hero-heading{margin-bottom:17px}
.home-screen .hero-heading p{margin-top:6px}
.home-screen .demo-strip{margin-bottom:16px}
.home-actions{display:flex;flex-direction:column;gap:14px}
.home-actions .home-card{margin-bottom:0}
.home-actions .hero-daily{min-height:146px}
.home-actions .hero-daily .card-text{max-width:250px}
.home-actions .love-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) min(140px,44%) 16px;
  gap:8px;
  min-height:146px;
}
.home-actions .love-card .card-text{max-width:none}
.home-actions .love-card .card-icon{width:27px;height:27px;margin-bottom:6px;color:#fff8f5;stroke-width:1.6}
.home-actions .love-card .arrow-card{width:16px;height:16px;color:white}
.love-lock-example{display:grid;gap:4px;text-align:center;color:#48232e}
.love-lock-example-label{font-size:10px;font-weight:700;line-height:1.2}
.love-lock-portraits{display:block;width:100%;height:auto;filter:drop-shadow(0 3px 5px rgba(98,39,53,.18))}
.love-lock-example-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-items:center}
.love-lock-agreed{
  display:inline-flex;align-items:center;gap:3px;padding:2px 4px;
  border-radius:999px;background:#ffe3d9;color:#753746;font-size:10px;font-weight:700;line-height:1.2;
}
.love-lock-agreed .icon{width:12px;height:12px;padding:2px;border-radius:50%;background:#a94e64;color:white;stroke-width:2.5}
@media(max-width:340px){
  .love-lock-agreed{gap:2px;padding-inline:2px}
  .love-lock-agreed .icon{width:10px;height:10px;padding:1.5px}
}
.home-journey{margin-top:22px;padding:16px 17px 13px;border:1px solid rgba(238,188,180,.7);border-radius:21px;background:linear-gradient(135deg,#ffece8,#fff4ee);box-shadow:0 5px 19px rgba(165,99,90,.065)}
.journey-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.journey-label{display:flex;align-items:center;gap:8px;color:#a34e64;font-size:13px;font-weight:700;letter-spacing:-.15px}
.journey-label .icon{width:20px;height:20px;color:#d66f7c}
.journey-count{font-size:12px;font-weight:700;color:#a34e64;white-space:nowrap}
.journey-track{height:7px;background:#f2cbc7;border-radius:100px;overflow:hidden;margin:13px 0 10px}
.journey-progress{display:block;height:100%;background:linear-gradient(90deg,#eea6a4,#cc5a70);border-radius:100px;min-width:0;transition:width .3s ease}
.journey-footer{display:flex;align-items:center;justify-content:space-between;gap:5px}
.journey-footer>span{font-size:10px;color:#896e68;line-height:1.5}
.journey-link{border:0;background:transparent;color:#a94e64;font-size:10px;font-weight:700;display:flex;align-items:center;white-space:nowrap;gap:2px;padding:4px 0 4px 5px}
.journey-link .icon{height:14px;width:14px}
.journey-link:hover,.home-footer-links button:hover{text-decoration:underline}
.home-footer-links{text-align:center;padding:16px 0 3px}
.home-footer-links button{display:inline-flex;gap:3px;align-items:center;justify-content:center;border:0;background:transparent;color:#ac5b6b;font-size:11px;font-weight:700;padding:7px 9px}
.home-footer-links .icon{width:15px;height:15px}
@media(max-width:360px){.home-journey{padding:14px 12px 11px}.journey-label{font-size:11.5px}.journey-footer>span{font-size:9px}}

/* V1.2: gated Supabase sign-in inherits the exact locked V1.1 theme. */
.bottom-nav[hidden]{display:none!important}
.auth-screen{min-height:100%;display:flex;align-items:center;justify-content:center}
.auth-card{width:100%;text-align:center;border-radius:28px;padding:35px 23px;background:linear-gradient(145deg,#fffaf6,#ffeae5);border:1px solid #fff;box-shadow:var(--shadow)}
.auth-card>.icon{color:#d97483;width:50px;height:50px;margin-bottom:20px}
.auth-card .screen-title{font-size:28px;line-height:1.25;margin-bottom:12px}
.auth-card p{font-size:13px;line-height:1.6;color:#8b6d66;margin:0 0 23px}
.auth-subtle{font-size:11px;line-height:1.6;border-top:1px solid #efd5cf;padding-top:16px;margin-top:22px;color:#94736b}
