* {
  box-sizing: border-box;
}

html {
  background: #eef3f4;
  color: #17242a;
  -webkit-text-size-adjust: 100%;
}

body.task-article-page {
  margin: 0;
  min-width: 320px;
  background: #eef3f4;
  color: #17242a;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.75;
}

/* 任务列表页：浅灰底，对齐 LightSNS（#f5f6f7） */
html:has(body.task-article-list-page) {
  background: #f5f6f7;
}

body.task-article-list-page {
  background: #f5f6f7;
  color: #222226;
}

.task-article-page img {
  max-width: 100%;
  height: auto;
}

.task-article-page img[data-src],
.task-article-page source[data-srcset] {
  content-visibility: auto;
}

.task-article-content img.task-deferred-image[data-src] {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.takefu-deferred-media[data-src] {
  background: #edf3f4;
}

.takefu-api-bottom-ad picture {
  display: block;
}

[data-task-deferred-ad] {
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

[data-task-deferred-ad].is-loaded {
  opacity: 1;
  pointer-events: auto;
}

.task-deferred-frame {
  background: #102027;
}

.task-article-main {
  padding: 24px 0 34px;
}

.task-article-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.task-article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 4px 0 16px;
  color: #60747b;
  font-size: 13px;
  font-weight: 700;
}

.task-article-breadcrumb a {
  color: #0b7480;
}

.task-article-card,
.task-side-image-card,
.task-side-card,
.task-side-mini-card,
.task-side-module,
.task-list-hero,
.task-list-card {
  border: 1px solid #d6e0e3;
  border-radius: 8px;
  background: #fff;
}

.task-article-card {
  padding: 24px 28px 28px;
}

.task-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 14px;
  align-items: start;
}

.task-article-after {
  margin-top: 14px;
}

@media (min-width: 861px) {
  .task-article-after {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 14px;
  }

  .task-article-prenext {
    grid-column: 1;
  }
}

.task-article-toc {
  display: none;
}

.task-mobile-toc {
  display: none;
}

.task-article-head {
  padding-bottom: 18px;
  border-bottom: 1px solid #e2eaed;
}

.task-article-head-main {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-start;
}

.task-article-titlebox {
  flex: 1 1 auto;
  min-width: 0;
}

.task-article-content h2[id] {
  scroll-margin-top: 92px;
}

.task-article-head h1 {
  margin: 0;
  color: #102a31;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.14;
  letter-spacing: 0;
}

.task-article-original {
  margin: 8px 0 0;
  color: #4b6269;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
}

.task-article-trader {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 92px;
  padding: 8px 7px;
  border: 1px solid #d6e0e3;
  border-radius: 8px;
  background: #f4f8f9;
}

.task-article-trader img {
  display: block;
  width: 76px;
  height: 76px;
  border-radius: 8px;
  object-fit: cover;
  background: #e7eef1;
}

.task-article-trader span {
  max-width: 100%;
  overflow: hidden;
  color: #274149;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  color: #526970;
  font-size: 13px;
}

.task-article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #d6e0e3;
  border-radius: 7px;
  background: #f4f8f9;
}

.task-article-content {
  max-width: 860px;
  margin: 0 auto;
  padding-top: 22px;
  color: #253b43;
}

.task-article-content .task-official-name,
.task-article-content .task-trader-profile {
  display: none;
}

.task-article-content .task-label-pill {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 5px 10px;
  border: 1px solid #d3e0e3;
  border-radius: 7px;
  background: #eef6f7;
  color: #19656d;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
}

.task-article-content h2 {
  margin: 30px 0 12px;
  color: #102a31;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
}

.task-article-content h3 {
  margin: 24px 0 10px;
  color: #18323a;
  font-size: 18px;
  line-height: 1.35;
}

.task-article-content p {
  margin: 0 0 14px;
}

.task-article-content ul,
.task-article-content ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.task-article-content li {
  margin: 6px 0;
}

.task-article-content table {
  width: 100%;
  margin: 10px 0 18px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid #d6e0e3;
  border-radius: 8px;
  background: #fbfdfd;
}

.task-article-content th,
.task-article-content td {
  padding: 11px 12px;
  border-bottom: 1px solid #e2eaed;
  text-align: left;
  vertical-align: top;
}

.task-article-content tr:last-child th,
.task-article-content tr:last-child td {
  border-bottom: 0;
}

.task-article-content th {
  width: 188px;
  color: #0b7480;
  font-weight: 900;
  min-width: 128px;
  white-space: nowrap;
}

@media (min-width: 1680px) {
  body.task-article-page .takefu-api-side-ad {
    display: block;
  }

  body.task-article-page .takefu-api-side-ad--left {
    left: 16px;
  }

  body.task-article-page .takefu-api-side-ad--right {
    right: 16px;
  }
}

.task-article-side-wrap {
  position: sticky;
  top: 76px;
  min-width: 0;
  max-height: calc(100vh - 92px);
  padding-right: 18px;
}

