#tab-widget-artalk {
  border-radius: 12px;
  color: #000;
  font-size: calc(var(--fsp) * 0.85);
  line-height: 1.4;
  font-family: "LXGW WenKai Screen", system-ui, "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  -webkit-tap-highlight-color: transparent;
  word-break: break-all;
  text-align: justify;
  outline: 0;
  user-select: none;
}

.widget-body:has(#tab-widget-artalk) {
  background: transparent !important;
}

.widget-header.dis-select {
  font-family: "LXGW WenKai Screen", system-ui, "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  -webkit-tap-highlight-color: transparent;
  word-break: break-all;
  text-align: justify;
  visibility: visible;
  outline: 0;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  line-height: 28px;
  font-weight: 500;
  font-size: .8125rem;
  color: var(--text-p1);
}

#tab-widget-artalk .widget-header.dis-select {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.widget-header .tab-title {
  font-size: inherit;
  font-weight: inherit;
  color: var(--text-p1);
  margin: 0;
}

.widget-header .cap-action {
  display: flex;
  gap: 12px;
}

.widget-header .icon-button {
  cursor: pointer;
  color: var(--text-p2);
  padding: 4px;
  border-radius: 6px;
  outline: 0;
}

/* 新增深色模式样式 */
@media (prefers-color-scheme: dark) {
  .widget-header .cap-action .icon-button {
    color: white !important;
  }
}

.widget-header .icon-button svg {
  width: 15.6px;
  height: 15.6px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.tab-content {
  display: none;
  padding: 0;
}

.tab-content.active {
  display: block;
}

.article-item {
  margin-bottom: 4px;
  padding: 4px 10px 4px 22px;
  border-radius: 8px;
  color: #000;
  position: relative;
  font-size: 0.95em;
  display: flex;
  align-items: center;
  height: 32px;
  font-size: 12px;
}

.tab-content .article-item:last-child {
  margin-bottom: 8px;
}

.article-item a {
  color: #000;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  padding-left: 10px;
  font-weight: 500;
  flex: 1;
}

.article-item .meta {
  display: none;
}

badge.img-badge.left.hot.em12 {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

badge.img-badge.left.hot.em12 svg {
  width: 12px;
  height: 12px;
}

badge.img-badge.left.hot.em12.top1  { background: #FF3B30; }
badge.img-badge.left.hot.em12.top2  { background: #FF958C; }
badge.img-badge.left.hot.em12.top3  { background: #FF9500; }
badge.img-badge.left.hot.em12.top4,
badge.img-badge.left.hot.em12.top5,
badge.img-badge.left.hot.em12.top6,
badge.img-badge.left.hot.em12.top7,
badge.img-badge.left.hot.em12.top8,
badge.img-badge.left.hot.em12.top9,
badge.img-badge.left.hot.em12.top10 { background: #8E8E93; }

.loading {
  text-align: center;
  padding: 20px;
  color: #555;
}

#tab-widget-artalk {
  --bg-a100: transparent !important;
}

.icon-button,
.icon-button:hover,
.icon-button:focus,
.icon-button:active {
  background-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}