/* ORDO AQUILA — bounded mobile/header/donations UI patch on the verified 2026-10-14 A source. */
.oa-mobile-tools{display:none}
.oa-donate-header{min-height:44px;max-width:none;padding:0 12px;font-size:13px}
/* Preserve the existing Play family, but normalize nav alignment. */
html.web .hd{align-items:center}
html.web .nl{align-items:center;gap:clamp(7px,1vw,18px)}
html.web .nl a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;line-height:1.25;font-size:clamp(12px,1vw,15px);padding-block:6px}
html.web .util{gap:clamp(4px,.55vw,8px)}
@media(min-width:1191px) and (max-width:1510px){
 html.web .hd{gap:clamp(5px,.5vw,12px)}
 html.web .brand{gap:8px}
 html.web .bn{font-size:clamp(19px,1.6vw,25px)}
 html.web .brand img{width:clamp(36px,3.3vw,49px);height:auto}
 html.web .nl{gap:7px}
 html.web .nl a{font-size:clamp(11px,.95vw,14px)}
 html.web .tg{width:62px}
 html.web .tg .k{width:27px}
 html.web .util .hide-md.btn{font-size:12px;padding-inline:10px!important}
 html.web .oa-donate-header{padding-inline:8px;font-size:12px}
 :root[lang="en"] .tl .k,:root[data-theme="dark"] .tt .k{transform:translateX(29px)}
}
/* No forced page width over the viewport, including when browser width=1191–1439px. */
html.web .page{min-width:0;max-width:100%}
@media(max-width:1510px) and (min-width:1191px){html.web .wrap{padding-inline:clamp(12px,1.7vw,26px)}}
@media(max-width:1290px) and (min-width:1191px){html.web .util .hide-md.btn{padding-inline:6px!important}}
.oa-donations-a .h2{margin:10px 0 16px}
.oa-donations-a .p{font-size:18px;line-height:1.6;max-width:680px}
.oa-donations-a .note{margin-top:18px}
.oa-donation-layout{display:flex;gap:clamp(24px,5vw,64px);align-items:center;justify-content:space-between}
.oa-donation-layout>div:first-child{flex:1;min-width:0}
.oa-donation-action{flex:0 1 320px;display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.oa-donation-action .btn{max-width:100%;text-align:center}
.oa-donation-action .note{margin:0}
#oa-backtop-a{position:fixed;z-index:120;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:12px;background:var(--btn);color:var(--onbtn);box-shadow:0 5px 15px #0002;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s,transform .2s,visibility .2s}
#oa-backtop-a.oa-show{opacity:1;visibility:visible;transform:none}
#oa-backtop-a svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}
@media(max-width:1190px){
 html.m .hd{height:72px;gap:6px;min-width:0}
 html.m .brand{min-width:0;flex:0 1 auto;gap:7px}
 html.m .lock{min-width:0}
 html.m .bn{font-size:clamp(13px,2.7vw,21px);line-height:1;white-space:nowrap}
 html.m .bs{font-size:clamp(6px,.85vw,8.5px)}
 html.m .brand img{width:clamp(30px,4vw,42px);height:auto}
 html.m .util{margin-left:auto;min-width:0;gap:4px;flex:0 0 auto}
 html.m .oa-mobile-tools{display:flex;align-items:center;gap:4px;flex:0 0 auto}
 html.m .oa-mobile-control{display:inline-flex;align-items:center;justify-content:center;flex:0 0 35px;width:35px;height:38px;padding:0;border:1px solid var(--line);border-radius:8px;background:var(--tg);color:var(--ink);font:700 12px/1 var(--f);cursor:pointer}
 html.m .oa-mobile-control[aria-pressed="true"]{border-color:var(--focus);background:var(--tk);color:var(--tkink)}
 html.m .menu-btn{height:38px;min-height:38px;width:38px;min-width:38px;flex:0 0 38px;border-radius:8px}
 html.m .oa-donate-header{display:none}
 .oa-donation-layout{flex-direction:column;align-items:flex-start}
 .oa-donation-action{flex:0 1 auto}
}
@media(max-width:480px){
 html.m .hd{height:68px;gap:4px}
 html.m .util{gap:3px}
 html.m .oa-mobile-tools{gap:3px}
 html.m .oa-mobile-control{flex-basis:33px;width:33px;height:36px}
 html.m .menu-btn{width:36px;min-width:36px;flex-basis:36px;height:36px;min-height:36px}
 html.m .brand img{width:32px;height:35px}
 html.m .bn{font-size:clamp(12px,3.65vw,17px)}
 html.m .bs{font-size:6px}
 html.m .wrap{padding-inline:12px}
 #oa-backtop-a{right:11px;bottom:11px}
}
@media(max-width:360px){
 html.m .hd{gap:2px}
 html.m .brand{gap:5px}
 html.m .brand img{width:29px}
 html.m .bn{font-size:12px}
 html.m .oa-mobile-control{flex-basis:32px;width:32px}
 html.m .oa-mobile-tools,html.m .util{gap:2px}
 html.m .menu-btn{min-width:34px;width:34px;flex-basis:34px}
}
@media(prefers-reduced-motion:reduce){#oa-backtop-a{transition:none}}
