.notice-list { padding: 0; overflow: hidden; }
.notice-item + .notice-item { border-top: 1px solid #e1e9f6; }
.notice-item > summary, .notice-editor > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}
.notice-item > summary::-webkit-details-marker,
.notice-editor > summary::-webkit-details-marker { display: none; }
.notice-item > summary { padding: 20px 26px; }
.notice-item > summary:hover, .notice-item[open] > summary { background: #f0f5ff; }
.notice-item > summary::after, .notice-editor > summary::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid #285bd6;
  border-bottom: 2px solid #285bd6;
  transform: rotate(45deg);
  margin-left: auto;
  flex-shrink: 0;
}
.notice-item[open] > summary::after, .notice-editor[open] > summary::after { transform: rotate(225deg); }
.notice-title { min-width: 0; overflow-wrap: anywhere; }
.notice-badge { padding: 5px 9px; border-radius: 8px; background: #e8f0ff; color: #2454ae; font-size: 12px; white-space: nowrap; }
.notice-content { padding: 20px 26px 26px; border-top: 1px solid #e1e9f6; }
.notice-meta { display: flex; align-items: center; flex-wrap: wrap; column-gap: 5px; row-gap: 8px; color: #526782; font-size: 13px; }
.notice-game-name { margin-left: 6px; padding: 4px 9px; border-radius: 6px; background: #eef3fb; }
.notice-content .support-prose { margin: 16px 0 0; color: #243956; }
.notice-editor > summary { color: #2454ae; }
.notice-editor > summary span { background: #eaf1ff; border-radius: 8px; padding: 4px 8px; }
.notice-editor form { margin-top: 22px; padding-top: 22px; border-top: 1px solid #e1e9f6; }
.notice-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.notice-editor .support-form-bottom { justify-content: flex-end; margin-top: 18px; }
@media (max-width: 640px) {
  .notice-item > summary, .notice-content { padding: 16px; }
  .notice-fields { grid-template-columns: 1fr; }
}

.notice-editor > summary #notice-editor-label { background: transparent; padding: 0; }
.notice-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 12px; }
.notice-filters button {
  padding: 8px 17px;
  border: 1px solid #ccd9ed;
  border-radius: 999px;
  background: #fff;
  color: #395577;
  font: inherit;
  font-weight: 700;
}
.notice-filters button[aria-pressed="true"] { border-color: #285bd6; background: #285bd6; color: #fff; }
.notice-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.notice-actions button { padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 800; }
.notice-delete { border: 1px solid #f1c8c8; background: #fff4f4; color: #a12330; }
.notice-delete:hover { background: #ffe5e5; }

.notice-body-label { margin: 0 0 10px; font-size: 15px; font-weight: 800; }
.notice-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  border: 1px solid #cbd6e6;
  border-radius: 11px 11px 0 0;
  background: #f1f5fd;
}
.notice-toolbar button, .notice-editor .notice-toolbar select, .notice-editor .notice-toolbar label {
  width: auto;
  margin: 0;
  padding: 7px 9px;
  border: 1px solid #ccd9ed;
  border-radius: 7px;
  background: #fff;
  color: #284566;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}
.notice-tool-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 3px 9px 3px 3px; }
.notice-tool-group:not(:last-child) { border-right: 1px solid #d6e1f1; }
.notice-tool-label { color: #49627f; font-size: 12px; font-weight: 800; margin-right: 2px; }
.notice-toolbar button[aria-label] { min-width: 32px; }
.notice-toolbar button:hover, .notice-toolbar button[aria-pressed="true"] { background: #e8f0ff; }
.notice-toolbar button[aria-pressed="true"] { border-color: #81a2ea; color: #174aa6; }
.notice-editor .notice-toolbar label { display: inline-flex; align-items: center; gap: 5px; }
.notice-editor .notice-toolbar input[type="color"] { width: 20px; height: 20px; padding: 0; margin: 0; border: 0; }
.notice-editable {
  min-height: 210px;
  padding: 16px;
  border: 1px solid #cbd6e6;
  border-top: 0;
  border-radius: 0 0 11px 11px;
  color: #243956;
  background: #fcfdff;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.notice-editable font[size="1"] { font-size: 12px; }
.notice-editable font[size="2"] { font-size: 14px; }
.notice-editable font[size="3"] { font-size: 16px; }
.notice-editable font[size="4"] { font-size: 20px; }
.notice-editable font[size="5"] { font-size: 24px; }
.notice-editable font[size="6"] { font-size: 32px; }
.notice-editable font[size="7"] { font-size: 40px; }
.notice-editable:focus { outline: 2px solid #285bd6; outline-offset: -2px; }
.notice-editable img, .notice-rich-body img { display: block; max-width: 100%; height: auto; margin: 12px 0; border-radius: 8px; }
.notice-editable a, .notice-rich-body a { color: #2454ae; text-decoration: underline; }
.notice-editable ul, .notice-editable ol, .notice-rich-body ul, .notice-rich-body ol { padding-inline-start: 1.5em; }
