/*
 * Author: ThinkDIY
 * Website: https://www.thinkdiy.cn
 * Copyright (c) 2026 ThinkDIY
 */

@charset "UTF-8";

:root {
  --ta-primary: #2f7cf6;
  --ta-primary-dark: #1c62d6;
  --ta-primary-soft: rgba(47, 124, 246, 0.08);
  --ta-primary-line: rgba(47, 124, 246, 0.2);
  --ta-bg: #f5f7fa;
  --ta-card: #ffffff;
  --ta-text: #2b3038;
  --ta-text-soft: #5c6470;
  --ta-muted: #8b93a1;
  --ta-line: #e8ecf2;
  --ta-line-soft: #f0f3f7;
  --ta-dark-bg: #14171c;
  --ta-dark-card: #1b1f26;
  --ta-radius: 10px;
  --ta-radius-sm: 6px;
  --ta-shadow: 0 2px 10px rgba(23, 32, 45, 0.05);
  --ta-shadow-hover: 0 10px 28px -12px rgba(23, 32, 45, 0.18);
  --ta-wrap: 1200px;
  --ta-sidebar: 340px;
  --ta-gap: 28px;
  --ta-font: "Inter", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
    "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --ta-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ta-bg);
  color: var(--ta-text);
  font-family: var(--ta-font);
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.1px;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
  border: 0;
}

figure {
  margin: 0 0 1.4em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.55em;
  color: var(--ta-text);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.2px;
}

h1 {
  font-size: 32px;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 19px;
}
h4 {
  font-size: 16px;
}
h5 {
  font-size: 14px;
}
h6 {
  font-size: 12px;
}

p {
  margin: 0 0 1.3em;
}

a {
  color: var(--ta-primary);
  text-decoration: none;
  transition: color 0.2s var(--ta-ease), background-color 0.2s var(--ta-ease),
    border-color 0.2s var(--ta-ease), box-shadow 0.2s var(--ta-ease),
    transform 0.2s var(--ta-ease);
}

a:hover {
  color: var(--ta-primary-dark);
}

strong {
  font-weight: 700;
}

small {
  font-size: 12px;
}

hr {
  border: 0;
  border-top: 1px solid var(--ta-line);
  margin: 32px 0;
}

::selection {
  background: var(--ta-primary);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #eef1f5;
}

::-webkit-scrollbar-thumb {
  background: #c9d0da;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ta-primary);
}

blockquote {
  margin: 0 0 1.4em;
  padding: 18px 22px;
  border-left: 3px solid var(--ta-primary);
  background: var(--ta-primary-soft);
  border-radius: 0 var(--ta-radius-sm) var(--ta-radius-sm) 0;
  color: var(--ta-text-soft);
  font-size: 15px;
  line-height: 1.85;
}

blockquote p:last-child {
  margin-bottom: 0;
}

blockquote cite {
  display: block;
  margin-top: 8px;
  color: var(--ta-muted);
  font-size: 12px;
  font-style: normal;
}

code,
pre {
  font-family: "JetBrains Mono", Consolas, Monaco, monospace;
  font-size: 0.9em;
}

code {
  padding: 2px 6px;
  background: #f1f4f8;
  border-radius: 4px;
  color: #d6336c;
}

pre {
  margin: 0 0 1.4em;
  padding: 18px 20px;
  background: #161b22;
  color: #e6edf3;
  border-radius: var(--ta-radius-sm);
  overflow: auto;
  line-height: 1.7;
}

pre code {
  padding: 0;
  background: none;
  color: inherit;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.4em;
  font-size: 14px;
}

th,
td {
  padding: 10px 12px;
  border: 1px solid var(--ta-line);
  text-align: left;
}

thead th {
  background: #f7f9fc;
  font-weight: 600;
}

.ta-sr-only,
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  border: 0;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  clip-path: none;
  background: #fff;
  border-radius: 6px;
  box-shadow: var(--ta-shadow-hover);
  color: var(--ta-primary);
  font-size: 13px;
  z-index: 100000;
}

.ta-skip {
  position: absolute;
  left: -9999px;
}

.ta-skip:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  background: var(--ta-primary);
  color: #fff;
  z-index: 9999;
}

.ta-container {
  width: var(--ta-wrap);
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.ta-flex {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ta-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -3px;
}

.ta-icon--sm {
  width: 14px;
  height: 14px;
}

.ta-icon--lg {
  width: 20px;
  height: 20px;
}

.ta-icon--fill {
  fill: currentColor;
  stroke: none;
}

.ta-sep {
  color: var(--ta-line);
}

.ta-btn,
button,
input[type="submit"],
input[type="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--ta-primary);
  color: #fff;
  font-family: var(--ta-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: all 0.2s var(--ta-ease);
}

.ta-btn:hover,
button:hover,
input[type="submit"]:hover {
  background: var(--ta-primary-dark);
  color: #fff;
}

.ta-btn--ghost {
  background: transparent;
  border-color: var(--ta-line);
  color: var(--ta-text-soft);
}

.ta-btn--ghost:hover {
  background: var(--ta-primary-soft);
  border-color: var(--ta-primary-line);
  color: var(--ta-primary);
}

.ta-btn--block {
  width: 100%;
}

.ta-btn--sm {
  padding: 7px 14px;
  font-size: 13px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--ta-line);
  border-radius: 8px;
  background: #fff;
  color: var(--ta-text);
  font-family: var(--ta-font);
  font-size: 14px;
  line-height: 1.6;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--ta-primary);
  box-shadow: 0 0 0 3px var(--ta-primary-soft);
}

::placeholder {
  color: #aab1bc;
}

label {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--ta-text);
  font-size: 13px;
  font-weight: 500;
}

.ta-site {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.ta-main {
  flex: 1 0 auto;
  padding: 24px 0 56px;
}

.ta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--ta-sidebar);
  gap: var(--ta-gap);
  align-items: start;
}

.ta-layout--left {
  grid-template-columns: var(--ta-sidebar) minmax(0, 1fr);
}

.ta-layout--left > .ta-main-col {
  order: 2;
}

.ta-layout--left > .ta-sidebar {
  order: 1;
}

.ta-layout--full {
  grid-template-columns: minmax(0, 1fr);
}

.ta-home-layout {
  align-items: start;
}

.ta-main-col,
.ta-content {
  min-width: 0;
}

.ta-sidebar {
  min-width: 0;
}

.ta-sidebar.is-sticky {
  position: sticky;
  top: 84px;
  align-self: start;
}

body.admin-bar .ta-sidebar.is-sticky {
  top: calc(var(--ta-admin-offset, 32px) + 84px);
}

.ta-header {
  position: sticky;

  top: var(--ta-admin-offset, 0px);
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--ta-line);
  backdrop-filter: saturate(180%) blur(12px);
  transition: box-shadow 0.25s var(--ta-ease);
}

.ta-header.is-stuck {
  box-shadow: 0 6px 20px -14px rgba(23, 32, 45, 0.3);
}

.ta-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.ta-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex: 0 0 auto;
  color: var(--ta-text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  white-space: nowrap;
}

.ta-logo:hover {
  color: var(--ta-primary);
}

.ta-logo__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ta-primary);
  display: inline-block;
  margin-left: 2px;
}

.ta-logo__sub {
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--ta-line);
  color: var(--ta-muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.4px;
}

.ta-logo img {
  max-height: 42px;
  width: auto;
}

.ta-logo .custom-logo {
  max-height: 42px;
  width: auto;
}

/* 品牌区：左图标 + 右侧主标题 / 副标题（参考 thinkdiy 的排布与字号） */
.ta-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  max-width: 100%;
  color: var(--ta-text);
  text-decoration: none;
  white-space: nowrap;
}

.ta-brand:hover {
  color: var(--ta-primary);
}

.ta-brand__mark {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.ta-brand__img {
  display: block;
  width: auto;
  height: auto;
  max-height: 46px;
}

/* 未上传 Logo 图时的首字母徽标（跟随主题色） */
.ta-brand__mark--letter {
  width: 46px;
  height: 46px;
  justify-content: center;
  border-radius: 13px;
  background: var(--ta-primary);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.ta-brand__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.ta-brand__title {
  color: inherit;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.ta-brand__sub {
  margin-top: 2px;
  color: var(--ta-text-soft);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0.5px;
}

.ta-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.ta-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ta-nav__item {
  position: relative;
}

.ta-nav__link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  border-radius: 8px;
  color: var(--ta-text-soft);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
}

.ta-nav__link:hover {
  background: var(--ta-primary);
  color: #fff;
}

.ta-nav__item.is-current > .ta-nav__link {
  background: var(--ta-primary-soft);
  color: var(--ta-primary);
  font-weight: 600;
}

.ta-nav__caret {
  width: 10px;
  height: 10px;
  opacity: 0.5;
}

.ta-sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  min-width: 180px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--ta-line);
  border-radius: 10px;
  box-shadow: var(--ta-shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s var(--ta-ease);
}

.ta-nav__item:hover > .ta-sub,
.ta-nav__item:focus-within > .ta-sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.ta-sub li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ta-text-soft);
  font-size: 13.5px;
}

.ta-sub li a:hover {
  background: var(--ta-primary-soft);
  color: var(--ta-primary);
}

