
:root {
  --c1: #8b5cf6;
  --c2: #d946ef;
  --c3: #f472b6;
  --grad: linear-gradient(135deg, var(--c1), var(--c2), var(--c3));
  --ink: #1f2937;
  --ink-2: #6b7280;
  --ink-3: #9ca3af;
  --bg: #f4f2fa;
  --card: #ffffff;
  --line: #efeaf7;
  --shadow: 0 2px 10px rgba(139, 92, 246, .07), 0 8px 24px rgba(139, 92, 246, .05);
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  overflow-x: hidden;
  max-width: 100%;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { border: none; background: none; font-family: inherit; }

.w-page {
  max-width: 480px; margin: 0 auto; min-height: 100vh; width: 100%;
  background: var(--bg); overflow-x: hidden;
  box-shadow: 0 0 40px rgba(0, 0, 0, .06);
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}
.w-main { padding: 12px 12px 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.w-card {
  background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 14px;
  min-width: 0; max-width: 100%;
}

.w-block-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; min-width: 0; }
.w-block-head .w-section-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-block-head .w-more { flex: none; }
.w-section-title {
  font-size: 16px; font-weight: 800; position: relative; padding-bottom: 6px;
}
.w-section-title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 26px; height: 3px; border-radius: 2px; background: var(--grad);
}
.w-more { font-size: 12px; color: var(--ink-3); }
.w-more::after { content: " ›"; }
.w-empty { text-align: center; color: var(--ink-3); padding: 26px 0; }

