@font-face{font-family:Kurdish;src:url('kurdish.ttf') format('truetype');font-weight:100 900;font-display:swap}*{box-sizing:border-box}:root{--wine:#401e2a;--wine2:#71394b;--gold:#ac8244;--ink:#342930;--muted:#827774;--paper:#f9f5ee;--line:#e8e0d5;--white:#fffcf7}body{margin:0;background:var(--paper);color:var(--ink);font-family:Kurdish,'Segoe UI',Tahoma,sans-serif;font-size:16px;line-height:1.8}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:4px}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}h1,h2,h3,p{margin:0}h1{font-weight:600;font-size:2.3rem;line-height:1.65}h2{font-size:1.4rem;font-weight:600}h3{font-size:1.15rem;font-weight:600}.en{font-family:Georgia,serif;letter-spacing:.06em;direction:ltr}.eyebrow{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);font-family:'Segoe UI',sans-serif}.muted,small{color:var(--muted)}small{font-size:13px}.initial{min-height:100vh;display:grid;place-content:center;text-align:center;gap:10px}.initial img{width:60px;margin:auto}.sidebar{position:fixed;right:0;top:0;bottom:0;width:238px;background:var(--wine);color:#f9efdf;padding:38px 27px;display:flex;flex-direction:column;z-index:20;overflow:auto}.brand{text-align:center}.brand img{width:64px}.brand strong{display:block;font-size:2rem;font-weight:500;margin-top:5px}.brand .en{font-size:12px;letter-spacing:.23em;color:#cfbfae}.divider{height:1px;background:linear-gradient(90deg,transparent,#b8925960,transparent);margin:28px 0}.nav{display:grid;gap:8px}.nav button{display:flex;align-items:center;gap:13px;padding:12px 16px;border-radius:9px;color:#d1bbc1;text-align:right}.nav button.active{background:#ffffff0e;color:#f1d39c;box-shadow:inset -3px 0 var(--gold)}.nav button:hover{background:#ffffff09}.side-bottom{margin-top:auto;padding-top:35px}.couple{display:flex;align-items:center;justify-content:center;direction:ltr;margin-bottom:14px}.avatar{width:38px;height:38px;border-radius:50%;object-fit:cover;object-position:50% 22%;border:2px solid var(--paper)}.couple .avatar{width:48px;height:48px;border-color:var(--wine)}.couple .avatar+img{margin-left:-9px}.side-note{text-align:center;font-size:14px;color:#ccb4bb}.main{margin-right:238px;padding:30px 48px 60px;min-height:100vh}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;gap:15px}.breadcrumb{font-size:14px;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:13px}.icon-button{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:50%;background:#ffffff50}.icon-button:hover{background:#eee4d8}.date{font-size:13px;color:var(--muted)}.welcome{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:25px;gap:15px}.welcome p{color:var(--muted);margin-top:5px}.badge{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:100px;padding:6px 13px;font-size:13px;white-space:nowrap}.badge svg{width:15px;height:15px}.home-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:24px}.hero{position:relative;isolation:isolate;overflow:hidden;background:var(--wine);color:#fff5e5;min-height:390px;border-radius:18px;display:flex;align-items:flex-end;padding:32px}.hero>img{position:absolute;z-index:-3;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 29%}.hero:before{content:'';position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,transparent 0%,#28131b88 60%,#28131bd9),linear-gradient(0deg,#29141cec,transparent 88%)}.hero:after{content:'';position:absolute;inset:12px;z-index:-1;border:1px solid #e3c28450;border-radius:10px;pointer-events:none}.hero .eyebrow{color:#e9c889}.hero h2{font-size:2.15rem;font-weight:400;margin:13px 0}.hero p{color:#f1e4d2;max-width:360px;line-height:2.05;margin-bottom:22px}.primary,.secondary,.soft-btn{display:inline-flex;justify-content:center;align-items:center;gap:10px;border-radius:8px;padding:11px 20px;font-weight:500;font-size:15px;min-height:45px}.primary{background:var(--wine);color:#fff8ed}.primary.gold{background:#ecd4a4;color:#422d25}.secondary{border:1px solid var(--line);background:var(--white)}.soft-btn{background:#f0e7df;color:var(--wine)}.hero-footer{display:flex;align-items:center;gap:16px}.hero-footer small{color:#dfcab2}.letter{background:var(--white);border:1px solid var(--line);border-radius:18px;padding:28px;display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;overflow:hidden}.letter:after{content:'';position:absolute;bottom:0;left:0;right:0;height:7px;background:repeating-linear-gradient(45deg,#bb925440 0 4px,transparent 4px 10px)}.seal{background:#f3e9df;color:var(--wine2);width:52px;height:52px;border-radius:50%;display:grid;place-items:center;margin:20px 0 16px}.letter blockquote{font-size:1.3rem;line-height:2.1;margin:0 0 20px;white-space:pre-line}.letter .signature{font-size:14px;color:var(--gold);margin-top:auto}.letter .text-link{margin-top:18px}.text-link{color:var(--wine2);padding:2px 0;font-size:14px;border-bottom:1px solid #b9925540}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:29px 0 16px}.section-heading small{font-size:13px}.mood-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.mood{border:1px solid var(--line);background:var(--white);border-radius:13px;padding:17px 6px;display:flex;align-items:center;flex-direction:column;gap:9px;transition:transform .2s,background .2s}.mood:hover{transform:translateY(-4px);background:#f1e7dc}.mood .mood-icon{height:37px;width:37px;border-radius:50%;display:grid;place-items:center;color:var(--wine2);background:#f3e9e4}.mood:nth-child(2) .mood-icon{color:#7f8060;background:#efeee3}.mood:nth-child(3) .mood-icon{color:#6e8292;background:#eaf0f2}.mood:nth-child(4) .mood-icon{color:#b78b48;background:#f8eedc}.mood:nth-child(5) .mood-icon{color:#8d777e;background:#f0e8ed}.mood span:last-child{font-size:14px}.lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.memory-card{border:1px solid var(--line);border-radius:13px;background:var(--white);display:flex;overflow:hidden;min-height:175px}.memory-card img{width:38%;object-fit:cover;object-position:50% 23%}.memory-copy{padding:21px;display:flex;flex-direction:column;align-items:flex-start;gap:7px}.memory-copy .text-link{margin-top:auto}.note-card{border:1px solid var(--line);border-radius:13px;background:#f0e8dd;padding:22px;display:flex;align-items:center;gap:19px;min-height:175px}.note-card>svg{width:34px;height:34px;color:var(--gold)}.note-card p{font-size:14px;color:var(--muted);margin:6px 0 12px}.page-foot{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:37px;color:#88796f;font-size:13px}.page-foot:before,.page-foot:after{content:'';height:1px;width:65px;background:var(--line)}.bottom-nav{display:none}.demo-strip{background:#e9dbc4;color:#5e4939;font-size:12px;padding:5px 15px;text-align:center;direction:ltr}.demo-strip a{text-decoration:underline;margin-left:12px}.mobile-brand{display:none}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.poem-card{border:1px solid var(--line);border-radius:14px;background:var(--white);padding:27px;position:relative}.poem-card .eyebrow{margin-bottom:16px}.poem-card h3{margin-bottom:14px}.poem-card p{white-space:pre-line;line-height:2.15;overflow-wrap:anywhere}.card-actions{display:flex;justify-content:space-between;align-items:center;margin-top:25px;gap:10px}.quote-mark{font:70px Georgia;color:#b9925540;position:absolute;left:22px;top:10px;line-height:1}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.tabs button{padding:8px 20px;border:1px solid var(--line);border-radius:100px;font-size:14px}.tabs .active{background:var(--wine);color:white;border-color:var(--wine)}.empty{padding:50px 25px;text-align:center;border:1px dashed var(--line);border-radius:14px;color:var(--muted)}.empty svg{width:35px;height:35px;margin-bottom:15px}.mood-page{max-width:760px;margin:auto;text-align:center}.mood-page .mood-row{margin:30px 0}.mood-page .poem-card{text-align:center;min-height:270px;display:grid;place-content:center}.mood-page h1{margin-top:20px}.mood-page p{margin-top:10px}.calendar-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr);gap:24px}.calendar{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:24px}.calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;direction:rtl}.weekday{text-align:center;font-size:13px;color:var(--muted);padding-bottom:12px}.day{aspect-ratio:1;border-radius:10px;border:1px solid transparent;position:relative;display:grid;place-content:center;font-family:'Segoe UI',sans-serif;overflow:hidden}.day:hover{border-color:var(--gold)}.day.today{border-color:var(--gold);color:var(--wine2)}.day.selected{background:var(--wine);color:#fff}.day.has-memory:after{content:'';position:absolute;bottom:7px;width:4px;height:4px;border-radius:50%;background:var(--gold);left:calc(50% - 2px)}.day.has-photo{background-size:cover;background-position:center 25%;color:white;text-shadow:0 1px 4px #000}.day.has-photo span{background:#35192388;border-radius:50%;width:28px;height:28px;display:grid;place-content:center}.day-detail{background:var(--white);border:1px solid var(--line);border-radius:16px;overflow:hidden}.day-detail>img{width:100%;height:250px;object-fit:cover;object-position:center 25%}.day-detail .content{padding:25px}.day-detail p{white-space:pre-line;margin:12px 0 22px}.chat{max-width:860px;margin:auto;background:var(--white);border:1px solid var(--line);border-radius:18px;overflow:hidden}.chat-head{padding:18px 25px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px}.messages{height:440px;overflow:auto;display:flex;flex-direction:column;gap:15px;padding:25px;background:radial-gradient(#c8b69926 1px,transparent 1px);background-size:15px 15px}.bubble{max-width:80%;align-self:flex-end;background:#eee6db;padding:12px 18px;border-radius:15px 15px 3px 15px;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.mine{align-self:flex-start;background:var(--wine);color:#fff3e5;border-radius:15px 15px 15px 3px}.bubble small{display:block;font-size:12px;opacity:.75;color:inherit;text-align:left;margin-top:5px}.bubble img{max-width:100%;max-height:240px;border-radius:8px;display:block}.chat-form{padding:15px;display:flex;gap:10px;border-top:1px solid var(--line);align-items:flex-end}.chat-form textarea{flex:1;resize:none;min-height:47px;max-height:140px}.chat-form .primary{padding:10px 15px}.panel{padding:27px;background:var(--white);border:1px solid var(--line);border-radius:15px}.panel h2{margin-bottom:17px}.form{display:grid;gap:17px}.form label{display:grid;gap:6px;font-size:14px}input,textarea,select{width:100%;padding:11px 13px;background:#fffdf9;border:1px solid #d9cfc3;border-radius:8px;color:var(--ink);outline-offset:3px}textarea{min-height:125px;resize:vertical}input:focus,textarea:focus,select:focus{outline:2px solid #bb92546b}input[type=checkbox]{width:18px;height:18px;accent-color:var(--wine)}.form .check{display:flex;align-items:center;gap:9px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.list-item{padding:16px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px}.list-item:last-child{border-bottom:0}.list-item .grow{flex:1;min-width:0;overflow-wrap:anywhere}.list-item p{font-size:14px;color:var(--muted);white-space:pre-line}.list-item small{display:block}.list-item.done .grow{text-decoration:line-through;opacity:.5}.list-item button{flex:none}.settings{max-width:760px;margin:auto;display:grid;gap:22px}.settings .panel p{color:var(--muted);margin-bottom:18px}.login-wrap{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-art{background:linear-gradient(0deg,#311822ee,#31182211),url('../portrait.php?person=queen') center 24%/cover;display:flex;align-items:flex-end;padding:65px;color:#fff1da}.login-art h1{font-size:3.8rem}.login-content{align-self:center;padding:50px;max-width:650px;width:100%;margin:auto}.login-content>.brand{margin-bottom:35px}.login-content h2{margin-bottom:20px}.login-content .primary{width:100%}.login-content .muted{margin:15px 0;font-size:14px}dialog{border:1px solid var(--line);border-radius:18px;padding:0;max-width:520px;width:calc(100% - 30px);max-height:90dvh;background:var(--paper);color:var(--ink);box-shadow:0 20px 100px #28132140;overflow:auto}dialog::backdrop{background:#26111ec2;backdrop-filter:blur(4px)}.modal-head{padding:19px 23px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line)}.modal-body{padding:25px}.modal-body>p{white-space:pre-line;line-height:2.1;margin-bottom:20px}.modal-body>img{width:100%;max-height:330px;object-fit:cover;object-position:center 25%;border-radius:10px;margin-bottom:18px}.surprise{padding:25px;text-align:center}.surprise>svg{width:48px;height:48px;color:var(--gold);margin:15px}.surprise p{font-size:1.25rem;white-space:pre-line;margin:20px 0 30px;line-height:2.2}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,15px);padding:12px 23px;border-radius:10px;background:var(--wine);color:#fff4e4;z-index:100;opacity:0;pointer-events:none;transition:.2s;width:max-content;max-width:90%;box-shadow:0 5px 30px #30102030;font-size:14px}#toast.visible{opacity:1;transform:translate(-50%,0)}.error{background:#ffe7e2;color:#8a2730;padding:10px 15px;border-radius:8px;font-size:14px}.attachment-preview{max-height:170px;max-width:100%;border-radius:10px}.subtle{color:var(--muted);font-size:14px}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.response-image{max-height:290px;max-width:100%;border-radius:12px;margin:auto}.hidden{display:none!important}.busy{opacity:.6;pointer-events:none}.row-label{display:flex;align-items:center;gap:10px}.reader{font-size:1.35rem;text-align:center;line-height:2.25}.read-line{width:35px;height:1px;background:var(--gold);margin:23px auto}button.fav-active{color:#a74657}.form-status{color:#8a2730;font-size:14px}.content-image{width:100%;max-height:240px;object-fit:cover;border-radius:9px;margin-top:15px}.attachment-name{font-size:12px;color:var(--muted);padding:0 15px}
@media(min-width:1600px){.main{padding-left:6vw;padding-right:6vw}}@media(max-width:1150px){.sidebar{width:205px;padding:30px 18px}.main{margin-right:205px;padding:25px}.home-grid{grid-template-columns:1.4fr 1fr;gap:17px}.hero{padding:26px;min-height:390px}.hero h2{font-size:1.8rem}.letter{padding:23px}.letter blockquote{font-size:1.15rem}.welcome .badge{display:none}.home-grid .hero p{font-size:15px}.calendar-layout{grid-template-columns:1fr}.day-detail{display:flex}.day-detail>img{width:40%;height:auto;max-height:330px}.admin-grid{grid-template-columns:1fr}}@media(max-width:800px){.sidebar{display:none}.main{margin:0;padding:18px 20px 105px}.mobile-brand{display:flex;align-items:center;gap:9px;font-size:1.35rem;font-weight:600}.mobile-brand img{width:34px}.topbar{margin-bottom:24px}.breadcrumb,.topbar .date{display:none}.top-actions{gap:8px}.top-actions .avatar{width:34px;height:34px}.icon-button{width:40px;height:40px}.bottom-nav{position:fixed;bottom:0;right:0;left:0;background:#fffcf7f5;backdrop-filter:blur(20px);border-top:1px solid var(--line);padding:10px 8px calc(10px + env(safe-area-inset-bottom));display:flex;justify-content:space-around;z-index:25}.bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:3px;color:#86787b;font-size:12px;min-width:48px;position:relative}.bottom-nav button.active{color:var(--wine)}.bottom-nav button.active:before{content:'';height:3px;width:16px;border-radius:4px;position:absolute;top:-11px;background:var(--wine)}.bottom-nav svg{width:21px;height:21px}.welcome{margin-bottom:20px}.welcome h1{font-size:1.9rem}.welcome p{font-size:14px}.welcome .eyebrow{font-size:12px}.home-grid{grid-template-columns:1fr}.hero{min-height:365px;padding:28px}.hero>img{object-position:center 29%}.hero h2{font-size:2rem}.hero p{max-width:280px}.hero:before{background:linear-gradient(90deg,#25121b20,#25121b66),linear-gradient(0deg,#29141cf2,transparent)}.home-grid .letter{display:none}.section-heading{margin-top:25px}.section-heading h2{font-size:1.18rem}.mood-row{gap:7px}.mood{padding:13px 2px;border-radius:11px;gap:8px}.mood span:last-child{font-size:12px}.mood .mood-icon{width:32px;height:32px}.mood svg{width:21px;height:21px}.lower-grid{grid-template-columns:1fr;gap:0}.lower-grid .section-heading{margin-top:24px}.memory-card{min-height:157px}.note-card{min-height:145px}.page-foot{margin-top:30px}.cards{grid-template-columns:1fr}.calendar{padding:17px}.calendar-days{gap:3px}.weekday{font-size:12px}.calendar-head{margin-bottom:18px}.day-detail{display:block}.day-detail>img{width:100%;height:235px}.chat{margin-left:-7px;margin-right:-7px}.messages{height:calc(100dvh - 330px);min-height:280px;padding:17px}.bubble{max-width:88%}.chat-form{padding:10px;gap:7px}.chat-form textarea{font-size:16px}.chat-form .primary{padding:10px}.panel{padding:21px}.form-row{grid-template-columns:1fr}.login-wrap{display:block}.login-art{display:none}.login-content{padding:35px 25px}.demo-strip{font-size:12px;padding:3px 8px}.demo-strip a{margin-left:7px}#toast{bottom:95px}.mood-page .mood-row{margin:25px 0}.admin-grid{gap:18px}.poem-card{padding:24px}.welcome .primary{padding:9px 13px;min-height:42px;font-size:14px}.welcome .primary svg{width:18px}.hero-footer small{font-size:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@media(max-width:800px){.hero-footer{flex-wrap:wrap;gap:9px 16px}.hero-footer .primary{white-space:nowrap;flex-shrink:0;padding:10px 15px}.hero-footer small{font-size:12px}.mood span:last-child{font-size:13px}}