.ta-sub .ta-sub {
  top: -8px;
  left: 100%;
  margin-left: 6px;
}

.ta-header__tools {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.ta-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ta-text-soft);
  cursor: pointer;
}

.ta-icon-btn:hover {
  background: var(--ta-primary-soft);
  color: var(--ta-primary);
}

.ta-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  padding: 7px 14px;
  border: 1px solid var(--ta-line);
  border-radius: 8px;
  color: var(--ta-text-soft);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.ta-login:hover {
  border-color: var(--ta-primary-line);
  background: var(--ta-primary-soft);
  color: var(--ta-primary);
}

/* 会员中心入口（Think Member 插件启用时出现） */
.ta-logout {
  margin-left: 2px;
}

.ta-logout:hover {
  color: var(--ta-primary);
}

.ta-drawer__logout {
  margin-top: 8px;
}

.ta-burger {
  display: none;
}

.ta-search {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  padding-top: 12vh;
  background: rgba(18, 22, 28, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.ta-search.is-open {
  opacity: 1;
  visibility: visible;
}

.ta-search__panel {
  width: min(680px, calc(100% - 40px));
  height: fit-content;
  padding: 26px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 30px 80px -30px rgba(10, 15, 25, 0.5);
  transform: translateY(-12px);
  transition: transform 0.28s var(--ta-ease);
}

.ta-search.is-open .ta-search__panel {
  transform: none;
}

.ta-search__label {
  display: block;
  margin-bottom: 14px;
  color: var(--ta-muted);
  font-size: 12px;
  letter-spacing: 2px;
}

.ta-search__close {
  position: absolute;
  right: 24px;
  top: 20px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 0;
}

.ta-search__hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--ta-muted);
  font-size: 12.5px;
}

.ta-search__hint a {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ta-primary-soft);
  color: var(--ta-primary);
  font-size: 12px;
}

.ta-drawer {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  justify-content: flex-end;
  background: rgba(15, 19, 26, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s, visibility 0.28s;
}

.ta-drawer.is-open {
  opacity: 1;
  visibility: visible;
}

.ta-drawer__panel {
  display: flex;
  flex-direction: column;
  width: min(360px, 86vw);
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s var(--ta-ease);
  overflow-y: auto;
}

.ta-drawer.is-open .ta-drawer__panel {
  transform: none;
}

.ta-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ta-line);
}

.ta-drawer__brand {
  color: var(--ta-text);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
}

.ta-drawer__nav {
  padding: 10px 20px 20px;
}

.ta-drawer__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ta-drawer__nav > ul > li {
  border-bottom: 1px solid var(--ta-line-soft);
}

.ta-drawer__nav li {
  position: relative;
}

.ta-drawer__nav li a {
  display: block;
  padding: 13px 42px 13px 0;
  color: var(--ta-text);
  font-size: 14.5px;
  font-weight: 500;
}

.ta-drawer__nav li a:hover {
  color: var(--ta-primary);
}

.ta-drawer__nav ul ul {
  display: none;
  padding-left: 14px;
}

.ta-drawer__nav li.is-open > ul {
  display: block;
}

.ta-drawer__nav ul ul li a {
  color: var(--ta-text-soft);
  font-size: 13.5px;
  font-weight: 400;
}

.ta-sub-toggle {
  position: absolute;
  right: 0;
  top: 6px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--ta-line);
  border-radius: 8px;
  background: #fff;
  color: var(--ta-text-soft);
  font-size: 16px;
}

.ta-drawer__foot {
  margin-top: auto;
  padding: 18px 20px;
  border-top: 1px solid var(--ta-line);
  background: #fafbfd;
}

.ta-hero {
  margin-bottom: 20px;
}

.ta-slider {
  position: relative;
  height: 400px;
  border-radius: 14px;
  overflow: hidden;
  background: #0d1320;
  box-shadow: var(--ta-shadow);
}

.ta-slider__track {
  position: relative;
  height: 100%;
}

.ta-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s var(--ta-ease), visibility 0.55s;
}

.ta-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.ta-slide__media {
  position: absolute;
  inset: 0;
}

.ta-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 6s ease-out;
}

.ta-slide.is-active .ta-slide__media img {
  transform: scale(1.08);
}

.ta-slide__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 13, 20, 0) 35%,
    rgba(9, 13, 20, 0.42) 68%,
    rgba(9, 13, 20, 0.78) 100%
  );
}

.ta-slide__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ta-slide__body {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 30px;
  z-index: 2;
  color: #fff;
}

.ta-slide__cat {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 6px;
  background: var(--ta-primary);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.ta-slide__title {
  margin: 12px 0 10px;
  color: #fff;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 700;
  max-width: 780px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.ta-slide__title a {
  color: #fff;
}

.ta-slide__title a:hover {
  color: #fff;
  opacity: 0.9;
}

.ta-slide__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12.5px;
}

.ta-slide__meta a,
.ta-slide__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.78);
}

.ta-slide__meta .ta-icon {
  opacity: 0.8;
}

.ta-slider__dots {
  position: absolute;
  right: 26px;
  bottom: 26px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.ta-slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s;
}

.ta-slider__dot.is-active {
  width: 20px;
  border-radius: 4px;
  background: #fff;
}

.ta-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-top: -19px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 22, 30, 0.35);
  color: #fff;
  opacity: 0;
  transition: all 0.25s var(--ta-ease);
}

.ta-slider:hover .ta-slider__arrow {
  opacity: 1;
}

.ta-slider__arrow:hover {
  background: var(--ta-primary);
  color: #fff;
}

.ta-slider__arrow--prev {
  left: 16px;
}

.ta-slider__arrow--next {
  right: 16px;
}

.ta-topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.ta-topic {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 118px;
  padding: 16px;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  background: #111827;
}

.ta-topic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ta-ease);
}

.ta-topic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 22, 0.1), rgba(10, 14, 22, 0.72));
}

.ta-topic:hover img {
  transform: scale(1.05);
}

.ta-topic__body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
}

.ta-topic__label {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 10.5px;
  letter-spacing: 2px;
}

.ta-topic__title {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.ta-topic__count {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 11px;
  backdrop-filter: blur(4px);
}

.ta-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 22px;
  align-items: center;
  margin-bottom: 26px;
  padding: 22px 24px;
  background: var(--ta-card);
  border-radius: var(--ta-radius);
  box-shadow: var(--ta-shadow);
  border-left: 3px solid var(--ta-primary);
}

.ta-editorial__label {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 5px;
  background: var(--ta-primary);
  color: #fff;

  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
}

.ta-editorial__label::before {
  display: none;
}

.ta-editorial__label::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -4px;
  margin-top: -4px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 4px solid var(--ta-primary);
}

.ta-editorial__title {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.45;
}

.ta-editorial__title a {
  color: var(--ta-text);
}

.ta-editorial__title a:hover {
  color: var(--ta-primary);
}

.ta-editorial__excerpt {
  margin: 0 0 10px;
  color: var(--ta-muted);
  font-size: 13.5px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ta-editorial__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--ta-muted);
  font-size: 12px;
}

.ta-editorial__thumb {
  display: block;
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
}

.ta-editorial__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ta-ease);
}

.ta-editorial:hover .ta-editorial__thumb img {
  transform: scale(1.04);
}

.ta-feed {
  min-width: 0;
}

.ta-feed__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.ta-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #eceff4;
  border-radius: 10px;
}

.ta-tab {
  padding: 7px 16px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ta-text-soft);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
}

.ta-tab.is-active,
.ta-tab:hover {
  background: #fff;
  color: var(--ta-primary);
  box-shadow: 0 1px 3px rgba(20, 28, 40, 0.08);
}

.ta-feed__more {
  color: var(--ta-muted);
  font-size: 13px;
}

.ta-feed__more:hover {
  color: var(--ta-primary);
}

.ta-posts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ta-post {
  position: relative;
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  background: var(--ta-card);
  border-radius: var(--ta-radius);
  box-shadow: var(--ta-shadow);
  transition: transform 0.22s var(--ta-ease), box-shadow 0.22s var(--ta-ease);
}

.ta-post:hover {
  transform: translateY(-2px);
  box-shadow: var(--ta-shadow-hover);
}

.ta-post__media {
  position: relative;
  display: block;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  background: #eef1f6;
}

.ta-post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ta-ease);
}

.ta-post:hover .ta-post__media img {
  transform: scale(1.05);
}

.ta-post__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 2px 0;
}

.ta-post__cat {
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 5px;
  background: var(--ta-primary-soft);
  color: var(--ta-primary);
  font-size: 12.5px;
  font-weight: 600;
}

.ta-post__cat:hover {
  background: var(--ta-primary);
  color: #fff;
}

.ta-post__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
}

.ta-post__title a {
  color: var(--ta-text);
}

.ta-post__title a:hover {
  color: var(--ta-primary);
}

.ta-post__excerpt {
  margin: 0 0 12px;
  color: var(--ta-muted);
  font-size: 13.5px;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ta-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: auto;
  color: var(--ta-muted);
  font-size: 12px;
}

.ta-meta a,
.ta-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ta-muted);
}

.ta-meta a:hover {
  color: var(--ta-primary);
}

.ta-meta__avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.ta-meta__author {
  color: var(--ta-text-soft) !important;
  font-weight: 500;
}