.w-dt-marquee .w-section-title { margin-bottom: 10px; }
.w-dt-marquee .mq-row { overflow: hidden; }
.w-dt-marquee .mq-row + .mq-row { margin-top: 8px; }
.w-dt-marquee .mq-track { display: flex; width: max-content; animation: mqScrollLtr 22s linear infinite; will-change: transform; }
.w-dt-marquee .mq-rev .mq-track { animation-name: mqScrollRtl; }
.w-dt-marquee .mq-static .mq-track { animation: none; }
.w-dt-marquee .mq-set { display: flex; gap: 8px; padding-right: 8px; }
.w-dt-marquee .mq-item { flex: none; width: 86px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 4px; border: 1px solid var(--line, #eee); border-radius: 10px; background: #fff; }
.w-dt-marquee .mq-item img { width: 42px; height: 42px; border-radius: 9px; object-fit: cover; background: #f0eefb; }
.w-dt-marquee .mq-name { font-size: 11px; color: var(--ink-2, #555); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes mqScrollLtr { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes mqScrollRtl { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.w-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(239, 234, 247, .8);
}
.w-header-bar {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px 6px;
}
.w-logo { display: flex; align-items: center; gap: 5px; flex: none; }
.w-logo .w-logo-img { height: 26px; width: auto; max-width: 120px; object-fit: contain; display: block; }
.w-logo-icon { font-size: 20px; }
.w-logo-text {
  font-size: 16px; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.w-search {
  flex: 1; display: flex; align-items: center;
  background: rgba(139, 92, 246, .07); border-radius: 18px; padding: 3px 6px 3px 14px;
}
.w-search input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 13px; color: var(--ink); min-width: 0;
}
.w-search button { font-size: 14px; padding: 4px 8px; }

.w-chnav {
  display: flex; gap: 22px; padding: 6px 14px 0;
  overflow-x: auto; scrollbar-width: none;
  touch-action: pan-x; -webkit-overflow-scrolling: touch;
}
.w-chnav::-webkit-scrollbar { display: none; }
.w-chnav-item {
  flex: none; position: relative; padding: 6px 0 10px;
  font-size: 14px; color: var(--ink-2); transition: all .2s;
}
.w-chnav-item.active {
  font-size: 16px; font-weight: 800; color: var(--ink);
}
.w-chnav-item.active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%);
  width: 20px; height: 3px; border-radius: 2px; background: var(--grad);
}

.w-banner { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.w-banner-track { display: flex; transition: transform .45s ease; }
.w-banner-slide { flex: 0 0 100%; position: relative; display: block; }
.w-banner-slide img { width: 100%; height: 160px; object-fit: cover; display: block; }
.w-banner-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 70px 10px 12px; color: #fff; font-size: 13px; font-weight: 600;
  background: linear-gradient(transparent, rgba(0, 0, 0, .45));
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.w-banner-dots {
  position: absolute; bottom: 10px; right: 12px; left: auto;
  display: flex; justify-content: flex-end; gap: 5px;
}
.w-banner-dots .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: all .25s; }
.w-banner-dots .dot.active { width: 16px; border-radius: 3px; background: #fff; }

.w-ess-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 6px; min-width: 0; }
.w-ess-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: transform .15s; min-width: 0;
}
.w-ess-item:active { transform: scale(.93); }
.w-ess-icon img {
  width: 52px; height: 52px; border-radius: 13px;
  box-shadow: 0 3px 8px rgba(139, 92, 246, .14);
}
.w-ess-name {
  font-size: 11px; color: var(--ink-2); max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.w-chips {
  display: flex; gap: 8px; margin-bottom: 12px;
  overflow-x: auto; scrollbar-width: none;
  touch-action: pan-x; -webkit-overflow-scrolling: touch;
}
.w-chips::-webkit-scrollbar { display: none; }
.w-chip {
  flex: none; padding: 5px 14px; border-radius: 15px; font-size: 12px;
  background: var(--bg); color: var(--ink-2); transition: all .2s; cursor: pointer;
}
.w-chip.active { background: var(--grad); color: #fff; font-weight: 600; }
.w-topic-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 12px; color: #fff; background: var(--grad); vertical-align: middle; font-style: normal; }
.w-appgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; min-width: 0; }
.w-app {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  transition: transform .15s; min-width: 0;
}
.w-app:active { transform: scale(.94); }
.w-app.hidden { display: none; }
.w-app-main { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 100%; min-width: 0; }
.w-app-icon img {
  width: 62px; height: 62px; border-radius: 15px;
  box-shadow: 0 4px 10px rgba(139, 92, 246, .15);
}
.w-app-name {
  font-size: 12px; font-weight: 600; max-width: 100%; width: 100%; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center;
}
.w-app-meta { font-size: 10px; color: var(--ink-3); }
.w-app-dl {
  font-size: 11px; padding: 3px 16px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 600;
  box-shadow: 0 3px 8px rgba(217, 70, 239, .3);
}

.w-news { position: relative; overflow: hidden; }
.w-watermark {
  position: absolute; top: -10px; right: 4px;
  font-size: 64px; font-weight: 900; letter-spacing: 3px;
  color: #f0eafe; pointer-events: none; user-select: none;
}
.w-news-lead { display: block; position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
.w-news-lead img { width: 100%; height: 150px; object-fit: cover; }
.w-news-lead-title {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px;
  color: #fff; font-size: 14px; font-weight: 700;
  background: linear-gradient(transparent, rgba(0, 0, 0, .72));
}
.w-news-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 14px; position: relative; min-width: 0; }
.w-news-item { display: flex; align-items: center; gap: 7px; padding: 4px 0; min-width: 0; }
.w-news-num {
  flex: none; width: 17px; height: 17px; border-radius: 50%;
  font-size: 10px; font-weight: 800; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.w-num-red { background: linear-gradient(135deg, #f43f5e, #fb7185); }
.w-num-orange { background: linear-gradient(135deg, #f97316, #fb923c); }
.w-num-blue { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.w-num-green { background: linear-gradient(135deg, #22c55e, #4ade80); }
.w-news-text {
  flex: 1; min-width: 0; font-size: 12px; color: var(--ink-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.w-topics-scroll {
  display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none;
  touch-action: pan-x; -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.w-topics-scroll::-webkit-scrollbar { display: none; }
.w-topic {
  flex: 0 0 62%; position: relative; border-radius: 14px; overflow: hidden;
  background: var(--card); box-shadow: var(--shadow);
  transition: transform .15s;
}
.w-topic:active { transform: scale(.97); }
.w-topic img { width: 100%; height: 130px; object-fit: cover; display: block; background: var(--grad); }
.w-topic-badge {
  position: absolute; top: 8px; left: 8px;
  padding: 2px 9px; border-radius: 10px; font-size: 10px; font-weight: 800; color: #fff;
  background: rgba(0, 0, 0, .4); backdrop-filter: blur(4px);
}
.w-topic-name {
  display: block; padding: 10px 12px 12px;
  color: var(--ink); font-size: 14px; font-weight: 700;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.w-topic-tags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-width: 0; }
.w-topic-tag {
  text-align: center; padding: 8px 4px; border-radius: 10px; font-size: 12px; min-width: 0;
  color: var(--c2); border: 1px solid transparent;
  border-image: linear-gradient(135deg, var(--c1), var(--c3)) 1;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, var(--c1), var(--c3)) border-box;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: transform .15s;
}
.w-topic-tag:active { transform: scale(.95); }

.w-rank-tabs { display: flex; gap: 8px; margin-bottom: 10px; min-width: 0; }
.w-rank-tab {
  flex: 1 1 0; min-width: 0; text-align: center; padding: 7px 4px; border-radius: 10px;
  font-size: 13px; color: var(--ink-2); background: var(--bg); cursor: pointer; transition: all .2s;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.w-rank-tab.active { background: var(--grad); color: #fff; font-weight: 700; }
.w-rank-list { display: none; min-width: 0; }
.w-rank-list.active { display: block; }
.w-rank-title { font-size: 14px; font-weight: 700; margin: 4px 0 10px; }
.w-rank-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 0;
  border-bottom: 1px dashed var(--line); min-width: 0;
}
.w-rank-item:last-child { border-bottom: none; }
.w-rank-num {
  flex: none; width: 22px; height: 22px; border-radius: 7px;
  font-size: 11px; font-weight: 800; color: var(--ink-3); background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.w-rank-num.top { background: var(--grad); color: #fff; }
.w-rank-main { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0; }
.w-rank-main img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.w-rank-name {
  flex: 1; min-width: 0; font-size: 13px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.w-rank-name-text { font-weight: 500; color: var(--ink-2); }
.w-rank-dl { flex: none; font-size: 11px; color: var(--ink-3); }

.w-links-row { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; }
.w-links-row a { font-size: 12px; color: var(--ink-2); }

.w-catlist { display: flex; flex-direction: column; }
.w-catlist-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.w-catlist-item:last-child { border-bottom: none; }
.w-catlist-main { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.w-catlist-icon { width: 52px; height: 52px; border-radius: 13px; flex: none; object-fit: cover; background: #ece7f6; box-shadow: 0 3px 8px rgba(139, 92, 246, .12); }
.w-catlist-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.w-catlist-name {
  font-size: 14px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.w-catlist-meta { font-size: 11px; color: var(--ink-3); }
.w-catlist .w-app-dl { flex: none; }

article.w-detail { display: flex; flex-direction: column; gap: 14px; }
.w-dt-head { display: flex; gap: 12px; align-items: flex-start; }
.w-dt-icon { width: 76px; height: 76px; border-radius: 18px; flex: none; box-shadow: 0 5px 14px rgba(139, 92, 246, .2); }
.w-dt-info { min-width: 0; flex: 1; }
.w-dt-name { font-size: 18px; font-weight: 800; margin-bottom: 3px; }
.w-dt-rating { font-size: 12px; color: #f59e0b; font-weight: 700; }
.w-dt-comments { color: var(--ink-3); font-weight: 400; }
.w-dt-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.w-dt-tag {
  padding: 2px 10px; border-radius: 11px; font-size: 10px; color: var(--c2);
  background: rgba(217, 70, 239, .09);
}
.w-dt-attrs { display: flex; justify-content: space-between; }
.w-dt-attr { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; font-weight: 600; }
.w-dt-attr i { font-style: normal; font-size: 10px; color: var(--ink-3); font-weight: 400; }
.w-dt-screens .w-section-title, .w-dt-content .w-section-title, .w-dt-related .w-section-title { margin-bottom: 10px; }
.w-screens-scroll {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  touch-action: pan-x; -webkit-overflow-scrolling: touch;
}
.w-screens-scroll::-webkit-scrollbar { display: none; }
.w-screens-scroll img { height: 220px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; flex: none; background: #f0eefb; }
.w-content-body { color: var(--ink-2); font-size: 13px; line-height: 1.9; overflow-wrap: break-word; word-break: break-word; }
.w-content-body img { border-radius: 10px; margin: 8px 0; max-width: 100%; height: auto; }
.w-content-body p { margin-bottom: 10px; }
.w-content-body video, .w-content-body iframe, .w-content-body embed, .w-content-body object { max-width: 100%; height: auto; }
.w-content-body table { max-width: 100%; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.w-content-body pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }

.w-dtbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; z-index: 110;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(139, 92, 246, .1);
}
.w-dtbar-icon { width: 42px; height: 42px; border-radius: 11px; flex: none; }
.w-dtbar-name {
  flex: 1; font-size: 14px; font-weight: 700; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.w-dtbar-btn {
  flex: none; padding: 9px 26px; border-radius: 20px;
  background: var(--grad); color: #fff; font-size: 14px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(217, 70, 239, .4);
}
.w-dtbar ~ *, article.w-detail { padding-bottom: 70px; }

.w-artlist { display: flex; flex-direction: column; }
.w-artlist-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.w-artlist-item:last-child { border-bottom: none; }
.w-artlist-item > a { flex: 1; min-width: 0; display: block; }
.w-artlist-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.w-artlist-thumb { width: 110px; height: 72px; border-radius: 10px; object-fit: cover; flex: none; }
.w-artlist-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.w-artlist-title {
  font-size: 14px; font-weight: 600; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.w-artlist-meta { font-size: 10px; color: var(--ink-3); }
.w-artdetail-title { font-size: 19px; font-weight: 800; line-height: 1.4; margin-bottom: 8px; }
.w-artdetail-meta { font-size: 11px; color: var(--ink-3); margin-bottom: 14px; line-height: 1.8; word-break: break-word; }

.w-topiclist { display: flex; flex-direction: column; gap: 12px; }
.w-topiclist-item { display: block; position: relative; border-radius: 14px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.w-topiclist-item img { width: 100%; height: 130px; object-fit: cover; display: block; background: var(--grad); }
.w-topiclist-name {
  display: block; padding: 10px 12px 12px;
  color: var(--ink); font-size: 15px; font-weight: 700;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.w-topicdetail-head { margin-bottom: 12px; }
.w-topicdetail-name { font-size: 19px; font-weight: 800; }
.w-topicdetail-desc { font-size: 12px; color: var(--ink-2); margin-top: 5px; }

.w-search-block { padding: 12px 14px; }
.w-search-form {
  display: flex; gap: 8px; background: var(--bg); border-radius: 20px; padding: 4px 4px 4px 14px;
}
.w-search-form input { flex: 1; border: none; outline: none; background: transparent; font-size: 13px; min-width: 0; }
.w-search-form button {
  flex: none; padding: 6px 18px; border-radius: 16px;
  background: var(--grad); color: #fff; font-size: 13px; font-weight: 600;
}
.w-search-count { font-size: 11px; color: var(--ink-3); margin-top: 10px; }

.w-tag-group {
  font-size: 13px; font-weight: 700; color: var(--ink-2);
  margin: 12px 0 4px; padding-left: 8px; border-left: 3px solid var(--c2);
}

.w-pseudo-head { margin-bottom: 12px; }
.w-pseudo-title { font-size: 19px; font-weight: 800; line-height: 1.4; }
.w-pseudo-desc { font-size: 12px; color: var(--ink-3); margin-top: 5px; }
.w-pseudo-thumb { width: 100%; border-radius: 12px; margin-bottom: 12px; }

.w-404 { text-align: center; padding: 50px 20px; }
.w-404-code {
  font-size: 60px; font-weight: 900;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.w-404-text { color: var(--ink-2); font-size: 13px; margin: 10px 0 22px; }
.w-404-btn {
  display: inline-block; padding: 10px 34px; border-radius: 22px;
  background: var(--grad); color: #fff; font-size: 14px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(217, 70, 239, .35);
}

.w-footer { padding: 18px 14px 14px; text-align: center; }
.w-footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 8px; }
.w-footer-links a { font-size: 11px; color: var(--ink-3); }
.w-footer-copy { font-size: 10px; color: var(--ink-3); opacity: .8; }

.w-tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; z-index: 100;
  display: flex;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.w-tabbar-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 0 6px; color: var(--ink-3); transition: transform .15s;
}
.w-tabbar-item:active { transform: scale(.92); }
.w-tabbar-icon { font-size: 18px; }
.w-tabbar-name { font-size: 10px; }
.w-tabbar-item.active { color: var(--c2); font-weight: 700; }
.w-tabbar-item.active .w-tabbar-icon { transform: translateY(-1px); }

.w-topics-scroll, .w-chips, .w-chnav, .w-screens-scroll { cursor: grab; }
.dragging, .dragging * { cursor: grabbing !important; user-select: none !important; }

.w-sort-bar { display: flex; gap: 8px; margin: 10px 0 6px; }
.w-sort { padding: 5px 16px; border-radius: 14px; font-size: 12px; color: var(--ink-2); border: 1px solid var(--line); background: var(--card); }
.w-sort.active { background: var(--grad); color: #fff; border-color: transparent; font-weight: 600; }
.w-catlist-date { font-size: 11px; color: var(--ink-3); }

.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pager-btn { min-width: 32px; height: 32px; padding: 0 9px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; color: var(--ink-2); background: var(--card); }
.pager-btn.active { background: var(--grad); border-color: transparent; color: #fff; font-weight: 700; }
.pager-ellipsis { color: var(--ink-3); padding: 0 2px; }

.w-dt-subname { font-style: normal; font-size: 11px; color: var(--ink-3); font-weight: 400; margin-left: 4px; }
.w-dt-line { font-size: 11px; color: var(--ink-2); margin: 4px 0; line-height: 1.6; }
.w-dt-attrs { flex-wrap: wrap; gap: 10px 0; }
.w-dt-attr { width: 33.33%; }
.w-dl-btns { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.w-dl-btns .w-dl-main-btn { margin: 0; }
.w-dl-main-btn { display: block; text-align: center; padding: 13px; border-radius: 14px; background: var(--grad); color: #fff; font-size: 15px; font-weight: 700; box-shadow: 0 8px 20px rgba(217, 70, 239, .3); }
.w-dl-main-btn:active { transform: scale(.98); }
.w-dl-btn-sub { background: #fff; color: var(--c1); border: 1.5px solid var(--c1); box-shadow: none; }

.w-artdetail-head { margin-bottom: 12px; }
.w-artdetail-subtitle { font-size: 13px; color: var(--ink-2); margin: -4px 0 8px; }
.w-artdetail-meta a { color: var(--c2); }
.w-artdetail-source { font-size: 11px; color: var(--ink-3); }
.w-artdetail-thumb { width: 100%; border-radius: 12px; margin: 0 0 12px; }
.w-artdetail-summary { background: #f7f5fd; border-left: 3px solid var(--c2); border-radius: 0 10px 10px 0; padding: 10px 12px; font-size: 12px; color: var(--ink-2); line-height: 1.8; margin-bottom: 12px; }
.w-art-tags { margin: 0 0 12px; }
.w-art-content { font-size: 14px; }
.w-art-copyright { font-size: 11px; color: var(--ink-3); padding: 12px 2px; line-height: 1.7; }
.w-art-prevnext { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 12px; }
.w-pn-row { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--card); border-radius: 12px; font-size: 12px; box-shadow: var(--shadow); }
.w-pn-label { flex: none; color: var(--c2); font-weight: 700; }
.w-pn-title { flex: 1; min-width: 0; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-pn-empty .w-pn-label, .w-pn-empty .w-pn-title { color: var(--ink-3); }

.w-topicdetail-banner { border-radius: 16px; padding: 26px 18px; margin-bottom: 12px; background: linear-gradient(135deg, #8b5cf6, #d946ef); color: #fff; background-size: cover; background-position: center; }
.w-topicdetail-banner .w-topicdetail-name { font-size: 20px; }
.w-topicdetail-meta { font-size: 11px; opacity: .82; margin-top: 8px; }
.w-topic-tabs { display: flex; gap: 8px; margin-bottom: 10px; }
.w-topic-tab { padding: 6px 18px; border-radius: 16px; font-size: 12px; background: var(--card); color: var(--ink-2); box-shadow: var(--shadow); }
.w-topic-tab.on { background: var(--grad); color: #fff; font-weight: 700; }
.w-topic-type { font-style: normal; font-size: 10px; padding: 1px 7px; border-radius: 9px; margin-right: 4px; }
.w-topic-type-mgame { background: #f4f1fd; color: #8b5cf6; }
.w-topic-type-software { background: #fdf2f8; color: #d946ef; }
.w-topic-type-article { background: #eff6ff; color: #3b82f6; }
.w-pager-wrap { padding: 6px 0 20px; }
.w-empty { text-align: center; color: var(--ink-3); padding: 30px 0; font-size: 13px; }

.w-dlpage { padding-bottom: 84px; }
.w-dl-hero { display: flex; gap: 14px; align-items: center; }
.w-dl-icon { width: 72px; height: 72px; border-radius: 18px; flex: none; box-shadow: 0 5px 14px rgba(139, 92, 246, .2); }
.w-dl-info { flex: 1; min-width: 0; }
.w-dl-name { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.w-dl-sub { font-size: 11px; color: var(--ink-2); }
.w-dl-badges { display: flex; gap: 8px; margin-top: 6px; font-size: 11px; color: var(--ink-3); }
.w-dl-badges span:first-child { color: #f59e0b; font-weight: 700; }
.w-dl-attrs { display: flex; flex-wrap: wrap; gap: 10px 0; }
.w-dl-btns { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.w-dl-btn { display: block; text-align: center; padding: 12px; border-radius: 14px; background: var(--card); color: var(--c1); border: 1px solid var(--c1); font-size: 14px; font-weight: 700; box-shadow: var(--shadow); }
.w-dl-btn-main { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(217, 70, 239, .3); }
.w-dl-tips .tip-list { padding-left: 18px; color: var(--ink-2); font-size: 12px; line-height: 2; }
.w-dt-related .w-ess-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.w-dl-extra .w-section-title { margin-bottom: 10px; }
.w-dl-hscroll {
  display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none;
  touch-action: pan-x; -webkit-overflow-scrolling: touch; margin: 0 -2px; padding: 2px;
}
.w-dl-hscroll::-webkit-scrollbar { display: none; }
.w-dl-recent { flex: none; width: 60px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.w-dl-recent img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: #f0eefb; box-shadow: var(--shadow); }
.w-dl-recent span {
  font-size: 11px; color: var(--ink); text-align: center; width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.w-dl-topic { flex: none; width: 132px; }
.w-dl-topic img { width: 132px; height: 82px; border-radius: 10px; object-fit: cover; display: block; background: var(--grad); }
.w-dl-topic span {
  display: block; font-size: 12px; color: var(--ink); font-weight: 600; margin-top: 6px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.w-dl-guides { display: flex; flex-direction: column; }
.w-dl-guides li { border-bottom: 1px dashed var(--line); }
.w-dl-guides li:last-child { border-bottom: none; }
.w-dl-guides a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.w-dl-guide-name {
  flex: 1; min-width: 0; font-size: 13px; color: var(--ink); line-height: 1.5;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.w-dl-guide-name::before { content: "·"; color: var(--c2); font-weight: 800; margin-right: 6px; }
.w-dl-guide-date { flex: none; font-size: 11px; color: var(--ink-3); }

.w-subcat { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.w-subcat-item { padding: 5px 15px; border-radius: 14px; font-size: 12px; color: var(--ink-2); background: var(--bg); }
.w-subcat-item.active { background: var(--grad); color: #fff; font-weight: 600; }

.w-catlist-num {
  flex: none; width: 22px; height: 22px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: var(--ink-3); background: var(--bg);
}
.w-catlist-num-1 { background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; }
.w-catlist-num-2 { background: linear-gradient(135deg, #8b5cf6, #a855f7); color: #fff; }
.w-catlist-num-3 { background: linear-gradient(135deg, #3b82f6, #60a5fa); color: #fff; }
.w-catlist.w-rank-list { display: none; }
.w-catlist.w-rank-list.active { display: flex; }
.w-rank .w-rank-tab { cursor: pointer; }

.w-news-card-list { display: flex; flex-direction: column; gap: 12px; }
.w-news-card { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; transition: transform .15s; }
.w-news-card:active { transform: scale(.98); }
.w-news-card-link { display: flex; gap: 10px; padding: 12px; }
.w-news-card-cover { width: 100px; height: 76px; border-radius: 10px; object-fit: cover; flex: none; }
.w-news-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.w-news-card-title {
  font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.w-news-card-desc {
  font-size: 11px; color: var(--ink-3); line-height: 1.5; margin: 3px 0;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.w-news-card-meta { display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--ink-3); }
.w-news-tag { padding: 1px 7px; border-radius: 8px; font-size: 10px; font-weight: 600; }
.w-tag-industry { background: #fff7ed; color: #f59e0b; }
.w-tag-game { background: #f4f1fd; color: #8b5cf6; }
.w-tag-report { background: #fdf2f8; color: #d946ef; }
.w-tag-tutorial { background: #eff6ff; color: #3b82f6; }

.w-topic-list { display: flex; flex-direction: column; gap: 14px; }
.w-topic-item { display: block; background: var(--card); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: transform .15s; }
.w-topic-item:active { transform: scale(.98); }
.w-topic-cover { width: 100%; height: 130px; object-fit: cover; display: block; background: var(--grad); }
.w-topic-body { padding: 12px 14px 14px; }
.w-topic-list .w-topic-name { display: block; position: static; padding: 0; background: none; text-shadow: none; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.w-topic-meta { display: flex; align-items: center; gap: 10px; font-size: 10px; color: var(--ink-3); margin-bottom: 6px; }
.w-topic-meta .t-count { color: var(--c2); font-weight: 700; }
.w-topic-desc {
  font-size: 12px; color: var(--ink-2); line-height: 1.6; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* 专题总入口：游戏/应用两大类卡片 */
.w-topic-cate { display: flex; flex-direction: column; gap: 12px; }
.w-topic-cate-card {
  display: flex; align-items: center; gap: 12px; padding: 18px 16px;
  border-radius: 14px; color: #fff; box-shadow: var(--shadow);
}
.w-topic-cate-card:active { transform: scale(.98); }
.w-topic-cate-game { background: linear-gradient(135deg, #7c3aed 0%, #d946ef 100%); }
.w-topic-cate-software { background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%); }
.w-topic-cate-ico {
  flex: none; width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center;
  font-size: 25px;
}
.w-topic-cate-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.w-topic-cate-name { font-size: 17px; font-weight: 800; }
.w-topic-cate-desc { font-size: 11px; opacity: .9; line-height: 1.5; }
.w-topic-cate-count { flex: none; font-size: 12px; font-weight: 700; opacity: .95; }

.w-art-slider { position: relative; border-radius: 12px; overflow: hidden; background: #efeaf9; touch-action: pan-x; }
.w-art-slider-track { display: flex; transition: transform .4s ease; -webkit-overflow-scrolling: touch; }
.w-art-slider-slide { position: relative; flex: none; width: 100%; display: block; }
.w-art-slider-slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; pointer-events: none; }
.w-art-slider-slide img.w-art-slider-appimg { object-fit: contain; padding: 22px; background: linear-gradient(135deg, #f4f1fd, #fdf2f8); }
.w-art-slider-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 40px 8px 10px;
  color: #fff; font-size: 12px; line-height: 1.4;
  background: linear-gradient(transparent, rgba(0, 0, 0, .66));
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.w-art-slider-dots { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 5px; z-index: 2; }
.w-art-slider-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: all .2s; }
.w-art-slider-dots span.active { width: 16px; border-radius: 3px; background: #fff; }

.w-artnews { display: flex; flex-direction: column; }
.w-artnews li { border-bottom: 1px dashed var(--line); }
.w-artnews li:last-child { border-bottom: none; }
.w-artnews-row { display: flex; gap: 10px; align-items: center; padding: 10px 0; }
.w-artnews-row img { width: 96px; height: 64px; border-radius: 9px; flex: none; object-fit: cover; background: #efeaf9; }
.w-artnews-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.w-artnews-name {
  font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.w-artnews-date { font-size: 10px; color: var(--ink-3); }

.w-artrank .w-catlist-num { width: 22px; }
.w-artrank .w-catlist-item { gap: 8px; }
.w-artrank .w-catlist-main { gap: 8px; }
.w-artrank .w-app-dl { padding: 3px 13px; }
.w-artgoodpush { margin-top: 2px; }
.w-artgoodpush .w-ess-name {
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 360px) {
  .w-news-grid { grid-template-columns: minmax(0, 1fr); }
  .w-rank-tabs { flex-wrap: wrap; }
  .w-appgrid { gap: 10px 4px; }
  .w-artnews-row img { width: 84px; height: 58px; }
  .w-artrank .w-catlist-icon { width: 46px; height: 46px; }
  .w-artrank .w-app-dl { padding: 3px 10px; }
  .w-artgoodpush { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 4px; }
  .w-artgoodpush .w-ess-icon img { width: 46px; height: 46px; }
}
