:root {
  --notice-coral: #ff6868;
  --notice-coral-hover: #f45f62;
  --notice-ink: #313a50;
  --notice-text: #515b6d;
  --notice-muted: #8f98a8;
  --notice-line: #e7eaf0;
  --notice-soft: #f7f8fb;
  --notice-content: 1180px;
}

.notice-page {
  min-width: 0;
  overflow-x: clip;
  color: var(--notice-text);
  background: var(--notice-soft);
}

.notice-page .site-header {
  background: rgba(255, 255, 255, .9);
  border-bottom-color: rgba(224, 228, 235, .78);
}

.notice-main {
  min-width: 0;
  min-height: calc(100vh - 355px);
  padding: 64px 0 88px;
}

.notice-container {
  width: min(var(--notice-content), calc(100% - 40px));
  margin: 0 auto;
}

.notice-breadcrumb {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #9ba3b0;
  font-size: 13px;
}

.notice-breadcrumb a {
  color: #7f8999;
  text-decoration: none;
  transition: color 160ms ease;
}

.notice-breadcrumb a:hover {
  color: var(--notice-coral);
}

.notice-breadcrumb i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c5cad2;
}

.notice-layout {
  display: grid;
  grid-template-columns: minmax(0, 850px) 292px;
  align-items: start;
  gap: 38px;
  padding-top: 14px;
}

.notice-list-panel,
.notice-side-card,
.notice-article,
.notice-detail-side-card {
  border: 1px solid var(--notice-line);
  border-radius: 4px;
  background: #fff;
}

.notice-toolbar {
  min-height: 76px;
  padding: 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--notice-line);
}

.notice-toolbar-title {
  margin: 0;
  color: #3b4559;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.3;
}

.notice-tab-navigation {
  min-width: 0;
  flex: 1;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  align-items: center;
}

.notice-tabs {
  min-width: 0;
  height: 76px;
  display: flex;
  align-items: stretch;
  gap: 30px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
}

.notice-tabs::-webkit-scrollbar {
  display: none;
}

.notice-tab {
  position: relative;
  flex: none;
  padding: 0;
  border: 0;
  color: #7b8596;
  background: transparent;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  scroll-snap-align: center;
}

.notice-tab-scroll {
  position: relative;
  z-index: 2;
  width: 28px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: #697386;
  background: #fff;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.notice-tab-scroll:hover:not(:disabled) {
  color: var(--notice-coral);
  background: #fff3f3;
}

.notice-tab-scroll:disabled {
  opacity: .22;
  cursor: default;
}

.notice-tab-scroll-prev {
  justify-self: start;
}

.notice-tab-scroll-next {
  justify-self: end;
}

.notice-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--notice-coral);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.notice-tab:hover,
.notice-tab.is-active {
  color: var(--notice-coral);
}

.notice-tab.is-active {
  font-weight: 650;
}

.notice-tab.is-active::after {
  transform: scaleX(1);
}

.notice-search {
  width: 230px;
  height: 38px;
  display: flex;
  align-items: center;
  border: 1px solid #dfe3ea;
  border-radius: 4px;
  background: #fafbfc;
  transition: border-color 160ms ease, background 160ms ease;
}

.notice-search:focus-within {
  border-color: rgba(255, 104, 104, .72);
  background: #fff;
}

.notice-search input {
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0 4px 0 13px;
  border: 0;
  outline: 0;
  color: var(--notice-text);
  background: transparent;
  font: inherit;
  font-size: 13px;
}

.notice-search button {
  width: 38px;
  height: 36px;
  flex: 0 0 38px;
  border: 0;
  color: #9199a7;
  background: transparent;
  cursor: pointer;
}

.notice-search button::before {
  content: "";
  width: 12px;
  height: 12px;
  display: inline-block;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transform: translate(1px, -1px);
}

.notice-search button::after {
  content: "";
  width: 6px;
  height: 1.5px;
  display: inline-block;
  background: currentColor;
  transform: translate(-2px, 4px) rotate(45deg);
}

