/* Scoped notification and system-message refresh. */
body.m2-new-theme .m2-section-banner.m2-category-banner{background:linear-gradient(110deg,#26394f,#1b293a)!important;border:1px solid #405872!important;border-radius:8px;clip-path:none!important;box-shadow:none!important;padding:16px 100px 16px 18px!important;min-height:68px}
body.m2-new-theme .m2-category-banner:before,body.m2-new-theme .m2-category-banner:after{display:none!important}
body.m2-new-theme .m2-category-banner .m2-heading-mark{background:#304a65!important;border:1px solid #6684a3!important;color:#bdd4ec!important;box-shadow:none!important}
body.m2-new-theme .m2-category-banner .m2-heading-copy small{color:#a3bdd9!important}
body.m2-new-theme .m2-category-banner .m2-heading-copy h2{color:#dce8f6!important;font-family:Inter,system-ui,sans-serif;line-height:1.4}
body.m2-new-theme .m2-category-banner .m2-banner-kanji{color:#8da8c6!important;opacity:.12!important;text-shadow:none!important}
body.m2-new-theme #m2NotificationApp .m2n-detail{width:100%;max-width:none;margin:0;padding:0;border:1px solid #405975;border-radius:10px;overflow:hidden}
body.m2-new-theme #m2NotificationApp .m2n-detail-head{padding:20px 24px;gap:16px}
body.m2-new-theme #m2NotificationApp .m2n-detail-emoji{background:#2b415b;border:1px solid #536f8e;box-shadow:none}
body.m2-new-theme #m2NotificationApp .m2n-detail-body{padding:22px 24px;min-height:0}
body.m2-new-theme #m2NotificationApp .m2n-detail-actions{padding:16px 24px;border-color:#3b516c;background:#192a3d;flex-wrap:wrap}
@media(max-width:680px){body.m2-new-theme #m2NotificationApp .m2n-detail-head{padding:16px;gap:12px;grid-template-columns:42px minmax(0,1fr)}body.m2-new-theme #m2NotificationApp .m2n-detail-emoji{width:42px;height:42px;font-size:23px}body.m2-new-theme #m2NotificationApp .m2n-detail-body{padding:18px 16px}body.m2-new-theme #m2NotificationApp .m2n-detail-actions{padding:14px 16px}body.m2-new-theme .m2-section-banner.m2-category-banner{padding:13px 16px!important}body.m2-new-theme .m2-category-banner .m2-banner-kanji{display:none}}
body.m2-new-theme #m2NotificationOverlay{padding:24px;background:rgba(5,12,22,.58);backdrop-filter:blur(5px)}
body.m2-new-theme #m2NotificationOverlay:before,body.m2-new-theme #m2NotificationApp:before,body.m2-new-theme #m2NotificationApp:after{display:none}
body.m2-new-theme #m2NotificationApp{width:min(1040px,100%);max-height:calc(100dvh - 48px);background:#172230;border:1px solid #435b78;border-radius:13px;color:#c4d5e9;font-family:Inter,system-ui,sans-serif;box-shadow:0 24px 70px #02070f70}
body.m2-new-theme #m2NotificationApp .m2n-top{background:linear-gradient(110deg,#293d54,#1d2c3e);border-color:#405976;min-height:90px;padding:20px 22px}
body.m2-new-theme #m2NotificationApp .m2n-seal{width:46px;height:46px;border:1px solid #6684a6;border-radius:10px;background:#314b68;color:#c8def4;transform:none;box-shadow:none}
body.m2-new-theme #m2NotificationApp .m2n-line-icon{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.m2-new-theme #m2NotificationApp .m2n-seal .m2n-line-icon{width:25px;height:25px}
body.m2-new-theme #m2NotificationApp .m2n-heading small{color:#a8c2dd;font-size:10px;letter-spacing:1.8px}
body.m2-new-theme #m2NotificationApp .m2n-heading h2{color:#e3edf9;font:750 25px/1.3 Inter,system-ui,sans-serif}
body.m2-new-theme #m2NotificationApp .m2n-heading p{color:#adbed3;font-size:12px;line-height:1.6}
body.m2-new-theme #m2NotificationApp .m2n-tabs{padding:15px 18px 0;gap:8px}
body.m2-new-theme #m2NotificationApp .m2n-tab{background:#1a293b;color:#b4c8e1;border:1px solid #3a526f;border-radius:8px;font:650 12px/1.5 Inter,system-ui,sans-serif;min-height:48px;letter-spacing:0}
body.m2-new-theme #m2NotificationApp .m2n-tab:hover{background:#273f59;border-color:#6a8caf;color:#dceaf9}
body.m2-new-theme #m2NotificationApp .m2n-tab.is-active{background:#304d6b;border-color:#7899bd;color:#e1eefc;box-shadow:inset 0 -2px #93b2d3}
body.m2-new-theme #m2NotificationApp .m2n-tab-icon{color:#b9d4ef;filter:none}
body.m2-new-theme #m2NotificationApp .m2n-tab-count{min-width:25px;height:25px;background:#152437;border:1px solid #506b8c;color:#cce3fa;font-size:11px;font-weight:750}
body.m2-new-theme #m2NotificationApp .m2n-toolbar{border-color:#354b65;padding:14px 18px;flex-wrap:wrap}
body.m2-new-theme #m2NotificationApp :is(.m2n-summary,.m2n-switch){color:#adc2da;font-size:12px}
body.m2-new-theme #m2NotificationApp .m2n-summary i,body.m2-new-theme #m2NotificationApp .m2n-unread-dot{background:#85c5b4;box-shadow:0 0 0 4px #85c5b410}
body.m2-new-theme #m2NotificationApp .m2n-switch input:checked+span{background:#375a7e;border-color:#7ca1c9}
body.m2-new-theme #m2NotificationApp :is(.m2n-icon-btn,.m2n-admin-btn,.m2n-ghost-btn,.m2n-primary-btn,.m2n-pm-inbox-link,.m2n-row-detail){background:#2a435e!important;color:#d6e7fa!important;border:1px solid #58789e!important;border-radius:7px!important;font:650 12px/1.45 Inter,system-ui,sans-serif!important;box-shadow:none!important;min-height:36px;transition:background .2s,border-color .2s,transform .2s}
body.m2-new-theme #m2NotificationApp :is(.m2n-icon-btn,.m2n-admin-btn,.m2n-ghost-btn,.m2n-primary-btn,.m2n-pm-inbox-link,.m2n-row-detail):hover{background:#385979!important;border-color:#91b0d0!important;transform:translateY(-1px)}
body.m2-new-theme #m2NotificationApp .m2n-danger-btn{background:#402832;color:#e3b1ba;border-color:#805361;font-size:12px}
body.m2-new-theme #m2NotificationApp .m2n-stage{min-height:180px;padding:16px 18px 20px;scrollbar-color:#587b9e #142133;scrollbar-width:thin}
body.m2-new-theme #m2NotificationApp .m2n-table-list{border:1px solid #3a516d;border-radius:10px;overflow:hidden;background:#182638}
body.m2-new-theme #m2NotificationApp .m2n-table-head,body.m2-new-theme #m2NotificationApp .m2n-item{display:grid!important;grid-template-columns:50px minmax(0,1fr) 140px 94px!important;gap:12px!important;align-items:center}
body.m2-new-theme #m2NotificationApp .m2n-table-head{background:#263c54!important;color:#aac2dc;font-size:10px;letter-spacing:1px;padding:13px 14px!important}
body.m2-new-theme #m2NotificationApp .m2n-item{background:#1b2a3c!important;border:0!important;border-bottom:1px solid #344b65!important;border-radius:0!important;padding:16px 14px!important;min-height:88px!important;box-shadow:none;transform:none;transition:background .2s}
body.m2-new-theme #m2NotificationApp .m2n-item:hover{background:#263d55!important;transform:none}
body.m2-new-theme #m2NotificationApp .m2n-item.is-unread{background:#293d53!important;box-shadow:inset 3px 0 #8ac9ba!important}
body.m2-new-theme #m2NotificationApp .m2n-item.is-unread:hover{background:#304962!important}
body.m2-new-theme #m2NotificationApp .m2n-item:before{display:none}
body.m2-new-theme #m2NotificationApp .m2n-item-index{display:flex;align-items:center;gap:5px}
body.m2-new-theme #m2NotificationApp .m2n-item-index small{color:#91a9c3;font-size:9px}
body.m2-new-theme #m2NotificationApp .m2n-item-emoji{width:32px!important;height:32px!important;font-size:17px!important;background:#152438;border-color:#435e7f;border-radius:7px;box-shadow:none;flex-shrink:0}
body.m2-new-theme #m2NotificationApp .m2n-item h3{font:700 14px/1.5 Inter,system-ui,sans-serif!important;color:#e0ecfa!important;overflow-wrap:anywhere}
body.m2-new-theme #m2NotificationApp .m2n-item-main>p{font:400 12px/1.65 Inter,system-ui,sans-serif!important;color:#aec3da!important;margin-top:5px}
body.m2-new-theme #m2NotificationApp .m2n-item-date{font-size:11px!important;line-height:1.65;color:#aac1da!important;white-space:normal}
body.m2-new-theme #m2NotificationApp .m2n-item-meta{color:#9cb3cd;font-size:10px!important;letter-spacing:.2px;gap:6px;margin-top:7px}
body.m2-new-theme #m2NotificationApp .m2n-chip{color:#bdd2e8;background:#243b53;border-color:#476485;font-size:9px!important}
body.m2-new-theme #m2NotificationApp .m2n-chip.is-critical{color:#e5b5be;background:#422a35;border-color:#815365}
body.m2-new-theme #m2NotificationApp .m2n-detail{background:#1b2b3e;border-color:#405975;color:#c5d7eb}
body.m2-new-theme #m2NotificationApp .m2n-detail-head{background:#22374e;border-color:#405975}
body.m2-new-theme #m2NotificationApp .m2n-detail h3{font:700 22px/1.4 Inter,system-ui,sans-serif;color:#e1ecfa}
body.m2-new-theme #m2NotificationApp .m2n-detail-body{color:#c3d4e8;font-size:14px;line-height:1.85;overflow-wrap:anywhere}
body.m2-new-theme #m2NotificationApp .m2n-detail-meta{color:#aac1dc;font-size:11px}
body.m2-new-theme #m2NotificationApp :is(.m2n-empty,.m2n-loading){color:#b2c7e0}
body.m2-new-theme #m2NotificationApp .m2n-empty h3{font-family:Inter,system-ui,sans-serif;color:#d6e7f9}
body.m2-new-theme #m2NotificationApp :is(.m2n-pm-status,.m2n-pm-item){background:#1d3045;border-color:#3e5976;color:#bfd4eb}
body.m2-new-theme #m2NotificationApp .m2n-pm-item h3{font-size:13px!important;color:#dceafb}
body.m2-new-theme #m2NotificationApp .m2n-pm-item p{font-size:11px!important;color:#afc6e0}
body.m2-new-theme #m2NotificationApp :is(input:not([type=checkbox]),textarea,select){color:#d7e6f7;background:#101c2a;border-color:#496382;border-radius:7px;font-size:13px}
body.m2-new-theme #m2NotificationApp :is(button,a):focus-visible{outline:2px solid #9cc3e9;outline-offset:3px}
body.m2-new-theme .m2v-info.m2-system-notice{display:flex;align-items:flex-start;gap:20px;width:100%;min-height:0;margin:0 0 24px;padding:27px;clip-path:none;background:linear-gradient(115deg,#213349,#182535);border:1px solid #435c7b;border-radius:11px;box-shadow:none;color:#c9d9eb;opacity:1;transform:none;font-family:Inter,system-ui,sans-serif;animation:m2SystemEnter .3s ease both}
body.m2-new-theme .m2-system-notice:before,body.m2-new-theme .m2-system-notice:after{display:none}
body.m2-new-theme .m2-system-icon{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border:1px solid #627f9f;background:#304a66;color:#bcd6f2;border-radius:11px}
body.m2-new-theme .m2-system-notice svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.m2-new-theme .m2-system-icon svg{width:28px;height:28px}
body.m2-new-theme .m2-system-content{min-width:0;flex:1}
body.m2-new-theme .m2-system-label{margin:0 0 6px;color:#a1bbd7;font-size:10px;font-weight:700;letter-spacing:1.8px}
body.m2-new-theme #m2vInfoTitle{margin:0;color:#e0ecfa;font:750 clamp(21px,2.3vw,28px)/1.35 Inter,system-ui,sans-serif;letter-spacing:-.4px;overflow-wrap:anywhere}
body.m2-new-theme .m2-system-message{margin-top:13px;color:#c0d1e5;font-size:14px;line-height:1.85;overflow-wrap:anywhere}
body.m2-new-theme .m2-system-message a{color:#a6cbee;text-decoration:underline;text-underline-offset:3px}
body.m2-new-theme .m2-system-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:20px;padding-top:18px;border-top:1px solid #3a516c}
body.m2-new-theme .m2-system-actions :is(a,button){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:9px 13px;background:#2c4764;color:#d8e8fa;border:1px solid #5b7a9d;border-radius:7px;font:650 12px/1.5 Inter,system-ui,sans-serif;text-decoration:none;transition:background .2s,border-color .2s,transform .2s}
body.m2-new-theme .m2-system-actions :is(a,button):hover{background:#385a7b;border-color:#91afd0;transform:translateY(-1px)}
body.m2-new-theme .m2-system-actions .m2-system-help{margin-left:auto;background:transparent;border-color:transparent;color:#abc7e5}
body.m2-new-theme .m2-system-actions :is(a,button):focus-visible{outline:2px solid #a5c7e8;outline-offset:3px}
body.m2-new-theme #m2NotificationApp .m2n-item>*{grid-column:auto;grid-row:auto}
body.m2-new-theme #m2NotificationApp .m2n-item-main{min-width:0;padding:0}
body.m2-new-theme #m2NotificationApp .m2n-item-date{padding:0}
body.m2-new-theme #m2NotificationApp .m2n-item-actions{max-width:none;flex-wrap:wrap}
body.m2-new-theme #m2NotificationApp .m2n-row-detail{width:auto;min-width:72px;padding:7px 12px}
body.m2-new-theme #m2NotificationApp .m2n-row-detail:before{display:none}
body.m2-new-theme #m2NotificationApp .m2n-item-views{color:#a7bed7;font-size:10px}
body.m2-new-theme #m2NotificationApp .m2n-pm-foot{color:#a5bed9;font-size:11px}
@keyframes m2SystemEnter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:680px){body.m2-new-theme #m2NotificationOverlay{padding:12px}body.m2-new-theme #m2NotificationApp{max-height:calc(100dvh - 24px)}body.m2-new-theme #m2NotificationApp .m2n-heading p{display:none}body.m2-new-theme #m2NotificationApp .m2n-top{padding:16px;gap:10px}body.m2-new-theme #m2NotificationApp .m2n-tabs{padding:12px 12px 0;gap:6px}body.m2-new-theme #m2NotificationApp .m2n-tab{flex-wrap:wrap;font-size:11px;padding:8px 5px;gap:5px}body.m2-new-theme #m2NotificationApp .m2n-tab-icon{display:none}body.m2-new-theme #m2NotificationApp .m2n-toolbar-actions{flex-wrap:wrap;width:100%;justify-content:space-between}body.m2-new-theme #m2NotificationApp .m2n-stage{padding:12px}body.m2-new-theme #m2NotificationApp .m2n-table-head{display:none!important}body.m2-new-theme #m2NotificationApp .m2n-item{grid-template-columns:35px minmax(0,1fr)!important;gap:8px!important;padding:14px 12px!important}body.m2-new-theme #m2NotificationApp .m2n-item-index{grid-column:1;grid-row:1/4;align-self:start}body.m2-new-theme #m2NotificationApp .m2n-item-index small{display:none}body.m2-new-theme #m2NotificationApp .m2n-item-main{grid-column:2;grid-row:1}body.m2-new-theme #m2NotificationApp .m2n-item-date{grid-column:2;grid-row:2}body.m2-new-theme #m2NotificationApp .m2n-item-actions{grid-column:2;grid-row:3;justify-content:flex-end}body.m2-new-theme .m2v-info.m2-system-notice{padding:19px;gap:13px}body.m2-new-theme .m2-system-icon{flex-basis:40px;width:40px;height:40px}body.m2-new-theme .m2-system-actions .m2-system-help{margin-left:0}}
@media(max-width:420px){body.m2-new-theme .m2v-info.m2-system-notice{flex-direction:column}body.m2-new-theme .m2-system-actions :is(a,button){width:100%}}
@media(prefers-reduced-motion:reduce){body.m2-new-theme #m2NotificationOverlay,body.m2-new-theme #m2NotificationApp,body.m2-new-theme #m2NotificationApp *,body.m2-new-theme .m2-system-notice,body.m2-new-theme .m2-system-notice *{animation:none!important;transition:none!important}}
