:root{--mem-ink:#17243d;--mem-muted:#65738b;--mem-blue:#315c9f;--mem-blue-dark:#17345e;--mem-cream:#f4eee5;--mem-card:#fffdfa;--mem-line:#e5ded4;--mem-gold:#c99331}
body.profile-modern{background:var(--mem-cream)!important;color:var(--mem-ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
body.profile-modern h1,body.profile-modern h2,body.profile-modern h3{font-family:"Playfair Display",serif;color:var(--mem-ink)}
body.profile-modern>.container{max-width:1180px;padding-top:34px;padding-bottom:50px}
.memorial-hero-card{position:relative;padding:34px;border:1px solid rgba(23,52,94,.1);border-radius:26px;background:linear-gradient(135deg,#fffdfa 0%,#fff 58%,#edf3fb 100%);box-shadow:0 22px 60px rgba(27,44,72,.11);overflow:hidden}
.memorial-hero-card:before{content:"";position:absolute;width:310px;height:310px;border-radius:50%;right:-155px;top:-180px;background:rgba(49,92,159,.08)}
.memorial-menu{position:absolute;z-index:3;right:18px;top:18px}.memorial-menu>.btn{width:40px;height:40px;border:1px solid #e2e6eb;box-shadow:0 5px 16px rgba(30,42,60,.08)}
.memorial-portrait{position:relative;width:240px;height:280px;border-radius:120px 120px 24px 24px;overflow:hidden;border:5px solid #fff;box-shadow:0 18px 38px rgba(20,37,63,.18);background:#e8ebef}
.memorial-portrait img{width:100%;height:100%;display:block;object-fit:cover;filter:grayscale(100%)}
.memorial-portrait:after{content:"";position:absolute;right:-45px;bottom:22px;width:205px;height:14px;background:#161616;transform:rotate(-44deg);opacity:.92}
.memorial-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--mem-blue);font-size:.76rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.memorial-identity h1{margin:10px 0 6px;font-size:clamp(2rem,4.5vw,3.6rem);line-height:1.05;text-transform:none;letter-spacing:-.02em}
.memorial-dates{font-size:clamp(1.15rem,2vw,1.5rem);font-weight:600;color:#536178}.memorial-age{margin-top:5px;color:var(--mem-muted)}
.memorial-location{display:inline-flex;align-items:center;gap:7px;margin-top:16px;padding:8px 12px;border-radius:999px;background:#eef3f9;color:#314764;font-size:.86rem}
.memorial-data-notice{display:inline-flex;align-items:flex-start;gap:7px;margin-top:10px;padding:8px 12px;border-radius:12px;background:#fff7df;color:#745819;font-size:.85rem}
.memorial-data-link{display:inline;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.memorial-data-link:hover,.memorial-data-link:focus-visible{color:#4e390d;text-decoration-thickness:2px}
.memorial-anniversary{display:flex;align-items:flex-start;gap:10px;max-width:570px;margin-top:16px;padding:13px 15px;border:1px solid #eadab7;border-radius:15px;background:#fff9e9;color:#644e22;font-size:.87rem}
.memorial-quick-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.memorial-quick-actions .btn{padding:.55rem .9rem;font-size:.84rem;font-weight:700}
.memorial-candle-panel{position:relative;padding:22px;border:1px solid #ead9b9;border-radius:22px;background:linear-gradient(155deg,#fff9eb,#fff);box-shadow:0 14px 34px rgba(117,80,23,.09);text-align:center}
.memorial-candle-top{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:18px}.memorial-candle-top img{width:66px;height:82px;object-fit:contain;filter:drop-shadow(0 7px 10px rgba(186,124,22,.22));transform-origin:50% 100%}.memorial-candle-top img.is-burning{animation:memorial-candle-breathe 2.6s ease-in-out infinite}.memorial-candle-number{font-size:2rem;font-weight:800;line-height:1}
.btn-eternal{background:linear-gradient(180deg,#d6aa50,#ba8426);border:1px solid #ad7921;color:#fff!important;font-weight:800}.btn-eternal:hover{background:#ad7921;transform:translateY(-1px)}.btn-eternal span{margin-left:5px;padding:2px 7px;border-radius:999px;background:rgba(255,255,255,.18);font-size:.75rem}
.memorial-heart-status{margin-top:10px;padding:9px;color:#b63b52;font-weight:700}.memorial-remembrance-count{margin-top:9px;color:var(--mem-muted);font-size:.78rem}.memorial-remembrance-count i{color:#c94b61}
.memorial-section-card{padding:28px;border:1px solid var(--mem-line)!important;border-radius:22px!important;background:var(--mem-card)!important;box-shadow:0 14px 38px rgba(31,43,62,.07)!important}
.memorial-section-heading{display:flex;align-items:center;gap:13px;margin-bottom:20px}.memorial-section-heading>span{display:flex;align-items:center;justify-content:center;width:45px;height:45px;border-radius:14px;background:#eaf0f8;color:var(--mem-blue);font-size:1.2rem}.memorial-section-heading>span.gold{background:#fff2d6;color:#a87517}.memorial-section-heading small{display:block;color:var(--mem-muted);font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.memorial-section-heading h2{margin:1px 0 0;font-size:1.45rem}.memorial-prose{font-size:1rem;line-height:1.8;color:#354258}
.eternal-candle-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:15px}.eternal-candle-item{position:relative;display:flex;min-width:0;min-height:202px;flex-direction:column;align-items:center;padding:16px;border:1px solid #eee2cb;border-radius:17px;background:#fffaf0;text-align:center}.eternal-candle-item img{display:block;max-width:90px;height:auto;filter:drop-shadow(0 8px 12px rgba(170,110,20,.18));transform-origin:50% 100%;animation:memorial-candle-breathe 2.8s ease-in-out var(--candle-delay,0s) infinite}.eternal-candle-item blockquote{width:100%;margin:9px 0 5px;font-size:.84rem;line-height:1.35;color:#514838;overflow-wrap:anywhere}.eternal-candle-item time{display:block;width:100%;margin-top:auto;padding-top:9px;font-size:.7rem;color:var(--mem-muted);white-space:nowrap}.eternal-candle-owner{display:inline-flex;align-items:center;gap:4px;margin:-5px 0 5px;padding:4px 8px;border-radius:999px;background:#edf8f1;color:#287048;font-size:.66rem;font-weight:800}.memorial-owned-candle{display:flex;align-items:flex-start;justify-content:center;gap:7px;padding:9px 11px;border:1px solid #bfe1ca;border-radius:13px;background:#f1faf4;color:#286342;font-size:.78rem;line-height:1.35}.memorial-owned-candle small{color:#52705e}.memorial-active-candles .memorial-section-heading{flex-wrap:wrap}.active-candle-count{margin-left:auto;padding:7px 12px;border:1px solid #edddb9;border-radius:999px;background:#fff8e7;color:#805b18;font-size:.88rem}.active-candle-grid{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:center;gap:7px;min-height:60px;padding:18px;border:1px solid #eee2cb;border-radius:17px;background:linear-gradient(180deg,#fffaf0,#fff)}.active-candle-grid img{display:block;width:42px;height:52px;object-fit:contain;filter:drop-shadow(0 3px 7px rgba(205,132,20,.28));transform-origin:50% 100%;animation:memorial-candle-breathe 2.35s ease-in-out var(--candle-delay,0s) infinite}.active-candle-more{align-self:center;padding:6px 10px;border:1px solid #ead9b6;border-radius:999px;background:#fff;color:#705422;font-size:.8rem;font-weight:800}@keyframes memorial-candle-breathe{0%,100%{transform:translateY(0) scale(1);filter:drop-shadow(0 5px 9px rgba(205,132,20,.22))}50%{transform:translateY(-2px) scale(1.035);filter:drop-shadow(0 7px 13px rgba(238,162,38,.4))}}@media(prefers-reduced-motion:reduce){.memorial-candle-top img,.eternal-candle-item img,.active-candle-grid img{animation:none}}
body.profile-modern .zen-tab{scroll-margin-top:24px}body.profile-modern .zen-tab>hr{display:none}body.profile-modern .zen-tab>.section-title{margin-top:0}body.profile-modern .zen-tab:not(#tab-home){margin-top:24px;padding:28px;border:1px solid var(--mem-line);border-radius:22px;background:var(--mem-card);box-shadow:0 14px 38px rgba(31,43,62,.07)}body.profile-modern .zen-tab:not(#tab-home)>section,body.profile-modern .zen-tab:not(#tab-home)>.card{padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}body.profile-modern .zen-tab:not(#tab-home) .card{border-color:var(--mem-line);box-shadow:none}body.profile-modern .gallery-thumb-wrap{border-radius:16px!important}body.profile-modern .list-group{border-radius:16px;overflow:hidden}body.profile-modern .form-control,body.profile-modern .form-select{border-radius:12px;border-color:#dfe3e8;padding:.7rem .85rem}body.profile-modern .btn-primary{background:var(--mem-blue);border-color:var(--mem-blue);color:#fff}body.profile-modern .btn-primary:hover{background:var(--mem-blue-dark);border-color:var(--mem-blue-dark)}
.profile-section-wrap{padding:28px;border:1px solid var(--mem-line);border-radius:22px;background:var(--mem-card);box-shadow:0 14px 38px rgba(31,43,62,.07)}
.profile-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.profile-section-head h2{margin:0;font-size:1.45rem}.profile-section-head .icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:13px;background:#eaf0f8;color:var(--mem-blue)}
.zen-bottom-nav{border:1px solid rgba(26,42,68,.1)!important;border-radius:20px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 14px 40px rgba(20,35,58,.18)!important}.zen-bottom-nav .zen-nav-btn{color:#647187!important}.zen-bottom-nav .zen-nav-btn.is-active{color:var(--mem-blue)!important;background:#edf2f8!important;border-radius:14px}
@media(max-width:991.98px){.memorial-portrait{margin:0 auto}.memorial-candle-panel{max-width:520px;margin:0 auto}.memorial-anniversary{margin-left:auto;margin-right:auto}.memorial-quick-actions{justify-content:center}}
@media(max-width:767.98px){body.profile-modern>.container{padding:18px 12px 120px}.memorial-hero-card{padding:24px 16px;border-radius:22px}.memorial-menu{right:12px;top:12px}.memorial-portrait{width:190px;height:225px}.memorial-identity h1{font-size:2.25rem}.memorial-section-card,.profile-section-wrap,body.profile-modern .zen-tab:not(#tab-home){padding:19px;border-radius:18px!important}.memorial-quick-actions .btn{flex:1 1 auto}.zen-bottom-nav{left:8px!important;right:8px!important;bottom:8px!important;padding:7px!important}}

/* Nežinomos mirties datos perspėjimas */
body.possibly-alive-open .modal-backdrop.show{background:#020306;opacity:.9}
.possibly-alive-modal .modal-dialog{max-width:610px;padding:14px}
.possibly-alive-modal .modal-content{position:relative;overflow:hidden;padding:42px 38px 34px;border:1px solid rgba(255,255,255,.14);border-radius:26px;background:radial-gradient(circle at 50% 0,rgba(61,83,119,.34),transparent 45%),linear-gradient(145deg,#151b25,#080b10);box-shadow:0 28px 90px rgba(0,0,0,.62);color:#f7f8fa;text-align:center}
.possibly-alive-modal .modal-content:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,rgba(255,255,255,.055),transparent 38%)}
.possibly-alive-close{position:absolute;z-index:2;top:16px;right:16px;display:grid;width:40px;height:40px;place-items:center;border:1px solid rgba(255,255,255,.16);border-radius:50%;background:rgba(255,255,255,.07);color:#fff}
.possibly-alive-close:hover,.possibly-alive-close:focus-visible{background:rgba(255,255,255,.16)}
.possibly-alive-icon{position:relative;display:grid;width:74px;height:74px;margin:0 auto 20px;place-items:center;border:1px solid rgba(235,193,102,.38);border-radius:23px;background:rgba(218,166,60,.13);color:#f1c76d;font-size:2rem}
.possibly-alive-eyebrow{position:relative;margin-bottom:9px;color:#e6c77f;font-size:.72rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.possibly-alive-modal h2{position:relative;margin:0;color:#fff;font:700 clamp(1.9rem,5vw,2.7rem)/1.12 "Playfair Display",serif}
.possibly-alive-modal p{position:relative;max-width:480px;margin:17px auto 26px;color:#cbd1db;font-size:1rem;line-height:1.65}
.possibly-alive-actions{position:relative;display:grid;gap:10px;max-width:420px;margin:0 auto}
.possibly-alive-actions form{display:grid;margin:0}
.possibly-alive-actions .btn{display:flex;min-height:50px;align-items:center;justify-content:center;gap:9px;border-radius:999px;font-weight:800}
.possibly-alive-primary{border:1px solid #e4ba60;background:#d5a64a;color:#15100a}
.possibly-alive-primary:hover,.possibly-alive-primary:focus-visible{border-color:#f0cd83;background:#ebc46e;color:#15100a}
.possibly-alive-danger{border:1px solid rgba(255,126,126,.55);background:rgba(142,34,43,.2);color:#ffced1}
.possibly-alive-danger:hover,.possibly-alive-danger:focus-visible{border-color:#ff939a;background:#912f39;color:#fff}
.possibly-alive-continue{justify-self:center;padding:8px 14px;border:0;background:transparent;color:#aeb6c2;font-size:.86rem;text-decoration:underline;text-underline-offset:4px}
.possibly-alive-continue:hover,.possibly-alive-continue:focus-visible{color:#fff}
@media(max-width:575.98px){.possibly-alive-modal .modal-dialog{margin:8px;padding:0}.possibly-alive-modal .modal-content{padding:36px 20px 26px;border-radius:22px}.possibly-alive-modal p{font-size:.94rem}.possibly-alive-actions .btn{min-height:48px;font-size:.9rem}}