.notice-list {
  min-height: 490px;
}

.notice-row {
  position: relative;
  min-height: 106px;
  padding: 22px 27px 21px 30px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 92px;
  align-items: center;
  gap: 20px;
  color: inherit;
  text-decoration: none;
  transition: background 180ms ease;
}

.notice-row + .notice-row {
  border-top: 1px solid #eef0f4;
}

.notice-row::before {
  content: "";
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--notice-coral);
  opacity: 0;
  transform: scaleY(.55);
  transition: opacity 180ms ease, transform 180ms ease;
}

.notice-row:hover {
  background: #fffafa;
}

.notice-row:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.notice-date {
  color: #9ba3b1;
  text-align: center;
}

.notice-date strong {
  display: block;
  color: #5f697a;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
}

.notice-date span {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  letter-spacing: .04em;
}

.notice-row-copy {
  min-width: 0;
}

.notice-row-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notice-row-title h2 {
  overflow: hidden;
  margin: 0;
  color: #3b4559;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 180ms ease;
}

.notice-row:hover h2 {
  color: var(--notice-coral);
}

.notice-badge {
  height: 20px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  flex: none;
  border-radius: 2px;
  color: var(--notice-coral);
  background: rgba(255, 104, 104, .09);
  font-size: 10px;
  font-weight: 650;
}

.notice-row-copy p {
  overflow: hidden;
  margin: 7px 0 0;
  color: #929aa8;
  font-size: 13px;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-row-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  color: #a1a8b4;
  font-size: 12px;
  white-space: nowrap;
}

.notice-row-meta i {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e8ed;
  border-radius: 50%;
  color: var(--notice-coral);
  font-style: normal;
  transition: transform 180ms ease, border-color 180ms ease;
}

.notice-row:hover .notice-row-meta i {
  border-color: rgba(255, 104, 104, .34);
  transform: translateX(3px);
}

.notice-empty {
  height: 490px;
  display: grid;
  place-items: center;
  color: #9ba3b0;
  font-size: 14px;
}

.notice-pagination {
  min-height: 68px;
  padding: 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--notice-line);
  color: #9ba3b0;
  font-size: 12px;
}

.notice-pagination-controls,
.notice-page-buttons {
  display: flex;
  align-items: center;
}

.notice-pagination-controls {
  gap: 10px;
}

.notice-page-size {
  display: inline-flex;
}

.notice-page-size select {
  height: 32px;
  padding: 0 8px;
  border: 1px solid #e1e5eb;
  border-radius: 3px;
  outline: 0;
  color: #7f8999;
  background: #fff;
  font: inherit;
  cursor: pointer;
}

.notice-page-size select:focus {
  border-color: rgba(255, 104, 104, .72);
}

.notice-page-buttons {
  gap: 7px;
}

.notice-pages {
  display: flex;
  align-items: center;
  gap: 7px;
}

.notice-page-buttons button {
  width: 32px;
  height: 32px;
  border: 1px solid #e1e5eb;
  border-radius: 3px;
  color: #7f8999;
  background: #fff;
  font: inherit;
  cursor: pointer;
}

.notice-page-button:hover:not(.is-current):not(:disabled),
.notice-page-buttons > button:hover:not(:disabled) {
  border-color: rgba(255, 104, 104, .45);
  color: var(--notice-coral);
  background: #fff7f6;
}

.notice-page-buttons button.is-current {
  border-color: var(--notice-coral);
  color: #fff;
  background: var(--notice-coral);
}

.notice-page-ellipsis {
  width: 22px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a1a8b4;
}

.notice-mobile-page {
  min-width: 66px;
  height: 32px;
  display: none;
  align-items: center;
  justify-content: center;
  color: #697386;
  font-variant-numeric: tabular-nums;
}

.notice-side {
  display: grid;
  gap: 18px;
}

.notice-side-card {
  padding: 25px 24px;
}

.notice-side-card h2,
.notice-detail-side-card h2 {
  margin: 0 0 18px;
  color: #3b4559;
  font-size: 16px;
  font-weight: 650;
}

