/* ============================================================
   燕子网 · 站长软件商城前台样式
   明亮工作台风格：白卡片 + 浅冷灰底 + 宝塔绿点缀 + xy 布局
   ============================================================ */
:root {
  --yz-bg: #f6f8fa;
  --yz-surface: #ffffff;
  --yz-surface-2: #f1f5f9;
  --yz-ink: #16202a;
  --yz-ink-2: #475569;
  --yz-muted: #7c8b99;
  --yz-line: #e4e9ef;
  --yz-line-2: #cfd8e3;
  --yz-green: #20a53a;
  --yz-green-deep: #17852d;
  --yz-green-soft: #ecf9ef;
  --yz-green-border: #bfe8c7;
  --yz-slate: #0f172a;
  --yz-amber: #b45309;
  --yz-amber-soft: #fffbeb;
  --yz-amber-line: #fde68a;
  --yz-red: #dc2626;
  --yz-red-soft: #fef2f2;

  --yz-r-sm: 6px;
  --yz-r: 10px;
  --yz-r-lg: 14px;
  --yz-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 20px rgba(15, 23, 42, 0.04);
  --yz-shadow-hover: 0 8px 28px rgba(15, 23, 42, 0.08);
  --yz-font: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", -apple-system, sans-serif;
  --yz-mono: "Cascadia Code", "SF Mono", ui-monospace, Consolas, monospace;
}

html,
body {
  height: 100%;
  margin: 0;
}

.yz-body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--yz-bg);
  color: var(--yz-ink);
  font-family: var(--yz-font);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* 补齐常用间距类，配合 hook.css 的 xy 体系 */
.s2 { gap: 2px; }
.s4 { gap: 4px; }
.s6 { gap: 6px; }
.s8 { gap: 8px; }
.s10 { gap: 10px; }
.s12 { gap: 12px; }
.s14 { gap: 14px; }
.s16 { gap: 16px; }
.s20 { gap: 20px; }
.s24 { gap: 24px; }

.yz-wrap {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

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

.yz-mono {
  font-family: var(--yz-mono);
  font-size: 13px;
}

/* ============ 顶部通栏导航 ============ */
.yz-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--yz-line);
}

.yz-header-inner {
  min-height: 66px;
  gap: 16px;
}

.yz-brand {
  text-decoration: none;
  color: var(--yz-ink);
  flex: none;
}

.yz-brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--yz-green-soft);
  border: 1px solid var(--yz-green-border);
  flex: none;
}

.yz-brand-badge img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.yz-brand-badge.is-sm {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.yz-brand-badge.is-sm img {
  width: 20px;
  height: 20px;
}

.yz-brand-name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--yz-ink);
}

.yz-brand-tag {
  font-size: 11px;
  color: var(--yz-muted);
  line-height: 1.2;
}

.yz-nav {
  flex: none;
}

.yz-nav-item {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--yz-ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.yz-nav-item:hover {
  background: var(--yz-surface-2);
  color: var(--yz-ink);
}

.yz-nav-item.is-active {
  background: var(--yz-green-soft);
  color: var(--yz-green-deep);
  font-weight: 600;
}

.yz-header-right {
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}

.yz-top-search {
  width: 240px;
  height: 36px;
  padding: 0 4px 0 11px;
  background: var(--yz-bg);
  border: 1px solid var(--yz-line);
  border-radius: 8px;
  gap: 6px;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.yz-top-search:focus-within {
  background: #fff;
  border-color: var(--yz-green);
  box-shadow: 0 0 0 3px rgba(32, 165, 58, 0.12);
}

.yz-top-search .layui-icon {
  color: var(--yz-muted);
  font-size: 14px;
}

.yz-top-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 13px;
  color: var(--yz-ink);
  font-family: var(--yz-font);
}

.yz-top-search button {
  height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: var(--yz-green);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.yz-top-search button:hover {
  background: var(--yz-green-deep);
}

.yz-user-link,
.yz-user-reg,
.yz-user-pill,
.yz-user-quit {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.yz-user-link {
  color: var(--yz-ink-2);
}

.yz-user-link:hover {
  color: var(--yz-ink);
  background: var(--yz-surface-2);
}

.yz-user-reg {
  background: var(--yz-slate);
  color: #fff;
  font-weight: 500;
}

.yz-user-reg:hover {
  background: #1e293b;
  color: #fff;
}

.yz-user-pill {
  background: var(--yz-surface-2);
  color: var(--yz-ink);
  font-weight: 500;
}

.yz-user-pill:hover {
  background: var(--yz-green-soft);
  color: var(--yz-green-deep);
}

.yz-user-quit {
  color: var(--yz-muted);
  padding: 0 8px;
}

.yz-user-quit:hover {
  color: var(--yz-red);
}

/* ============ 主内容区 ============ */
.yz-main {
  flex: 1;
  padding-top: 28px;
  padding-bottom: 64px;
  gap: 36px;
}

/* ============ 首屏工作台 Hero ============ */
.yz-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(560px 240px at 100% 0%, rgba(32, 165, 58, 0.18), transparent 64%),
    linear-gradient(165deg, #ffffff 0%, #f4fbf6 58%, #e8f7ec 100%);
  border: 1px solid #d4eedb;
  border-radius: var(--yz-r-lg);
  padding: 40px 44px;
  box-shadow: var(--yz-shadow);
}

.yz-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.75fr);
  gap: 36px;
  align-items: center;
}

.yz-hero-badge {
  width: fit-content;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--yz-green-soft);
  border: 1px solid var(--yz-green-border);
  color: var(--yz-green-deep);
  font-size: 12px;
  font-weight: 600;
}

