@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');
:root{--pink:#e88ba7;--deep:#a84968;--ink:#573846;--cream:#fff9fb;--health:1}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;color:var(--ink);font-family:'Noto Sans Bengali',sans-serif;background:linear-gradient(135deg,#fff4f7,#fce3eb 48%,#fff8fa);overflow-x:hidden}
button,input,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}a{color:inherit}.shell{position:relative;z-index:1;width:min(920px,calc(100% - 28px));margin:0 auto;padding:28px 0 50px}.panel,.login-card{background:rgba(255,255,255,.78);border:1px solid rgba(255,255,255,.9);border-radius:26px;padding:clamp(20px,4vw,34px);box-shadow:0 14px 45px rgba(153,65,95,.09);backdrop-filter:blur(10px);margin:18px 0}.login-card{max-width:470px;margin:10vh auto;text-align:center;padding:38px}.logo-heart{font-size:58px;color:var(--pink);animation:heartBeat 2s infinite}.eyebrow{font-size:.72rem;letter-spacing:.16em;color:#b86a83;font-weight:700;margin:0 0 8px}h1,h2,h3,p{margin-top:0}h1,h2{line-height:1.35}h1{font-size:clamp(1.5rem,4vw,2.15rem);margin-bottom:8px}h2{font-size:clamp(1.25rem,3vw,1.65rem);margin-bottom:12px}h3{font-size:1.05rem}.topbar,.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.topbar{margin:10px 0 22px}.topbar h1{margin:0}.topbar h1 span{color:var(--pink)}.hero{text-align:center;padding:42px 25px;background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(255,223,234,.8))}.hero h2{font-family:'Playfair Display','Noto Sans Bengali',serif;font-size:clamp(1.8rem,5vw,2.8rem);color:#9f4564}.muted{color:#9c7c88;font-size:.92rem}.center{text-align:center}.primary,.small-button,.ghost,.link-button{border-radius:999px;padding:12px 18px;font-weight:600;transition:transform .2s,box-shadow .2s}.primary{background:linear-gradient(135deg,#e88ba7,#c95f83);color:white;box-shadow:0 8px 20px #d67b982f}.primary:hover,.small-button:hover{transform:translateY(-2px)}.small-button{background:#fbe3eb;color:#9e4d68;padding:10px 15px}.ghost{background:#fff0f5;color:#a34e6b}.link-ghost{text-decoration:none;white-space:nowrap}.link-button{text-decoration:none;display:inline-block;white-space:nowrap}.login-card form{display:grid;gap:12px;text-align:left;margin-top:25px}.login-card label,.upload-form label,.event-form label{font-size:.9rem;font-weight:600}.login-card input,.event-form input,.event-form textarea,.upload-form input,#messageForm textarea{width:100%;border:1px solid #efd2dc;background:#fffafd;border-radius:14px;padding:13px;color:var(--ink);outline:none}.login-card input:focus,.event-form input:focus,.event-form textarea:focus,#messageForm textarea:focus{border-color:var(--pink);box-shadow:0 0 0 3px #e88ba720}.error{color:#b23a55;font-size:.9rem}.tree-panel{text-align:center}.tree-panel .section-head{text-align:left}.tree-stage{display:flex;justify-content:center;align-items:center;min-height:300px;overflow:hidden}.love-tree{width:min(100%,360px);height:auto;overflow:visible;transform-origin:50% 92%;animation:treeSway 5s ease-in-out infinite}.ground-shadow{fill:#c28b9c;opacity:.18}.trunk,.branch{fill:#91634e;transition:fill 1.5s}.canopy{filter:drop-shadow(0 8px 5px #b65d7522);transition:filter 1s}.leaf{fill:#7ebc8a;stroke:#5d9c70;stroke-width:1.2;transform-box:fill-box;transform-origin:center;animation:leafBreathe 3.4s ease-in-out infinite alternate;transition:fill 1.2s,opacity 1.2s}.leaf2,.leaf5{animation-delay:-1.4s}.leaf3,.leaf7{animation-delay:-2.2s}.leaf4,.leaf6{animation-delay:-.8s}.tree-hearts{fill:#f5d2df;font-size:15px;animation:heartBeat 2.5s infinite}.tree-caption{fill:#b17a8c;font-size:10px;font-style:italic}.love-tree.wilted .leaf{fill:#bba58a;stroke:#a18b75}.love-tree.very-wilted .leaf{fill:#8e776d;stroke:#79645b;opacity:.78}.love-tree.wilted .trunk,.love-tree.wilted .branch{fill:#846957}.love-tree.very-wilted .canopy{filter:grayscale(.65)}.falling-leaves{fill:#b18d6e;opacity:0;transition:opacity 1s}.wilted .falling-leaves{opacity:.85}.falling-leaves ellipse{animation:fallLeaf 4s ease-in infinite}.falling-leaves ellipse:nth-child(2){animation-delay:-1.3s}.falling-leaves ellipse:nth-child(3){animation-delay:-2.6s}.love-tree.shake{animation:treeShake .45s}.status-pill{border-radius:999px;background:#e6f6e8;color:#4c8a5c;padding:7px 12px;font-size:.8rem;white-space:nowrap}.status-pill.sad{background:#f8e7df;color:#9a6b4f}.question{font-size:1.1rem;font-weight:700;margin:4px 0 16px}.mood-buttons{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.mood-buttons button{border-radius:999px;padding:12px 17px;font-weight:600;transition:transform .2s}.mood-buttons button:active{transform:scale(.96)}.angry{background:#f9e0dc;color:#a84c51}.calm{background:#e4f5e8;color:#4d8b61}.slider{display:flex;align-items:center;gap:10px;margin-top:22px}.photo-frame{position:relative;flex:1;min-width:0;height:clamp(240px,55vw,470px);background:linear-gradient(135deg,#fff0f5,#f9d8e4);border-radius:20px;overflow:hidden;display:flex;align-items:center;justify-content:center}.slide-image{width:100%;height:100%;object-fit:contain;animation:photoIn .5s ease}.photo-caption{position:absolute;bottom:0;left:0;right:0;padding:22px 12px 10px;margin:0;text-align:center;color:white;background:linear-gradient(transparent,#5d2437a8)}.slider-arrow{flex:0 0 38px;height:42px;border-radius:50%;background:#fbe3eb;color:#a94f6e;font-size:2rem;line-height:1}.empty-gallery{color:#b16f86;text-align:center;padding:20px}.dots{display:flex;justify-content:center;gap:7px;margin:15px}.dot{width:8px;height:8px;border-radius:50%;background:#e9c1ce;padding:0}.dot.active{background:#c95f83;transform:scale(1.3)}.upload-form,.event-form{display:grid;gap:13px;background:#fff5f8;border-radius:18px;padding:18px;margin-top:18px}.hidden{display:none!important}.roadmap-preview{background:linear-gradient(130deg,#fff,#fff0f5)}.letters-panel{text-align:center}.text-link{color:#a64c6a;font-weight:700;text-decoration:none;border-bottom:1px solid #e7a8bb;padding-bottom:3px}.roadmap-hero{text-align:center;background:linear-gradient(135deg,#fff,#fce4ec)}.roadmap{position:relative;margin:28px 0 8px;padding-left:18px}.roadmap:before{content:"";position:absolute;left:25px;top:5px;bottom:5px;width:3px;border-radius:4px;background:linear-gradient(#e88ba7,#f6c5d5,#dba9ba);background-size:100% 200%;animation:roadFlow 5s linear infinite}.road-event{position:relative;display:grid;grid-template-columns:54px 1fr auto;gap:12px;align-items:start;padding:0 0 25px;animation:eventIn .6s ease both}.event-marker{z-index:1;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--event-color);color:white;border:4px solid #fff;box-shadow:0 3px 14px #b65d7528;font-size:1.3rem;animation:markerPulse 3s infinite}.event-content{background:#fff9fb;border:1px solid #f4dce4;border-radius:17px;padding:15px 17px}.event-content h3{margin:0 0 6px}.event-content p{margin:0}.event-date{color:#b66d86;font-size:.8rem;margin-bottom:5px!important}.delete-event{background:transparent;color:#bb8294;font-size:.78rem;padding:6px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-row input[type=color]{height:46px;padding:4px}.letters-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.letter-card,.message-card{border:1px solid #f0d5df;background:#fff9fb;border-radius:17px;padding:18px}.letter-card h3{color:#a64c6a}.letter-card.locked{opacity:.7}.message-card{margin:10px 0}.message-card p{white-space:pre-wrap;margin-bottom:8px}.message-card small{color:#b58a99}#messageForm{display:grid;gap:12px;margin:16px 0 25px}footer{text-align:center;padding:20px;color:#b17b8e;font-size:.82rem}.hearts-bg{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:0}.bg-heart{position:absolute;bottom:-50px;color:#e99ab2;opacity:0;animation:floatHeart 18s linear infinite;text-shadow:0 2px 12px #e99ab233}.petals-bg{position:fixed;inset:0;pointer-events:none;opacity:.18;background-image:radial-gradient(ellipse at center,#fff 0 20%,transparent 22%);background-size:80px 100px;mask-image:linear-gradient(transparent,black,transparent)}
@keyframes treeSway{0%,100%{transform:rotate(-1deg)}50%{transform:rotate(1deg)}}@keyframes leafBreathe{from{transform:scale(.97) rotate(-2deg)}to{transform:scale(1.04) rotate(2deg)}}@keyframes fallLeaf{0%{transform:translate(0,-10px) rotate(0);opacity:0}20%{opacity:1}100%{transform:translate(25px,90px) rotate(180deg);opacity:0}}@keyframes floatHeart{0%{transform:translateY(0) rotate(0);opacity:0}10%{opacity:.55}90%{opacity:.45}100%{transform:translateY(-115vh) rotate(35deg);opacity:0}}@keyframes heartBeat{0%,100%{transform:scale(1)}12%{transform:scale(1.08)}25%{transform:scale(1)}}@keyframes treeShake{0%,100%{transform:rotate(0)}25%{transform:rotate(-3deg)}75%{transform:rotate(3deg)}}@keyframes photoIn{from{opacity:0;transform:scale(1.03)}to{opacity:1;transform:scale(1)}}@keyframes eventIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes markerPulse{0%,100%{box-shadow:0 3px 14px #b65d7528}50%{box-shadow:0 3px 20px #b65d7570}}@keyframes roadFlow{from{background-position:0 0}to{background-position:0 100%}}
@media(max-width:600px){.shell{width:calc(100% - 18px);padding-top:16px}.panel{border-radius:21px;padding:19px;margin:12px 0}.topbar{align-items:flex-start}.topbar h1{font-size:1.35rem}.section-head{align-items:flex-start}.section-head .small-button,.section-head .link-button{font-size:.8rem;padding:10px 12px}.mood-buttons button{width:100%}.slider{gap:5px}.slider-arrow{flex-basis:30px;width:30px;height:36px}.road-event{grid-template-columns:45px 1fr;gap:8px}.event-marker{width:40px;height:40px}.roadmap:before{left:20px}.delete-event{grid-column:2;justify-self:start}.event-content{padding:12px}.form-row{grid-template-columns:1fr}.login-card{padding:28px 22px;margin-top:8vh}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}}


/* Flower zoom-in blooming animation */
#treeFlowers .tree-flower {
    opacity: 0;
    transform: scale(0);
    transform-box: fill-box;
    transform-origin: center;
}

#loveTree.blooming #treeFlowers .tree-flower {
    animation:
        flowerZoomBloom 1s cubic-bezier(.18,.89,.32,1.35) both,
        flowerSway 2.5s ease-in-out 1s infinite alternate;
}