.notice-side-card h2::before,
.notice-detail-side-card h2::before {
  content: "";
  width: 3px;
  height: 15px;
  margin-right: 9px;
  display: inline-block;
  border-radius: 2px;
  background: var(--notice-coral);
  vertical-align: -2px;
}

.notice-category-links {
  display: grid;
  gap: 4px;
}

.notice-category-links button {
  height: 42px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 3px;
  color: #747e8f;
  background: transparent;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.notice-category-links button:hover,
.notice-category-links button.is-active {
  color: var(--notice-coral);
  background: #fff5f4;
}

.notice-category-links em {
  color: #a4abb6;
  font-style: normal;
}

.notice-support-card {
  background: linear-gradient(145deg, #fff 0%, #fff7f5 100%);
}

.notice-support-card p {
  margin: 0 0 18px;
  color: #8b94a3;
  font-size: 13px;
  line-height: 1.75;
}

.notice-support-card a {
  width: 100%;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  color: #fff;
  background: var(--notice-coral);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 160ms ease;
}

.notice-support-card a:hover {
  background: var(--notice-coral-hover);
}

/* Detail */
.notice-detail-main {
  padding-bottom: 96px;
}

.notice-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 850px) 292px;
  align-items: start;
  gap: 38px;
  padding-top: 18px;
}

.notice-article {
  overflow: hidden;
}

.notice-article-header {
  padding: 42px 52px 30px;
  border-bottom: 1px solid var(--notice-line);
  text-align: center;
}

.notice-article-category {
  height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 2px;
  color: var(--notice-coral);
  background: #fff1ef;
  font-size: 11px;
  font-weight: 650;
}

.notice-article-header h1 {
  max-width: 720px;
  margin: 18px auto 15px;
  color: var(--notice-ink);
  font-size: 29px;
  font-weight: 680;
  line-height: 1.45;
}

.notice-article-meta {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: #9aa2af;
  font-size: 12px;
}

.notice-article-body {
  padding: 40px 58px 52px;
  color: #596375;
  font-size: 15px;
  line-height: 2;
}

.notice-article-body .notice-lead {
  margin: 0 0 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--notice-coral);
  color: #566071;
  background: #fff8f7;
  line-height: 1.8;
}

.notice-article-body h2 {
  margin: 34px 0 14px;
  color: #3a4458;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.5;
}

.notice-article-body h2:first-of-type {
  margin-top: 0;
}

.notice-article-body p {
  margin: 0 0 17px;
}

.notice-article-body ul {
  margin: 12px 0 20px;
  padding: 0;
  list-style: none;
}

.notice-article-body li {
  position: relative;
  margin: 9px 0;
  padding-left: 20px;
}

.notice-article-body li::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--notice-coral);
}

.notice-article-signature {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px dashed #e2e6ec;
  color: #7e8796;
  text-align: right;
}

.notice-article-signature strong,
.notice-article-signature time {
  display: block;
  font-weight: 500;
}

.notice-article-footer {
  min-height: 78px;
  padding: 0 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid var(--notice-line);
  background: #fafbfc;
}