.yz-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yz-green);
}

.yz-hero-copy h1 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.24;
  font-weight: 700;
  color: var(--yz-ink);
  letter-spacing: -0.01em;
}

.yz-hero-desc {
  margin: 0;
  max-width: 38em;
  font-size: 15px;
  line-height: 1.75;
  color: var(--yz-ink-2);
}

.yz-hero-search {
  margin-top: 6px;
  max-width: 500px;
  height: 48px;
  padding: 0 5px 0 14px;
  background: #fff;
  border: 1px solid #d5e6da;
  border-radius: 10px;
  gap: 10px;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.yz-hero-search:focus-within {
  background: #fff;
  border-color: var(--yz-green);
  box-shadow: 0 0 0 4px rgba(32, 165, 58, 0.12);
}

.yz-hero-search .layui-icon {
  font-size: 16px;
  color: var(--yz-muted);
}

.yz-hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: var(--yz-ink);
  font-family: var(--yz-font);
}

.yz-hero-search button {
  height: 38px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: var(--yz-green);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  flex: none;
  transition: background 0.15s ease;
}

.yz-hero-search button:hover {
  background: var(--yz-green-deep);
}

.yz-hero-stats {
  background: #fff;
  border: 1px solid #d7efdc;
  border-radius: 12px;
  padding: 4px 6px;
  box-shadow: 0 8px 22px rgba(23, 133, 45, 0.06);
}

.yz-stat {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 14px 16px;
}

.yz-stat + .yz-stat {
  border-top: 1px solid var(--yz-line);
}

.yz-stat-label {
  font-size: 12px;
  line-height: 1.4;
  color: var(--yz-muted);
}

.yz-stat-num,
.yz-stat-val {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--yz-ink);
}

.yz-stat-num {
  font-variant-numeric: tabular-nums;
}

.yz-stat-num span {
  font-size: 13px;
  font-weight: 500;
  color: var(--yz-muted);
}

.yz-stat-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--yz-green-soft);
  border: 1px solid var(--yz-green-border);
  color: var(--yz-green-deep);
  font-size: 18px;
  flex: none;
}

/* ============ 分区标题 ============ */
.yz-sec-head {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--yz-line);
}

.yz-sec-bar {
  display: inline-block;
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--yz-green);
  flex: none;
}

.yz-sec-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--yz-ink);
  line-height: 1.3;
}

.yz-sec-sub {
  font-size: 13px;
  color: var(--yz-muted);
}

.yz-sec-count {
  font-size: 13px;
  color: var(--yz-muted);
  font-variant-numeric: tabular-nums;
}

.yz-sec-count b {
  color: var(--yz-ink);
}

.yz-clear-link {
  font-size: 13px;
  color: var(--yz-green-deep);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--yz-green-soft);
}

.yz-clear-link:hover {
  background: #dcf5e2;
}

