/* Bhasha chunne ka popup + halka sujhav; Google ka apna bar/tooltip chhupana */
.lgm { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: 16px; }
.lgm[hidden], .lgm-tip[hidden] { display: none; }
.lgm__bg { position: absolute; inset: 0; border: 0; background: rgba(30, 18, 9, .55); backdrop-filter: blur(3px); cursor: default; }
.lgm__panel { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 22px; border-radius: 22px; background: #fffdf9; border: 1px solid #ecdfca; color: #493321; box-shadow: 0 40px 70px -30px rgba(40,22,10,.6); animation: lgmIn .25s cubic-bezier(.22,.61,.36,1); }
@keyframes lgmIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.lgm__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.lgm__head h2 { margin: 0; font-size: 1.1rem; font-family: 'Playfair Display','Tiro Devanagari Hindi',serif; }
.lgm__x { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f3e8d6; color: #493321; font-size: 24px; line-height: 1; cursor: pointer; }
.lgm__x:hover { background: #ead8bb; }
.lgm__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lgm__item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 0; padding: 10px 12px; border: 1px solid #efe3cf; border-radius: 14px; background: #fff; color: #493321; cursor: pointer; text-align: left; font-family: inherit; transition: background .15s, border-color .15s, transform .15s; }
.lgm__item b { font-size: .98rem; font-weight: 600; }
.lgm__item small { font-size: .72rem; color: #8b7761; }
.lgm__item:hover { background: #f8eedd; border-color: #d9c3a0; transform: translateY(-1px); }
.lgm__item.is-on { background: #805633; border-color: #805633; color: #fff; }
.lgm__item.is-on small { color: #ecd9bd; }
.lgm__note { margin: 14px 2px 0; font-size: .76rem; line-height: 1.55; color: #8b7761; }
.lgm button:focus-visible, .lgm-tip button:focus-visible { outline: 3px solid rgba(128,86,51,.5); outline-offset: 2px; }

.lgm-tip { position: fixed; z-index: 10040; left: 16px; bottom: 16px; max-width: calc(100vw - 32px); display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 999px; background: #493321; color: #fff; font-size: .88rem; box-shadow: 0 18px 34px -16px rgba(30,18,9,.7); animation: lgmIn .3s ease; }
.lgm-tip__go { border: 0; border-radius: 999px; padding: 8px 16px; background: #f0e4d2; color: #493321; font-weight: 700; cursor: pointer; font-family: inherit; }
.lgm-tip__x { border: 0; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }

.footer-links button[data-lang-open], .menu-list button[data-lang-open] { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; min-height: 0; }
.footer-links button[data-lang-open]:hover, .menu-list button[data-lang-open]:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 520px) { .lgm__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lgm__panel { padding: 18px; } }
@media (prefers-reduced-motion: reduce) { .lgm__panel, .lgm-tip { animation: none; } }

/* Google ka apna top bar / tooltip / highlight nahi dikhana */
body { top: 0 !important; }
.skiptranslate iframe, iframe.skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-tooltip, .goog-te-balloon-frame { display: none !important; visibility: hidden !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { background: none !important; box-shadow: none !important; }
