/* PWA-only additions: keep existing layout, logo and content styles intact. */
.pwa-bottom-nav{display:none}.pwa-footer-actions{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;margin:12px 0}.pwa-footer-actions button{padding:9px 14px;border:1px solid #dce1eb;background:#fff;color:#091e49;border-radius:9px;font:inherit;cursor:pointer}.pwa-update{margin:10px auto;padding:12px;max-width:560px;background:#f4f6fa;border-radius:10px;text-align:center}.pwa-update button{margin-inline-start:10px}.pwa-dialog{width:min(520px,calc(100% - 32px));box-sizing:border-box;padding:22px;border:1px solid #dce1eb;border-radius:16px;color:#17213a;background:#fff;max-height:85dvh;overflow:auto}.pwa-dialog::backdrop{background:#091e4977}.pwa-dialog h2{font-size:1.3rem;margin:0 0 14px}.pwa-dialog p{line-height:1.6}.pwa-dialog a{color:#091e49}.pwa-dialog button{cursor:pointer}.pwa-dialog-close{float:inline-end;border:0;border-radius:8px;padding:8px 12px;background:#f1f3f7;color:#091e49}.pwa-dialog-links{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-block:14px}.pwa-dialog-links a{padding:12px;border:1px solid #e4e8ef;border-radius:8px;text-decoration:none}.pwa-dialog form{display:flex;gap:8px;margin-top:12px}.pwa-dialog input{min-width:0;flex:1;padding:12px;border:1px solid #d5dce8;border-radius:8px}.pwa-dialog form button,.pwa-install-native{padding:12px;border:0;border-radius:8px;background:#e90019;color:#fff}.pwa-offline{font-family:system-ui,sans-serif;background:#fff;color:#091e49;margin:0;padding:24px;min-height:90vh;display:grid;place-items:center}.pwa-offline main{max-width:440px;text-align:center}.pwa-offline a{display:inline-block;padding:12px 20px;color:white;background:#091e49;border-radius:8px}.pwa-offline p{line-height:1.6}
@media(max-width:800px){body:has(.pwa-bottom-nav){padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}.pwa-bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;inset-inline:0;bottom:0;z-index:80;padding:5px max(6px,env(safe-area-inset-left,0px)) calc(5px + env(safe-area-inset-bottom,0px));min-height:56px;box-sizing:border-box;border-top:1px solid #e1e5ed;background:#fffffffa;backdrop-filter:blur(10px)}.pwa-bottom-nav a,.pwa-bottom-nav button{display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center;border:0;background:transparent;color:#56637b;text-decoration:none;font:inherit;font-size:11px;min-height:48px;min-width:0;padding:2px;cursor:pointer}.pwa-bottom-nav [aria-current=page]{color:#e90019;font-weight:700}.pwa-bottom-nav svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8}.pwa-bottom-nav span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pwa-dialog-links{grid-template-columns:1fr 1fr}}
@media(display-mode:standalone){html{background:#fff}.site-header{padding-top:max(10px,env(safe-area-inset-top,0px))}}
[hidden]{display:none!important}
/* Compact mobile footer and mutually exclusive installation/update card. */
.pwa-footer-actions:empty{display:none}.pwa-install-card{display:flex!important;align-items:center;gap:10px!important;text-align:start}.pwa-install-card img{flex:0 0 30px;object-fit:contain;border-radius:7px}.pwa-install-card>span:first-of-type{display:grid;gap:2px;flex:1}.pwa-install-card strong{font-size:12px}.pwa-install-card small{font-size:11px;color:#647087;font-weight:400}.pwa-update>span{display:grid;gap:3px;text-align:start}.pwa-update strong{font-size:12px}.pwa-update small{font-size:10px;line-height:1.35;color:#647087}
@media(max-width:800px){
 body>footer,body>main:has(>.world-home.world-compact)+footer{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:12px 16px 8px;margin-bottom:0;text-align:center}
 body>footer .footer-brand,body>main:has(>.world-home.world-compact)+footer .footer-brand{display:flex;align-items:center;justify-content:center;gap:10px;justify-self:center}
 body>footer .footer-brand img,body>main:has(>.world-home.world-compact)+footer .footer-brand img{width:98px;height:31px;object-fit:contain}
 body>footer .footer-brand p{margin:0;font-size:9px;letter-spacing:.6px}
 body>footer nav,body>main:has(>.world-home.world-compact)+footer nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px 6px;justify-content:normal;align-items:center;width:100%}
 body>footer nav a{font-size:10px;line-height:1.25;padding:6px 0;min-width:0;text-align:center}
 body>footer .copyright{font-size:9px;line-height:1.4;padding:5px 0 0;margin:0;border-top:1px solid #eef0f4}
 .pwa-footer-actions{margin:0;padding:4px 16px 10px;justify-content:center}
 .pwa-footer-actions .pwa-install-card{width:min(100%,320px);min-height:46px;padding:7px 10px;border:1px solid #e5e9f0;border-radius:10px;background:#f7f8fb;box-shadow:none}
 .pwa-update{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:4px 16px 10px;max-width:none;padding:9px 10px;border:1px solid #e5e9f0;border-radius:10px}
 .pwa-update>span{min-width:0;flex:1}.pwa-update button{font-size:11px;padding:8px 10px;margin:0;flex:0 0 auto}
}
.pwa-install-card[hidden]{display:none!important}