/* ============ 首推横向大卡 ============ */
.yz-feature {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  background: var(--yz-surface);
  border: 1px solid var(--yz-line);
  border-radius: var(--yz-r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--yz-shadow);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.yz-feature:hover {
  border-color: var(--yz-green-border);
  box-shadow: var(--yz-shadow-hover);
  transform: translateY(-2px);
}

.yz-feature-media {
  position: relative;
  min-height: 230px;
  background: var(--yz-surface-2);
  border-right: 1px solid var(--yz-line);
  overflow: hidden;
}

.yz-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yz-feature-body {
  padding: 28px 32px;
  gap: 18px;
}

.yz-tag-new {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 6px;
  background: var(--yz-green-soft);
  color: var(--yz-green-deep);
  font-size: 12px;
  font-weight: 600;
}

.yz-feature-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--yz-ink);
  line-height: 1.35;
}

.yz-feature:hover .yz-feature-title {
  color: var(--yz-green-deep);
}

.yz-feature-desc {
  margin: 0;
  font-size: 14px;
  color: var(--yz-ink-2);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yz-feature-foot {
  padding-top: 16px;
  border-top: 1px solid var(--yz-line);
  flex-wrap: wrap;
  gap: 12px;
}

.yz-card-metrics {
  font-size: 13px;
  color: var(--yz-muted);
}

.yz-card-metrics .layui-icon {
  color: var(--yz-green);
  margin-right: 2px;
}

.yz-btn-ghost {
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--yz-green);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

/* ============ 软件网格卡片 ============ */
.yz-grid > div {
  display: flex;
}

.yz-card {
  width: 100%;
  background: var(--yz-surface);
  border: 1px solid var(--yz-line);
  border-radius: var(--yz-r);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--yz-shadow);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.yz-card:hover {
  border-color: var(--yz-green-border);
  box-shadow: var(--yz-shadow-hover);
  transform: translateY(-2px);
}

.yz-card-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--yz-surface-2);
  border-bottom: 1px solid var(--yz-line);
  overflow: hidden;
}

.yz-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.yz-card:hover .yz-card-cover img {
  transform: scale(1.03);
}

.yz-thumb-ph {
  width: 100%;
  height: 100%;
  color: #94a3b8;
  font-size: 38px;
}

.yz-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 2px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
  backdrop-filter: blur(6px);
}

.yz-badge.is-gated {
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
}

.yz-badge.is-free {
  background: rgba(236, 249, 239, 0.95);
  color: var(--yz-green-deep);
  border: 1px solid var(--yz-green-border);
}

.yz-card-body {
  padding: 16px 18px 18px;
  gap: 8px;
  flex: 1;
}

.yz-card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--yz-ink);
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yz-card:hover .yz-card-title {
  color: var(--yz-green-deep);
}

.yz-card-desc {
  margin: 0;
  font-size: 13px;
  color: var(--yz-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 43px;
}

.yz-card-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--yz-line);
}

.yz-ver-chip {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 5px;
  background: var(--yz-surface-2);
  color: var(--yz-ink-2);
  font-family: var(--yz-mono);
  font-size: 12px;
  font-weight: 500;
}
  
.yz-card-go {
  font-size: 12px;
  font-weight: 600;
  color: var(--yz-green-deep);
}

.yz-card-go .layui-icon {
  font-size: 11px;
}

/* ============ 通用面板与面包屑 ============ */
.yz-panel {
  background: var(--yz-surface);
  border: 1px solid var(--yz-line);
  border-radius: var(--yz-r);
  padding: 24px;
  box-shadow: var(--yz-shadow);
}

.yz-panel-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--yz-line);
}

.yz-panel-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--yz-ink);
}

.yz-panel-hint {
  font-size: 12px;
  color: var(--yz-muted);
}

.yz-crumb {
  font-size: 13px;
  color: var(--yz-muted);
  flex-wrap: wrap;
}

.yz-crumb a {
  color: var(--yz-ink-2);
  text-decoration: none;
}

.yz-crumb a:hover {
  color: var(--yz-green-deep);
}

.yz-crumb-sep {
  font-size: 11px;
  color: var(--yz-line-2);
}

/* ============ 详情页 ============ */
.yz-show-hero {
  gap: 18px;
  display: flex;
  flex-direction: column;
}

.yz-show-cover {
  width: 210px;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--yz-line);
  background: var(--yz-surface-2);
  flex: none;
}

.yz-show-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yz-show-cover.is-empty {
  color: #94a3b8;
  font-size: 40px;
}

.yz-show-info {
  flex: 1;
  min-width: 0;
}

.yz-badge-inline {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.yz-badge-inline.is-gated {
  background: var(--yz-slate);
  color: #fff;
}

.yz-badge-inline.is-free {
  background: var(--yz-green-soft);
  color: var(--yz-green-deep);
  border: 1px solid var(--yz-green-border);
}

.yz-show-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--yz-ink);
}

