/* A definite modal height lets Safari allocate a real scroll track. Keep both
   dismissal controls outside it, including with mobile browser bars expanded. */
#update-announcement-dialog{--announcement-top:max(12px,env(safe-area-inset-top));--announcement-bottom:max(12px,env(safe-area-inset-bottom));width:min(560px,calc(100vw - 24px));height:min(780px,calc(86vh - var(--announcement-top) - var(--announcement-bottom)));height:min(780px,calc(100svh - var(--announcement-top) - var(--announcement-bottom)));height:min(780px,calc(100dvh - var(--announcement-top) - var(--announcement-bottom)));max-height:none;overflow:hidden;padding:0}
#update-announcement-dialog .update-announcement-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100%;max-height:none;min-height:0;min-width:0;padding:0;overflow:hidden;border-radius:24px;background:linear-gradient(155deg,#17313b88,#080f19bb 65%);border:1px solid #8ce8f077;box-shadow:inset 0 2px 3px #ffffff66,inset 0 -3px 8px #82d3e61f,0 18px 70px #0008}
.update-announcement-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 22px 12px;flex-shrink:0}
.update-announcement-heading h2{font-size:24px;margin:0;letter-spacing:.04em;color:#edfcff}.update-announcement-heading h2:focus{outline:none}
.update-announcement-dismiss{width:44px;height:44px;flex:none;border:1px solid #a9e4ef44;border-radius:12px;background:#ffffff09;color:#dcf9ff;font-size:25px;cursor:pointer}
.update-announcement-body{min-height:0;min-width:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;touch-action:pan-y pinch-zoom;-webkit-overflow-scrolling:touch;padding:0 22px 18px;scrollbar-width:none}.update-announcement-body::-webkit-scrollbar{display:none}
.update-announcement-items{display:grid;gap:9px;list-style:none;margin:0;padding:0}.update-announcement-items li{display:grid;grid-template-columns:26px minmax(0,1fr);gap:11px;align-items:start;padding:12px;border-radius:14px;border:1px solid #a6e8f125;background:#ffffff06}
.update-announcement-number{display:grid;place-items:center;width:26px;height:26px;border-radius:9px;background:#49ccdb22;border:1px solid #6edce64d;color:#99f5ff;font-size:13px;font-weight:800}
.update-announcement-panel h3{margin:2px 0 4px;font-size:15px;color:#effcff}.update-announcement-panel p{margin:0;color:#d0e2e8;font-size:13px;line-height:1.7}
.update-announcement-product{margin-top:15px;padding:14px;border:1px solid #efc6784d;border-radius:17px;background:linear-gradient(135deg,#c18c2924,#a96b1810)}.update-announcement-product-heading{display:flex;align-items:center;gap:12px;margin-bottom:8px}.update-announcement-product-heading img{width:68px;height:68px;object-fit:contain;flex:none}.update-announcement-product-heading h3{font-size:18px;margin-bottom:7px}.update-announcement-price{display:inline-block;padding:4px 9px;border:1px solid #e0bd6a66;border-radius:999px;background:#edb94f12;color:#ffe5a5;font-size:12px;font-weight:750}
.update-announcement-description{display:grid;gap:9px}.update-announcement-panel .update-announcement-note{margin-top:12px;padding-top:10px;border-top:1px dashed #edca7166;color:#ffe3a4;font-size:12px}
.update-announcement-footer{flex-shrink:0;padding:12px 22px 16px;border-top:1px solid #9fd9e633;background:#06121a55;text-align:center}.update-announcement-panel .update-announcement-error{color:#ffd3c9;font-size:12px}.update-announcement-error:empty{display:none}.update-announcement-error:not(:empty){margin-bottom:9px}.update-announcement-accept{min-width:140px;min-height:44px;padding:9px 22px;border-radius:999px;border:1px solid #c2fbff99;background:linear-gradient(135deg,#48d3e1,#a6f3ed);color:#092b34;font:inherit;font-weight:800;cursor:pointer;box-shadow:inset 0 1px #ffffff88,0 4px 15px #1f99ae22}.update-announcement-footer button:disabled,.update-announcement-dismiss:disabled{opacity:.6;cursor:wait}
@media(max-width:480px){.update-announcement-heading{padding:14px 15px 10px}.update-announcement-heading h2{font-size:21px}.update-announcement-body{padding:0 14px 14px}.update-announcement-items li{padding:10px;gap:9px}.update-announcement-panel h3{font-size:14px}.update-announcement-panel p{font-size:12px}.update-announcement-footer{padding:10px 14px 12px}.update-announcement-product{padding:11px}.update-announcement-product-heading img{width:60px;height:60px}}
@media(max-height:480px){.update-announcement-heading{padding-top:8px;padding-bottom:8px}.update-announcement-heading h2{font-size:20px}.update-announcement-footer{padding-top:8px;padding-bottom:8px}}
