/* Mahaxan Today: a card opened over a news page (phones only). The panel sits above the page and below the bottom bar. */
.mxt-cardpanel { display: none; }
@media (max-width: 767px) {
    html.mxt-noscroll, html.mxt-noscroll body { overflow: hidden; }
    .mxt-cardpanel { display: block; position: fixed; z-index: 9970; top: 0; left: 0; right: 0; bottom: 73px; font-family: Phetsarath, sans-serif; }
    .mxt-cardpanel[hidden] { display: none; }
    .mxt-cardpanel__scrim, .mxt-cardpanel__scrim:hover, .mxt-cardpanel__scrim:focus { position: absolute; inset: 0; width: 100%; margin: 0; padding: 0; background: rgba(10, 20, 16, .55); border: 0; border-radius: 0; opacity: 0; transition: opacity .25s ease; }
    .mxt-cardpanel__sheet { position: absolute; top: 44px; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; background: #F5F0E4; border-radius: 22px 22px 0 0; outline: 0; overflow: hidden; transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 -10px 30px rgba(0, 0, 0, .25); }
    .mxt-cardpanel.is-open .mxt-cardpanel__scrim { opacity: 1; }
    .mxt-cardpanel.is-open .mxt-cardpanel__sheet { transform: none; }
    .mxt-cardpanel__grab { display: block; flex: none; width: 40px; height: 4px; margin: 8px auto 2px; background: #CFC8B4; border-radius: 4px; }
    .mxt-cardpanel__top { display: flex; align-items: center; gap: 10px; flex: none; padding: 4px 12px 8px 16px; }
    .mxt-cardpanel__top b { flex: 1; min-width: 0; font-size: 19px; line-height: 1.3; color: #173F35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .mxt-cardpanel__full, .mxt-cardpanel__full:hover, .mxt-cardpanel__full:focus { flex: none; padding: 9px 12px; font-size: 12.5px; font-weight: 700; color: #173F35 !important; text-decoration: none !important; background: #E6DFCD; border-radius: 999px; }
    .mxt-cardpanel__x, .mxt-cardpanel__x:hover, .mxt-cardpanel__x:focus { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; color: #15181C; background: #E6DFCD; border: 0; border-radius: 50%; }
    .mxt-cardpanel__x .mxt-i { width: 20px; height: 20px; }
    .mxt-cardpanel__body { position: relative; flex: 1; min-height: 0; }
    .mxt-cardpanel__body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #F5F0E4; opacity: 0; transition: opacity .2s ease; }
    .mxt-cardpanel__body iframe.is-loaded { opacity: 1; }
    .mxt-cardpanel__body iframe[hidden] { display: none; }
    .mxt-cardpanel__load { position: absolute; inset: 10px; display: grid; grid-template-rows: 150px 90px 90px; gap: 12px; }
    .mxt-cardpanel__load i { border-radius: 20px; background: linear-gradient(100deg, #E9E2CF 30%, #F3EEDF 50%, #E9E2CF 70%); background-size: 300% 100%; animation: mxtShimmer 1.2s linear infinite; }
}
/* the "install the app" tile in the More panel */
@media (max-width: 767px) {
    .mxt-appsheet__install, .mxt-appsheet__install:hover, .mxt-appsheet__install:focus { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; min-height: 64px; margin: 0; padding: 10px; font: inherit; text-align: left; white-space: normal; color: #F5F0E4; background: #173F35; border: 0; border-radius: 16px; }
    .mxt-appsheet__install[hidden] { display: none; }
    .mxt-appsheet__install b { display: block; font-size: 14.5px; line-height: 1.3; color: #F3C95B; }
    .mxt-appsheet__install small { display: block; font-size: 11px; line-height: 1.4; color: #F5F0E4; opacity: .9; }
}
@keyframes mxtShimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) {
    .mxt-cardpanel__sheet, .mxt-cardpanel__scrim, .mxt-cardpanel__body iframe { transition: none; }
    .mxt-cardpanel__load i { animation: none; }
}
