#tbgNoticeOverlay{position:fixed;inset:0;background:#142e48b8;z-index:99999;display:flex;align-items:center;justify-content:center;padding:16px}#tbgNoticeOverlay[hidden]{display:none}#tbgNoticePanel{width:min(820px,100%);max-height:85vh;overflow:auto;background:#fff;color:#24435e;border-radius:20px;padding:22px;box-shadow:0 20px 70px #001a3460}#tbgNoticePanel button{cursor:pointer}#tbgNoticePanel .nb-head{display:flex;align-items:center;gap:12px;margin-bottom:18px}#tbgNoticePanel .nb-head h2{flex:1;margin:0;font-size:22px}#tbgNoticePanel .nb-row{border-bottom:1px solid #e1e8ee;padding:14px 2px;cursor:pointer;display:flex;justify-content:space-between;gap:15px}#tbgNoticePanel .nb-row:hover{background:#f5f9fd}#tbgNoticePanel .nb-meta{color:#6d8298;font-size:12px}#tbgNoticePanel .nb-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}#tbgNoticePanel button{border:1px solid #c5d7e7;border-radius:9px;padding:8px 12px;background:#f3f8fc;color:#294c6c}#tbgNoticePanel button.primary{background:#437299;color:#fff;border-color:#437299}#tbgNoticePanel button.danger{background:#b83243;color:#fff;border-color:#b83243}#tbgNoticePanel input,#tbgNoticePanel select{padding:10px;border:1px solid #c6d4e0;border-radius:8px;max-width:100%}#tbgNoticePanel .nb-field{display:grid;gap:6px;margin:12px 0}#tbgNoticePanel .nb-field input{width:100%}#tbgNoticePanel .nb-editor{min-height:160px;border:1px solid #c6d4e0;padding:14px;border-radius:9px;outline-color:#437299;overflow-wrap:anywhere}#tbgNoticePanel .nb-editor img,#tbgNoticePanel .nb-content img{max-width:100%;height:auto}#tbgNoticePanel .nb-toolbar{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}#tbgNoticePanel .nb-content{line-height:1.7;overflow-wrap:anywhere}#tbgNoticePanel .nb-tabs{display:flex;gap:8px;margin:10px 0}#tbgNoticePanel .nb-muted{color:#74899b;font-size:13px}#tbgDevBadge{display:inline-flex;margin-left:6px;padding:3px 6px;border-radius:6px;background:#437299;color:#fff;font-size:10px;font-weight:800;cursor:pointer}#tbgNoticePanel .nb-error{color:#b83243}#tbgNoticePanel .nb-pagination{display:flex;gap:12px;align-items:center;justify-content:center;margin-top:15px}@media(max-width:600px){#tbgNoticePanel{padding:15px;max-height:92vh}}

/* Developer mode UI polish v1.1 */
#tbgNoticePanel{height:85vh;max-height:85vh;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden}
#tbgDevBadge{cursor:default}
.tbg-notice-home-actions{display:flex;align-items:center;gap:9px;margin-top:13px}
.tbg-notice-home-actions button{font:inherit;font-weight:800;border-radius:11px;cursor:pointer;transition:background .15s,transform .15s}
.tbg-notice-view-all{flex:1;border:1px solid #c4d8e9;background:#fff;color:#376b94;padding:11px 15px;font-size:12px}
.tbg-notice-add{width:40px;height:40px;flex:none;border:0;background:#437299;color:#fff;font-size:23px;line-height:1;display:grid;place-items:center}
.tbg-notice-home-actions button:hover{transform:translateY(-1px);filter:brightness(1.04)}
.nb-login-form button{font:inherit;cursor:pointer;border-radius:11px;padding:11px 16px;font-weight:800;transition:background .15s}
.nb-login-form button.primary{border:1px solid #437299;background:#437299;color:white}
.nb-login-form button.nb-cancel{border:1px solid #c4d8e9;background:#f3f8fc;color:#376b94}
#tbgDevLogout.tbg-dev-logout{display:block;width:100%;margin-top:12px;padding:12px 18px;border:1px solid #b83243;border-radius:12px;background:#b83243;color:#fff;font:inherit;font-weight:800;cursor:pointer;box-shadow:0 5px 12px #b8324324}
#tbgDevLogout.tbg-dev-logout:hover{filter:brightness(1.08)}
@media(max-width:600px){#tbgNoticePanel{height:92vh;max-height:92vh}}