.yz-show-intro {
  margin: 0;
  font-size: 14px;
  color: var(--yz-ink-2);
  line-height: 1.7;
}

.yz-show-stats {
  padding-top: 6px;
  font-size: 13px;
  color: var(--yz-muted);
  flex-wrap: wrap;
}

.yz-show-stats .layui-icon {
  color: var(--yz-green);
  margin-right: 4px;
}

.yz-prose {
  font-size: 14px;
  line-height: 1.85;
  color: var(--yz-ink-2);
  overflow-wrap: break-word;
}

.yz-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--yz-line);
  margin: 8px 0;
  display: block;
}

.yz-prose h1,
.yz-prose h2,
.yz-prose h3 {
  color: var(--yz-ink);
  margin-top: 20px;
  margin-bottom: 10px;
}

.yz-prose p {
  margin: 0 0 12px;
}

/* 版本时间线 */
.yz-timeline {
  position: relative;
  padding-left: 18px;
}

.yz-timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--yz-line);
}

.yz-tl-item {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--yz-line);
}

.yz-tl-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.yz-tl-item::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--yz-line-2);
}

.yz-tl-item:first-child::before {
  background: var(--yz-green);
  border-color: var(--yz-green);
}

.yz-tl-ver {
  font-family: var(--yz-mono);
  font-size: 14px;
  color: var(--yz-ink);
}

.yz-tl-date {
  font-family: var(--yz-mono);
  font-size: 12px;
  color: var(--yz-muted);
}

.yz-tl-log {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--yz-ink-2);
  line-height: 1.75;
}

/* 右侧操作卡片。版本记录在它下面，整列一起滚动，避免卡片粘住后挡住记录 */
.yz-aside {
  position: static;
}

.yz-action-kicker {
  font-size: 12px;
  font-weight: 600;
  color: var(--yz-green-deep);
}

.yz-action-head h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--yz-ink);
}

.yz-perks {
  margin: 0;
  padding: 14px;
  list-style: none;
  background: var(--yz-bg);
  border: 1px solid var(--yz-line);
  border-radius: 8px;
}

.yz-perks li {
  font-size: 13px;
  color: var(--yz-ink-2);
}

.yz-perks .layui-icon {
  color: var(--yz-green);
  font-size: 14px;
}

.yz-field > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--yz-ink);
}

.yz-field > span small {
  font-weight: 400;
  color: var(--yz-muted);
  margin-left: 6px;
}

.yz-field .layui-input,
.yz-field .layui-textarea {
  border-radius: 8px;
  border-color: var(--yz-line-2);
  background: var(--yz-bg);
}

.yz-field .layui-input:focus,
.yz-field .layui-textarea:focus {
  background: #fff;
}

.yz-action-foot {
  padding-top: 12px;
  border-top: 1px solid var(--yz-line);
}

.yz-back-link {
  font-size: 13px;
  color: var(--yz-muted);
  text-decoration: none;
}

.yz-back-link:hover {
  color: var(--yz-green-deep);
}

/* ============ 按钮 ============ */
.yz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid var(--yz-green);
  background: var(--yz-green);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--yz-font);
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.yz-btn:hover {
  background: var(--yz-green-deep);
  border-color: var(--yz-green-deep);
  color: #fff;
}

.yz-btn-outline {
  background: #fff;
  color: var(--yz-ink);
  border-color: var(--yz-line-2);
  font-weight: 500;
}

.yz-btn-outline:hover {
  background: var(--yz-bg);
  border-color: var(--yz-ink-2);
  color: var(--yz-ink);
}

/* ============ 提示条 & 空状态 ============ */
.yz-alert {
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
}

.yz-alert.is-warn {
  background: var(--yz-amber-soft);
  border: 1px solid var(--yz-amber-line);
  color: var(--yz-amber);
}

.yz-alert a {
  color: var(--yz-amber);
  font-weight: 600;
  text-decoration: underline;
}

.yz-empty {
  padding: 56px 24px;
  background: var(--yz-surface);
  border: 1px dashed var(--yz-line-2);
  border-radius: var(--yz-r-lg);
  text-align: center;
}

.yz-empty-ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yz-green-soft);
  color: var(--yz-green);
  font-size: 24px;
}

.yz-empty strong {
  font-size: 16px;
  color: var(--yz-ink);
}

