/* The Notices section and the screen shown when a work or chapter is hidden. */
.notices { max-width: 1120px; margin: 0 auto; padding: 32px 20px 56px; }
.notices h1 { margin: 0 0 4px; color: #f8f4ea; font-size: 1.75rem; font-weight: 800; }
.notices-lead { margin: 0 0 22px; color: #aeb0bd; }
.notices-none { padding: 40px 0; color: #aeb0bd; text-align: center; }
.notices-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.notice-tile { display: block; overflow: hidden; border: 1px solid rgba(224,185,78,0.14); border-radius: 16px; background: #171a21; color: inherit; text-decoration: none; }
a.notice-tile:hover { border-color: rgba(224,185,78,.5); }
.notice-tile img { display: block; width: 100%; height: 170px; object-fit: cover; object-position: top; background: #222; }
.notice-body { padding: 13px 15px 16px; }
.notice-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.notice-meta time { color: #7f8290; font-size: 13px; }
.notice-tag { padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.notice-tag.off { background: rgba(251,113,133,.14); color: #fb7185; }
.notice-tag.info { background: rgba(96,165,250,.14); color: #60a5fa; }
.notice-tag.news { background: rgba(224,185,78,.14); color: #f1dc9b; }
.notice-tag.maintenance { background: rgba(251,191,36,.14); color: #f2dc96; }
.notice-tag.event { background: rgba(132,164,252,.15); color: #b4c8fe; }
.notice-noimg { display: grid; place-items: center; height: 170px; background: linear-gradient(135deg, #1e2539, #1b2233); color: #60a5fa; }
.notice-noimg svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.notice-tag.back { background: rgba(74,222,128,.13); color: #4ade80; }
.notice-body h2 { margin: 8px 0 4px; color: #f8f4ea; font-size: 1rem; font-weight: 700; }
.notice-body p { margin: 0; color: #aeb0bd; font-size: 14px; overflow-wrap: anywhere; }

.notice-card { width: min(440px, 100%); padding: 24px; text-align: center; }
.notice-cover { display: block; width: 92px; height: 124px; margin: 0 auto 12px; border-radius: 10px; object-fit: cover; background: #222; }
.notice-card h1 { margin: 0 0 4px; color: #f8f4ea; font-size: 1.35rem; font-weight: 800; }
.notice-name { margin: 0 0 14px; color: #aeb0bd; font-size: 14px; }
.notice-why, .notice-safe { margin: 0 0 12px; padding: 11px 13px; border-radius: 10px; font-size: 14px; line-height: 1.45; text-align: left; overflow-wrap: anywhere; }
.notice-why { border: 1px solid rgba(251,191,36,.35); background: rgba(251,191,36,.08); color: #fde68a; }
.notice-why small { display: block; margin-bottom: 2px; color: #e9c766; font-size: 12px; font-weight: 700; }
.notice-safe { display: flex; gap: 9px; margin-bottom: 16px; border: 1px solid rgba(74,222,128,.28); background: rgba(74,222,128,.07); color: #bbf7d0; }
.notice-safe svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: #4ade80; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.notice-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

@media (max-width: 900px) { .notices-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .notices { padding: 22px 16px 40px; } .notices-grid { grid-template-columns: minmax(0, 1fr); } }