.task-article-side {
  display: grid;
  gap: 10px;
  min-width: 0;
  max-height: calc(100vh - 92px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.task-article-side::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.task-side-scrollbar {
  position: absolute;
  top: 2px;
  right: 4px;
  bottom: 2px;
  width: 8px;
  border: 1px solid rgba(190, 207, 211, 0.86);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(214, 224, 227, 0.52));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

.task-side-scrollbar__thumb {
  position: absolute;
  top: 0;
  left: 1px;
  width: 4px;
  min-height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8fbac0 0%, #2f7e89 100%);
  box-shadow: 0 1px 5px rgba(25, 79, 89, 0.26);
  transform: translateY(var(--task-side-scroll-y, 0));
}

.task-side-scrollbar:hover .task-side-scrollbar__thumb {
  background: linear-gradient(180deg, #79aeb6 0%, #146d79 100%);
}

.task-side-scrollbar[hidden] {
  display: none;
}

/* 2026-10-17：左侧目录轨道的出现断点从 1460 下调到 1320，任务页与物品页共用同一套。
   1320-1559 区间没有左右推广位，按 32px 安全边距排版即可。 */
@media (min-width: 1320px) {
  .task-article-wrap {
    width: min(1320px, calc(100% - 32px));
  }

  /* 第一列 132px、目录本身仍 112px 且右对齐：圆点因此离正文/广告边缘留出 20px，
     不会被左侧固定推广位的暗色面板与投影贴住。 */
  .task-article-layout {
    grid-template-columns: 132px minmax(0, 1fr) 250px;
    column-gap: 28px;
  }

  .task-article-after {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) 250px;
    column-gap: 28px;
  }

  .task-article-prenext {
    grid-column: 2;
  }

  .task-article-toc {
    position: sticky;
    top: 76px;
    display: grid;
    gap: 14px;
    justify-items: end;
    justify-self: end;
    min-width: 0;
    width: 112px;
    padding: 12px 0;
    overflow: visible;
  }

  .task-article-toc a {
    position: relative;
    z-index: 1;
    display: grid;
    width: 112px;
    height: 28px;
    place-items: center end;
    color: #29444b;
    text-decoration: none;
    overflow: visible;
  }

  .task-article-toc a::before {
    content: "";
    position: absolute;
    left: auto;
    right: 13px;
    top: 26px;
    width: 2px;
    height: 18px;
    border-radius: 999px;
    background: #bfd1d5;
  }

  .task-article-toc a:last-child::before {
    display: none;
  }

  .task-article-toc a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    width: 14px;
    height: 14px;
    border: 2px solid #d7e4e7;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 5px rgba(25, 79, 89, 0.14);
    transform: translate(50%, -50%);
    transition: width .16s ease, height .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
  }

  .task-article-toc a.is-current::after,
  .task-article-toc a:hover::after,
  .task-article-toc a:focus-visible::after {
    width: 22px;
    height: 22px;
    border-color: #69a5ae;
    background: #0b7480;
    box-shadow: 0 4px 12px rgba(11, 116, 128, 0.24);
  }

  .task-article-toc a span {
    position: absolute;
    right: 38px;
    top: 50%;
    display: inline-flex;
    width: max-content;
    max-width: 74px;
    min-height: 24px;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    color: #29444b;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translate(4px, -50%);
    transition: opacity .16s ease, transform .16s ease, color .16s ease;
  }

  .task-article-toc a.is-current span,
  .task-article-toc:hover a span,
  .task-article-toc:focus-within a span {
    opacity: 1;
    transform: translate(0, -50%);
  }

  .task-article-toc a:hover span,
  .task-article-toc a:focus-visible span {
    color: #0b5963;
  }

  .task-article-toc a:focus-visible {
    outline: none;
  }
}

/* 1560px 起左右两侧的固定推广位开始出现（各 140px 宽、贴视口边缘）。
   正文两侧各让出 160px，避免左侧目录轨道与右侧信息卡被广告压住。 */
@media (min-width: 1560px) {
  .task-article-wrap {
    width: min(1320px, calc(100% - 340px));
  }
}

.task-side-image-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 7px;
  color: #142d34;
  text-decoration: none;
  background: #fbfdfd;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.task-side-image-card:hover,
.task-side-image-card:focus-visible {
  border-color: #87b9c0;
  background: #f7fbfb;
  color: #0b5963;
  outline: none;
  transform: translateY(-1px);
}

.task-side-image-card--primary {
  background: #f5fafb;
}

.task-side-image-card__thumb {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  background: #e7eef1;
  overflow: hidden;
}

.task-side-image-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #101b20;
}

