#mhcS{position:fixed;inset:0;z-index:20000;display:none;background:rgba(74,10,31,.55);backdrop-filter:blur(3px);font-family:"Open Sans","Noto Sans Bengali",sans-serif}
#mhcS.on{display:flex;align-items:flex-start;justify-content:center;padding:4vh 12px}
#mhcS .box{width:min(860px,100%);max-height:92vh;overflow:auto;background:#fff;color:#2b1b21;border-radius:18px;box-shadow:0 24px 60px rgba(74,10,31,.35);border-top:4px solid var(--mhc-gold,#C9A227)}
html[lang^=bd] #mhcS,html[lang^=bn] #mhcS{font-family:"Noto Sans Bengali","Open Sans",sans-serif}
#mhcS .hd{display:flex;gap:8px;align-items:center;padding:14px;position:sticky;top:0;background:#fff;z-index:3;border-bottom:1px solid #f0dde3}
#mhcS .hd input{flex:1;border:1.5px solid #e6c9d3;border-radius:12px;padding:10px 14px;font-size:16px;outline:0;min-width:0}
#mhcS .hd input:focus{border-color:var(--mhc-burgundy,#8E1038);box-shadow:0 0 0 3px rgba(142,16,56,.12)}
#mhcS .x{border:0;background:var(--mhc-rose-soft,#FBE8EE);color:var(--mhc-burgundy,#8E1038);width:38px;height:38px;border-radius:50%;font-size:20px;cursor:pointer}
#mhcS .tabs{display:flex;gap:6px;flex-wrap:wrap;padding:10px 14px}
#mhcS .tab{border:1px solid #e6c9d3;background:#fff;color:var(--mhc-burgundy,#8E1038);border-radius:999px;padding:6px 12px;font-size:13px;cursor:pointer;display:inline-flex;gap:6px;align-items:center}
#mhcS .tab.on{background:var(--mhc-burgundy,#8E1038);color:#fff;border-color:var(--mhc-burgundy,#8E1038)}
#mhcS .pane{padding:6px 14px 18px}
#mhcS .chips{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0 12px}
#mhcS .chip{background:var(--mhc-rose-soft,#FBE8EE);color:var(--mhc-burgundy,#8E1038);border:0;border-radius:999px;padding:5px 12px;font-size:13px;cursor:pointer}
#mhcS h6{margin:12px 0 4px;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:#8a6b75}
#mhcS .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}
#mhcS .card{border:1px solid #f0dde3;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;background:#fff}
#mhcS .card img{width:100%;aspect-ratio:1/1;object-fit:cover;background:#faf2f5}
#mhcS .card .b{padding:10px;display:flex;flex-direction:column;gap:3px;flex:1}
#mhcS .card .n{font-weight:600;font-size:14px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#mhcS .card .br{font-size:12px;color:#8a6b75}
#mhcS .card .pr{font-weight:700;color:var(--mhc-burgundy,#8E1038)}
#mhcS .card .pr s{color:#999;font-weight:400;font-size:12px;margin-inline-start:6px}
#mhcS .badge{display:inline-block;font-size:11px;border-radius:6px;padding:1px 6px;background:var(--mhc-gold,#C9A227);color:#fff;margin-inline-end:4px}
#mhcS .badge.no{background:#999}
#mhcS .act{display:flex;gap:6px;margin-top:auto;padding-top:6px}
#mhcS .act a,#mhcS .act button{flex:1;text-align:center;font-size:12px;border-radius:8px;padding:6px;border:1px solid var(--mhc-burgundy,#8E1038);background:var(--mhc-burgundy,#8E1038);color:#fff;text-decoration:none;cursor:pointer}
#mhcS .act .o{background:#fff;color:var(--mhc-burgundy,#8E1038)}
#mhcS .sug{list-style:none;margin:0;padding:0}
#mhcS .sug li{display:flex;gap:10px;align-items:center;padding:8px;border-radius:10px;cursor:pointer}
#mhcS .sug li:hover{background:var(--mhc-rose-soft,#FBE8EE)}
#mhcS .sug img{width:40px;height:40px;border-radius:8px;object-fit:cover}
#mhcS .note{background:#fff8e1;border:1px solid #f0e0a0;border-radius:10px;padding:8px 12px;font-size:13px;margin:8px 0}
#mhcS .msg{padding:14px;text-align:center;color:#6b4a55}
#mhcS video{width:100%;max-height:50vh;background:#000;border-radius:12px}
#mhcS .row{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}
#mhcS .btn{border:1px solid var(--mhc-burgundy,#8E1038);background:var(--mhc-burgundy,#8E1038);color:#fff;border-radius:10px;padding:8px 14px;cursor:pointer;font-size:14px}
#mhcS .btn.o{background:#fff;color:var(--mhc-burgundy,#8E1038)}
#mhcS .filters{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}
#mhcS .filters select,#mhcS .filters input{border:1px solid #e6c9d3;border-radius:8px;padding:5px 8px;font-size:13px;max-width:130px}
html.dark #mhcS .box,[data-bs-theme=dark] #mhcS .box{background:#1e1218;color:#f5e9ee}
html.dark #mhcS .hd,[data-bs-theme=dark] #mhcS .hd{background:#1e1218;border-color:#3b2530}
html.dark #mhcS .card,[data-bs-theme=dark] #mhcS .card{background:#2a1920;border-color:#3b2530}
html.dark #mhcS .hd input,[data-bs-theme=dark] #mhcS .hd input{background:#2a1920;color:#fff;border-color:#4b2f3c}