@keyframes flowerZoomBloom {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    70% {
        opacity: 1;
        transform: scale(1.3);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes flowerSway {
    from {
        transform: scale(1) rotate(-5deg);
    }
    to {
        transform: scale(1.08) rotate(5deg);
    }
}



/* Gallery: cinematic cross-fade with a gentle zoom, using two preloaded layers */
.photo-frame{height:auto;aspect-ratio:4/3;max-height:470px;min-height:0;isolation:isolate;contain:layout paint;position:relative;background:#f9d8e4;}
.photo-frame .slide-image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.045);transition:opacity .85s cubic-bezier(.22,.61,.36,1),transform 1.25s cubic-bezier(.22,.61,.36,1);animation:none!important;backface-visibility:hidden;will-change:opacity,transform;}
.photo-frame .slide-image.is-visible{opacity:1;transform:scale(1);}
.photo-frame .slide-image[hidden],.photo-frame .photo-caption[hidden]{display:none!important}
.photo-frame .photo-caption{z-index:2;pointer-events:none;transition:opacity .35s ease;}
.crop-editors{display:grid;gap:16px;margin:12px 0}
.crop-card{padding:14px;background:#fff;border:1px solid #f0d5df;border-radius:16px;display:grid;gap:10px;min-width:0}
.crop-title{font-weight:700;color:#9e4d68;margin:0;overflow-wrap:anywhere}
.crop-canvas{display:block;width:100%;aspect-ratio:4/3;height:auto;max-height:390px;object-fit:contain;border-radius:12px;background:#f9d8e4;touch-action:none;cursor:grab}
.crop-canvas:active{cursor:grabbing}
.crop-help{margin:0;color:#9c7c88;font-size:.85rem}
.crop-zoom-label{display:grid;grid-template-columns:1fr;gap:6px;font-size:.9rem;font-weight:600;color:#9e4d68}
.crop-zoom{width:100%;accent-color:#c95f83}
@media(max-width:600px){.photo-frame{max-height:none}.crop-card{padding:10px}.crop-canvas{max-height:280px}}


/* Stable, decoded-image crossfade: avoids blank frames/flicker during slideshow. */
.photo-frame{position:relative;aspect-ratio:4/3;height:auto;max-height:470px;min-height:0;isolation:isolate;contain:layout paint;background:#f9d8e4;overflow:hidden;}
.photo-frame .slide-image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;opacity:0;transform:translateZ(0) scale(1.025);transition:opacity .9s ease-in-out,transform 1.2s ease-out;animation:none!important;backface-visibility:hidden;will-change:opacity,transform;}
.photo-frame .slide-image.is-visible{opacity:1;transform:translateZ(0) scale(1);}
.photo-frame .slide-image[hidden]{display:none!important;}
.photo-frame .photo-caption{display:none!important;}
@media(prefers-reduced-motion:reduce){.photo-frame .slide-image{transition:opacity .25s linear,transform .25s linear;}}

/* Couple chat floating launcher + modal popup (cache version chatfix8) */
.floating-chat-button{position:fixed!important;right:20px!important;bottom:22px!important;z-index:9998!important;display:flex!important;align-items:center;gap:9px;padding:13px 18px!important;border-radius:999px!important;background:linear-gradient(135deg,#e88ba7,#c95f83)!important;color:#fff!important;font-weight:700!important;box-shadow:0 8px 28px rgba(168,73,104,.32)!important;border:2px solid rgba(255,255,255,.85)!important}
.floating-chat-button span{display:inline!important}
.floating-modal{position:fixed!important;inset:0!important;z-index:9999!important;display:flex;align-items:flex-end;justify-content:flex-end;padding:22px!important;background:rgba(87,56,70,.24)!important;backdrop-filter:blur(3px)!important}
.floating-modal.hidden{display:none!important}
.floating-card.chat-card{width:min(420px,calc(100vw - 28px))!important;height:min(650px,calc(100dvh - 44px))!important;max-height:calc(100dvh - 44px)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;margin:0!important;padding:0!important;border:1px solid #f0d1dc!important;border-radius:24px!important;background:#fff9fb!important;box-shadow:0 20px 70px rgba(100,45,65,.25)!important}
.chat-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 18px!important;background:linear-gradient(135deg,#fff0f5,#f8dce5)!important;border-bottom:1px solid #f0d1dc!important}
.chat-header h2{font-size:1.1rem!important;margin:0 0 4px!important;color:#9f4564!important}.chat-header p{margin:0!important}
.chat-messages{flex:1!important;min-height:0!important;overflow-y:auto!important;display:flex!important;flex-direction:column!important;gap:10px!important;padding:16px 12px!important;background:linear-gradient(135deg,#fffafc,#fff0f5)!important}
.chat-message{max-width:82%!important;width:fit-content!important;padding:9px 12px 6px!important;border-radius:16px!important;box-shadow:0 2px 6px rgba(100,45,65,.07)!important;overflow-wrap:anywhere!important}
.chat-message p{white-space:pre-wrap!important;margin:4px 0 6px!important}.chat-message small{display:block!important;text-align:right!important;color:#a88491!important;font-size:.68rem!important}
.chat-message img{display:block!important;max-width:min(230px,100%)!important;max-height:260px!important;object-fit:contain!important;border-radius:11px!important;margin:5px 0!important}
.chat-message-theirs{align-self:flex-start!important;background:#fff!important;border:1px solid #f0e3e8!important;border-top-left-radius:5px!important;color:#573846!important}
.chat-message-mine{align-self:flex-end!important;background:#fbe3eb!important;border:1px solid #f2cfdb!important;border-top-right-radius:5px!important;color:#573846!important}
.chat-sender-name{font-size:.76rem!important;color:#b45376!important;display:block!important;margin-bottom:3px!important}
.chat-form{display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:12px!important;background:#fff!important;border-top:1px solid #f0d1dc!important}
.chat-form textarea{flex:1 1 100%!important;min-height:48px!important;max-height:110px!important;resize:vertical!important;border:1px solid #efd2dc!important;border-radius:15px!important;padding:11px 13px!important;background:#fffafd!important}
.chat-image-label{display:inline-flex!important;align-items:center;gap:6px!important;border-radius:999px!important;padding:10px 12px!important;background:#fff0f5!important;color:#a34e6b!important;font-size:.86rem!important;cursor:pointer!important}.chat-image-label input{max-width:155px!important;font-size:.75rem!important}
.chat-form .primary{margin-left:auto!important;padding:10px 17px!important}.chat-form #chatStatus{flex:1 0 100%!important;margin:0!important}
.chat-image-preview{position:relative;flex:1 0 100%;display:flex;align-items:center;gap:10px;padding:8px;background:#fff4f8;border:1px solid #f0d1dc;border-radius:14px;color:#9f4564;font-size:.8rem}
.chat-image-preview.hidden{display:none!important}.chat-image-preview img{width:58px;height:58px;object-fit:cover;border-radius:9px}.chat-image-preview-info{flex:1}.chat-image-remove{width:30px;height:30px;border-radius:50%;background:#f7dce6;color:#a84968;font-size:1.2rem}
@media(max-width:600px){.floating-chat-button{right:14px!important;bottom:14px!important;padding:12px 15px!important}.floating-modal{padding:8px!important;align-items:flex-end!important;justify-content:center!important}.floating-card.chat-card{width:100%!important;height:min(78dvh,680px)!important;max-height:calc(100dvh - 16px)!important;border-radius:22px!important}.chat-form{padding:9px!important}.chat-image-label input{max-width:125px!important}}


/* Partner identity in the chat app bar + polished photo picker */
.chat-partner-identity{display:flex;align-items:center;gap:12px;min-width:0;}
.chat-partner-avatar{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:linear-gradient(135deg,#e88ba7,#c95f83);border:2px solid rgba(255,255,255,.95);box-shadow:0 3px 12px rgba(168,73,104,.18);color:#fff;font-size:1.15rem;font-weight:800;letter-spacing:.02em;}
.chat-partner-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;}
.chat-partner-copy{min-width:0;}
.chat-partner-copy h2{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.chat-partner-copy p{font-size:.78rem!important;}
.chat-form .chat-image-label{position:relative;display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:9px 15px!important;border:1px solid #efc6d4!important;border-radius:14px!important;background:linear-gradient(135deg,#fff8fb,#fce5ed)!important;color:#a34e6b!important;font-size:.84rem!important;font-weight:700;box-shadow:0 3px 10px rgba(168,73,104,.07);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;cursor:pointer!important;}
.chat-form .chat-image-label:hover{transform:translateY(-1px);border-color:#e7a6bb!important;box-shadow:0 6px 15px rgba(168,73,104,.13);}
.chat-photo-icon{width:23px;height:23px;display:grid;place-items:center;border-radius:8px;background:#f5cada;color:#a34e6b;font-size:1.25rem;line-height:1;font-weight:500;}
.chat-photo-label-text{white-space:nowrap;}
.chat-form .chat-image-label input{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;padding:0!important;border:0!important;opacity:0!important;}
.chat-form .chat-send-button{min-height:43px;border-radius:14px!important;box-shadow:0 5px 14px rgba(168,73,104,.2)!important;}
@media(max-width:600px){.chat-partner-avatar{width:42px;height:42px;flex-basis:42px}.chat-partner-copy h2{max-width:calc(100vw - 150px)}.chat-form .chat-image-label{padding:9px 11px!important}.chat-photo-label-text{font-size:.8rem}}

/* FIX: profile modal layout only; keep chat popup styles untouched */
#profileModal.floating-modal{align-items:center!important;justify-content:center!important;padding:16px!important;overflow-y:auto!important;}
#profileModal .floating-card{position:relative!important;display:block!important;flex:0 1 520px!important;width:min(520px,100%)!important;max-width:520px!important;max-height:calc(100dvh - 32px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;margin:auto!important;padding:clamp(20px,4vw,30px)!important;border:1px solid #f0d1dc!important;border-radius:24px!important;background:#fff9fb!important;box-shadow:0 20px 70px rgba(100,45,65,.25)!important;}
#profileModal .floating-card h2{padding-right:34px!important;margin:0 0 18px!important;color:#9f4564!important;}
#profileModal .modal-close{position:absolute!important;right:14px!important;top:14px!important;width:36px!important;height:36px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#fbe3eb!important;color:#a84968!important;font-size:1.45rem!important;line-height:1!important;}
#profileModal .profile-current{display:flex!important;align-items:center!important;gap:14px!important;margin:0 0 20px!important;min-width:0!important;overflow-wrap:anywhere!important;}
#profileModal .profile-current img{width:76px!important;height:76px!important;flex:0 0 76px!important;object-fit:cover!important;border-radius:50%!important;border:3px solid #f5ccda!important;box-shadow:0 4px 14px rgba(168,73,104,.14)!important;}
#profileModal .profile-form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;width:100%!important;min-width:0!important;margin:0!important;padding:16px 0 0!important;background:transparent!important;border-radius:0!important;}
#profileModal .profile-form+ .profile-form{margin-top:16px!important;border-top:1px solid #f0d1dc!important;}
#profileModal .profile-form label{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important;width:100%!important;min-width:0!important;color:#875568!important;font-size:.9rem!important;font-weight:600!important;line-height:1.5!important;}
#profileModal .profile-form input:not([type=file]){display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:48px!important;margin:0!important;padding:11px 13px!important;border:1px solid #efd2dc!important;border-radius:13px!important;background:#fff!important;color:#573846!important;box-sizing:border-box!important;}
#profileModal .profile-form input[type=file]{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:10px!important;border:1px dashed #e6afc1!important;border-radius:13px!important;background:#fff4f8!important;color:#875568!important;font-size:.82rem!important;}
#profileModal .profile-form button{justify-self:start!important;max-width:100%!important;margin-top:4px!important;white-space:normal!important;}
#profileModal .profile-form p{margin:0!important;overflow-wrap:anywhere!important;}
@media(max-width:600px){#profileModal.floating-modal{padding:10px!important;align-items:center!important;justify-content:center!important;}#profileModal .floating-card{width:100%!important;max-width:100%!important;max-height:calc(100dvh - 20px)!important;padding:22px 18px!important;border-radius:20px!important;}#profileModal .profile-form{gap:9px!important;}#profileModal .profile-current img{width:64px!important;height:64px!important;flex-basis:64px!important;}}