.task-side-image-card__title {
  display: block;
  min-width: 0;
  padding: 0 2px 3px;
  overflow-wrap: anywhere;
  color: #142d34;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}

.task-side-module {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  background: #fbfdfd;
}

.task-side-module--compact {
  gap: 7px;
}

.task-side-module__head {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.task-side-module__head h2 {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  color: #142d34;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-side-module__head a {
  flex: 0 0 auto;
  color: #0b7480;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
}

.task-side-module__head a:hover,
.task-side-module__head a:focus-visible {
  color: #0a9aa7;
  outline: none;
}

.task-side-link-list {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.task-side-mini-card {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 12px;
  gap: 8px;
  align-items: center;
  min-width: 0;
  min-height: 58px;
  padding: 8px;
  color: #203840;
  text-decoration: none;
  background: #fff;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.task-side-mini-card:hover,
.task-side-mini-card:focus-visible {
  border-color: #87b9c0;
  background: #f7fbfb;
  color: #0b5963;
  outline: none;
  transform: translateY(-1px);
}

.task-side-map-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
}

.task-side-map-pills a {
  display: inline-flex;
  min-width: 0;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 5px 7px;
  border: 1px solid #d9e4e7;
  border-radius: 7px;
  background: #fff;
  color: #29444b;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.task-side-map-pills a:hover,
.task-side-map-pills a:focus-visible {
  border-color: #87b9c0;
  background: #eef8f9;
  color: #0b5963;
  outline: none;
}

.task-side-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 14px;
  gap: 9px;
  align-items: center;
  min-height: 74px;
  padding: 10px;
  color: #203840;
  text-decoration: none;
  background: linear-gradient(180deg, #fbfdfd 0%, #eef4f6 100%);
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.task-side-card:hover,
.task-side-card:focus-visible {
  border-color: #87b9c0;
  background: #f7fbfb;
  color: #0b5963;
  outline: none;
  transform: translateY(-1px);
}

.task-side-card--primary {
  background: linear-gradient(180deg, #eef9fa 0%, #e4f0f2 100%);
}

.task-side-card__icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid #c7d5d9;
  border-radius: 7px;
  background: #fff;
  color: #0b7480;
  font-size: 15px;
}

.task-side-mini-card .task-side-card__icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  font-size: 13px;
}

.task-side-card__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.task-side-card__body strong {
  overflow: hidden;
  color: #142d34;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-side-card__body small {
  display: -webkit-box;
  overflow: hidden;
  color: #60747b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.task-side-mini-card .task-side-card__body strong {
  font-size: 12px;
}

.task-side-mini-card .task-side-card__body small {
  font-size: 11px;
  line-height: 1.3;
}

.task-side-card__arrow {
  color: #7c9299;
  font-size: 14px;
}

.task-article-content a {
  color: #087783;
  font-weight: 800;
  text-decoration: none;
}

.task-article-content a:hover,
.task-article-content a:focus-visible {
  color: #0a9aa7;
}

.task-article-content figure {
  margin: 16px 0 22px;
  border: 1px solid #d6e0e3;
  border-radius: 8px;
  background: #f7fafb;
  overflow: hidden;
}

.task-article-content figure img,
.task-article-content > img {
  display: block;
  width: 100%;
  border: 1px solid #d6e0e3;
  border-radius: 8px;
  background: #f3f7f8;
}

.task-article-content figure img {
  border: 0;
  border-radius: 0;
}

.task-article-content .task-item-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 10px;
  margin: 12px 0 22px;
}

.task-article-content .task-item-pair--single {
  grid-template-columns: minmax(150px, 190px);
}

.task-article-content .task-item-pair--single .task-item-figure img {
  max-height: 132px;
}

.task-article-content .task-item-figure {
  display: grid;
  min-height: 158px;
  justify-items: center;
  align-content: space-between;
  margin: 0;
  padding-top: 16px;
}

.task-article-content .task-item-figure img {
  width: auto;
  max-width: min(128px, 86%);
  max-height: 104px;
  object-fit: contain;
  background: #edf3f4;
}

.task-article-content .task-item-figure figcaption {
  width: 100%;
  margin-top: 10px;
  border-top: 1px solid #d6e0e3;
}

.task-article-content img.task-image-viewer-trigger,
.task-article-content .task-image-viewer-trigger img {
  cursor: zoom-in;
}

.task-article-content img.task-image-viewer-trigger:focus-visible,
.task-article-content .task-image-viewer-trigger:focus-visible {
  outline: 2px solid #0a9aa7;
  outline-offset: 3px;
}

.task-article-content figcaption {
  padding: 8px 11px;
  color: #526970;
  font-size: 13px;
  line-height: 1.45;
}

.task-inline-gallery {
  margin: 16px 0 22px;
}

.task-inline-gallery__stage {
  position: relative;
  border: 1px solid #d6e0e3;
  border-radius: 8px;
  background: #f7fafb;
  overflow: hidden;
}

.task-inline-gallery__frame {
  min-height: 220px;
  outline: none;
}

.task-inline-gallery__figure {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.task-inline-gallery__figure img {
  min-height: 220px;
  max-height: min(64vh, 560px);
  object-fit: contain;
  background: #edf3f4;
}

.task-inline-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(214, 224, 227, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #17323a;
  font: inherit;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.task-inline-gallery__nav--prev {
  left: 10px;
}

.task-inline-gallery__nav--next {
  right: 10px;
}

.task-inline-gallery__nav:hover,
.task-inline-gallery__nav:focus-visible {
  border-color: #0a9aa7;
  background: #0a9aa7;
  color: #fff;
  outline: none;
}

.task-inline-gallery__count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  min-width: 44px;
  padding: 3px 8px;
  border: 1px solid rgba(214, 224, 227, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #274149;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
}

.task-inline-gallery__thumbs {
  display: grid;
  grid-auto-columns: 92px;
  grid-auto-flow: column;
  gap: 8px;
  margin-top: 8px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #9fb7bd #edf3f4;
}

.task-inline-gallery__thumbs::-webkit-scrollbar {
  height: 8px;
}

.task-inline-gallery__thumbs::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #edf3f4;
}

.task-inline-gallery__thumbs::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #9fb7bd;
}

.task-inline-gallery__thumb {
  width: 92px;
  height: 58px;
  padding: 0;
  border: 1px solid #d6e0e3;
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}

.task-inline-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.task-inline-gallery__thumb.is-active,
.task-inline-gallery__thumb:hover,
.task-inline-gallery__thumb:focus-visible {
  border-color: #0a9aa7;
  outline: none;
}

.task-article-content .task-video-card {
  margin: 10px 0 18px;
  border: 1px solid #d6e0e3;
  border-radius: 8px;
  background: #f7fafb;
  overflow: hidden;
}

.task-article-content .task-video-card .task-video-title {
  margin: 0;
  padding: 10px 12px;
  border-bottom: 1px solid #d6e0e3;
  background: #fff;
  color: #17323a;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
}

.task-article-content .task-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #102027;
}

.task-article-content .task-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.task-article-content .task-video-body {
  padding: 10px 12px 12px;
}

.task-article-content .task-video-links {
  display: grid;
  gap: 7px;
  margin: 10px 0 18px;
}

.task-article-content .task-video-links--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.task-article-content .task-video-links--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.task-article-content .task-video-links a {
  display: flex;
  min-width: 0;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 10px;
  border: 1px solid #d6e0e3;
  border-radius: 7px;
  background: #fff;
  color: #274149;
  font-size: 13px;
  font-weight: 900;
}

.task-article-content .task-video-links--compact a {
  min-height: 36px;
  justify-content: flex-start;
}

.task-article-content .task-video-links a:hover,
.task-article-content .task-video-links a:focus-visible {
  border-color: #0a9aa7;
  color: #087783;
}

.task-article-content .task-video-links span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-article-content .task-video-site-icon {
  flex: 0 0 auto;
  width: 16px;
  color: #fb7299;
  font-size: 14px;
  text-align: center;
}

.task-article-content .task-video-links small {
  flex: 0 0 auto;
  color: #60747b;
  font-size: 12px;
  font-weight: 800;
}

.task-article-content .task-video-links .task-video-search-badge {
  padding: 2px 7px;
  border: 1px solid #d6e0e3;
  border-radius: 999px;
  background: #f7fafb;
  color: #087783;
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
}

.task-article-prenext {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.task-article-prenext a,
.task-article-prenext span {
  display: flex;
  min-height: 54px;
  min-width: 0;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #d6e0e3;
  border-radius: 8px;
  background: #fff;
  color: #274149;
  font-weight: 800;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.task-article-prenext a {
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.task-article-prenext a:hover,
.task-article-prenext a:focus-visible {
  border-color: #87b9c0;
  background: #f5fbfc;
  color: #0b5963;
  outline: none;
}

.task-article-prenext span {
  color: #6a7b81;
  background: #f8fbfb;
}

.task-image-viewer-open {
  overflow: hidden;
}

.task-image-viewer[hidden] {
  display: none;
}

.task-image-viewer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 24, 28, 0.78);
}

.task-image-viewer__dialog {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1180px, 100%);
  max-height: calc(100vh - 48px);
  border: 1px solid rgba(218, 230, 234, 0.28);
  border-radius: 8px;
  background: #101d22;
  overflow: hidden;
}

.task-image-viewer__bar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(218, 230, 234, 0.16);
  color: #e7f0f2;
}

.task-image-viewer__caption {
  margin: 0;
  min-width: 0;
  color: #dce8eb;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.task-image-viewer__close {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(218, 230, 234, 0.3);
  border-radius: 7px;
  background: #18292f;
  color: #eef6f7;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.task-image-viewer__close:hover,
.task-image-viewer__close:focus-visible {
  border-color: #0a9aa7;
  background: #0a9aa7;
  outline: none;
}

.task-image-viewer__img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 106px);
  margin: auto;
  object-fit: contain;
  background: #0f1c21;
}