.ta-meta .ta-icon {
  width: 13px;
  height: 13px;
}

.ta-post--text {
  grid-template-columns: minmax(0, 1fr);
}

.ta-post--text .ta-post__media {
  display: none;
}

.ta-sticky-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--ta-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}

.ta-pagination {
  margin-top: 24px;
}

.ta-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ta-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--ta-line);
  color: var(--ta-text-soft);
  font-size: 13px;
  font-weight: 500;
}

.ta-pagination .page-numbers:hover {
  border-color: var(--ta-primary-line);
  color: var(--ta-primary);
}

.ta-pagination .page-numbers.current {
  background: var(--ta-primary);
  border-color: var(--ta-primary);
  color: #fff;
}

.ta-pagination .page-numbers.dots {
  border: 0;
  background: none;
}

.ta-loadmore {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.ta-widget {
  margin-bottom: 20px;
  padding: 18px;
  background: var(--ta-card);
  border-radius: var(--ta-radius);
  box-shadow: var(--ta-shadow);
}

.ta-widget:last-child {
  margin-bottom: 0;
}

.ta-widget__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.ta-widget__title::before {
  content: "";
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: var(--ta-primary);
}

.ta-widget__title small {
  margin-left: auto;
  color: var(--ta-muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
}

.ta-widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ta-widget li {
  position: relative;
}

.ta-widget > ul > li {
  border-bottom: 1px solid var(--ta-line-soft);
}

.ta-widget > ul > li:last-child {
  border-bottom: 0;
}

.ta-widget > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 0;
  color: var(--ta-text-soft);
  font-size: 13.5px;
}

.ta-widget > ul > li > a:hover {
  color: var(--ta-primary);
}

.ta-widget .post-count,
.ta-widget .count {
  color: var(--ta-muted);
  font-size: 11.5px;
}

.ta-hot {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ta-line-soft);
}

.ta-hot:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ta-hot:first-child {
  padding-top: 0;
}

.ta-hot__num {
  flex: 0 0 auto;
  width: 20px;
  padding-top: 1px;
  color: #c3cad6;
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.4;
}

.ta-widget-hot .ta-hot:nth-of-type(-n+3) .ta-hot__num,
.ta-widget-think-hot .ta-hot:nth-of-type(-n+3) .ta-hot__num,
.ta-hot__num.is-top {
  color: var(--ta-primary);
}

/* think-hot热榜：恢复参考稿的彩色编号徽章 */
.ta-widget-think-hot .ta-hot__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding-top: 0;
  border-radius: 6px;
  background: var(--ta-primary-soft);
  color: var(--ta-primary);
  font-size: 12px;
  font-style: normal;
  line-height: 1;
}

.ta-widget-think-hot .ta-hot:nth-of-type(1) .ta-hot__num {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: #fff;
}

.ta-widget-think-hot .ta-hot:nth-of-type(2) .ta-hot__num {
  background: linear-gradient(135deg, #f7971e, #ffd200);
  color: #fff;
}

.ta-widget-think-hot .ta-hot:nth-of-type(3) .ta-hot__num {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
  color: #fff;
}

.ta-widget-think-hot .ta-hot:nth-of-type(4) .ta-hot__num {
  background: linear-gradient(135deg, #3498db, #2ecc71);
  color: #fff;
}

.ta-widget-think-hot .ta-hot:nth-of-type(5) .ta-hot__num {
  background: linear-gradient(135deg, #3498db, #4682b4);
  color: #fff;
}

.ta-widget__empty {
  margin: 0;
  color: var(--ta-muted);
  font-size: 13px;
}

.ta-hot__body {
  min-width: 0;
}

.ta-hot__title {
  margin: 0 0 3px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.55;
}

.ta-hot__title a {
  color: var(--ta-text);
}

.ta-hot__title a:hover {
  color: var(--ta-primary);
}

.ta-hot__meta {
  color: var(--ta-muted);
  font-size: 11px;
}

.ta-news {
  position: relative;
  padding-left: 14px;
}

.ta-news::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--ta-line);
}

.ta-news__item {
  position: relative;
  padding: 7px 0;
}

.ta-news__item::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ta-primary);
}

.ta-news__item:first-child::before {
  background: var(--ta-primary);
}

.ta-news__time {
  display: block;
  color: var(--ta-muted);
  font-size: 11px;
}

.ta-news__title {
  margin: 2px 0 0;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.6;
}

.ta-news__title a {
  color: var(--ta-text-soft);
}

.ta-news__title a:hover {
  color: var(--ta-primary);
}

.ta-tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ta-tagcloud a,
.tagcloud a {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid var(--ta-line);
  border-radius: 6px;
  color: var(--ta-text-soft);
  font-size: 12px !important;
  line-height: 1.4;
}

.ta-tagcloud a:hover,
.tagcloud a:hover {
  border-color: var(--ta-primary-line);
  background: var(--ta-primary-soft);
  color: var(--ta-primary);
}

.ta-comment-mini {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--ta-line-soft);
}

.ta-comment-mini:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ta-comment-mini img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.ta-comment-mini__body {
  min-width: 0;
}

.ta-comment-mini__text {
  margin: 0 0 2px;
  color: var(--ta-text-soft);
  font-size: 12.5px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ta-comment-mini__meta {
  color: var(--ta-muted);
  font-size: 11px;
}

.ta-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ta-stats__item {
  padding: 10px 8px;
  border-radius: 8px;
  background: #f7f9fc;
  text-align: center;
}

.ta-stats__num {
  display: block;
  color: var(--ta-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.ta-stats__label {
  color: var(--ta-muted);
  font-size: 11px;
}

.ta-about {
  text-align: center;
}

.ta-about__avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  border-radius: 50%;
  object-fit: cover;
}

.ta-about__name {
  margin: 0 0 2px;
  font-size: 15px;
}

.ta-about__role {
  margin: 0 0 10px;
  color: var(--ta-primary);
  font-size: 11px;
  letter-spacing: 1.4px;
}

.ta-about p {
  margin: 0 0 12px;
  color: var(--ta-muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.ta-social {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ta-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--ta-line);
  border-radius: 8px;
  color: var(--ta-muted);
}

.ta-social a:hover {
  border-color: var(--ta-primary);
  background: var(--ta-primary);
  color: #fff;
}

.ta-social .ta-icon {
  width: 15px;
  height: 15px;
}

.ta-ad {
  text-align: center;
}

.ta-ad img {
  width: 100%;
  border-radius: 8px;
}

.ta-ad__label {
  display: block;
  margin-bottom: 6px;
  color: var(--ta-muted);
  font-size: 10px;
  letter-spacing: 1.6px;
}

.ta-ad-card {
  --ta-ad-accent: #2563eb;
  --ta-ad-from: #db2777;
  --ta-ad-to: #f97316;
}

.ta-ad-card__media {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 150px;
  padding: 14px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ta-ad-from), var(--ta-ad-to));
}

.ta-ad-card__media img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ta-ad-card__media::before {
  content: "";
  position: absolute;
  top: -46px;
  right: -30px;
  z-index: 1;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.ta-ad-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 35%, rgba(15, 23, 42, 0.38));
  pointer-events: none;
}

.ta-ad-card__badge {
  position: relative;
  z-index: 2;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.ta-ad-card__body { padding: 14px 2px 0; }
.ta-ad-card__title { margin: 0 0 6px; color: var(--ta-text); font-size: 15px; line-height: 1.4; }
.ta-ad-card__desc { margin: 0 0 13px; color: var(--ta-muted); font-size: 12.5px; line-height: 1.65; }

.ta-ad-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--ta-ad-accent);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.ta-ad-card__btn:hover {
  filter: brightness(0.94);
  transform: translateY(-1px);
}

.ta-ad-card__btn svg { transition: transform 0.18s ease; }
.ta-ad-card__btn:hover svg { transform: translateX(2px); }

.ta-widget .search-form,
.ta-widget .wp-block-search__inside-wrapper {
  display: flex;
  gap: 8px;
}

.ta-widget .search-field {
  flex: 1;
}

.ta-widget .search-submit {
  flex: 0 0 auto;
}

.ta-widget .textwidget {
  color: var(--ta-text-soft);
  font-size: 13px;
  line-height: 1.8;
}

.ta-widget .textwidget img {
  border-radius: 8px;
  margin-bottom: 10px;
}

.ta-widget .calendar_wrap table {
  font-size: 11px;
}

.ta-widget .calendar_wrap th,
.ta-widget .calendar_wrap td {
  padding: 5px 3px;
  text-align: center;
}

.ta-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-bottom: 16px;
  color: var(--ta-muted);
  font-size: 12.5px;
}

.ta-breadcrumb a {
  color: var(--ta-text-soft);
}

.ta-breadcrumb a:hover {
  color: var(--ta-primary);
}

.ta-breadcrumb .ta-sep {
  font-size: 12px;
  line-height: 1;
  color: var(--ta-muted);
  opacity: 0.7;
}

.ta-article {
  padding: 32px 36px 28px;
  background: var(--ta-card);
  border-radius: var(--ta-radius);
  box-shadow: var(--ta-shadow);
}

.ta-article__head {
  margin-bottom: 22px;
}

