/* Shared bilingual PWA update notice */
.dl-live-update[hidden]{display:none!important}
.dl-live-update{position:fixed;z-index:1500;pointer-events:auto;isolation:isolate;left:50%;bottom:max(18px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(680px,calc(100% - 28px));display:flex;align-items:center;justify-content:space-between;gap:13px;padding:15px 16px;background:#fff;border:1px solid #dce2f3;border-radius:17px;box-shadow:0 12px 44px #121b3b35;color:#283454;font:14px/1.4 system-ui,-apple-system,"Apple SD Gothic Neo",sans-serif}
.dl-live-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.dl-live-text strong{font-size:14px;font-weight:850}
.dl-live-text span{font-size:12px;color:#6e7b94;word-break:keep-all}
.dl-live-actions{display:flex;gap:7px;flex-shrink:0}
.dl-live-actions button{position:relative;z-index:1;pointer-events:auto;touch-action:manipulation;cursor:pointer;font-size:12px;font-weight:790;min-height:38px;white-space:nowrap;padding:8px 11px;border-radius:9px}
.dl-live-primary{background:#525fca;border:1px solid #525fca;color:white}
.dl-live-secondary{background:#fff;border:1px solid #d9e0ee;color:#58647c}
.dl-live-actions button:focus-visible{outline:3px solid #9999f1;outline-offset:2px}
@media(max-width:540px){.dl-live-update{flex-direction:column;align-items:stretch;padding:14px;gap:10px}.dl-live-actions{justify-content:flex-end;flex-wrap:wrap}.dl-live-actions button{min-width:95px}}

/* Non-intrusive version check within the existing English/Japanese settings modal. */
.dl-manual-update{margin:14px 0 0;border:1px solid #dfe4f1;border-radius:13px;background:#f9faff;color:#2e3b5b;padding:13px 15px}
.dl-manual-update-heading strong,.dl-manual-update>strong{font-size:14px;font-weight:850}
.dl-manual-update-heading p,.dl-manual-update>p{margin:5px 0;color:#7584a0;font-size:12px;line-height:1.6}
#dl-update-result{background:#f0f2ff;border-radius:8px;padding:10px 12px;margin:12px 0;color:#52608e;font-size:12px;line-height:1.55}
.dl-manual-update-actions{display:flex;gap:8px;flex-wrap:wrap}
.dl-manual-update-actions button,.dl-manual-update>button{border:1px solid #d6dcf1;border-radius:9px;background:#fff;color:#536099;font-weight:800;font-size:12px;padding:10px 12px;min-height:42px;flex:1 1 130px}
.dl-manual-update-actions button:first-child{background:#5964c8;color:#fff;border-color:#5964c8}
.dl-manual-update small{display:block;color:#8c98ad;line-height:1.55;font-size:11px;margin-top:10px}
