/* Only revealed by a real settings response; never a simulated administration UI. */
.cms-notice{margin-top:24px;margin-bottom:24px;border:1px solid #355684;border-radius:12px;padding:18px 24px;background:#14243b;color:#edf4ff;display:flex;justify-content:space-between;gap:20px;align-items:center;overflow-wrap:anywhere}
.cms-notice a,.cms-social a{color:#a9ceff;min-height:44px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:4px}
.cms-social{display:flex;flex-wrap:wrap;gap:8px 24px;padding:16px 0;border-top:1px solid #334155}
.cms-notice[hidden],.cms-social[hidden],.cms-notice a[hidden],.pair-market-source[hidden]{display:none!important}
@media(max-width:700px){.cms-notice{flex-direction:column;align-items:flex-start;padding:16px;gap:4px}}

.cms-notice strong{display:block;margin-bottom:4px}.cms-notice strong[hidden]{display:none}

.cms-notice img{width:160px;height:100px;object-fit:cover;border-radius:8px;flex-shrink:0}.cms-notice img[hidden]{display:none}

/* A compact non-modal notice leaves the page usable, including on mobile. */
.cms-popup{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:120;width:min(400px,calc(100vw - 32px));max-height:min(540px,68vh);max-height:min(540px,68dvh);display:flex;flex-direction:column;border:1px solid #bcc9dc;border-radius:18px;background:#fff;color:#17263f;box-shadow:0 18px 60px #08152d38;overflow:hidden;overflow-wrap:anywhere;font-family:inherit;text-align:left}
.cms-popup-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:4px 8px 0 20px;border-bottom:1px solid #e6ebf2;flex-shrink:0}
.cms-popup-label{font-size:11px;font-weight:800;letter-spacing:.1em;color:#365b8d}.cms-popup button{font:inherit;cursor:pointer;border:0;min-height:44px}.cms-popup-close{background:transparent;color:#425772;width:44px;font-size:26px!important;border-radius:9px}.cms-popup-body{overflow:auto;padding:16px 20px;overscroll-behavior:contain}.cms-popup-title{font-size:20px;line-height:1.4;letter-spacing:-.03em;margin:0 0 12px;color:#17263f}.cms-popup-image{display:block;max-width:100%;width:100%;height:auto;max-height:240px;object-fit:contain;border-radius:10px;background:#f3f6fa;margin:0 auto 12px}.cms-popup-image[hidden]{display:none}.cms-popup-text{white-space:pre-wrap;line-height:1.65;font-size:14px;margin:0 0 12px;color:#3a4b64}.cms-popup-link{display:inline-flex;align-items:center;min-height:44px;color:#1959b4;font-size:14px;font-weight:700;text-decoration:underline;text-underline-offset:4px}.cms-popup-image-error{font-size:13px;color:#61718b}.cms-popup-actions{display:flex;justify-content:space-between;gap:8px;padding:8px 12px;border-top:1px solid #e6ebf2;background:#f6f8fc;flex-shrink:0}.cms-popup-today{background:transparent;color:#485b75;font-size:12px!important;padding:8px;border-radius:8px}.cms-popup-done{padding:8px 20px;border-radius:9px;background:#173d73;color:#fff;font-size:13px!important;font-weight:700!important}.cms-popup :focus-visible{outline:3px solid #2273d7;outline-offset:-3px}.cms-popup button:hover{filter:brightness(.94)}
@media(max-width:700px){.cms-popup{right:16px;bottom:calc(84px + env(safe-area-inset-bottom,0px));width:calc(100vw - 32px);max-height:48vh;max-height:48dvh;border-radius:14px}.cms-popup-body{padding:12px 16px}.cms-popup-title{font-size:18px}.cms-popup-image{max-height:160px}.cms-popup-text{font-size:13px}.cms-popup-head{padding-left:16px}}

@media print{.cms-popup{display:none!important}}