.ta-article__cat {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 11px;
  border-radius: 6px;
  background: var(--ta-primary-soft);
  color: var(--ta-primary);
  font-size: 13px;
  font-weight: 600;
}

.ta-article__title {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.45;
  letter-spacing: 0.2px;
}

.ta-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ta-line-soft);
  color: var(--ta-muted);
  font-size: 12.5px;
}

.ta-article__meta a {
  color: var(--ta-text-soft);
}

.ta-article__meta a:hover {
  color: var(--ta-primary);
}

.ta-article__meta .ta-meta__avatar {
  width: 26px;
  height: 26px;
}

.ta-article__meta .ta-icon {
  width: 14px;
  height: 14px;
}

.ta-like {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 7px 14px;
  border: 1px solid var(--ta-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ta-text-soft);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
}

.ta-like:hover {
  border-color: var(--ta-primary-line);
  background: var(--ta-primary-soft);
  color: var(--ta-primary);
}

.ta-like.is-liked {
  border-color: var(--ta-primary);
  background: var(--ta-primary);
  color: #fff;
}

.ta-cover {
  margin: 22px 0;
  border-radius: 10px;
  overflow: hidden;
}

.ta-cover img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.ta-cover figcaption {
  margin-top: 8px;
  color: var(--ta-muted);
  font-size: 11.5px;
  text-align: center;
}

.ta-toc {
  margin: 20px 0;
  padding: 16px 18px;
  border: 1px solid var(--ta-line);
  border-radius: 8px;
  background: #fafbfd;
}

.ta-toc__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--ta-text);
  font-size: 14px;
  font-weight: 600;
}

.ta-toc ol {
  margin: 0;
  padding-left: 20px;
  color: var(--ta-text-soft);
  font-size: 13px;
  line-height: 1.9;
}

.ta-toc a {
  color: var(--ta-text-soft);
}

.ta-toc a:hover {
  color: var(--ta-primary);
}

.ta-toc li.is-sub {
  margin-left: 12px;
  list-style: circle;
}

.ta-content {
  color: #3d434d;
  font-size: 15.5px;
  line-height: 1.9;
  word-wrap: break-word;
}

.ta-content > *:first-child {
  margin-top: 0;
}

.ta-content h2 {
  position: relative;
  margin: 1.9em 0 0.6em;
  padding-left: 14px;
  font-size: 23px;
  line-height: 1.5;
}

.ta-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  bottom: 0.28em;
  width: 3px;
  border-radius: 2px;
  background: var(--ta-primary);
}

.ta-content h3 {
  margin: 1.6em 0 0.5em;
  font-size: 19px;
}

.ta-content h4 {
  margin: 1.4em 0 0.5em;
  font-size: 16px;
}

.ta-content p {
  margin: 0 0 1.35em;
}

.ta-content ul,
.ta-content ol {
  margin: 0 0 1.35em;
  padding-left: 1.4em;
}

.ta-content li {
  margin-bottom: 0.45em;
}

.ta-content ul li::marker,
.ta-content ol li::marker {
  color: var(--ta-primary);
}

.ta-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.ta-content img {
  border-radius: 8px;
  margin-bottom: 1em;
}

.ta-content blockquote {
  margin: 1.5em 0;
}

.ta-content pre {
  margin: 1.5em 0;
}

.ta-content table {
  margin: 1.5em 0;
}

.ta-content figcaption,
.ta-content .wp-caption-text {
  color: var(--ta-muted);
  font-size: 11.5px;
  text-align: center;
}

.ta-content iframe,
.ta-content video {
  max-width: 100%;
}

.ta-article__foot {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--ta-line-soft);
}

.ta-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ta-tags__label {
  color: var(--ta-muted);
  font-size: 12px;
}

.ta-tags a {
  padding: 4px 10px;
  border-radius: 6px;
  background: #f1f4f8;
  color: var(--ta-text-soft);
  font-size: 12px;
}

.ta-tags a:hover {
  background: var(--ta-primary-soft);
  color: var(--ta-primary);
}

.ta-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.ta-share__label {
  color: var(--ta-muted);
  font-size: 12px;
}

.ta-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border: 1px solid var(--ta-line);
  border-radius: 7px;
  background: #fff;
  color: var(--ta-text-soft);
  font-size: 12px;
  cursor: pointer;
}

.ta-share__btn:hover {
  border-color: var(--ta-primary);
  background: var(--ta-primary);
  color: #fff;
}

.ta-share__btn .ta-icon {
  width: 13px;
  height: 13px;
}

.ta-author {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  margin-top: 18px;
  padding: 20px;
  background: var(--ta-card);
  border-radius: var(--ta-radius);
  box-shadow: var(--ta-shadow);
}

.ta-author__avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.ta-author__name {
  margin: 0 0 2px;
  font-size: 16px;
}

.ta-author__role {
  margin: 0 0 8px;
  color: var(--ta-primary);
  font-size: 11px;
  letter-spacing: 1.2px;
}

.ta-author__bio {
  margin: 0 0 10px;
  color: var(--ta-muted);
  font-size: 13px;
  line-height: 1.75;
}

.ta-postnav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.ta-postnav__item {
  padding: 16px 18px;
  background: var(--ta-card);
  border-radius: var(--ta-radius);
  box-shadow: var(--ta-shadow);
}

.ta-postnav__item:hover {
  box-shadow: var(--ta-shadow-hover);
}

.ta-postnav__label {
  display: block;
  margin-bottom: 4px;
  color: var(--ta-muted);
  font-size: 11px;
  letter-spacing: 1px;
}

.ta-postnav__title {
  display: block;
  color: var(--ta-text);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ta-postnav__item--next {
  text-align: right;
}

.ta-related {
  margin-top: 22px;
}

.ta-related__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ta-related__title {
  margin: 0;
  font-size: 17px;
}

.ta-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ta-card-sm {
  background: var(--ta-card);
  border-radius: var(--ta-radius);
  box-shadow: var(--ta-shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ta-card-sm:hover {
  transform: translateY(-2px);
  box-shadow: var(--ta-shadow-hover);
}

.ta-card-sm__media {
  display: block;
  height: 120px;
  overflow: hidden;
  background: #eef1f6;
}

.ta-card-sm__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.ta-card-sm:hover .ta-card-sm__media img {
  transform: scale(1.05);
}

.ta-card-sm__body {
  padding: 12px 14px 14px;
}

.ta-card-sm__title {
  margin: 0 0 6px;
  font-size: 13.5px;
  line-height: 1.55;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ta-card-sm__title a {
  color: var(--ta-text);
}

.ta-card-sm__title a:hover {
  color: var(--ta-primary);
}

.ta-card-sm__meta {
  color: var(--ta-muted);
  font-size: 11px;
}

.ta-comments {
  margin-top: 22px;
  padding: 26px 30px;
  background: var(--ta-card);
  border-radius: var(--ta-radius);
  box-shadow: var(--ta-shadow);
}

.ta-comments__title,
.comment-reply-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 17px;
}

.ta-comments__title span {
  color: var(--ta-primary);
}

.comment-list {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.comment-list .children {
  margin: 0;
  padding-left: 26px;
  list-style: none;
}

.comment-body {
  padding: 16px 0;
  border-bottom: 1px solid var(--ta-line-soft);
}

.comment-list > li:first-child > .comment-body {
  padding-top: 0;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ta-text);
  font-size: 13px;
  font-weight: 600;
}

.comment-author .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.comment-metadata {
  margin-left: auto;
  color: var(--ta-muted);
  font-size: 11px;
}

.comment-metadata a {
  color: var(--ta-muted);
}

.comment-content {
  margin-left: 42px;
  color: var(--ta-text-soft);
  font-size: 13.5px;
  line-height: 1.75;
}

.comment-content p:last-child {
  margin-bottom: 0;
}

.comment-content blockquote {
  margin: 10px 0;
  padding: 12px 14px;
  font-size: 13px;
}

.reply {
  margin-left: 42px;
  margin-top: 6px;
}

.comment-reply-link {
  color: var(--ta-primary);
  font-size: 11.5px;
  font-weight: 500;
}

.bypostauthor > .comment-body .comment-author .fn::after {
  content: "作者";
  margin-left: 6px;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--ta-primary-soft);
  color: var(--ta-primary);
  font-size: 9px;
  font-weight: 500;
}

.comment-navigation {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 12px;
}

.comment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.comment-form p {
  margin: 0;
}

.comment-form .comment-form-comment,
.comment-form .form-submit,
.comment-form .comment-notes,
.comment-form .comment-form-cookies-consent {
  grid-column: 1 / -1;
}

.comment-form .comment-notes {
  color: var(--ta-muted);
  font-size: 12px;
}

.comment-form label {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  color: var(--ta-text-soft);
}

.comment-form .required {
  color: #e5484d;
}

.comment-form .form-submit {
  margin-top: 2px;
}

.comment-form .comment-form-url {
  grid-column: 1 / -1;
}

.comment-form input[type="submit"] {
  min-width: 140px;
}

.comment-form .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ta-muted);
  font-size: 11.5px;
}

.comment-form .comment-form-cookies-consent input {
  width: auto;
  margin-top: 5px;
}

