body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: #0b1220;
  background: #f7f8fc;
}

body.is-grayscale {
  filter: grayscale(1);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(10, 20, 40, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand__logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
}

.brand__name {
  font-weight: 800;
}

.topbar__nav {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.navItem {
  text-decoration: none;
  color: #17233a;
  padding: 8px 10px;
  border-radius: 10px;
}

.navItem:hover {
  background: rgba(79, 124, 255, 0.1);
}

.navItem.is-active {
  background: rgba(79, 124, 255, 0.12);
}

.navGroup {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.navMenu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 160px;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(10, 20, 40, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(10, 20, 40, 0.12);
  z-index: 10;
}

.navGroup:hover .navMenu,
.navGroup:focus-within .navMenu {
  display: grid;
  gap: 6px;
}

.navMenu__item {
  text-decoration: none;
  color: #17233a;
  padding: 8px 10px;
  border-radius: 10px;
  white-space: nowrap;
}

.navMenu__item:hover {
  background: rgba(79, 124, 255, 0.1);
}

.topbar__right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.search {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(10, 20, 40, 0.04);
  border: 1px solid rgba(10, 20, 40, 0.08);
  border-radius: 12px;
  padding: 6px;
}

.search__engine,
.search__input {
  border: 0;
  background: transparent;
  outline: none;
  font-size: 13px;
}

.search__engine {
  padding: 6px 6px;
}

.search__input {
  width: min(260px, 28vw);
  padding: 6px 6px;
}

.search__btn {
  border: 0;
  background: #4f7cff;
  color: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

.pill {
  text-decoration: none;
  color: #0b1220;
  border: 1px solid rgba(10, 20, 40, 0.14);
  border-radius: 999px;
  padding: 8px 10px;
  background: #fff;
  font-size: 13px;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px;
}

.carousel {
  margin-top: 10px;
}

.carousel__viewport {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(10, 20, 40, 0.08);
  background: #fff;
}

.carousel__track {
  display: flex;
  width: 100%;
  will-change: transform;
}

.carousel__item {
  display: block;
  height: 240px;
  position: relative;
  flex: 0 0 100%;
}

.carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel__item.is-placeholder {
  display: grid;
  place-items: center;
  color: rgba(0, 0, 0, 0.4);
  font-weight: 700;
}

.section {
  margin-top: 18px;
  background: #fff;
  border: 1px solid rgba(10, 20, 40, 0.08);
  border-radius: 18px;
  padding: 14px;
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.section__title {
  margin: 0;
  font-size: 16px;
}

.linkBtn {
  border: 0;
  background: transparent;
  color: #1d5bff;
  cursor: pointer;
  font-weight: 700;
}

.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.grid5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.card {
  border: 1px solid rgba(10, 20, 40, 0.08);
  border-radius: 16px;
  padding: 12px;
  background: rgba(79, 124, 255, 0.03);
  display: grid;
  gap: 10px;
}

.card__head {
  display: flex;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.card__logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(10, 20, 40, 0.06);
}

.card__logo.is-empty {
  display: block;
}

.card__name {
  font-weight: 800;
}

.card__tags {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.55);
}

.card__desc {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.72);
  min-height: 36px;
}

.card__actions {
  display: flex;
  gap: 8px;
}

.btnSm {
  text-decoration: none;
  color: #fff;
  background: #4f7cff;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 13px;
}

.btnSm--ghost {
  background: #fff;
  color: #1d5bff;
  border: 1px solid rgba(29, 91, 255, 0.25);
}

.section3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.col {
  border: 1px solid rgba(10, 20, 40, 0.08);
  border-radius: 16px;
  padding: 12px;
  background: rgba(10, 20, 40, 0.02);
}

.col__title {
  margin: 0 0 10px;
  font-size: 14px;
}

.rowItem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-top: 1px dashed rgba(10, 20, 40, 0.08);
}

.rowItem:first-of-type {
  border-top: 0;
}

.rowItem__left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.rowItem__logo {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(10, 20, 40, 0.06);
}

.rowItem__name {
  font-size: 13px;
  font-weight: 700;
}

.btnXs {
  text-decoration: none;
  color: #fff;
  background: #4f7cff;
  padding: 6px 8px;
  border-radius: 10px;
  font-size: 12px;
}

.btnXs--ghost {
  background: #fff;
  color: #1d5bff;
  border: 1px solid rgba(29, 91, 255, 0.25);
}

.tabs__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tab {
  border: 1px solid rgba(10, 20, 40, 0.14);
  background: #fff;
  border-radius: 999px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 13px;
}

.tab.is-active {
  background: rgba(79, 124, 255, 0.12);
  border-color: rgba(79, 124, 255, 0.25);
  color: #1d5bff;
  font-weight: 800;
}

.tabs__more {
  margin-top: 12px;
  text-align: center;
}

.mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(10, 20, 40, 0.08);
  border-radius: 14px;
  padding: 10px;
  background: rgba(10, 20, 40, 0.02);
}

.mini__left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.mini__logo {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(10, 20, 40, 0.06);
}

.mini__meta {
  display: grid;
  gap: 2px;
}

.mini__name {
  font-weight: 800;
  font-size: 13px;
}

.mini__tags {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.55);
}

