#r40-beta-notice{position:relative;z-index:4;display:flex;justify-content:center;gap:10px;
flex-wrap:wrap;background:#fff8d6;color:#403719;border-bottom:1px solid #c1a44e;
padding:7px 14px;font:600 12px/1.45 system-ui,Arial,sans-serif;max-width:100%;
overflow-wrap:anywhere;text-align:center}
#r40-beta-notice a{color:#124a44;text-decoration:underline;font-weight:700}
html[dir=rtl] #r40-beta-notice{direction:rtl}

/* R40 R2: mobile beta flight links remain whole buttons when translated text wraps. */
@media(max-width:820px){html:lang(hu) .f9-next-grid section>div,html:lang(pt-BR) .f9-next-grid section>div,html:lang(ar) .f9-next-grid section>div{min-width:0}html:lang(hu) .f9-next-grid section a,html:lang(pt-BR) .f9-next-grid section a,html:lang(ar) .f9-next-grid section a{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;max-width:100%;padding:10px 12px;line-height:1.4;text-align:center;white-space:normal;overflow-wrap:anywhere;font-size:14px}}

@media(max-width:820px){html:lang(de) .f9-next-grid section>div,html:lang(it) .f9-next-grid section>div,html:lang(es) .f9-next-grid section>div{min-width:0}html:lang(de) .f9-next-grid section a,html:lang(it) .f9-next-grid section a,html:lang(es) .f9-next-grid section a{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;max-width:100%;padding:10px 12px;line-height:1.4;text-align:center;white-space:normal;overflow-wrap:anywhere;font-size:14px}}

/* R42 PL RO BG only: mobile flight links remain intact when translated text wraps. */
@media(max-width:820px){html:lang(pl) .f9-next-grid section>div,html:lang(ro) .f9-next-grid section>div,html:lang(bg) .f9-next-grid section>div{min-width:0}html:lang(pl) .f9-next-grid section a,html:lang(ro) .f9-next-grid section a,html:lang(bg) .f9-next-grid section a{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;max-width:100%;padding:10px 12px;line-height:1.4;text-align:center;white-space:normal;overflow-wrap:anywhere;font-size:14px}}
