/* Hide the theme's redundant title banner on pages containing the notices shortcode. */
body.mgn-notice-page>.banner-page{display:none !important}
.mgn-notices{--mgn-bg:#fff;--mgn-text:#252a34;--mgn-muted:#9299a5;--mgn-line:#edf0f3;--mgn-hover:#f8fafc;--mgn-accent:#ee5147;background:var(--mgn-bg);color:var(--mgn-text);border-radius:10px;padding:0 28px 20px;margin:20px 0;font-family:inherit;box-sizing:border-box}
.mgn-notices *{box-sizing:border-box}
.mgn-notices .mgn-heading{text-align:center;font-size:24px;font-weight:700;line-height:1.4;color:var(--mgn-accent);margin:0;padding:26px 0 22px;border-bottom:1px solid var(--mgn-line)}
.mgn-notices .mgn-filters{display:flex;gap:8px;flex-wrap:wrap;padding:18px 0 8px}
.mgn-notices .mgn-filters a{color:var(--mgn-muted);padding:6px 12px;border-radius:5px;font-size:13px;text-decoration:none;border:0;box-shadow:none}
.mgn-notices .mgn-filters a[aria-current]{background:#fff0ee;color:#d8473f}
.mgn-notices ul.mgn-list{list-style:none;padding:0;margin:6px 0 0}
.mgn-notices li.mgn-item{list-style:none;border-bottom:1px solid var(--mgn-line);margin:0;padding:0}
.mgn-notices .mgn-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;min-height:72px;padding:16px 0;color:var(--mgn-text);text-decoration:none;border:0;box-shadow:none;background:transparent}
.mgn-notices a.mgn-row:hover{background:var(--mgn-hover);color:var(--mgn-text)}
.mgn-notices a:focus-visible{outline:2px solid var(--mgn-accent);outline-offset:3px}
.mgn-notices .mgn-badge{font-size:13px;line-height:1.5;font-weight:500;white-space:nowrap;border-radius:5px;padding:9px 11px;background:#eff2f5;color:#667482}
.mgn-notices .mgn-badge-new{background:#fff3e8;color:#ba651c}
.mgn-notices .mgn-badge-update{background:#edf4fc;color:#3671a8}
.mgn-notices .mgn-badge-price{background:#fff3e5;color:#b65d08}
.mgn-notices .mgn-badges{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.mgn-notices .mgn-badge-important{background:#fff0ee;color:#d8473f}
.mgn-notices .mgn-text{font-size:15px;line-height:1.6;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mgn-notices .mgn-change-label{font-weight:700;margin-right:4px}
.mgn-notices .mgn-change-text .mgn-title-line{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mgn-notices .mgn-price-change{display:block;font-size:12px;line-height:1.7;font-weight:400;color:var(--mgn-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mgn-notices .mgn-pinned{font-size:11px;line-height:1.3;border:1px solid #edb2ad;color:#d8473f;border-radius:3px;padding:1px 3px;margin-right:6px;vertical-align:1px}
.mgn-notices .mgn-date{color:var(--mgn-muted);font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.mgn-notices .mgn-ranking-note{margin:8px 0 0;padding:0;color:var(--mgn-muted);font-size:12px;line-height:1.6}
.mgn-notices .mgn-rank{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 6px;border-radius:6px;background:var(--mgn-hover);color:var(--mgn-muted);font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}
.mgn-notices .mgn-rank-1{background:#fff0e7;color:#ed692b}.mgn-notices .mgn-rank-2{background:#edf3fa;color:#52769c}.mgn-notices .mgn-rank-3{background:#fcf0e5;color:#ac763d}
.mgn-notices .mgn-views{min-width:60px;max-width:100px;text-align:right;line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.mgn-notices .mgn-view-count{display:block;color:var(--mgn-accent);font-size:14px;font-weight:600}.mgn-notices .mgn-view-unit{display:block;color:var(--mgn-muted);font-size:11px}
.mgn-notices .mgn-empty{list-style:none;padding:36px 0;text-align:center;color:var(--mgn-muted)}
.mgn-notices .mgn-pagination ul.page-numbers{list-style:none;display:flex;justify-content:center;gap:6px;flex-wrap:wrap;padding:22px 0 0;margin:0}
.mgn-notices .mgn-pagination li{list-style:none;margin:0;padding:0}
.mgn-notices .mgn-pagination a,.mgn-notices .mgn-pagination span{display:block;padding:5px 11px;border:1px solid var(--mgn-line);border-radius:4px;font-size:13px;color:var(--mgn-text);text-decoration:none;box-shadow:none}
.mgn-notices .mgn-pagination .current{background:#fff0ee;color:#d8473f;border-color:#f4d4d0}
#mgn-download{scroll-margin-top:110px}
/* Modown's existing night-mode toggle. */
.night .mgn-notices,.theme-night .mgn-notices,.dark .mgn-notices{--mgn-bg:#23272e;--mgn-text:#e7eaf0;--mgn-muted:#a9b1bf;--mgn-line:#353c47;--mgn-hover:#2c323c;--mgn-accent:#ff8a7c}
.night .mgn-notices,.theme-night .mgn-notices,.dark .mgn-notices{--mgn-change-content:#7fb9f0;--mgn-change-price:#ffb866;--mgn-change-both:#c7a4f4;--mgn-change-new:#78d9aa}
.mgn-notices .mgn-change-content{color:var(--mgn-change-content,#2673ba)}.mgn-notices .mgn-change-price{color:var(--mgn-change-price,#b65d08)}.mgn-notices .mgn-change-both{color:var(--mgn-change-both,#8051bd)}.mgn-notices .mgn-change-new{color:var(--mgn-change-new,#258154)}
@media(max-width:600px){.mgn-notices{padding:0 14px 16px;margin:12px 0;border-radius:8px}.mgn-notices .mgn-heading{font-size:21px;padding:22px 0 18px}.mgn-notices .mgn-row{gap:9px;min-height:76px;padding:14px 0}.mgn-notices .mgn-badge{font-size:12px;padding:8px 7px}.mgn-notices .mgn-text{font-size:14px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}.mgn-notices .mgn-date{font-size:11px}.mgn-notices .mgn-filters{gap:4px;padding-top:14px}.mgn-notices .mgn-filters a{font-size:12px;padding:5px 8px}}
@media(max-width:600px){.mgn-notices .mgn-text.mgn-change-text{display:block}.mgn-notices .mgn-change-text .mgn-title-line{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}.mgn-notices .mgn-price-change{font-size:11px}}
