#emhd-notice{box-sizing:border-box;width:min(700px,calc(100% - 20px));max-width:700px;max-height:calc(100dvh - 16px);padding:0;margin:auto;border:1px solid #e9b66a;border-radius:18px;color:#39465e;background:#fffdf8;box-shadow:0 24px 90px #0007,0 0 0 4px #e9b66a14;font-family:"Noto Serif Bengali","Nirmala UI","Vrinda",sans-serif;font-size:16px;line-height:1.5;text-align:center;overflow:auto}
#emhd-notice:not([open]){display:none}
#emhd-notice::backdrop{background:rgb(9 13 23 / 78%)}
#emhd-notice *{box-sizing:border-box}
#emhd-notice .emhd-notice__layout{display:flex;flex-direction:column}
#emhd-notice .emhd-notice__header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 18px;background:linear-gradient(110deg,#a50b25,#ed2337);color:#fff;border-bottom:2px solid #e9b66a}
#emhd-notice h2{margin:0;padding:0;color:#fff8e8;font:italic 700 24px/1.4 "Noto Serif Bengali","Nirmala UI",serif}
#emhd-notice button{font-family:inherit;cursor:pointer;text-transform:none;letter-spacing:normal;box-shadow:none;min-height:40px}
#emhd-notice .emhd-notice__close{display:flex;align-items:center;gap:8px;flex-shrink:0;padding:6px 12px;border:1px solid #ffffff8c;border-radius:30px;background:#ffffff12;color:#fff;font-size:14px;line-height:1.4}
#emhd-notice .emhd-notice__body{padding:12px 22px 0}
#emhd-notice .emhd-notice__image{display:block;width:auto;max-width:100%;height:auto;max-height:min(140px,22dvh);margin:0 auto 10px;border-radius:9px;box-shadow:0 4px 14px #7f14251a;object-fit:contain}
#emhd-notice p{margin:8px 0;padding:0;font-size:inherit;line-height:inherit}
#emhd-notice .emhd-notice__greeting{color:#9b1738;font-weight:700;font-size:18px}
#emhd-notice .emhd-notice__body>p:nth-of-type(2){color:#34568a}
#emhd-notice .emhd-notice__domains{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:10px;margin:10px 0}
#emhd-notice .emhd-notice__domains>span{color:#87724d;font-size:13px}
#emhd-notice .emhd-notice__domains a{display:block;max-width:100%;overflow-wrap:anywhere;padding:8px 13px;border:1px solid #eab8c4;border-radius:9px;background:linear-gradient(135deg,#fff4f5,#ffe8ec);color:#a4123b;font-size:17px;font-weight:700;text-decoration:none}
#emhd-notice .emhd-notice__domains a:last-child{background:linear-gradient(135deg,#edf9f6,#daf0ec);color:#086a60;border-color:#a5d4c9}
#emhd-notice .emhd-notice__domains a:hover{text-decoration:underline;filter:brightness(.97)}
#emhd-notice .emhd-notice__warning{padding:8px 10px;border:1px solid #efd9a4;border-radius:8px;background:#fff6df;color:#805212;font-size:15px}
#emhd-notice .emhd-notice__warning strong{color:#aa3026}
#emhd-notice .emhd-notice__body>p:nth-of-type(4){color:#46547b}
#emhd-notice .emhd-notice__thanks{color:#a61d49;font-weight:700}
#emhd-notice .emhd-notice__footer{padding:4px 20px 12px}
#emhd-notice .emhd-notice__footer p{margin:0 0 6px;text-align:center;font-size:12px;color:#75674f}
#emhd-notice .emhd-notice__confirm{display:block;width:100%;padding:6px 16px;border:0;border-radius:9px;background:linear-gradient(110deg,#b70c2a,#f1283b);color:#fff;font-size:19px;font-style:italic;line-height:1.4}
#emhd-notice .emhd-notice__confirm:hover{filter:brightness(.92)}
#emhd-notice button:focus-visible,#emhd-notice a:focus-visible{outline:2px solid #2474dc;outline-offset:2px}
@media(max-width:480px){
#emhd-notice{font-size:14px;line-height:1.45;border-radius:14px}
#emhd-notice .emhd-notice__header{padding:6px 12px}
#emhd-notice h2{font-size:21px}
#emhd-notice .emhd-notice__body{padding:8px 12px 0}
#emhd-notice .emhd-notice__image{max-height:min(100px,17dvh);margin-bottom:7px}
#emhd-notice p{margin:6px 0}
#emhd-notice .emhd-notice__greeting{font-size:15px}
#emhd-notice .emhd-notice__domains{flex-direction:column;gap:3px;margin:6px 0}
#emhd-notice .emhd-notice__domains a{width:100%;padding:5px 8px;font-size:15px}
#emhd-notice .emhd-notice__domains>span{font-size:11px;line-height:1.2}
#emhd-notice .emhd-notice__warning{font-size:13px;padding:6px 8px}
#emhd-notice .emhd-notice__footer{padding:3px 12px 9px}
#emhd-notice .emhd-notice__footer p{font-size:11px;margin-bottom:5px}
}
@media(max-height:600px){
#emhd-notice{font-size:13px;line-height:1.4}
#emhd-notice .emhd-notice__image{max-height:72px;margin-bottom:5px}
#emhd-notice .emhd-notice__body{padding-top:7px}
#emhd-notice p{margin:5px 0}
#emhd-notice .emhd-notice__greeting{font-size:15px}
#emhd-notice .emhd-notice__warning{font-size:13px}
}
@media(max-height:420px) and (min-width:481px){
#emhd-notice .emhd-notice__header{padding-top:4px;padding-bottom:4px}
#emhd-notice .emhd-notice__image{float:left;max-width:26%;max-height:95px;margin:5px 14px 5px 0}
#emhd-notice .emhd-notice__domains{gap:5px;margin:5px 0}
#emhd-notice .emhd-notice__domains a{font-size:13px;padding:5px}
#emhd-notice .emhd-notice__warning{clear:both}
}
/* Phrase colors follow the supplied multicolor Bengali reference. */
#emhd-notice .emhd-notice__body p span{font-weight:600}
#emhd-notice .emhd-pink{color:#db009e}
#emhd-notice .emhd-red,#emhd-notice strong.emhd-red{color:#e01824}
#emhd-notice .emhd-brown{color:#8b4a13}
#emhd-notice .emhd-purple{color:#8424da}
#emhd-notice .emhd-orange{color:#bb4b00}
#emhd-notice .emhd-blue{color:#096bd9}
#emhd-notice .emhd-green{color:#078326}