.yz-empty p {
  margin: 0;
  font-size: 13px;
  color: var(--yz-muted);
}

/* ============ 购买套餐页（仅此处展示价格） ============ */
.yz-checkout {
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
}

.yz-checkout-item {
  padding: 18px 22px;
  flex-wrap: wrap;
}

.yz-checkout-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--yz-line);
  background: var(--yz-surface-2);
  flex: none;
}

.yz-checkout-thumb.is-empty {
  color: #94a3b8;
  font-size: 24px;
}

.yz-checkout-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--yz-ink);
}

.yz-plan {
  position: relative;
  padding: 20px;
  border: 1px solid var(--yz-line-2);
  border-radius: 10px;
  background: var(--yz-bg);
  cursor: pointer;
  height: 100%;
  box-sizing: border-box;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.yz-plan:hover {
  border-color: var(--yz-green);
}

.yz-plan input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.yz-plan-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--yz-ink);
}

.yz-plan-rec {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--yz-green);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.yz-plan-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--yz-line-2);
  background: #fff;
  position: relative;
  flex: none;
}

.yz-plan-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s ease;
}

.yz-plan-price {
  color: var(--yz-ink);
  font-variant-numeric: tabular-nums;
}

.yz-price-unit {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.yz-price-num {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.yz-price-term {
  font-size: 13px;
  color: var(--yz-muted);
}

.yz-plan-desc {
  margin: 0;
  font-size: 13px;
  color: var(--yz-ink-2);
  line-height: 1.6;
}

.yz-plan:has(input:checked) {
  background: var(--yz-green-soft);
  border-color: var(--yz-green);
  box-shadow: 0 0 0 3px rgba(32, 165, 58, 0.12);
}

.yz-plan:has(input:checked) .yz-plan-price {
  color: var(--yz-green-deep);
}

.yz-plan:has(input:checked) .yz-plan-check {
  background: var(--yz-green);
  border-color: var(--yz-green);
}

.yz-plan:has(input:checked) .yz-plan-check::after {
  transform: rotate(45deg) scale(1);
}

.yz-order-foot {
  padding-top: 18px;
  border-top: 1px solid var(--yz-line);
  flex-wrap: wrap;
}

.yz-pay-total {
  font-size: 24px;
  font-weight: 700;
  color: var(--yz-green-deep);
  font-variant-numeric: tabular-nums;
}

/* ============ 我的激活码 ============ */
.yz-page-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--yz-ink);
}

.yz-table-panel {
  padding: 0;
  overflow-x: auto;
}

.yz-table {
  width: 100%;
  border-collapse: collapse;
}

.yz-table th,
.yz-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--yz-line);
  vertical-align: middle;
  white-space: nowrap;
}

.yz-table th {
  background: var(--yz-bg);
  font-size: 12px;
  font-weight: 600;
  color: var(--yz-muted);
}

.yz-table tbody tr:hover {
  background: #fafbfc;
}

.yz-table tbody tr:last-child td {
  border-bottom: 0;
}

.yz-th-act,
.yz-td-act {
  text-align: right !important;
}

.yz-table-name {
  font-weight: 600;
  color: var(--yz-ink);
  text-decoration: none;
}

a.yz-table-name:hover {
  color: var(--yz-green-deep);
}

.yz-code-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--yz-bg);
  border: 1px solid var(--yz-line);
  font-family: var(--yz-mono);
  font-size: 13px;
  color: var(--yz-ink);
  letter-spacing: 0.04em;
}

.yz-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}

.yz-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.yz-status.is-ok {
  color: var(--yz-green-deep);
}

.yz-status.is-ok::before {
  background: var(--yz-green);
}

.yz-status.is-off {
  color: var(--yz-muted);
}

.yz-status.is-off::before {
  background: var(--yz-line-2);
}

.yz-copy-btn {
  height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid var(--yz-line-2);
  background: #fff;
  color: var(--yz-ink-2);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--yz-font);
  transition: all 0.15s ease;
}

.yz-copy-btn:hover {
  border-color: var(--yz-green);
  color: var(--yz-green-deep);
}

.yz-copy-btn.is-copied {
  background: var(--yz-green-soft);
  border-color: var(--yz-green);
  color: var(--yz-green-deep);
}

/* ============ 支付回跳结果页 ============ */
.yz-pay {
  min-height: 100vh;
  padding: 36px 20px;
  box-sizing: border-box;
  background:
    radial-gradient(560px 260px at 50% 0%, rgba(32, 165, 58, 0.1), transparent 70%),
    var(--yz-bg);
}