.ta-page-head {
  margin-bottom: 18px;
  padding: 22px 24px;
  background: var(--ta-card);
  border-radius: var(--ta-radius);
  box-shadow: var(--ta-shadow);
}

.ta-page-head__title {
  margin: 0 0 4px;
  font-size: 26px;
}

.ta-page-head__sub {
  color: var(--ta-muted);
  font-size: 12.5px;
}

.ta-page-head__desc {
  margin-top: 10px;
  color: var(--ta-text-soft);
  font-size: 13.5px;
  line-height: 1.8;
}

.ta-page-head__desc p:last-child {
  margin-bottom: 0;
}

.ta-search-lead {
  max-width: 520px;
  margin-bottom: 18px;
}

.ta-searchform {
  display: flex;
  gap: 8px;
}

.ta-searchform input[type="search"] {
  flex: 1;
}

.ta-empty {
  padding: 40px 24px;
  background: var(--ta-card);
  border-radius: var(--ta-radius);
  box-shadow: var(--ta-shadow);
  text-align: center;
}

.ta-empty h2 {
  font-size: 19px;
  margin-bottom: 6px;
}

.ta-empty p {
  color: var(--ta-muted);
  font-size: 13.5px;
}

.ta-empty .ta-searchform {
  max-width: 360px;
  margin: 16px auto 0;
}

.ta-404 {
  padding: 40px 24px 30px;
  background: var(--ta-card);
  border-radius: var(--ta-radius);
  box-shadow: var(--ta-shadow);
  text-align: center;
}

.ta-404__code {
  margin: 0 0 4px;
  color: var(--ta-primary);
  font-size: 84px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 4px;
  opacity: 0.16;
}

.ta-404__title {
  margin: 0 0 8px;
  font-size: 23px;
}

.ta-404__text {
  max-width: 440px;
  margin: 0 auto 20px;
  color: var(--ta-muted);
  font-size: 13.5px;
}

.ta-404__form {
  max-width: 380px;
  margin: 0 auto 20px;
}

.ta-404__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ta-page {
  padding: 30px 34px;
  background: var(--ta-card);
  border-radius: var(--ta-radius);
  box-shadow: var(--ta-shadow);
}

.ta-page__title {
  margin: 0 0 18px;
  font-size: 28px;
}

.ta-page__cover {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
}

/* 文章内多页分页（独立小规格，不与列表分页联动） */
.ta-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 22px 0;
}

.ta-page-links a,
.ta-page-links > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--ta-line);
  border-radius: 7px;
  color: var(--ta-text-soft);
  font-size: 12px;
}

.ta-page-links > span {
  background: var(--ta-primary);
  border-color: var(--ta-primary);
  color: #fff;
}

.ta-archives {
  padding: 26px 30px;
  background: var(--ta-card);
  border-radius: var(--ta-radius);
  box-shadow: var(--ta-shadow);
}

.ta-archives__year {
  margin: 22px 0 6px;
  color: var(--ta-primary);
  font-size: 19px;
  font-weight: 700;
}

.ta-archives__year:first-child {
  margin-top: 0;
}

.ta-archives__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ta-archives__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--ta-line);
  font-size: 13.5px;
}

.ta-archives__list li:last-child {
  border-bottom: 0;
}

.ta-archives__list a {
  color: var(--ta-text-soft);
}

.ta-archives__list a:hover {
  color: var(--ta-primary);
}

.ta-archives__list time {
  flex: 0 0 auto;
  color: var(--ta-muted);
  font-size: 12px;
}

.ta-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
  padding: 26px 30px;
  border-radius: 14px;
  background:
    radial-gradient(520px 240px at 96% -55%, rgba(255, 255, 255, 0.16), transparent 70%),
    linear-gradient(
      120deg,
      var(--ta-cta-from, #1c62d6),
      var(--ta-cta-mid, #2f7cf6) 46%,
      var(--ta-cta-to, #4f9bff)
    );
  color: #fff;
  overflow: hidden;
  position: relative;
}

.ta-cta::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.ta-cta__title {
  margin: 0 0 6px;
  color: #fff;
  font-size: 21px;
}

.ta-cta__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
}

.ta-cta .ta-btn {
  position: relative;
  z-index: 2;
  background: #fff;
  color: var(--ta-cta-mid, var(--ta-primary));
}

.ta-cta .ta-btn:hover {
  background: #fff;
  color: var(--ta-cta-from, var(--ta-primary-dark));
}

.ta-footer {
  background: #fff;
  border-top: 1px solid var(--ta-line);
}

.ta-footer__top {
  padding: 38px 0 26px;
}

.ta-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
}

.ta-footer__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--ta-text);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
}

.ta-footer__brand:hover {
  color: var(--ta-primary);
}

