﻿/* 文章详情页官方公告 - 911爆料 4.0 */
.official-announcement {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 24px auto 0;
  padding: 0 0 23px;
  overflow: visible;
  border: 1px solid #5e5c5c;
  border-radius: 10px;
  background: transparent;
  box-sizing: border-box;
  color: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.official-announcement * {
  box-sizing: border-box;
}

.official-announcement a {
  border: 0 !important;
  border-bottom: 0 !important;
  color: inherit;
  text-decoration: none !important;
}

.official-announcement a:after {
  content: none !important;
  display: none !important;
}

.official-announcement-header {
  display: flex;
  align-items: center;
  gap: 6px;
  width: auto;
  height: 24px;
  margin: 23px 19px 20px;
}

.official-announcement-title {
  flex: 0 0 auto;
  width: auto;
  height: 24px;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 24px !important;
  letter-spacing: 0.0104em;
  text-align: left !important;
}

.official-announcement-title img {
  display: none !important;
}

.official-announcement-subtitle {
  width: auto;
  margin: 0 !important;
  color: rgba(240, 240, 240, 0.5) !important;
  font-size: 16px !important;
  font-weight: 400;
  line-height: 24px !important;
  letter-spacing: 0.013em;
  text-align: left !important;
}

.official-announcement-main,
.official-announcement-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: auto;
  margin-right: 19px;
  margin-left: 19px;
}

.official-feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  min-width: 0;
  height: 184px;
}

.official-announcement .official-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  height: 82px;
  padding: 0 16px;
  overflow: hidden;
  border: 0 !important;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06) !important;
  text-align: left;
}

.official-feature-background,
.official-action-icon {
  display: none !important;
}

.official-feature-title,
.official-feature-link {
  position: relative;
  z-index: 1;
  width: auto;
  margin: 0 !important;
  font-size: 16px !important;
  font-weight: 400;
  line-height: 16px !important;
  text-align: left !important;
}

.official-feature-title {
  display: block;
  color: #fff !important;
  white-space: nowrap;
}

.official-feature-link {
  display: block;
  margin-top: 10px !important;
  color: #2BB385 !important;
  text-decoration: underline !important;
  white-space: nowrap;
}

.official-latest {
  width: 100%;
  min-width: 0;
  height: 184px;
  padding: 20px 16px;
  overflow: hidden;
  border: 0 !important;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06) !important;
}

.official-latest-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  height: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  text-align: left;
}

.official-latest-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 0 0;
}

.official-announcement .official-latest-item {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  height: 22px;
  border: 0 !important;
  font-size: 16px;
  line-height: 22px;
  white-space: nowrap;
}

.official-latest-label {
  display: none !important;
}

.official-latest-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: #2BB385;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  text-decoration: underline;
  text-overflow: ellipsis;
  white-space: nowrap !important;
}

.official-announcement-actions {
  margin-top: 20px;
  row-gap: 20px;
}

.official-announcement .official-action-card {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  height: 82px;
  padding: 0 16px;
  overflow: hidden;
  border: 0 !important;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06) !important;
}

.official-action-content {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  text-align: left !important;
}

.official-action-title,
.official-action-link {
  margin: 0 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px !important;
  line-height: 16px !important;
}

.official-action-title {
  color: #fff !important;
}

.official-action-link {
  margin-top: 10px !important;
  color: #2BB385 !important;
  text-decoration: underline !important;
}

.official-announcement-support {
  margin-top: 40px;
  text-align: center;
}

.official-announcement-support p {
  margin: 0 !important;
  color: #fff !important;
  font-size: 18px !important;
  line-height: 16px !important;
  text-align: center !important;
}

.official-announcement-support .official-announcement-share-tip,
.official-announcement-support p + p {
  margin-top: 20px !important;
}

.official-announcement .a2a_kit {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center !important;
  align-items: center;
  gap: 4px;
  width: 322px;
  max-width: calc(100% - 38px);
  margin-top: 20px;
  margin-right: auto;
  margin-left: auto;
}

.official-announcement .a2a_kit a {
  flex: 0 0 32px;
  width: 32px !important;
  height: 32px !important;
  line-height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 6px !important;
}

.official-announcement .a2a_kit a .a2a_svg,
.official-announcement .a2a_default_style a .a2a_svg {
  width: 32px !important;
  height: 32px !important;
  line-height: 32px !important;
  background-size: 32px !important;
  border-radius: 6px !important;
}

.official-announcement .a2a_kit a svg,
.official-announcement .a2a_kit a img {
  width: 32px !important;
  height: 32px !important;
}

#post .post-content:has(.official-announcement) > .content-tabs {
  display: none !important;
}

@media (max-width: 640px) {
  .official-announcement {
    position: relative;
    width: calc(100% + 6px);
    max-width: none;
    height: auto;
    min-height: 0;
    margin-top: 16px;
    margin-left: -3px;
    padding: 16px 12px 16px;
    overflow: visible;
    border: 1px solid #5e5c5c;
    border-radius: 5px;
    background: transparent;
  }

  .official-announcement-header {
    position: static;
    display: block;
    width: auto;
    height: auto;
    margin: 0 0 12px;
    border: 0;
  }

  .official-announcement-title {
    position: static;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    margin: 0 0 6px !important;
    background: none !important;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 28px !important;
    text-align: left !important;
  }

  .official-announcement-subtitle {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    text-align: left !important;
    white-space: normal;
  }

  .official-announcement-main {
    position: static;
    top: auto;
    left: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
    width: 100%;
    height: auto;
    margin: 0;
  }

  .official-feature-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    height: auto;
  }

  .official-announcement .official-feature-card {
    flex: 1 1 auto;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: auto;
    min-height: 64px;
    padding: 10px 12px;
    border: 0 !important;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.06) !important;
    text-align: left;
  }

  .official-feature-title,
  .official-feature-link {
    width: 100%;
    font-size: 13px !important;
    font-weight: 400;
    line-height: 18px !important;
    text-align: left !important;
    white-space: nowrap;
  }

  .official-feature-link {
    margin-top: 6px !important;
  }

  .official-latest {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 10px 12px;
    border: 0 !important;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.06) !important;
  }

  .official-latest-head {
    justify-content: flex-start;
    height: auto;
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
  }

  .official-latest-list {
    gap: 16px;
    padding: 12px 0 0;
  }

  .official-announcement .official-latest-item {
    height: auto;
    line-height: 18px;
  }

  .official-latest-text {
    font-size: 13px;
    line-height: 18px;
  }

  .official-announcement-actions {
    position: static;
    top: auto;
    left: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    height: auto;
    margin: 8px 0 0;
  }

  .official-announcement .official-action-card {
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 64px;
    padding: 10px 12px;
    border: 0 !important;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.06) !important;
  }

  .official-action-title,
  .official-action-link {
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
  }

  .official-action-link {
    margin-top: 6px !important;
  }

  .official-announcement-support {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    margin: 20px 0 0;
  }

  .official-announcement-support p {
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 20px !important;
  }

  .official-announcement-support p + p,
  .official-announcement-share-tip {
    margin-top: 12px !important;
    color: #eab308 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
  }

  .official-announcement .a2a_kit {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 12px auto 0;
    transform: none;
  }

  .official-announcement .a2a_kit a,
  .official-announcement .a2a_kit span {
    border-radius: 4px !important;
  }
}