.yz-pay-card {
  width: min(520px, 100%);
  padding: 32px;
  background: var(--yz-surface);
  border: 1px solid var(--yz-line);
  border-radius: var(--yz-r-lg);
  box-shadow: var(--yz-shadow-hover);
  box-sizing: border-box;
}

.yz-pay-card h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--yz-ink);
}

.yz-pay-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 22px;
  flex: none;
}

.yz-pay-ico.is-ok {
  background: var(--yz-green-soft);
  color: var(--yz-green);
}

.yz-pay-ico.is-wait {
  background: var(--yz-amber-soft);
  color: var(--yz-amber);
}

.yz-pay-ico.is-fail {
  background: var(--yz-red-soft);
  color: var(--yz-red);
}

.yz-pay-code-wrap {
  padding: 16px;
  border-radius: 10px;
  background: var(--yz-bg);
  border: 1px solid var(--yz-line);
}

.yz-pay-code-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--yz-muted);
}

.yz-code-box {
  padding: 16px;
  border-radius: 8px;
  background: var(--yz-slate);
  color: #4ade80;
  font-family: var(--yz-mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  word-break: break-all;
}

.yz-pay-meta {
  font-size: 12px;
  color: var(--yz-muted);
}

.yz-pay-note {
  margin: 0;
  font-size: 13px;
  color: var(--yz-ink-2);
  line-height: 1.7;
}

.yz-pay-actions .yz-btn {
  flex: 1;
}

/* ============ 分页 ============ */
.yz-pager {
  padding-top: 8px;
}

.layui-laypage a,
.layui-laypage span {
  border-radius: 6px;
  margin: 0 3px;
  border-color: var(--yz-line-2);
}

/* ============ 页脚 ============ */
.yz-footer {
  margin-top: auto;
  background: var(--yz-surface);
  border-top: 1px solid var(--yz-line);
}

.yz-footer-inner {
  padding-top: 26px;
  padding-bottom: 26px;
  gap: 16px;
  flex-wrap: wrap;
}

.yz-footer-brand strong {
  font-size: 15px;
  color: var(--yz-ink);
}

.yz-footer-brand span {
  font-size: 12px;
  color: var(--yz-muted);
}

.yz-footer-links a {
  font-size: 13px;
  color: var(--yz-ink-2);
  text-decoration: none;
}

.yz-footer-links a:hover {
  color: var(--yz-green-deep);
}

.yz-footer-copy {
  font-size: 12px;
  color: var(--yz-muted);
}

.yz-footer-copy a {
  color: var(--yz-muted);
  text-decoration: none;
}

.yz-footer-copy a:hover {
  color: var(--yz-green-deep);
}

/* ============ 响应式 ============ */
@media (max-width: 980px) {
  .yz-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .yz-feature {
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  }

  .yz-aside {
    position: static;
  }
}

@media (max-width: 760px) {
  .yz-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .yz-header-inner {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .yz-header-left {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .yz-nav {
    overflow-x: auto;
  }

  .yz-nav-item {
    padding: 0 10px;
    font-size: 13px;
  }

  .yz-header-right {
    width: 100%;
    justify-content: space-between;
  }

  .yz-top-search {
    flex: 1;
    width: auto;
  }

  .yz-main {
    padding-top: 18px;
    padding-bottom: 44px;
    gap: 26px;
  }

  .yz-hero {
    padding: 24px 20px;
  }

  .yz-hero-search {
    height: auto;
    padding: 6px;
    flex-direction: column;
    align-items: stretch;
  }

  .yz-hero-search .layui-icon {
    display: none;
  }

  .yz-hero-search input {
    height: 38px;
    padding: 0 8px;
  }

  .yz-feature {
    grid-template-columns: 1fr;
  }

  .yz-feature-media {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid var(--yz-line);
  }

  .yz-feature-body {
    padding: 20px;
  }

  .yz-show-head {
    flex-direction: column;
    gap: 16px;
  }

  .yz-show-cover {
    width: 100%;
    max-width: 260px;
  }

  .yz-show-title {
    font-size: 22px;
  }

  .yz-panel {
    padding: 18px;
  }

  .yz-table-panel {
    padding: 0;
  }

  .yz-order-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .yz-order-btns .yz-btn {
    flex: 1;
  }

  .yz-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .yz-footer-copy {
    align-items: flex-start;
  }
}