.task-list-hero {
  padding: 20px 24px;
  background: #fff;
}

.task-list-hero h1 {
  margin: 0;
  color: #222226;
  font-size: clamp(34px, 4.2vw, 48px);
  font-weight: 950;
  line-height: 1.08;
}

.task-list-hero p {
  max-width: 860px;
  margin: 8px 0 0;
  color: #6b6b6b;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
}

.task-list-tools {
  margin-top: 14px;
  padding: 16px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.task-list-tools__row {
  display: grid;
  grid-template-columns: minmax(220px, 1.7fr) repeat(2, minmax(150px, 1fr)) minmax(118px, .72fr) auto;
  gap: 10px;
  align-items: end;
}

.task-list-field {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: #555666;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.task-list-field input,
.task-list-field select,
.task-list-clear {
  width: 100%;
  min-height: 42px;
  border: 1px solid #e8e8ed;
  border-radius: 8px;
  background: #fff;
  color: #222226;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.task-list-field input,
.task-list-field select {
  padding: 0 11px;
}

.task-list-field input:focus,
.task-list-field select:focus,
.task-list-clear:focus-visible {
  border-color: #3b82f6;
  background: #fff;
  outline: 2px solid rgba(59, 130, 246, .18);
  outline-offset: 1px;
}

.task-list-clear {
  padding: 0 15px;
  background: #3b82f6;
  color: #fff;
  cursor: pointer;
}

.task-list-clear:hover,
.task-list-clear:focus-visible {
  background: #2563eb;
}

.task-list-filter-status {
  margin: 10px 0 0;
  color: #6b6b6b;
  font-size: 13px;
  font-weight: 400;
}

.task-trader-quicknav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.task-trader-quicknav[hidden] {
  display: none;
}

.task-trader-entry {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 58px;
  padding: 8px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #222226;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  text-decoration: none;
  transition: box-shadow .16s ease, transform .16s ease, background-color .16s ease, color .16s ease;
}

.task-trader-entry:hover,
.task-trader-entry:focus-visible {
  background: #fff;
  color: #3b82f6;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  transform: translateY(-1px);
}

.task-trader-entry.is-active {
  background: #eef4ff;
  color: #1d4ed8;
  box-shadow: inset 0 0 0 1px #3b82f6;
}

.task-trader-entry__avatar {
  display: block;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 1px solid #d8e4e7;
  border-radius: 50%;
  background: #eef4f5;
}

.task-trader-entry__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.task-trader-entry__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.task-trader-entry__text strong,
.task-trader-entry__text span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-trader-entry__text strong {
  color: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.task-trader-entry__text span {
  color: #60777e;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.2;
}

.task-trader-entry em {
  display: inline-flex;
  min-width: 30px;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid #e8e8ed;
  border-radius: 999px;
  background: #f5f6f7;
  color: #6b6b6b;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.task-map-quicknav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.task-map-quicknav[hidden] {
  display: none;
}

.task-map-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #222226;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  text-decoration: none;
  transition: box-shadow .16s ease, transform .16s ease, background-color .16s ease, color .16s ease;
}

.task-map-entry:hover,
.task-map-entry:focus-visible {
  background: #fff;
  color: #3b82f6;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  transform: translateY(-1px);
}

.task-map-entry.is-active {
  background: #eef4ff;
  color: #1d4ed8;
  box-shadow: inset 0 0 0 1px #3b82f6;
}

.task-map-entry strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-map-entry em {
  display: inline-flex;
  min-width: 28px;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border: 1px solid #e8e8ed;
  border-radius: 999px;
  background: #f5f6f7;
  color: #6b6b6b;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.task-map-entry.is-active em {
  border-color: #3b82f6;
  background: #fff;
  color: #1d4ed8;
}

.task-trader-entry.is-active em {
  border-color: #3b82f6;
  background: #fff;
  color: #1d4ed8;
}

.task-list-dynamic {
  margin-top: 14px;
}

.task-list-dynamic[hidden],
.task-list-grid[hidden] {
  display: none !important;
}

.task-list-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 30px;
  color: #253b43;
  font-size: 14px;
}

.task-list-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 13px;
}

.task-list-hero,
.task-list-card {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.task-list-card {
  overflow: hidden;
}

.task-list-card a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.task-list-card--intel {
  min-height: 208px;
  background: #fff;
  transition: box-shadow .16s ease, transform .16s ease;
}

.task-list-card--intel:hover,
.task-list-card--intel:focus-within {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  transform: translateY(-1px);
}

.task-intel-card {
  display: grid !important;
  grid-template-rows: auto auto minmax(42px, auto) 1fr;
  gap: 8px;
  padding: 12px;
}

.task-intel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  min-width: 0;
}

.task-intel-title {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.task-intel-title strong {
  display: block;
  overflow: hidden;
  color: #0d2027;
  font-size: 19px;
  font-weight: 950;
  line-height: 1.22;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-intel-title span {
  display: block;
  overflow: hidden;
  margin: 0;
  color: #667b81;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.task-intel-priority {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid #b7862b;
  border-radius: 999px;
  background: #fff8e8;
  color: #734f10;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.task-intel-priorities {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
  min-width: 0;
}

.task-intel-priority--lightkeeper {
  border-color: #9b83b6;
  background: #f7f1ff;
  color: #5c3f78;
}

.task-intel-meta,
.task-intel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.task-intel-meta em,
.task-intel-chips em {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  max-width: 100%;
  padding: 0 7px;
  border: 1px solid #d6e0e3;
  border-radius: 999px;
  background: #f7fafb;
  color: #29444b;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.15;
}

.task-intel-objective {
  display: -webkit-box;
  overflow: hidden;
  min-height: 42px;
  margin: 0;
  color: #162d34;
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1.52;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.task-intel-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  min-width: 0;
}

.task-intel-row b {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  justify-content: center;
  color: #6b7b80;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

.task-intel-chips--prep em {
  border-color: #c7dbcf;
  background: #f2faf5;
  color: #275842;
}

.task-intel-chips--risk em {
  border-color: #e5c9a1;
  background: #fff6ea;
  color: #7a4b16;
}

.task-intel-chips--chain em {
  border-color: #cbd6e4;
  background: #f4f7fb;
  color: #344d70;
}

.task-list-cover {
  display: block;
  aspect-ratio: 16 / 7.8;
  background: #e8f0f2;
  overflow: hidden;
}

.task-list-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.task-list-body {
  display: block;
  padding: 9px;
}

.task-list-body strong {
  display: block;
  color: #132a31;
  font-size: 14px;
  line-height: 1.35;
}

.task-list-body span {
  margin-top: 4px;
  color: #526970;
  font-size: 11.5px;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.task-list-body .task-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.task-list-body .task-list-meta em {
  min-height: 20px;
  padding: 0 5px;
  font-size: 10px;
}

/* 任务列表分页：LightSNS 浅色胶囊分页 */
.task-article-list-page .pglist.task-list-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin: 28px 0 4px;
  padding: 0;
  text-align: center;
  clear: both;
  color: #777;
}

.task-article-list-page .pglist.task-list-pager .task-list-pager__summary {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 11px;
  border: 1px solid #e8e8ed;
  border-radius: 7px;
  background: #fff;
  color: #6b6b6b;
  font-size: 12px;
  line-height: 1.2;
}

.task-article-list-page .pglist.task-list-pager .task-list-pager__pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.task-article-list-page .pglist.task-list-pager .task-list-pager__pages li {
  min-height: 0;
  margin: 0;
  padding: 0;
  line-height: normal;
}

.task-article-list-page .pglist.task-list-pager .task-list-pager__pages a,
.task-article-list-page .pglist.task-list-pager .task-list-pager__pages span,
.task-article-list-page .pglist.task-list-pager .task-list-pager__pages button {
  box-sizing: border-box;
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #e8e8ed;
  border-radius: 10px;
  background: #fff;
  color: #222226;
  font: inherit;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
}

.task-article-list-page .pglist.task-list-pager .task-list-pager__pages a:hover,
.task-article-list-page .pglist.task-list-pager .task-list-pager__pages a:focus-visible {
  border-color: #3b82f6;
  background: #fff;
  color: #3b82f6;
  outline: 0;
}

.task-article-list-page .pglist.task-list-pager .task-list-pager__pages .hover,
.task-article-list-page .pglist.task-list-pager .task-list-pager__pages [aria-current="page"] {
  border-color: #3b82f6;
  background: #3b82f6;
  color: #fff;
  font-weight: 900;
  box-shadow: none;
}

.task-article-list-page .pglist.task-list-pager .task-list-pager__pages [aria-disabled="true"] {
  border-color: #e8e8ed;
  background: #f5f6f7;
  color: #b0b3bb;
}

.task-article-list-page .pglist.task-list-pager .task-list-pager__ellipsis {
  border-color: transparent;
  background: transparent;
  color: #b0b3bb;
}

@media (max-width: 760px) {
  .task-article-list-page .pglist.task-list-pager {
    gap: 8px;
    margin-top: 18px;
  }

  .task-article-list-page .pglist.task-list-pager .task-list-pager__pages a,
  .task-article-list-page .pglist.task-list-pager .task-list-pager__pages span,
  .task-article-list-page .pglist.task-list-pager .task-list-pager__pages button {
    min-width: 40px;
    min-height: 44px;
    font-size: 13px;
    padding: 0 8px;
  }
}

@media (max-width: 1319px) {
  .task-mobile-toc {
    position: sticky;
    top: 64px;
    z-index: 60;
    display: grid;
    grid-auto-columns: max-content;
    grid-auto-flow: column;
    gap: 8px;
    margin: 0 0 12px;
    padding: 8px;
    border: 1px solid #d6e0e3;
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 6px 18px rgba(25, 79, 89, .08);
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .task-mobile-toc a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid #d6e0e3;
    border-radius: 7px;
    background: #f8fbfb;
    color: #29444b;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
  }

  .task-mobile-toc a.is-current,
  .task-mobile-toc a:hover,
  .task-mobile-toc a:focus-visible {
    border-color: #0b7480;
    background: #0b7480;
    color: #fff;
    outline: none;
  }
}

@media (max-width: 980px) {
  .task-article-layout {
    grid-template-columns: 1fr;
  }

  .task-article-side-wrap {
    position: static;
    max-height: none;
    padding-right: 0;
  }

  .task-article-side {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    order: 2;
    max-height: none;
    overflow: visible;
  }

  .task-side-scrollbar {
    display: none;
  }

  .task-side-image-card,
  .task-side-card,
  .task-side-mini-card,
  .task-side-module {
    min-width: 0;
  }

  .task-side-card {
    min-height: 68px;
  }

  .task-list-tools__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .task-trader-quicknav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .task-map-quicknav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .task-list-field--wide,
  .task-list-clear {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .task-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .task-trader-quicknav,
  .task-map-quicknav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body.task-article-page {
    font-size: 14px;
  }

  .task-article-main {
    padding: 16px 0 24px;
  }

  .task-article-wrap {
    width: calc(100% - 20px);
  }

  .task-article-card {
    padding: 17px 16px 20px;
  }

  .task-article-head-main {
    gap: 10px;
    align-items: center;
  }

  .task-article-head h1 {
    font-size: 32px;
  }

  .task-article-original {
    font-size: 15px;
  }

  .task-article-trader {
    width: 70px;
    padding: 6px 5px;
  }

  .task-article-trader img {
    width: 54px;
    height: 54px;
  }

  .task-article-trader span {
    font-size: 11px;
  }

  .task-article-content {
    padding-top: 18px;
  }

  .task-article-content h2 {
    margin-top: 26px;
    font-size: 22px;
  }

  .task-article-content th,
  .task-article-content td {
    display: block;
    width: 100%;
    padding: 9px 10px;
  }

  .task-article-content th {
    white-space: normal;
  }

  .task-article-content th {
    padding-bottom: 2px;
    border-bottom: 0;
    min-width: 0;
  }

  .task-article-content td {
    padding-top: 2px;
  }

  .task-article-prenext,
  .task-list-grid,
  .task-article-side {
    grid-template-columns: 1fr;
  }

  .task-article-side .task-side-card,
  .task-article-side .task-side-module {
    grid-column: 1 / -1;
  }

  .task-list-hero {
    padding: 18px 16px;
  }

  .task-mobile-toc {
    top: 56px;
    margin-bottom: 10px;
    padding: 7px;
  }

  .task-mobile-toc a,
  .task-list-field input,
  .task-list-field select,
  .task-list-clear,
  .task-list-pager a,
  .task-list-pager span {
    min-height: 44px;
  }

  .task-list-tools {
    padding: 12px;
  }

  .task-trader-quicknav,
  .task-map-quicknav {
    display: grid;
    grid-auto-columns: minmax(156px, 72vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .task-trader-entry {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 58px;
    padding: 8px;
  }

  .task-trader-entry__avatar {
    width: 42px;
    height: 42px;
  }

  .task-trader-entry__text strong {
    font-size: 14px;
  }

  .task-trader-entry__text span {
    font-size: 11px;
  }

  .task-trader-entry em {
    min-width: 30px;
    min-height: 24px;
    padding: 0 7px;
    font-size: 11px;
  }

  .task-map-entry {
    min-height: 44px;
  }

  .task-map-entry strong {
    font-size: 14px;
  }

  .task-list-card--intel {
    min-height: 0;
  }

  .task-intel-card {
    gap: 9px;
    padding: 13px;
  }

  .task-intel-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .task-intel-title strong {
    overflow: visible;
    font-size: 20px;
    line-height: 1.25;
    text-overflow: clip;
    white-space: normal;
  }

  .task-intel-priority {
    width: max-content;
  }

  .task-article-content .task-video-links a {
    min-height: 38px;
  }

  .task-article-content .task-video-links--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .task-article-content .task-item-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .task-inline-gallery__frame,
  .task-inline-gallery__figure img {
    min-height: 180px;
  }

  .task-inline-gallery__figure img {
    max-height: 62vh;
  }

  .task-inline-gallery__nav {
    width: 32px;
    height: 40px;
    font-size: 24px;
  }

  .task-inline-gallery__nav--prev {
    left: 7px;
  }

  .task-inline-gallery__nav--next {
    right: 7px;
  }

  .task-inline-gallery__count {
    right: 7px;
    bottom: 7px;
    min-width: 38px;
    padding: 2px 7px;
    font-size: 11px;
  }

  .task-inline-gallery__thumbs {
    grid-auto-columns: 76px;
  }

  .task-inline-gallery__thumb {
    width: 76px;
    height: 50px;
  }

  .task-image-viewer {
    padding: 10px;
  }

  .task-image-viewer__dialog {
    max-height: calc(100vh - 20px);
  }

  .task-image-viewer__bar {
    padding: 8px;
  }

  .task-image-viewer__caption {
    font-size: 13px;
  }

  .task-image-viewer__close {
    min-height: 32px;
    padding: 0 10px;
  }

  .task-image-viewer__img {
    max-height: calc(100vh - 82px);
  }

  .task-article-page .takefu-api-bottom-ad {
    margin-bottom: 56px;
  }
}

@media (max-width: 430px) {
  .task-article-content .task-video-links--compact {
    grid-template-columns: 1fr;
  }

  .task-article-content .task-video-links--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .task-article-content .task-video-links .task-video-search-badge {
    padding: 2px 5px;
    font-size: 10px;
  }
}

@media (min-width: 360px) and (max-width: 700px) {
  .task-article-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .task-article-side .task-side-card,
  .task-article-side .task-side-module {
    grid-column: 1 / -1;
  }
}



/* ==========================================================================
   2026-10-17 任务页右侧栏：与物品页侧栏统一为同一套卡片语言
   （顶部细线分区 + 双列胶囊 + 末尾一张白卡）。
   仅作用于任务页裸 aside（.task-article-side 且无 .item-guide-side）；
   选择器前缀 html body.task-article-page 是为了压过 task-home-style.css
   里 body.task-article-page.task-home-style-page 那套皮肤规则。
   ========================================================================== */
@media (min-width: 861px) {
  html body.task-article-page .task-article-side:not(.item-guide-side) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  html body.task-article-page .task-article-side:not(.item-guide-side) > * {
    grid-column: 1 / -1;
  }

  /* 本任务的两张地图缩略卡并排成一行 */
  html body.task-article-page .task-article-side:not(.item-guide-side) > .task-side-image-card {
    grid-column: auto;
  }
}

html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-image-card {
  grid-template-rows: auto auto;
  gap: 6px;
  min-height: 0;
  padding: 6px;
  border: 1px solid #e3e5f1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(15 23 42 / 2%), 0 2px 5px rgb(15 23 42 / 4%);
}

html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-image-card:hover,
html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-image-card:focus-visible {
  border-color: #bfd4f7;
  background: #fff;
  color: #1d4ed8;
  box-shadow: 0 6px 16px rgb(37 99 235 / 14%);
  transform: translateY(-1px);
}

html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-image-card--primary {
  background: #fff;
}

html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-image-card__thumb {
  min-height: 0;
  aspect-ratio: 16 / 10;
  border-radius: 7px;
  background: #eef2f8;
}

html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-image-card__title {
  overflow: hidden;
  padding: 0 1px 2px;
  color: #17202c;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-module {
  gap: 9px;
  padding: 13px 0 0;
  border: 0;
  border-top: 1px solid #dce5ee;
  border-radius: 0;
  background: transparent;
}

html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-module__head {
  padding-bottom: 0;
  border-bottom: 0;
}

html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-module__head h2 {
  color: #17202c;
  font-size: 14px;
  font-weight: 900;
}

html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-module__head h2 i {
  margin-right: 5px;
  color: #2563eb;
  font-size: 13px;
}

/* 本任务地图：两张缩略卡并排 */
html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-module--maps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-module--maps .task-side-module__head {
  grid-column: 1 / -1;
}

html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-module__head a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
}

html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-map-pills {
  gap: 7px;
}

html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-map-pills a {
  overflow: hidden;
  min-height: 34px;
  padding: 5px 6px;
  border: 1px solid #dfe7ef;
  border-radius: 7px;
  background: #fff;
  color: #315f9d;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-map-pills a:hover,
html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-map-pills a:focus-visible {
  border-color: #9fc5f8;
  background: #eef5ff;
  color: #1d4ed8;
}

/* 任务扩展：整栏唯一一张卡片，排到地图分区之后 */
html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-module--compact {
  order: 5;
  gap: 10px;
  margin-top: 4px;
  padding: 14px;
  border: 1px solid #e3e5f1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(15 23 42 / 2%), 0 2px 5px rgb(15 23 42 / 4%), 0 14px 30px rgb(73 66 137 / 6%);
}

html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-module--compact .task-side-module__head {
  margin-bottom: 2px;
}

html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-mini-card {
  grid-template-columns: 28px minmax(0, 1fr) 12px;
  gap: 9px;
  min-height: 52px;
  padding: 9px;
  border: 1px solid #e5e7f1;
  border-radius: 10px;
  background: #fbfbfe;
}

html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-mini-card:hover,
html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-mini-card:focus-visible {
  border-color: #bfd4f7;
  background: #eef5ff;
  color: #1d4ed8;
  box-shadow: 0 4px 12px rgb(37 99 235 / 10%);
}

html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-mini-card .task-side-card__icon {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: #eef5ff;
  color: #2563eb;
  font-size: 13px;
}

html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-mini-card .task-side-card__body strong {
  color: #17202c;
  font-size: 12.5px;
}

html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-mini-card .task-side-card__body small {
  color: #64748b;
  font-size: 11px;
}

html body.task-article-page .task-article-side:not(.item-guide-side) .task-side-card__arrow {
  color: #9aa8b8;
}