/* ---- premium unified bar ---- */
.mhc-sw .search-bar-input{border-radius:999px!important;border:1.5px solid #ead2da!important;background:#fff;transition:border-color .15s,box-shadow .15s}
.mhc-sw .search-bar-input:focus{border-color:var(--mhc-burgundy,#8E1038)!important;box-shadow:0 0 0 3px rgba(142,16,56,.12)!important}
.mhc-sw .search_button{border-radius:999px!important;margin:3px!important;background:var(--mhc-burgundy,#8E1038)!important}
.mhc-s-tools{position:absolute;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:0;z-index:6;max-width:calc(100% - 60px)}
.mhc-s-holder{position:relative;display:inline-flex}
.mhc-s-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--mhc-burgundy,#8E1038);cursor:pointer;flex:0 0 auto;transition:background .15s}
.mhc-s-btn:hover,.mhc-s-btn[aria-expanded=true]{background:var(--mhc-rose-soft,#FBE8EE)}
.mhc-s-btn:focus-visible{outline:2px solid var(--mhc-gold,#C9A227);outline-offset:1px}
.mhc-s-btn svg{display:block}
.mhc-s-menu{display:none;position:absolute;inset-inline-end:0;top:calc(100% + 10px);min-width:210px;background:#fff;border:1px solid #ead2da;border-radius:16px;box-shadow:0 16px 40px rgba(74,10,31,.22);padding:6px;z-index:30}
.mhc-s-menu.on{display:block}
.mhc-s-menu button{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;text-align:start;padding:10px 12px;border-radius:10px;font-size:14px;color:#2b1b21;cursor:pointer;white-space:nowrap}
.mhc-s-menu button:hover{background:var(--mhc-rose-soft,#FBE8EE)}
.mhc-s-menu .ic{color:var(--mhc-burgundy,#8E1038);display:inline-flex}
.mhc-s-dd{display:none;position:absolute;inset-inline:0;top:calc(100% + 6px);background:#fff;border:1px solid #ead2da;border-radius:16px;box-shadow:0 16px 40px rgba(74,10,31,.2);z-index:25;padding:6px;max-height:60vh;overflow:auto;text-align:start}
.mhc-s-dd.on{display:block}
.mhc-s-dd ul{list-style:none;margin:0;padding:0}
.mhc-s-dd li{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;cursor:pointer;color:#2b1b21;font-size:14px}
.mhc-s-dd li:hover{background:var(--mhc-rose-soft,#FBE8EE)}
.mhc-s-dd .ic{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;color:#8a6b75;flex:0 0 30px}
.mhc-s-dd .ic img{width:30px;height:30px;border-radius:8px;object-fit:cover}
.mhc-s-dd .hh{display:flex;justify-content:space-between;padding:6px 10px 2px;font-size:12px;color:#8a6b75;text-transform:uppercase;letter-spacing:.04em}
.mhc-s-dd .hh a{color:var(--mhc-burgundy,#8E1038);text-transform:none}
.mhc-sw .search-card,.mhc-sw .search-result-box{display:none!important}
html[lang^=bd] .mhc-s-menu,html[lang^=bn] .mhc-s-menu,html[lang^=bd] .mhc-s-dd,html[lang^=bn] .mhc-s-dd{font-family:"Noto Sans Bengali","Open Sans",sans-serif}
@media(max-width:575px){.mhc-s-btn{width:32px;height:32px}.mhc-s-menu{min-width:190px}}
/* dark mode */
html.dark .mhc-sw .search-bar-input,html[data-theme=dark] .mhc-sw .search-bar-input,html[data-bs-theme=dark] .mhc-sw .search-bar-input{background:#241419;color:#f6e9ee;border-color:#5a2a3a!important}
html.dark .mhc-s-menu,html.dark .mhc-s-dd,html[data-theme=dark] .mhc-s-menu,html[data-theme=dark] .mhc-s-dd,html[data-bs-theme=dark] .mhc-s-menu,html[data-bs-theme=dark] .mhc-s-dd,html.dark #mhcS .box,html[data-theme=dark] #mhcS .box,html[data-bs-theme=dark] #mhcS .box{background:#241419;color:#f6e9ee;border-color:#5a2a3a}
html.dark .mhc-s-menu button,html.dark .mhc-s-dd li,html[data-theme=dark] .mhc-s-menu button,html[data-theme=dark] .mhc-s-dd li,html[data-bs-theme=dark] .mhc-s-menu button,html[data-bs-theme=dark] .mhc-s-dd li{color:#f6e9ee}
html.dark .mhc-s-btn,html[data-theme=dark] .mhc-s-btn,html[data-bs-theme=dark] .mhc-s-btn{color:#f2a9bf}
html.dark #mhcS .hd,html[data-theme=dark] #mhcS .hd,html[data-bs-theme=dark] #mhcS .hd{background:#241419;border-color:#5a2a3a}
html.dark #mhcS .hd input,html[data-theme=dark] #mhcS .hd input,html[data-bs-theme=dark] #mhcS .hd input{background:#2f1a21;color:#f6e9ee;border-color:#5a2a3a}
html.dark #mhcS .card,html[data-theme=dark] #mhcS .card,html[data-bs-theme=dark] #mhcS .card{background:#2f1a21;border-color:#5a2a3a;color:#f6e9ee}
