.ainema-language{position:fixed;top:auto;left:auto;width:auto;height:auto;max-width:none;min-height:0;min-width:0;margin:0;transform:none;flex-direction:row;justify-content:initial;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:9999;display:flex;align-items:center;gap:2px;padding:4px;border:1px solid #78838d66;border-radius:28px;background:#0b111df2;box-shadow:0 3px 16px #0002;font:13px/1.4 system-ui,sans-serif;backdrop-filter:blur(14px)}.ainema-language a{display:flex;align-items:center;justify-content:center;min-height:40px;min-width:48px;color:#e7edf2!important;text-decoration:none!important;padding:8px 12px;border-radius:22px;letter-spacing:.03em;box-sizing:border-box}.ainema-language a[aria-current=page]{background:#a7f5d4;color:#0b111d!important}.ainema-language a:hover{background:#273345}.ainema-language a[aria-current=page]:hover{background:#baf8df}.ainema-language a:focus-visible{outline:2px solid #a7f5d4;outline-offset:3px}@media print{.ainema-language{display:none!important}}@media(max-width:600px){.ainema-language{bottom:max(12px,env(safe-area-inset-bottom));right:max(12px,env(safe-area-inset-right))}}@media(prefers-reduced-transparency:reduce){.ainema-language{backdrop-filter:none;background:#0b111d}}
/* Reserve room for the longest translated quotation without enlarging desktop whitespace. */
html:lang(en) .random-quote{min-height:225px}
@media(min-width:621px) and (max-width:1023px){html:lang(en) .random-quote{min-height:clamp(225px,calc(675px - 50vw),365px)}}
@media(max-width:620px){html:lang(en) .random-quote{min-height:clamp(230px,calc(740px - 120vw),355px)}}
/* English labels need a separate navigation row on narrow home screens. */
@media(max-width:600px){html:lang(en) header>.container>.nav{height:auto;min-height:78px;flex-wrap:wrap;gap:8px;padding:12px 0}html:lang(en) header>.container>.nav>nav{width:100%;display:flex;justify-content:space-between;gap:10px}html:lang(en) header>.container>.nav>nav>a{white-space:nowrap;font-size:12px}}