.notice-article-footer a {
  overflow: hidden;
  color: #7c8696;
  font-size: 13px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-article-footer a:last-child {
  text-align: right;
}

.notice-article-footer a:hover {
  color: var(--notice-coral);
}

.notice-back-list {
  padding: 0 20px;
  color: var(--notice-coral) !important;
}

.notice-detail-side {
  display: grid;
  gap: 18px;
}

.notice-detail-side-card {
  padding: 24px;
}

.notice-detail-latest {
  display: grid;
}

.notice-detail-latest a {
  padding: 13px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  border-top: 1px solid #eef0f4;
  color: #687284;
  font-size: 13px;
  line-height: 1.55;
  text-decoration: none;
}

.notice-detail-latest a:first-child {
  padding-top: 0;
  border-top: 0;
}

.notice-detail-latest a:hover span {
  color: var(--notice-coral);
}

.notice-detail-latest time {
  color: #a4abb6;
  font-size: 11px;
  white-space: nowrap;
}

.notice-detail-back {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 104, 104, .28);
  border-radius: 4px;
  color: var(--notice-coral);
  background: #fff;
  font-size: 13px;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.notice-detail-back:hover {
  color: #fff;
  background: var(--notice-coral);
}

.notice-page .site-footer {
  min-width: 0;
}

@media (max-width: 1240px) {
  .notice-page,
  .notice-main,
  .notice-page .site-footer {
    min-width: 0;
  }

  .notice-container {
    width: min(940px, calc(100% - 40px));
  }

  .notice-layout,
  .notice-detail-layout {
    grid-template-columns: minmax(0, 670px) 240px;
    gap: 30px;
  }

  .notice-tabs {
    gap: 20px;
  }

  .notice-search {
    width: 190px;
  }
}

.notice-state {
  min-height: 490px;
  display: grid;
  place-items: center;
  padding: 32px;
  color: #8f98a8;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.notice-page-buttons button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.notice-article-body img,
.notice-article-body video,
.notice-article-body table {
  max-width: 100%;
}

.notice-article-body img,
.notice-article-body video {
  height: auto;
}

.notice-article-body table {
  display: block;
  overflow-x: auto;
}

@media (max-width: 980px) {
  .notice-main {
    padding-top: 44px;
  }

  .notice-layout,
  .notice-detail-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .notice-side,
  .notice-detail-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notice-list-panel,
  .notice-article {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .notice-main {
    min-height: calc(100vh - 80px);
    padding: 22px 0 56px;
  }

  .notice-container {
    width: calc(100% - 32px);
  }

  .notice-breadcrumb {
    height: auto;
    min-height: 42px;
    overflow: hidden;
    font-size: 12px;
    white-space: nowrap;
  }

  .notice-breadcrumb span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .notice-layout,
  .notice-detail-layout {
    padding-top: 8px;
  }

  .notice-toolbar {
    min-height: 0;
    padding: 18px;
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .notice-tabs {
    height: 38px;
    gap: 20px;
  }

  .notice-tab-navigation {
    width: 100%;
    flex: none;
    grid-template-columns: 26px minmax(0, 1fr) 26px;
  }

  .notice-tab-scroll {
    width: 26px;
    height: 38px;
  }

  .notice-search {
    width: 100%;
  }

  .notice-row {
    min-height: 96px;
    padding: 18px;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
  }

  .notice-row-meta {
    display: none;
  }

  .notice-row-title h2 {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: 15px;
  }

  .notice-row-copy p {
    margin-top: 7px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .notice-pagination {
    min-height: 76px;
    padding: 14px 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .notice-pagination-controls,
  .notice-page-buttons {
    width: 100%;
  }

  .notice-pagination-controls,
  .notice-page-buttons {
    justify-content: flex-end;
  }

  .notice-page-size,
  .notice-pages {
    display: none;
  }

  .notice-mobile-page {
    display: inline-flex;
  }

  .notice-side,
  .notice-detail-side {
    grid-template-columns: minmax(0, 1fr);
  }

  .notice-category-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notice-article-header {
    padding: 30px 20px 24px;
  }

  .notice-article-header h1 {
    margin-top: 14px;
    font-size: 24px;
  }

  .notice-article-meta {
    align-items: center;
    flex-direction: column;
    gap: 5px;
  }

  .notice-article-body {
    padding: 28px 20px 34px;
    font-size: 14px;
    line-height: 1.9;
    overflow-wrap: anywhere;
  }

  .notice-article-body [style*="width"] {
    max-width: 100% !important;
  }

  .notice-article-footer {
    min-height: 0;
    padding: 20px;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .notice-article-footer a,
  .notice-article-footer a:last-child {
    width: 100%;
    text-align: left;
  }

  .notice-back-list {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .notice-row,
  .notice-row::before,
  .notice-row-meta i,
  .notice-support-card a,
  .notice-detail-back {
    transition: none;
  }
}