.mini__actions {
  display: inline-flex;
  gap: 6px;
}

.detail {
  background: #fff;
  border: 1px solid rgba(10, 20, 40, 0.08);
  border-radius: 18px;
  padding: 14px;
}

.detail__head {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: start;
}

.detail__logo {
  width: 92px;
  height: 92px;
  border-radius: 20px;
  object-fit: cover;
  background: rgba(10, 20, 40, 0.06);
}

.detail__title {
  margin: 0;
  font-size: 22px;
}

.detail__sub {
  margin-top: 6px;
  color: rgba(0, 0, 0, 0.6);
}

.detail__tags {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.72);
}

.detail__actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btnLg {
  text-decoration: none;
  color: #fff;
  background: #4f7cff;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 800;
}

.btnLg--ghost {
  background: #fff;
  color: #1d5bff;
  border: 1px solid rgba(29, 91, 255, 0.25);
}

.detail__body {
  margin-top: 14px;
  border-top: 1px solid rgba(10, 20, 40, 0.08);
  padding-top: 12px;
}

.detail__h2 {
  margin: 0 0 10px;
  font-size: 15px;
}

.detail__text {
  white-space: pre-wrap;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.8);
}

.footer {
  max-width: 1180px;
  margin: 14px auto 24px;
  padding: 0 16px;
  display: grid;
  gap: 8px;
  text-align: center;
}

.footer__row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__link {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.6);
  font-size: 13px;
}

.backTop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  border: 0;
  background: #4f7cff;
  color: #fff;
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
  display: none;
}

.backTop.is-show {
  display: block;
}

.hint {
  margin-top: 10px;
  text-align: center;
  color: rgba(0, 0, 0, 0.55);
  font-size: 13px;
}

.noticeModal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 50;
}

.noticeModal.is-show {
  display: block;
}

.noticeModal__mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.noticeModal__panel {
  position: absolute;
  left: 50%;
  top: 12vh;
  transform: translateX(-50%);
  width: min(560px, calc(100vw - 24px));
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(10, 20, 40, 0.12);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
  padding: 14px;
}

.noticeModal__title {
  font-size: 18px;
  font-weight: 900;
}

.noticeModal__content {
  margin-top: 10px;
  white-space: pre-wrap;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.82);
}

.noticeModal__meta {
  margin-top: 10px;
  color: rgba(0, 0, 0, 0.55);
  text-align: center;
  font-size: 13px;
}

.noticeModal__actions {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.noticeModal__btn {
  border: 0;
  background: #4f7cff;
  color: #fff;
  padding: 10px 16px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .topbar__nav {
    justify-content: flex-start;
    overflow: auto;
  }
  .grid4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .section3 {
    grid-template-columns: 1fr;
  }
  .search__input {
    width: min(260px, 70vw);
  }
}