.ta-footer__about {
  margin: 0 0 14px;
  color: var(--ta-muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.ta-footer__text {
  margin: 0 0 14px;
  color: var(--ta-muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.ta-footer__text p {
  margin: 0 0 10px;
}

.ta-footer__text p:last-child {
  margin-bottom: 0;
}

.ta-footer__text a {
  color: var(--ta-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ta-footer__text ul,
.ta-footer__text ol {
  margin: 0 0 10px;
  padding-left: 18px;
}

.ta-footer__text img {
  max-width: 100%;
  height: auto;
}

.ta-footer__title {
  margin: 0 0 12px;
  color: var(--ta-text);
  font-size: 13.5px;
  font-weight: 600;
}

.ta-footer__menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ta-footer__menu li a {
  display: block;
  padding: 5px 0;
  color: var(--ta-muted);
  font-size: 12.5px;
}

.ta-footer__menu li a:hover {
  color: var(--ta-primary);
}

.ta-footer__bottom {
  padding: 14px 0;
  border-top: 1px solid var(--ta-line-soft);
  background: #fafbfd;
  color: var(--ta-muted);
  font-size: 12px;
}

.ta-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
}

.ta-footer__bottom a {
  color: var(--ta-muted);
}

.ta-footer__bottom a:hover {
  color: var(--ta-primary);
}

.ta-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ta-footer .ta-social a {
  width: 30px;
  height: 30px;
}

/* ---------- 波浪页脚（14-wave） ---------- */
.ta-wave-footer {
  --ta-wave-bg: var(--ta-primary);
  --ta-wave-bg2: var(--ta-primary);
  --ta-wave-angle: 135deg;
  --ta-wave-text: rgba(255, 255, 255, .78);
  --ta-wave-strong: #fff;
  color: var(--ta-wave-text);
}

.ta-wave-footer,
.ta-wave-footer * {
  box-sizing: border-box;
}

.ta-wave-footer a {
  color: inherit;
  text-decoration: none;
}

.ta-wave-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ta-wave-footer p,
.ta-wave-footer h2 {
  margin: 0;
}

.ta-wave-footer a:focus-visible {
  outline: 2px solid var(--ta-wave-strong);
  outline-offset: 2px;
}

.ta-wave-footer__wave {
  display: block;
  width: 100%;
  height: 70px;
  fill: var(--ta-wave-bg);
}

.ta-wave-footer__body {
  background: var(--ta-wave-bg);
  padding: 10px 34px 26px;
  margin-top: -1px;
}

.ta-wave-footer__body.has-gradient {
  background: linear-gradient(var(--ta-wave-angle), var(--ta-wave-bg), var(--ta-wave-bg2));
}

.ta-wave-footer__in {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 3fr;
  gap: 32px;
}

.ta-wave-footer__brand b {
  display: block;
  color: var(--ta-wave-strong);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.ta-wave-footer__brand p {
  margin-top: 9px;
  max-width: 32ch;
  font-size: .86rem;
  line-height: 1.65;
}

.ta-wave-footer__social {
  display: flex;
  gap: 9px;
  margin-top: 15px;
  padding: 0;
  list-style: none;
}

.ta-wave-footer__social a {
  width: 33px;
  height: 33px;
  border: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, .12);
  display: grid;
  place-items: center;
  color: var(--ta-wave-text);
  transition: background-color .15s, color .15s;
}

.ta-wave-footer__social a:hover {
  border-color: transparent;
  background: rgba(255, 255, 255, .24);
  color: var(--ta-wave-strong);
}

.ta-wave-footer__social svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.ta-wave-footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.ta-wave-footer__links h2 {
  color: var(--ta-wave-strong);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ta-wave-footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: .85rem;
}

.ta-wave-footer__links a:hover,
.ta-wave-footer__base a:hover {
  color: var(--ta-wave-strong);
}

.ta-wave-footer__base {
  max-width: 1000px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .81rem;
}

.ta-wave-footer__base ul {
  display: flex;
  gap: 18px;
}

.ta-wave-footer__icp {
  opacity: .85;
}

@media (max-width: 760px) {
  .ta-wave-footer__in {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ta-wave-footer__links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .ta-wave-footer__links h2 {
    margin-bottom: 9px;
    font-size: .8rem;
    letter-spacing: .02em;
  }

  .ta-wave-footer__links ul {
    gap: 7px;
    font-size: .8rem;
  }
}

@media (max-width: 560px) {
  .ta-wave-footer__body {
    padding: 10px 20px 26px;
  }

  .ta-wave-footer__links {
    gap: 10px;
  }

  .ta-wave-footer__links h2 {
    font-size: .78rem;
  }

  .ta-wave-footer__links ul {
    font-size: .78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ta-wave-footer__social a {
    transition: none;
  }
}

/* 夜间模式：未自定义背景/文字时，跟随夜间强调色并改用浅色文字 */
html.ta-dark .ta-wave-footer:not(.has-custom-bg):not(.has-custom-text) {
  --ta-wave-text: rgba(255, 255, 255, .78) !important;
  --ta-wave-strong: #fff !important;
}

.ta-fab {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ta-fab__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--ta-line);
  border-radius: 10px;
  background: #fff;
  color: var(--ta-text-soft);
  box-shadow: var(--ta-shadow);
  cursor: pointer;
}

.ta-fab__btn:hover {
  background: var(--ta-primary);
  border-color: var(--ta-primary);
  color: #fff;
}

.ta-fab__top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.25s var(--ta-ease);
}

.ta-fab__top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.ta-theme-toggle .ta-icon-moon {
  display: none;
}

html.ta-dark .ta-theme-toggle .ta-icon-sun {
  display: none;
}

html.ta-dark .ta-theme-toggle .ta-icon-moon {
  display: block;
}

.ta-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 120;
  height: 3px;
  width: 0;
  background: var(--ta-primary);
  transition: width 0.1s linear;
}

.alignleft {
  float: left;
  margin: 4px 20px 16px 0;
}

.alignright {
  float: right;
  margin: 4px 0 16px 20px;
}

.aligncenter {
  display: block;
  margin: 8px auto 18px;
}

.alignwide {
  margin-left: -40px;
  margin-right: -40px;
  max-width: calc(100% + 80px);
}

.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}

.wp-caption {
  max-width: 100%;
  margin-bottom: 18px;
}

.wp-caption-text,
.gallery-caption {
  color: var(--ta-muted);
  font-size: 11.5px;
  text-align: center;
}

.sticky {
  position: relative;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.wp-block-image figcaption {
  color: var(--ta-muted);
  font-size: 11.5px;
  text-align: center;
}

.wp-block-quote {
  border-left: 3px solid var(--ta-primary);
  padding-left: 18px;
}

.wp-block-button__link {
  border-radius: 8px;
  background: var(--ta-primary);
  font-size: 14px;
}

.wp-block-separator {
  border: 0;
  border-top: 1px solid var(--ta-line);
  max-width: 100px;
  margin: 2em auto;
}

.wp-block-pullquote {
  border-top: 2px solid var(--ta-text);
  border-bottom: 2px solid var(--ta-text);
  padding: 20px 0;
}

html.ta-dark {
  --ta-bg: #12151a;
  --ta-card: #1a1e25;
  --ta-text: #e3e8ef;
  --ta-text-soft: #b3bcc8;
  --ta-muted: #7f8996;
  --ta-line: #262c35;
  --ta-line-soft: #212730;
  --ta-primary-soft: rgba(79, 155, 255, 0.12);
  --ta-primary-line: rgba(79, 155, 255, 0.28);
  --ta-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  --ta-shadow-hover: 0 12px 30px -14px rgba(0, 0, 0, 0.6);
  --ta-primary: var(--ta-primary-night, #4f9bff);
  --ta-primary-dark: #78b4ff;
}

html.ta-dark .ta-header {
  background: rgba(20, 24, 30, 0.94);
}

html.ta-dark .ta-brand,
html.ta-dark .ta-footer__brand,
html.ta-dark .ta-drawer__brand {
  color: #e3e8ef;
}

html.ta-dark .ta-brand:hover {
  color: #9cc6ff;
}

html.ta-dark .ta-brand__sub {
  color: #8b93a0;
}

html.ta-dark .ta-login,
html.ta-dark .ta-share__btn,
html.ta-dark .ta-like,
html.ta-dark .ta-fab__btn,
html.ta-dark .ta-sub,
html.ta-dark .ta-drawer__panel {
  background: #1a1e25;
}

html.ta-dark .ta-footer,
html.ta-dark .ta-footer__bottom {
  background: #15191f;
}

html.ta-dark .ta-footer__bottom {
  background: #10141a;
}

html.ta-dark .ta-tabs {
  background: #232932;
}

html.ta-dark .ta-tab.is-active {
  background: #2b323d;
  color: #fff;
}

html.ta-dark .ta-post,
html.ta-dark .ta-widget,
html.ta-dark .ta-article,
html.ta-dark .ta-comments,
html.ta-dark .ta-author,
html.ta-dark .ta-postnav__item,
html.ta-dark .ta-card-sm,
html.ta-dark .ta-page,
html.ta-dark .ta-archives,
html.ta-dark .ta-page-head,
html.ta-dark .ta-empty,
html.ta-dark .ta-404,
html.ta-dark .ta-editorial {
  border: 1px solid var(--ta-line);
  box-shadow: none;
}

html.ta-dark .ta-toc,
html.ta-dark .ta-stats__item,
html.ta-dark .ta-tags a,
html.ta-dark .ta-widget .textwidget,
html.ta-dark .ta-meta__avatar {
  background: #20262e;
}

html.ta-dark .ta-content {
  color: #c9d1db;
}

html.ta-dark .ta-news__item::before {
  background: #1a1e25;
}

html.ta-dark .ta-cta {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.8);
}

html.ta-dark .ta-search__panel {
  background: #1a1e25;
}

html.ta-dark .ta-search__hint a {
  background: rgba(79, 155, 255, 0.14);
  color: #9cc6ff;
}

html.ta-dark .ta-pagination .page-numbers {
  background: #1a1e25;
  border-color: var(--ta-line);
}

html.ta-dark .ta-pagination .page-numbers.current {
  background: var(--ta-primary);
  border-color: var(--ta-primary);
  color: #fff;
}

html.ta-dark ::-webkit-scrollbar-track {
  background: #171b21;
}

html.ta-dark ::-webkit-scrollbar-thumb {
  background: #3a434f;
}

.ta-hidden {
  display: none !important;
}

.ta-locked {
  overflow: hidden;
}

.ta-header-static .ta-header {
  position: static;
}

.ta-no-dark .ta-theme-toggle {
  display: none;
}

.ta-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 90px;
  background: linear-gradient(135deg, #eef2f8, #e2e8f2);
  color: #b9c3d2;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
}

.ta-meta__by {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ta-slide__meta .avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.ta-social--grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.ta-social--grid a {
  width: 100%;
}

.ta-tagcloud--page {
  gap: 10px;
}

.ta-tagcloud--page a {
  padding: 7px 14px;
  font-size: 13px !important;
}

.ta-tagcloud__count {
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--ta-primary-soft);
  color: var(--ta-primary);
  font-size: 10.5px;
}

.ta-drawer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ta-search__panel .ta-searchform input[type="search"] {
  height: 48px;
  font-size: 15px;
}

.ta-search__panel .ta-searchform .ta-btn {
  height: 48px;
  padding: 0 20px;
}

.ta-empty .ta-searchform {
  margin-top: 16px;
}

.ta-like__count {
  font-weight: 600;
}

.ta-like.is-liked {
  border-color: var(--ta-primary);
  background: var(--ta-primary);
  color: #fff;
}

.ta-comment-edit a {
  color: var(--ta-muted);
  font-size: 11px;
}

.ta-comments__closed {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--ta-primary-soft);
  color: var(--ta-muted);
  font-size: 13px;
}

.ta-comment-await {
  margin: 0 0 8px;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--ta-primary-soft);
  color: var(--ta-muted);
  font-size: 12px;
}

.ta-author__body {
  min-width: 0;
}

.ta-meta__sep {
  color: var(--ta-line);
  font-size: 11px;
  line-height: 1;
}

.ta-slide__meta .ta-meta__sep {
  color: rgba(255, 255, 255, 0.35);
}

.ta-post-copyright {
  margin: 18px 0 0;
  padding: 12px 15px;
  border-radius: 8px;
  background: #f7f9fc;
  color: var(--ta-muted);
  font-size: 12.5px;
  line-height: 1.7;
}

html.ta-dark .ta-post-copyright {
  background: #20262e;
}

.ta-feed__title {
  margin: 0;
  font-size: 18px;
}

.ta-list-ad {
  margin: 0 0 14px;
  text-align: center;
}

.ta-list-ad img {
  width: 100%;
  border-radius: 8px;
}

html.ta-gray {
  filter: grayscale(100%);
}

.ta-inline-ad {
  margin: 24px 0;
}

.ta-inline-ad img {
  width: 100%;
  border-radius: 8px;
}

.ta-card-sm .ta-post__cat {
  margin-bottom: 6px;
  padding: 2px 7px;
  font-size: 10.5px;
}

.ta-toc[hidden] {
  display: none;
}

.ta-topic img {
  background: #111827;
}

@media (hover: none) {
  .ta-slider__arrow {
    opacity: 1;
  }
}

@media (max-width: 560px) {
  .ta-social--grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body.admin-bar .ta-header {
  top: var(--ta-admin-offset, 32px);
}

body.admin-bar .ta-sidebar.is-sticky {
  top: calc(var(--ta-admin-offset, 32px) + 84px);
}

@media (max-width: 782px) {
  body.admin-bar .ta-header {
    top: var(--ta-admin-offset, 46px);
  }
}

@media (max-width: 1240px) {
  :root {
    --ta-sidebar: 320px;
  }
}

@media (max-width: 1080px) {
  .ta-slider {
    height: 360px;
  }

  .ta-slide__title {
    font-size: 25px;
  }

  .ta-footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .ta-footer__grid > .ta-footer__col:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .ta-layout,
  .ta-layout--left {
    grid-template-columns: minmax(0, 1fr);
  }

  .ta-layout--left > .ta-main-col,
  .ta-layout--left > .ta-sidebar {
    order: initial;
  }

  .ta-sidebar {
    margin-top: 4px;
  }

  .ta-nav {
    display: none;
  }

  .ta-burger {
    display: inline-flex;
    order: -1;
  }

  .ta-header__inner {
    gap: 10px;
  }

  .ta-brand {
    margin-right: auto;
  }

  .ta-header__tools {
    margin-left: 0;
  }

  .ta-login {
    display: none;
  }

  .ta-editorial {
    grid-template-columns: minmax(0, 1fr);
  }

  .ta-editorial__thumb {
    display: none;
  }
}

@media (max-width: 782px) {
  .ta-container {
    max-width: calc(100% - 32px);
  }

  .ta-main {
    padding: 16px 0 40px;
  }

  .ta-slider {
    height: 300px;
    border-radius: 12px;
  }

  .ta-slide__body {
    left: 20px;
    right: 20px;
    bottom: 22px;
  }

  .ta-slide__title {
    font-size: 21px;
  }

  .ta-slide__meta {
    font-size: 11.5px;
  }

  .ta-topics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .ta-topic {
    min-height: 96px;
    padding: 12px;
  }

  .ta-topic__title {
    font-size: 13.5px;
  }

  .ta-topic__count {
    display: none;
  }

  .ta-topic__label {
    display: none;
  }

  .ta-post {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
  }

  .ta-post__media {
    height: 108px;
  }

  .ta-post__title {
    font-size: 15.5px;
    margin-bottom: 6px;
  }

  .ta-post__excerpt {
    display: none;
  }

  .ta-post__cat {
    margin-bottom: 6px;
    font-size: 10.5px;
  }

  .ta-meta {
    gap: 4px 10px;
    font-size: 11px;
  }

  .ta-article,
  .ta-page,
  .ta-comments,
  .ta-archives {
    padding: 22px 20px;
    border-radius: 9px;
  }

  .ta-article__title {
    font-size: 24px;
  }

  .ta-article__meta {
    font-size: 11.5px;
    gap: 6px 12px;
  }

  .ta-like {
    margin-left: 0;
  }

  .ta-content {
    font-size: 15px;
  }

  .ta-content h2 {
    font-size: 20px;
  }

  .ta-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ta-postnav {
    grid-template-columns: minmax(0, 1fr);
  }

  .ta-postnav__item--next {
    text-align: left;
  }

  .ta-author {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 16px;
  }

  .ta-author__avatar img {
    width: 48px;
    height: 48px;
  }

  .comment-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .comment-list .children {
    padding-left: 12px;
  }

  .comment-content,
  .reply {
    margin-left: 0;
  }

  .ta-cta {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px;
  }

  .ta-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .ta-footer__col:first-child {
    grid-column: 1 / -1;
  }

  .ta-fab {
    right: 14px;
    bottom: 18px;
  }

  .ta-fab__btn {
    width: 38px;
    height: 38px;
  }

  .ta-404__code {
    font-size: 64px;
  }
}

@media (max-width: 560px) {
  .ta-topics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .ta-topic {
    min-height: 82px;
    padding: 10px;
    border-radius: 9px;
  }

  .ta-topic__title {
    font-size: 12.5px;
    line-height: 1.4;
  }

  .ta-slider {
    height: 250px;
  }

  .ta-slide__title {
    font-size: 18px;
  }

  .ta-slider__arrow {
    display: none;
  }

  .ta-slider__dots {
    right: 16px;
    bottom: 16px;
  }

  .ta-post {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .ta-post__media {
    height: 84px;
  }

  .ta-post__title {
    font-size: 14px;
  }

  .ta-meta__avatar,
  .ta-post__meta-date {
    display: none;
  }

  .ta-editorial {
    padding: 16px 18px;
  }

  .ta-editorial__title {
    font-size: 17px;
  }

  .ta-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .ta-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ta-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .ta-header,
  .ta-footer,
  .ta-fab,
  .ta-sidebar,
  .ta-comments,
  .ta-related,
  .ta-share,
  .ta-progress,
  .ta-search,
  .ta-drawer {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .ta-article {
    box-shadow: none;
    padding: 0;
  }

  a {
    color: #000;
  }
}

.ta-logo__img {
  display: block;
  width: auto;
  max-height: 42px;
}

.ta-logo__img--mobile {
  display: none;
}

/* 手机端品牌区（抽屉式导航）：沿用 PC 的横排——图标在左，主标题 / 副标题在右 */
@media (max-width: 782px) {
  .ta-header__inner {
    height: auto;
    min-height: 64px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .ta-brand {
    gap: 10px;
  }

  .ta-brand__title {
    font-size: 21px;
  }

  .ta-brand__sub {
    margin-top: 1px;
    font-size: 12.5px;
  }

  .ta-brand__img,
  .ta-logo img {
    max-height: 38px;
  }

  .ta-brand__mark--letter {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 19px;
  }

  .ta-has-mobile-logo .ta-logo__img--desktop {
    display: none;
  }

  .ta-has-mobile-logo .ta-logo__img--mobile {
    display: block;
  }
}

.ta-post__subtitle,
.ta-card-sm__subtitle,
.ta-article__subtitle,
.ta-editorial__subtitle,
.ta-slide__subtitle {
  margin: -2px 0 7px;
  color: var(--ta-primary);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
}

.ta-card-sm__subtitle {
  margin: -1px 0 4px;
  font-size: 11.5px;
}

.ta-article__subtitle {
  margin: -6px 0 14px;
  font-size: 16px;
}

.ta-slide__subtitle {
  margin: -4px 0 10px;
  color: #dbeafe;
  font-size: 14px;
}

.ta-editorial__subtitle {
  margin: -2px 0 6px;
  font-size: 13px;
}

.ta-post__cat,
.ta-article__cat,
.ta-slide__cat {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--ta-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.ta-post__cat::after,
.ta-article__cat::after,
.ta-slide__cat::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -4px;
  margin-top: -4px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 4px solid var(--ta-primary);
}

.ta-post__cat:hover,
.ta-article__cat:hover,
.ta-slide__cat:hover {
  color: #fff;
  opacity: 0.9;
}

.ta-card-sm .ta-post__cat {
  margin-bottom: 5px;
  padding: 2px 6px;
  font-size: 11px;
}

.ta-widget .search-form,
.ta-widget .wp-block-search__inside-wrapper {
  gap: 6px;
}

.ta-widget .search-field,
.ta-widget .wp-block-search__input {
  height: 36px;
  padding: 0 12px;
  border-radius: 7px;
  font-size: 13px;
  line-height: 36px;
}

.ta-widget .search-submit,
.ta-widget .wp-block-search__button {
  height: 36px;
  min-width: 44px;
  padding: 0 13px;
  border-radius: 7px;
  font-size: 12px;
  line-height: 36px;
}

@media (max-width: 980px) {
  .ta-mobile-inline .ta-header__inner {
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    min-height: 66px;
    row-gap: 4px;
    padding-top: 10px;
    padding-bottom: 8px;
  }

  .ta-mobile-inline .ta-burger {
    display: none;
  }

  .ta-mobile-inline .ta-brand {
    order: 1;
    width: 100%;
    margin: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: normal;
    text-align: center;
  }

  .ta-mobile-inline .ta-brand__text {
    align-items: center;
  }

  .ta-mobile-inline .ta-brand__title {
    font-size: 22px;
  }

  .ta-mobile-inline .ta-brand__sub {
    margin-top: 3px;
    font-size: 13px;
  }

  .ta-mobile-inline .ta-brand__img {
    max-height: 40px;
  }

  .ta-mobile-inline .ta-brand__mark--letter {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    font-size: 20px;
  }

  .ta-mobile-inline .ta-header__tools {
    position: absolute;
    top: 8px;
    right: 0;
    margin: 0;
    order: 2;
  }

  .ta-mobile-inline .ta-nav {
    display: block;
    order: 3;
    width: 100%;
    margin: 2px 0 0;
  }

  .ta-mobile-inline .ta-nav__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 4px;
  }

  .ta-mobile-inline .ta-nav__link {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 13.5px;
  }

  .ta-mobile-inline .ta-nav__caret {
    display: none;
  }

  .ta-mobile-inline .ta-sub {
    display: none !important;
  }
}

.ta-widget-posts__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ta-widget-posts__item a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--ta-line);
  text-decoration: none;
}

.ta-widget-posts__item:last-child a {
  padding-bottom: 0;
  border-bottom: 0;
}

.ta-widget-posts__thumb {
  flex: 0 0 78px;
  height: 58px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ta-line);
}

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

.ta-widget-posts__text {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.ta-widget-posts__title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ta-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ta-widget-posts__views {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ta-muted);
  font-size: 11px;
}

.ta-widget-posts--text .ta-widget-posts__thumb {
  display: none;
}

.ta-widget-posts--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ta-widget-posts--grid .ta-widget-posts__item a {
  display: block;
  padding: 0;
  border: 0;
}

.ta-widget-posts--grid .ta-widget-posts__thumb {
  display: block;
  width: 100%;
  height: 78px;
  margin-bottom: 5px;
}

.ta-widget-feature {
  display: block;
  padding: 0 16px 15px;
  border: 1px solid var(--ta-line);
  border-radius: 10px;
  background: var(--ta-card);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ta-widget-feature:hover {
  border-color: var(--ta-primary);
  transform: translateY(-1px);
}

.ta-widget-feature__tag {
  display: inline-block;
  margin: 0 0 8px -16px;
  padding: 5px 12px;
  border-radius: 0 0 7px 0;
  background: var(--ta-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.ta-widget-feature__title {
  display: block;
  margin: 2px 0 6px;
  color: var(--ta-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.ta-widget-feature__text {
  display: block;
  color: var(--ta-muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.ta-widget-feature--02 {
  border-color: #ffd9d4;
}

.ta-widget-feature--02 .ta-widget-feature__tag {
  background: #ff5e52;
}

.ta-widget-feature--03 .ta-widget-feature__tag {
  background: #5cb85c;
}

.ta-widget-feature--04 .ta-widget-feature__tag {
  background: #c35bff;
}

.ta-widget-feature--05 .ta-widget-feature__tag {
  background: #61b3e6;
}

.ta-tagcloud--widget {
  display: grid;
  gap: 6px;
}

.ta-tagcloud--cols2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ta-tagcloud--cols3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ta-tagcloud--cols4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ta-tagcloud--widget a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 6px;
  border-radius: 6px;
  background: var(--ta-bg);
  color: var(--ta-text-soft);
  font-size: 11.5px;
  text-align: center;
}

.ta-tagcloud--widget a:hover {
  background: var(--ta-primary);
  color: #fff;
}

.ta-tagcloud--widget .ta-tagcloud__count {
  margin-left: 0;
  padding: 0 4px;
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
  font-size: 10px;
}

.ta-tagcloud--widget a:hover .ta-tagcloud__count {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

#thinkair-subtitle-color {
  width: 120px;
}
.ta-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ta-color-field {
  width: 120px;
}

.ta-slides__rows:empty::before {
  content: "还没有手动轮播项，点击下方按钮添加。";
  display: block;
  padding: 12px;
  color: #787c82;
  font-size: 12px;
}
@media (min-width: 783px) {
  .ta-post__cat,
  .ta-slide__cat {
    font-size: 12.5px;
    padding: 4px 9px;
  }

  .ta-article__cat {
    font-size: 13.5px;
    padding: 4px 10px;
  }
}

.ta-card-sm .ta-post__cat {
  font-size: 11.5px;
}

.ta-post__cat,
.ta-slide__cat {
  font-size: 12.5px;
  padding: 4px 9px;
}

.ta-article__cat {
  font-size: 13.5px;
  padding: 4px 10px;
}
.ta-post__gallery {
  display: flex;
  gap: 6px;
  margin: 0 0 8px;
}

.ta-post__gallery img {
  display: block;
  width: 70px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
}

@media (max-width: 560px) {
  .ta-post__gallery img {
    width: 58px;
    height: 40px;
  }
}

.ta-sidebar .widget_search,
.ta-sidebar .wp-block-search {
  display: none !important;
}

.ta-slider {
  height: 220px;
}

.ta-slide__body {
  left: 24px;
  right: 24px;
  bottom: 18px;
}

.ta-slide__title {
  margin: 8px 0 8px;
  font-size: 24px;
  line-height: 1.3;
}

@media (max-width: 782px) {
  .ta-slider {
    height: 210px;
  }

  .ta-slide__body {
    left: 18px;
    right: 18px;
    bottom: 16px;
  }

  .ta-slide__title {
    font-size: 22px;
  }
}

@media (max-width: 560px) {
  .ta-slider {
    height: 200px;
  }

  .ta-slide__title {
    font-size: 18px;
  }
}@media (max-width: 782px) {
  .ta-slider { height: 220px; }
}
@media (max-width: 560px) {
  .ta-slider { height: 220px; }
}

.ta-topic--plain {
  background: linear-gradient(135deg, var(--ta-primary), var(--ta-primary-dark));
}

.ta-topic--plain::after {
  background: linear-gradient(180deg, rgba(10, 14, 22, 0.02), rgba(10, 14, 22, 0.35));
}

img.is-broken {
  visibility: hidden;
}

.ta-post--text.ta-post,
.ta-post--text.ta-post.has-post-thumbnail {
  grid-template-columns: minmax(0, 1fr);
}

.ta-topic--post .ta-topic__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ta-topic--post .ta-topic__label {
  letter-spacing: 1px;
}

.ta-topic--post .ta-topic__body > div {
  flex: 1 1 auto;
  min-width: 0;
}

.ta-topic--post .ta-topic__count {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 782px) {

  .ta-topic--post .ta-topic__title {
    -webkit-line-clamp: 3;
  }
}

@media (max-width: 560px) {

  /* 手机端三张主题卡一律等分三列（1.9.7 起，rank 模式不再竖排单列） */
  .ta-topics--rank {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .ta-topics--rank .ta-topic--post {
    min-height: 86px;
    padding: 9px 10px;
    border-radius: 9px;
  }

  .ta-topics--rank .ta-topic--post .ta-topic__label {
    display: none;
  }

  .ta-topics--rank .ta-topic--post .ta-topic__count {
    display: none;
  }

  .ta-topics--rank .ta-topic--post .ta-topic__title {
    font-size: 12.5px;
    line-height: 1.4;
    -webkit-line-clamp: 2;
  }
}

.ta-editorial--styled {
  overflow: hidden;
}

/* 有背景图 / 背景色时，左侧主题色竖条自动隐藏（1.9.7 起）；保留 3px 宽度不影响排版 */
.ta-editorial--bg {
  border-left-color: transparent;
}

.ta-editorial--styled .ta-editorial__title a {
  color: var(--ta-feature-title, var(--ta-text));
}

.ta-editorial--styled .ta-editorial__title a:hover {
  color: var(--ta-feature-title, var(--ta-primary));
  opacity: 0.86;
}

.ta-editorial--styled .ta-editorial__excerpt,
.ta-editorial--styled .ta-editorial__meta {
  color: var(--ta-feature-text, var(--ta-muted));
}

.ta-editorial--styled .ta-editorial__label {
  box-shadow: 0 2px 8px -2px rgba(10, 14, 22, 0.35);
}

.ta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ta-widget-grid {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.ta-widget-grid .ta-widget__title {
  margin-bottom: 10px;
}

.ta-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  aspect-ratio: 1 / 1;
  min-width: 0;

  padding: 8px 4px;
  border-radius: var(--ta-grid-radius, var(--ta-radius-sm));
  background: var(--ta-grid-bg, var(--ta-card));
  box-shadow: var(--ta-shadow);
  color: var(--ta-grid-color, var(--ta-text));
  text-align: center;
  transition: transform 0.2s var(--ta-ease), box-shadow 0.2s var(--ta-ease);
}

html.ta-dark .ta-grid__item {
  box-shadow: none;
  border: 1px solid var(--ta-line);
}

.ta-grid__item:hover,
.ta-grid__item:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--ta-shadow-hover);
  color: var(--ta-grid-color, var(--ta-text));
}

.ta-grid__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42%;
  aspect-ratio: 1 / 1;
}

.ta-grid__icon svg,
.ta-grid__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ta-grid__icon .ta-icon {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
  vertical-align: 0;
}

.ta-grid__label {
  max-width: 100%;
  font-size: clamp(11px, 0.5vw + 8px, 13px);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ta-grid-mobile {
  display: none;
}

@media (max-width: 782px) {

  .ta-grid {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), rgba(0, 0, 0, 0.15) 100%);
    mask-image: linear-gradient(to right, #000 calc(100% - 32px), rgba(0, 0, 0, 0.15) 100%);
  }

  .ta-grid::-webkit-scrollbar {
    display: none;
  }

  .ta-grid__item {
    flex: 0 0 calc((100% - 20px) / 4.2);
    width: calc((100% - 20px) / 4.2);
    gap: 3px;
    padding: 6px 3px;
    scroll-snap-align: start;
  }

  .ta-grid__icon {
    width: 38%;
  }

  .ta-grid__label {
    font-size: 10.5px;
  }

  .ta-grid.is-end {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ta-grid-mobile {
    display: block;
    margin: 0 0 20px;
  }

  body.home .ta-sidebar .ta-widget-grid {
    display: none;
  }
}

.ta-ad--list-mid,
.ta-ad--list-bottom {
  margin: 0;
  text-align: center;
}

.ta-ad--list-bottom {
  margin-top: 14px;
}

.ta-ad--post-top {
  margin: 0 0 20px;
}

.ta-ad__code {
  display: block;
  overflow: hidden;
  border-radius: 8px;
}

.ta-ad__code img,
.ta-ad__code iframe {
  max-width: 100%;
}

.ta-ad__code ins {
  max-width: 100%;
}

@media (max-width: 782px) {

  .ta-sidebar-mobile-off .ta-sidebar {
    display: none;
  }
}
