/* ============================================================
   红研工作台 · 方案B风格：深色Hero + 6 Tab 功能展示
   Design tokens: 玫红系 --hy-rose / 深墨 --hy-ink / 暖调背景
   ============================================================ */

:root {
  --hy-ink: #21141b;
  --hy-ink-2: #3a2630;
  --hy-muted: #735d68;
  --hy-muted-light: #a18c96;
  --hy-rose: #df3157;
  --hy-rose-dark: #a51238;
  --hy-rose-soft: #efa0b4;
  --hy-soft: #fff4f6;
  --hy-line: #f1dce2;
  --hy-line-2: #ead5dc;
  --hy-panel: #ffffff;
  --hy-bg: #fff9fa;
  /* 深色Hero专用 */
  --hy-dark-bg: #14070d;
  --hy-dark-bg-2: #220c16;
  --hy-dark-text: #f8e6ea;
  --hy-dark-muted: #b89aa5;
  --hy-dark-line: rgba(239, 160, 180, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; color: var(--hy-ink); background: #fff; }

.hy-page { color: var(--hy-ink); overflow: clip; background: var(--hy-bg); }
.hy-shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.hy-shell--wide { width: min(1320px, calc(100% - 40px)); }

.hy-accent { color: var(--hy-rose); font-style: normal; }
.hy-accent--light { color: #ffd1dc; }

code { padding: 2px 7px; border-radius: 5px; background: #fbeaef; color: var(--hy-rose-dark); font-size: .88em; }

/* ---------- 通用按钮 ---------- */
.hy-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  color: #fff; background: var(--hy-rose);
  font-weight: 800; text-decoration: none;
  box-shadow: 0 12px 22px rgba(181, 20, 60, .22);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.hy-btn:hover { color: #fff; transform: translateY(-2px); background: var(--hy-rose-dark); }
.hy-btn--ghost {
  background: transparent; box-shadow: none;
  border: 1px solid rgba(255, 255, 255, .25); color: var(--hy-dark-text);
}
.hy-btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); }
.hy-btn--light { color: var(--hy-rose-dark); background: #fff; box-shadow: 0 12px 22px rgba(0, 0, 0, .15); }
.hy-btn--light:hover { color: var(--hy-rose-dark); background: #fff6f8; transform: translateY(-2px); }
.hy-btn--ghost-light {
  background: transparent; box-shadow: none;
  border: 1px solid rgba(255, 255, 255, .3); color: #fff;
}
.hy-btn--ghost-light:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); color: #fff; }

/* ============================================================
   Part 1 · 深色沉浸式 Hero
   ============================================================ */
.hy-hero { padding: 96px 0 88px; }
.hy-hero--dark {
  position: relative; overflow: hidden;
  color: var(--hy-dark-text);
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(223, 49, 87, .32), transparent 60%),
    radial-gradient(700px 420px at -5% 110%, rgba(165, 18, 56, .38), transparent 55%),
    linear-gradient(160deg, var(--hy-dark-bg) 0%, var(--hy-dark-bg-2) 55%, #1b0912 100%);
}
.hy-hero--dark::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(239, 160, 180, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 160, 180, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%);
  opacity: .7; pointer-events: none;
}
.hy-hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(480px, 1.05fr);
  align-items: center; gap: 72px;
}

/* Hero 文案 */
.hy-kicker {
  display: inline-flex; align-items: center;
  color: var(--hy-rose-soft); font-weight: 800;
  letter-spacing: .14em; font-size: .78rem; text-transform: uppercase;
}
.hy-kicker--glow {
  padding: 7px 14px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(223, 49, 87, .18), rgba(239, 160, 180, .14));
  border: 1px solid rgba(239, 160, 180, .28);
}
.hy-kicker i { margin-right: 8px; }
.hy-hero-copy h1 {
  max-width: 640px; margin: 20px 0 18px;
  font-size: clamp(2.5rem, 4.6vw, 4.5rem);
  line-height: 1.06; letter-spacing: -.055em; font-weight: 900;
}
.hy-hero-copy h1 em { display: block; font-style: normal; color: var(--hy-rose); }
.hy-hero-copy > p {
  max-width: 560px; margin: 0;
  color: var(--hy-dark-muted); font-size: 1.05rem; line-height: 1.85;
}

/* Hero 数据概览 */
.hy-hero-meta {
  display: flex; align-items: center; flex-wrap: wrap;
  padding: 0; margin: 32px 0 0; list-style: none; gap: 0;
}
.hy-hero-meta li { padding: 6px 22px 6px 0; }
.hy-hero-meta strong {
  display: block; font-size: 1.9rem; font-weight: 900;
  color: #fff; letter-spacing: -.03em; line-height: 1;
}
.hy-hero-meta span {
  display: block; margin-top: 6px;
  color: var(--hy-dark-muted); font-size: .8rem; letter-spacing: .04em;
}
.hy-hero-meta__divider {
  width: 1px; height: 38px; padding: 0 !important;
  margin: 0 14px; background: var(--hy-dark-line);
}

.hy-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- Hero 右侧：编辑器 Mockup ---------- */
.hy-hero-shot { margin: 0; min-width: 0; }
.hy-hero-shot figcaption {
  margin-top: 14px; text-align: center;
  color: var(--hy-dark-muted); font-size: .82rem;
}

.hy-mockup--editor {
  position: relative; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, #1f0e17, #2a111e);
  border: 1px solid rgba(239, 160, 180, .22);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(223, 49, 87, .1) inset;
}
.hy-mockup__browser {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #2f1724, #220f1a);
  border-bottom: 1px solid var(--hy-dark-line);
}
.hy-dot { width: 11px; height: 11px; border-radius: 50%; }
.hy-dot--r { background: #ff5f57; }
.hy-dot--y { background: #febc2e; }
.hy-dot--g { background: #28c840; }
.hy-mockup__address {
  margin-left: 10px; flex: 1;
  padding: 6px 14px; border-radius: 7px;
  background: #170911; color: var(--hy-dark-muted);
  font-size: .76rem; letter-spacing: .02em;
  border: 1px solid var(--hy-dark-line);
}

.hy-mockup__body {
  display: grid; grid-template-columns: 170px minmax(0, 1fr);
  min-height: 460px;
}

/* 左侧步骤条 */
.hy-mockup__steps {
  padding: 18px 12px;
  background: #1a0b13;
  border-right: 1px solid var(--hy-dark-line);
}
.hy-step {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 9px; margin-bottom: 5px;
  border-radius: 8px; font-size: .78rem;
  color: var(--hy-dark-muted); cursor: default;
}
.hy-step__mark {
  width: 22px; height: 22px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%; font-size: .65rem; font-weight: 700;
  background: #2a1621; color: var(--hy-dark-muted);
  border: 1px solid var(--hy-dark-line);
}
.hy-step--done .hy-step__mark {
  background: rgba(40, 200, 64, .15); color: #5ad67c; border-color: rgba(40, 200, 64, .3);
}
.hy-step--active { color: #fff; background: linear-gradient(90deg, rgba(223, 49, 87, .25), rgba(223, 49, 87, .08)); }
.hy-step--active .hy-step__mark {
  background: var(--hy-rose); color: #fff; border-color: var(--hy-rose);
  box-shadow: 0 0 0 3px rgba(223, 49, 87, .2);
}
.hy-step--cta { margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--hy-dark-line); }
.hy-step--cta .hy-step__mark { background: linear-gradient(135deg, var(--hy-rose), #ff7a9c); color: #fff; border: none; }

/* 右侧预览区 */
.hy-mockup__preview {
  position: relative; padding: 22px;
  background:
    radial-gradient(400px 200px at 80% 0%, rgba(223, 49, 87, .14), transparent 60%),
    #1c0d16;
}
.hy-mockup__chip {
  display: inline-block; padding: 4px 11px;
  border-radius: 999px; font-size: .7rem; font-weight: 700;
  background: rgba(223, 49, 87, .18); color: var(--hy-rose-soft);
  border: 1px solid rgba(223, 49, 87, .3);
}
.hy-mockup__chip--dark { background: rgba(255, 255, 255, .06); color: var(--hy-dark-text); border-color: rgba(255, 255, 255, .12); }

.hy-mockup__preview-body {
  margin-top: 14px;
  display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 14px;
}
.hy-mockup__cover {
  height: 190px; border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(223, 49, 87, .5), rgba(165, 18, 56, .3)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 8px, transparent 8px 16px);
  border: 1px solid rgba(239, 160, 180, .22);
}
.hy-mockup__lines { display: flex; flex-direction: column; gap: 9px; padding: 4px 0; }
.hy-mockup__lines span {
  display: block; height: 9px; border-radius: 5px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
}
.hy-mockup__lines span:nth-child(1) { width: 88%; }
.hy-mockup__lines span:nth-child(2) { width: 72%; }
.hy-mockup__lines span:nth-child(3) { width: 94%; height: 24px; border-radius: 8px;
  background: rgba(223, 49, 87, .18); border: 1px solid rgba(223, 49, 87, .3); }
.hy-mockup__lines span:nth-child(4) { width: 58%; }

.hy-mockup__download {
  margin-top: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--hy-rose); color: #fff;
  font-size: .8rem; font-weight: 700;
  box-shadow: 0 8px 18px rgba(223, 49, 87, .4);
}
.hy-mockup__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hy-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  font-size: .7rem; font-weight: 700;
}
.hy-badge--ok { background: rgba(40, 200, 64, .14); color: #5ad67c; border: 1px solid rgba(40, 200, 64, .28); }
.hy-badge--warn { background: rgba(254, 188, 46, .14); color: #ffd27a; border: 1px solid rgba(254, 188, 46, .28); }

/* ============================================================
   Part 2 · 6 Tab 功能展示
   ============================================================ */
.hy-tabs-section { padding: 104px 0 96px; background: var(--hy-bg); }

.hy-tabs-head { text-align: center; max-width: 780px; margin: 0 auto 40px; }
.hy-section-kicker {
  display: inline-block;
  color: var(--hy-rose-dark); font-weight: 800;
  letter-spacing: .16em; font-size: .78rem;
}
.hy-tabs-head h2 {
  margin: 14px 0 14px;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.15; letter-spacing: -.045em; font-weight: 900;
}
.hy-tabs-head p { margin: 0; color: var(--hy-muted); line-height: 1.75; font-size: .98rem; }

/* ---------- Tab 导航条 ---------- */
.hy-tabbar {
  display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px;
  padding: 8px; margin-bottom: 32px;
  background: #fff;
  border: 1px solid var(--hy-line);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(125, 42, 66, .06);
  scrollbar-width: none;
}
.hy-tabbar::-webkit-scrollbar { display: none; }

.hy-tab {
  flex: 0 0 auto;
  padding: 12px 18px; border: 1px solid transparent;
  background: transparent; color: var(--hy-ink-2);
  font-size: .92rem; font-weight: 700;
  border-radius: 11px; cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}
.hy-tab:hover { background: var(--hy-soft); color: var(--hy-rose-dark); }
.hy-tab--active {
  color: #fff;
  background: linear-gradient(135deg, var(--hy-rose), var(--hy-rose-dark));
  border-color: var(--hy-rose);
  box-shadow: 0 8px 18px rgba(223, 49, 87, .25);
}
.hy-tab--active:hover { color: #fff; }

/* ---------- Tab 面板 ---------- */
.hy-tabpanel[hidden] { display: none !important; }
.hy-tabpanel--active { animation: hy-fadeIn .35s ease both; }
@keyframes hy-fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 面板主网格：左文案 · 右焦点图+流程 */
.hy-panel-grid {
  display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 48px; align-items: start;
}

/* 左侧文案区 */
.hy-panel-copy { position: sticky; top: 88px; }
.hy-panel-tag {
  display: inline-block;
  padding: 6px 13px; border-radius: 999px;
  background: var(--hy-soft); color: var(--hy-rose-dark);
  font-size: .76rem; font-weight: 800; letter-spacing: .06em;
}
.hy-panel-tag--active {
  background: linear-gradient(135deg, rgba(223, 49, 87, .14), rgba(239, 160, 180, .2));
  border: 1px solid rgba(223, 49, 87, .28);
}
.hy-panel-copy h3 {
  margin: 18px 0 14px;
  font-size: clamp(1.75rem, 2.6vw, 2.4rem);
  line-height: 1.2; letter-spacing: -.04em; font-weight: 900;
}
.hy-panel-desc {
  margin: 0 0 22px; color: var(--hy-muted);
  line-height: 1.85; font-size: .97rem;
}

/* 5 大卖点列表 */
.hy-points { padding: 0; margin: 0; list-style: none; }
.hy-points li {
  display: grid; grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px; align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid var(--hy-line);
}
.hy-points li:last-child { border-bottom: none; }
.hy-points__num {
  width: 30px; height: 30px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 9px; font-size: .8rem; font-weight: 900;
  color: var(--hy-rose-dark);
  background: linear-gradient(135deg, #ffe3ea, #ffd1dc);
  border: 1px solid rgba(223, 49, 87, .2);
}
.hy-points li strong { display: block; color: var(--hy-ink); font-size: .97rem; font-weight: 800; }
.hy-points li em { display: block; margin-top: 4px; color: var(--hy-muted); font-size: .85rem; line-height: 1.55; font-style: normal; }

/* ---------- 右侧：焦点大图 + 流程条 ---------- */
.hy-panel-visual { min-width: 0; }

/* 焦点图大卡片 */
.hy-focus {
  background: #fff;
  border: 1px solid var(--hy-line-2);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(125, 42, 66, .07);
}
.hy-focus__header {
  padding: 13px 18px;
  background: linear-gradient(90deg, var(--hy-soft), #fff);
  border-bottom: 1px solid var(--hy-line);
}
.hy-focus__header span {
  font-size: .82rem; font-weight: 800;
  color: var(--hy-rose-dark); letter-spacing: .03em;
}
.hy-focus__body {
  display: grid; grid-template-columns: 210px minmax(0, 1fr) 200px;
  gap: 14px; padding: 18px;
}
.hy-focus__body--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hy-focus__body--three { grid-template-columns: 1fr 1.05fr 1.05fr; }
.hy-focus__body--three-col { grid-template-columns: 1fr 1fr; }

.hy-focus__col { min-width: 0; }
.hy-focus__col h4 {
  margin: 0 0 10px;
  font-size: .86rem; font-weight: 800; color: var(--hy-ink-2);
  display: flex; align-items: center; gap: 6px;
}
.hy-focus__star {
  color: var(--hy-rose); font-style: normal; font-size: 1rem;
}
.hy-focus__col--equal { min-width: 0; }
.hy-focus__col--wide-half { min-width: 0; }

/* 结构面板项 */
.hy-structure-item {
  padding: 8px 11px; margin-bottom: 6px;
  border-radius: 8px; font-size: .8rem;
  color: var(--hy-muted);
  background: var(--hy-bg);
  border: 1px solid var(--hy-line);
}
.hy-structure-item--active {
  background: linear-gradient(90deg, rgba(223, 49, 87, .1), rgba(223, 49, 87, .02));
  color: var(--hy-rose-dark); border-color: rgba(223, 49, 87, .28); font-weight: 700;
}
.hy-pass {
  margin-top: 10px; padding: 9px 10px;
  border-radius: 9px; font-size: .74rem; line-height: 1.5;
}
.hy-pass i { margin-right: 5px; }
.hy-pass--ok { background: rgba(40, 200, 64, .08); color: #2c8d46; border: 1px solid rgba(40, 200, 64, .2); }
.hy-pass--note { background: rgba(223, 49, 87, .07); color: var(--hy-rose-dark); border: 1px solid rgba(223, 49, 87, .18); }

/* 焦点预览卡 */
.hy-focus__preview-card {
  width: 100%; border-radius: 12px; min-height: 0;
}
.hy-focus__preview-card img { height: auto; max-height: 300px; }

.hy-page-chip {
  display: block; margin-top: 9px; text-align: center;
  color: var(--hy-muted); font-size: .76rem;
}

/* 小卡片截图 */
.hy-cardshot { width: 100%; min-height: 0; border-radius: 10px; }
.hy-cardshot img { height: 190px; object-fit: cover; object-position: top center; }
.hy-cardshot--tall img { height: 320px; }

/* 导出项 */
.hy-export-item {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 11px; margin-bottom: 7px;
  border-radius: 9px;
  background: var(--hy-bg);
  border: 1px solid var(--hy-line);
}
.hy-export-item i {
  width: 34px; height: 34px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 9px; font-size: .95rem;
  background: var(--hy-soft); color: var(--hy-rose);
}
.hy-export-item strong { display: block; font-size: .83rem; font-weight: 800; color: var(--hy-ink-2); }
.hy-export-item em { display: block; margin-top: 2px; font-size: .72rem; color: var(--hy-muted); font-style: normal; }

/* ---------- 流程条（步骤条） ---------- */
.hy-flow {
  list-style: none; padding: 0; margin: 22px 0 0;
  display: grid; gap: 0;
  position: relative;
}
.hy-flow--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hy-flow--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hy-flow--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.hy-flow--7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.hy-flow--9 { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.hy-flow--10 { grid-template-columns: repeat(10, minmax(0, 1fr)); }

.hy-flow-item {
  position: relative;
  padding: 14px 6px 10px;
  text-align: center;
}
/* 连接线 */
.hy-flow-item:not(:last-child)::after {
  content: ""; position: absolute;
  top: 26px; left: calc(50% + 14px); right: calc(-50% + 14px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--hy-line) 0 4px, transparent 4px 8px);
  z-index: 0;
}
.hy-flow-num {
  position: relative; z-index: 1;
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  font-size: .72rem; font-weight: 800;
  color: var(--hy-muted-light);
  background: #fff;
  border: 1.5px solid var(--hy-line);
}
.hy-flow-label {
  display: block; margin-top: 7px;
  font-size: .72rem; line-height: 1.35; color: var(--hy-muted);
  font-weight: 600;
}
.hy-flow-item--active .hy-flow-num {
  color: #fff; background: var(--hy-rose); border-color: var(--hy-rose);
  box-shadow: 0 0 0 4px rgba(223, 49, 87, .12);
}
.hy-flow-item--active .hy-flow-label { color: var(--hy-rose-dark); font-weight: 800; }
.hy-flow-item--active:not(:last-child)::after {
  background: linear-gradient(90deg, var(--hy-rose), var(--hy-line));
}
.hy-flow-item--final .hy-flow-num {
  color: #fff; background: linear-gradient(135deg, var(--hy-rose), #ff7a9c); border-color: var(--hy-rose);
}
.hy-flow-item--final .hy-flow-label { color: var(--hy-rose-dark); font-weight: 800; }

/* ---------- 底部截图画廊 ---------- */
.hy-gallery-full { margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--hy-line); }
.hy-gallery-title {
  margin: 0 0 18px;
  font-size: .95rem; font-weight: 800; color: var(--hy-ink-2);
}

.hy-gallery { display: grid; gap: 14px; }
.hy-gallery--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hy-gallery--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hy-gallery--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hy-gallery--one { grid-template-columns: minmax(0, 1fr); }

.hy-image-button {
  position: relative; display: block; min-width: 0;
  padding: 0; overflow: hidden;
  border: 1px solid var(--hy-line-2); border-radius: 13px;
  background: #fff; cursor: zoom-in;
  box-shadow: 0 9px 22px rgba(91, 42, 58, .06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  text-align: left;
}
.hy-image-button:hover,
.hy-image-button:focus-visible {
  transform: translateY(-3px);
  border-color: var(--hy-rose-soft);
  box-shadow: 0 18px 36px rgba(125, 42, 66, .11);
  outline: none;
}
.hy-image-button img {
  display: block; width: 100%; height: 220px;
  object-fit: contain; object-position: top center;
  background: #fbf5f7;
  transition: transform .25s ease;
}
.hy-image-button:hover img { transform: scale(1.02); }
.hy-image-button span {
  position: absolute; right: 9px; bottom: 9px;
  padding: 5px 10px; border-radius: 999px;
  color: #fff; background: rgba(45, 22, 30, .78);
  font-size: .72rem; font-weight: 700;
  backdrop-filter: blur(4px);
}
.hy-image-button--tall img { height: 520px; object-position: top center; }

/* ============================================================
   直接大图展示模式：hy-gallery-full--direct
  （不做缩略图+弹窗放大，直接完整显示原图）
   ============================================================ */
.hy-gallery-full--direct {
  padding-top: 16px;
  border-top: 1px solid var(--hy-line);
}
.hy-gallery-full--direct .hy-gallery-title {
  margin-bottom: 14px;
  font-size: .9rem;
  color: var(--hy-muted);
  font-weight: 700;
  letter-spacing: .03em;
}
/* 网格：单列大图垂直排列 */
.hy-gallery-full--direct .hy-gallery {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 20px;
}
/* 去掉按钮样式：光标默认、阴影淡化、无缩放、边框柔化 */
.hy-gallery-full--direct .hy-image-button {
  cursor: default;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--hy-line);
  box-shadow: 0 4px 14px rgba(91, 42, 58, .04);
  background: #fff;
}
.hy-gallery-full--direct .hy-image-button:hover,
.hy-gallery-full--direct .hy-image-button:focus-visible {
  transform: none;
  border-color: var(--hy-line-2);
  box-shadow: 0 6px 18px rgba(91, 42, 58, .06);
}
/* 图片：高度自适应、contain完整显示、无缩放动效 · 高度完全不限 */
.hy-gallery-full--direct .hy-image-button img {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;   /* 彻底解除高度限制 */
  object-fit: contain;
  object-position: top center;
  width: 100%;
  background: #faf5f7;
  border-radius: 8px;
}
.hy-gallery-full--direct .hy-image-button:hover img {
  transform: none;
}
/* 保留原角标文字，但改成非悬浮样式（卡片底部标题栏） */
.hy-gallery-full--direct .hy-image-button span {
  position: static;
  display: block;
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--hy-ink-2);
  background: var(--hy-bg);
  border: 1px solid var(--hy-line);
  font-size: .78rem;
  font-weight: 700;
  text-align: center;
  backdrop-filter: none;
}
/* 移动端：底部画廊长图模式下也彻底不限高，只保留卡片内边距收紧 */
@media (max-width: 760px) {
  .hy-gallery-full--direct .hy-image-button img {
    max-height: none !important;
  }
}
@media (max-width: 480px) {
  .hy-gallery-full--direct .hy-image-button {
    padding: 10px;
  }
  .hy-gallery-full--direct .hy-image-button img {
    max-height: none !important;
  }
}

/* ============================================================
   焦点大卡片（.hy-focus）内的预览图：直接 100% 宽展示，不要缩小/裁剪
   （影响：.hy-cardshot 小图、.hy-focus__preview-card 大图等）
   ============================================================ */
/* 1. 移除所有内部图片的固定高度，改成 width:100% 高度自适应 */
.hy-focus .hy-image-button img,
.hy-focus .hy-cardshot img,
.hy-focus .hy-cardshot--tall img,
.hy-focus .hy-focus__preview-card img {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: fill;
  object-position: initial;
}
/* 2. 去掉按钮式交互：光标默认、无缩放hover、阴影柔化 */
.hy-focus .hy-image-button,
.hy-focus .hy-cardshot,
.hy-focus .hy-cardshot--tall,
.hy-focus .hy-focus__preview-card {
  cursor: default;
}
.hy-focus .hy-image-button:hover,
.hy-focus .hy-image-button:focus-visible {
  transform: none;
}
.hy-focus .hy-image-button:hover img {
  transform: none;
}
/* 3. 焦点卡片内的角标 span：从悬浮深色 → 改成卡片底部浅色标题 */
.hy-focus .hy-image-button span {
  position: static;
  display: block;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--hy-ink-2);
  background: var(--hy-bg);
  border: 1px solid var(--hy-line);
  font-size: .78rem;
  font-weight: 700;
  text-align: center;
  backdrop-filter: none;
}
/* 4. 网格列的宽容错：保证图片列不会被挤压到过窄（最小 260px） */
.hy-focus .hy-focus__body,
.hy-focus .hy-focus__body--wide,
.hy-focus .hy-focus__body--three,
.hy-focus .hy-focus__body--three-col {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
/* 5. 导出项 / 结构面板列保持一致的垂直对齐 */
.hy-focus .hy-focus__col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* 6. 焦点卡片的 hy-focus__preview-card：去掉多余的最小高度，让内容决定高度 */
.hy-focus .hy-focus__preview-card {
  min-height: 0;
}

/* ============================================================
   Part 3 · 深色 CTA
   ============================================================ */
.hy-cta { padding: 88px 0; color: #fff; }
.hy-cta--dark {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 360px at 15% 0%, rgba(223, 49, 87, .35), transparent 60%),
    radial-gradient(600px 380px at 100% 100%, rgba(165, 18, 56, .42), transparent 60%),
    linear-gradient(145deg, #1a0810, #2a0f1b 60%, #17070d);
}
.hy-cta__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr);
  align-items: center; gap: 48px;
}
.hy-cta-copy h2 {
  margin: 14px 0 0;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.2; letter-spacing: -.045em; font-weight: 900;
}
.hy-cta-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; }

/* ============================================================
   Lightbox 图片弹窗
   ============================================================ */
.hy-lightbox[hidden] { display: none; }
.hy-lightbox {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center; padding: 20px;
}
.hy-lightbox-backdrop {
  position: absolute; inset: 0;
  background: rgba(24, 12, 17, .8); backdrop-filter: blur(6px);
}
.hy-lightbox-panel {
  position: relative; display: flex; flex-direction: column;
  width: min(1200px, 96vw); max-height: calc(100vh - 40px);
  overflow: hidden; border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .45);
  animation: hy-pop .25s ease both;
}
@keyframes hy-pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.hy-lightbox-head {
  display: flex; align-items: center; justify-content: space-between;
  flex: 0 0 auto; padding: 14px 20px;
  border-bottom: 1px solid #eee0e5;
}
.hy-lightbox-head strong { display: block; font-size: .98rem; font-weight: 800; color: var(--hy-ink); }
.hy-lightbox-head span { display: block; margin-top: 3px; color: var(--hy-muted); font-size: .78rem; }
.hy-lightbox-head button {
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  color: var(--hy-rose-dark); background: var(--hy-soft);
  font-size: 1.05rem; cursor: pointer; transition: background .15s;
}
.hy-lightbox-head button:hover { background: #ffd9e2; }
.hy-lightbox-body {
  min-height: 0; overflow: auto; overscroll-behavior: contain;
  padding: 20px; background: #f5f0f2;
}
.hy-lightbox-body img {
  display: block; width: auto; max-width: 100%; height: auto;
  margin: 0 auto; background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
  border-radius: 6px;
}
body.hy-lightbox-open { overflow: hidden; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1100px) {
  .hy-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hy-hero-copy { max-width: 700px; }
  .hy-panel-grid { grid-template-columns: 1fr; gap: 28px; }
  .hy-panel-copy { position: static; max-width: 700px; }
  .hy-focus__body { grid-template-columns: 1fr 1fr; }
  .hy-focus__body--wide,
  .hy-focus__body--three,
  .hy-focus__body--three-col { grid-template-columns: repeat(2, 1fr); }
  .hy-focus__col--preview { grid-column: 1 / -1; }
  .hy-gallery--four { grid-template-columns: repeat(3, 1fr); }
  .hy-cta__inner { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .hy-cta-buttons { justify-content: center; }

  .hy-flow--9,
  .hy-flow--10 { grid-template-columns: repeat(5, 1fr); }
  .hy-flow--9 .hy-flow-item:nth-child(n+6)::after,
  .hy-flow--10 .hy-flow-item:nth-child(n+6)::after { display: none; }
  .hy-flow--7 { grid-template-columns: repeat(4, 1fr); }
  .hy-flow--7 .hy-flow-item:nth-child(n+5)::after { display: none; }
  .hy-flow--6 { grid-template-columns: repeat(3, 1fr); }
  .hy-flow--6 .hy-flow-item:nth-child(n+4)::after { display: none; }
}
@media (max-width: 760px) {
  .hy-shell { width: min(100% - 28px, 1240px); }
  .hy-shell--wide { width: min(100% - 20px, 1320px); }
  .hy-hero { padding: 68px 0 60px; }
  .hy-hero-meta li { padding: 6px 16px 6px 0; }
  .hy-hero-meta strong { font-size: 1.5rem; }
  .hy-mockup__body { grid-template-columns: 130px minmax(0, 1fr); min-height: 380px; }
  .hy-mockup__preview-body { grid-template-columns: 1fr; }
  .hy-mockup__cover { height: 160px; }

  .hy-tabs-section { padding: 70px 0 64px; }
  .hy-tab { padding: 10px 14px; font-size: .85rem; }
  .hy-focus__body,
  .hy-focus__body--wide,
  .hy-focus__body--three,
  .hy-focus__body--three-col { grid-template-columns: 1fr; }
  .hy-cardshot img { height: auto; max-height: 240px; }
  .hy-cardshot--tall img { height: 340px; }

  .hy-flow--4,
  .hy-flow--3 { grid-template-columns: repeat(2, 1fr); }
  .hy-flow--4 .hy-flow-item:nth-child(n+3)::after,
  .hy-flow--3 .hy-flow-item:nth-child(n+3)::after { display: none; }
  .hy-flow--9,
  .hy-flow--10,
  .hy-flow--7,
  .hy-flow--6 { grid-template-columns: repeat(3, 1fr); }
  .hy-flow--9 .hy-flow-item:nth-child(n+4)::after,
  .hy-flow--10 .hy-flow-item:nth-child(n+4)::after,
  .hy-flow--7 .hy-flow-item:nth-child(n+4)::after,
  .hy-flow--6 .hy-flow-item:nth-child(n+4)::after { display: none; }

  .hy-gallery--four,
  .hy-gallery--three,
  .hy-gallery--two { grid-template-columns: 1fr 1fr; }
  .hy-image-button img { height: auto; max-height: 220px; min-height: 140px; }
  .hy-image-button--tall img { height: 360px; max-height: 420px; }

  .hy-cta { padding: 62px 0; }
}
@media (max-width: 480px) {
  .hy-gallery--four,
  .hy-gallery--three,
  .hy-gallery--two { grid-template-columns: 1fr; }
  .hy-flow--9,
  .hy-flow--10,
  .hy-flow--7,
  .hy-flow--6,
  .hy-flow--4,
  .hy-flow--3 { grid-template-columns: repeat(2, 1fr); }
  .hy-flow-item:nth-child(even)::after { display: none; }
  .hy-hero-meta__divider:nth-of-type(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
