.mh-notices{max-width:640px;margin:8px auto 24px;padding:0 16px;box-sizing:border-box}
.mh-notices[hidden]{display:none}
.mh-notices-head{display:flex;align-items:baseline;gap:10px;margin:0 4px 10px}
.mh-notices-head h1,.mh-notices-head h2{margin:0;font-size:1.25rem;color:#4b3f72}
.mh-notices-head span{font-size:.78rem;color:#7a7195}
.mh-notice-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.mh-notice-item{background:rgba(255,255,255,.86);border:1px solid #ddd6ef;border-radius:22px;padding:16px 18px;color:#3f3760;text-align:left}
.mh-notice-item.is-hit{border-color:#e7b9c9;background:#fff7fa}
/* 確認済み：色を元に戻す（「関連あり」は線だけの印にして残す） */
.mh-notice-item.is-hit.is-done{border-color:#e4e0f0;background:#fff}
.mh-notice-item.is-done .mh-notice-hit{background:#f4f2f9;color:#5f5880}
.mh-notice-item.is-done .mh-notice-hit a{color:#5b4b8a}
.mh-notice-item.is-done .mh-notice-hitlabel{background:#fff;color:#e8628f;border:1.5px solid #e8628f}
.mh-notice-item.is-done .mh-notice-hitlabel i{background:#e8628f}
.mh-notices-status{margin:0 4px 14px;padding:8px 12px;border-radius:12px;background:#f4f2f9;font-size:.8rem;line-height:1.6;color:#5f5880}
.mh-notices-status:empty{display:none}
.mh-notice-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:.78rem;color:#7a7195}
.mh-notice-hitlabel{display:inline-flex;align-items:center;gap:5px;background:#e8628f;color:#fff;font-weight:600;border-radius:999px;padding:1px 10px 1px 7px}
.mh-notice-hitlabel i{width:8px;height:8px;border-radius:50%;background:#fff}
.mh-notice-new{background:#f2e9ff;color:#5b3fa0;border-radius:999px;padding:1px 9px}
.mh-notice-item h3{margin:6px 0 4px;font-size:.98rem;line-height:1.5;color:#3f3760}
.mh-notice-summary{margin:0;font-size:.88rem;line-height:1.7}
.mh-notice-hit{margin:12px 0 0;padding:12px 14px;border-radius:16px;background:#fde9ef;color:#7a2e4a}
.mh-notice-hit p{margin:0;font-size:.86rem;line-height:1.6}
.mh-notice-hit ul{margin:6px 0;padding-left:1.2em}
.mh-notice-hit a{color:#7a2e4a;font-weight:600}
.mh-notice-hit-note{font-size:.78rem!important;opacity:.9}
.mh-notice-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.mh-notice-link,.mh-notice-seen{font:inherit;font-size:.84rem;border-radius:999px;padding:7px 16px;text-decoration:none;cursor:pointer}
.mh-notice-link{background:#5b4b8a;color:#fff;border:0}
.mh-notice-link.mh-notice-link-sub{background:#fff;color:#5b4b8a;border:1px solid #5b4b8a}
.mh-notice-seen{background:#fff;color:#5b4b8a;border:1px solid #cfc6e6}
.mh-notice-done{align-self:center;font-size:.8rem;color:#7a7195;padding:0 6px}
.mh-notice-delete{font:inherit;font-size:.84rem;border-radius:999px;padding:7px 16px;cursor:pointer;background:#fff;color:#a0577a;border:1px solid #e3c3d2}
.mh-notice-hiddenbar{list-style:none;text-align:center;margin:6px 0}
.mh-notice-hiddenbar button{font:inherit;font-size:.8rem;background:none;border:0;color:#7a7195;text-decoration:underline;cursor:pointer;padding:6px}
.mh-head-hitmark{display:inline-block;width:12px;height:12px;border-radius:50%;background:#e8628f;margin-left:8px;vertical-align:middle;box-sizing:border-box}
.mh-head-hitmark.is-read{background:transparent;border:3px solid #e8628f;width:13px;height:13px}
.mh-notices-page{padding:12px 0 40px}
.mh-notices-lead{margin:0 4px 16px;font-size:.86rem;line-height:1.8;color:#5f5880}
.mh-notices-empty{margin:24px 4px;font-size:.9rem;color:#7a7195}
