/* 征辰官网 · 熠察专页（yc / ycp / ycf） */
/* 依赖 main.css，仅 product/yicha.php 引入 */

/* Yicha product page */

.yc-hero {
  position: relative;
  padding: 48px 0 88px;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 90% 70% at 10% -8%, rgba(255, 255, 255, 0.92), transparent 55%),
    radial-gradient(ellipse 65% 50% at 92% 108%, rgba(10, 107, 156, 0.045), transparent 52%),
    linear-gradient(165deg, #fbfcfe 0%, #f3f7fb 50%, #eef3f8 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.yc-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.yc-hero-bg::before {
  content: "";
  position: absolute;
  inset: -30% -20%;
  background:
    linear-gradient(
      118deg,
      rgba(255, 255, 255, 0.7) 0%,
      rgba(255, 255, 255, 0.16) 22%,
      rgba(255, 255, 255, 0) 38%,
      rgba(10, 107, 156, 0.03) 52%,
      rgba(255, 255, 255, 0) 68%,
      rgba(255, 255, 255, 0.24) 100%
    );
  transform: rotate(-6deg);
  opacity: 0.85;
  pointer-events: none;
}

.yc-hero-bg::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -25%;
  width: 68%;
  height: 120%;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.1) 34%,
    rgba(255, 255, 255, 0) 58%
  );
  filter: blur(26px);
  opacity: 0.68;
  pointer-events: none;
}

.yc-hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  mix-blend-mode: multiply;
}

.yc-hero[data-phase]:not([data-phase="0"]) .yc-hero-grid {
  animation: hsGridInSoft 1.2s ease forwards;
}

.yc-hero-glow {
  position: absolute;
  left: 50%;
  top: 45%;
  width: min(720px, 90vw);
  height: min(400px, 52vh);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 40% 40%, rgba(255, 255, 255, 0.4), transparent 55%),
    radial-gradient(ellipse at center, rgba(10, 107, 156, 0.1), transparent 70%);
  opacity: 0;
  filter: blur(12px);
}

.yc-hero[data-phase]:not([data-phase="0"]) .yc-hero-glow {
  animation: hsGlowIn 1.2s ease 0.08s forwards;
}


/* Trial: devices flank centered copy, matched height + soft fade */
.yc-hero-layout {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
  display: grid;
  grid-template-columns:
    minmax(96px, 132px)
    minmax(0, 1fr)
    minmax(150px, 210px);
  align-items: center;
  column-gap: clamp(16px, 2.5vw, 36px);
}

.yc-prop {
  margin: 0;
  justify-self: center;
  align-self: center;
  opacity: 0.58;
  filter: saturate(0.94);
}

.yc-prop--phone {
  width: 100%;
  max-width: 124px;
  -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 62%, transparent 100%);
}

.yc-prop--laptop {
  width: 100%;
  max-width: 200px;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(270deg, #000 62%, transparent 100%);
  mask-image: linear-gradient(270deg, #000 62%, transparent 100%);
}

.yc-prop-bezel {
  box-shadow:
    0 14px 32px -22px rgba(15, 40, 60, 0.4),
    0 0 0 1px rgba(10, 107, 156, 0.08);
  overflow: hidden;
}

.yc-prop-bezel--phone {
  border-radius: 18px;
  padding: 6px 5px 8px;
  background: #141b24;
  height: 220px;
  width: auto;
  margin-inline: auto;
  aspect-ratio: 9 / 17.5;
}

.yc-prop-bezel--phone img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  object-position: center top;
}

.yc-prop-bezel--laptop {
  border-radius: 8px 8px 3px 3px;
  padding: 7px 7px 5px;
  background: #e4ebf2;
  height: 128px;
  width: 100%;
  max-width: 200px;
  margin-inline: auto;
}

.yc-prop-bezel--laptop img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  object-fit: cover;
  object-position: center top;
  background: #fff;
}

.yc-prop-base {
  display: block;
  width: 100%;
  max-width: 200px;
  height: 8px;
  margin: 0 auto;
  border-radius: 0 0 6px 6px;
  background: #c5cfdb;
  box-shadow: 0 6px 12px -10px rgba(15, 40, 60, 0.35);
}

/* Phone + laptop stack to similar visual mass: phone tall+narrow, laptop short+wide */
.yc-prop--laptop {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 980px) {
  .yc-hero-layout {
    grid-template-columns:
      minmax(80px, 108px)
      minmax(0, 1fr)
      minmax(120px, 168px);
    column-gap: 12px;
  }

  .yc-prop-bezel--phone { height: 190px; }
  .yc-prop-bezel--laptop { height: 110px; }
}

@media (max-width: 780px) {
  .yc-hero-layout {
    grid-template-columns: 1fr;
    width: min(100% - 40px, 820px);
  }

  .yc-prop--phone,
  .yc-prop--laptop {
    display: none;
  }
}


.yc-hero-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  grid-column: 2;
}

.yc-hero[data-phase="3"] .ych-back {
  animation: hsFinalUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
}

.yc-hero[data-phase="1"] .ych-beat--brand,
.yc-hero[data-phase="2"] .ych-beat--line,
.yc-hero[data-phase="3"] .ych-beat--final {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
  left: auto;
  top: auto;
  transform: none;
}

.yc-hero[data-phase="1"] .ych-brand-text {
  animation: hsBladeReveal 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.yc-hero[data-phase="1"] .ych-beat--brand .hs-blade {
  animation: hsBladeSweep 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.yc-hero[data-phase="2"] .ych-pull {
  animation: hsPullText 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ych-beat--final .yc-brand {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin: 0 0 14px;
  line-height: 1.3;
  max-width: 16em;
  transform: scale(1.05) translateY(10px);
}

.yc-hero-grad {
  background: linear-gradient(105deg, #9aa3ab, #9aa3ab);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.ych-beat--final .yc-lead {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
  max-width: 32em;
  margin: 0 0 24px;
  transform: translateY(14px);
}

.ych-beat--final .yc-hero-note {
  margin-top: 16px;
  font-size: 0.86rem;
  color: var(--muted);
  transform: translateY(12px);
}

.yc-hero[data-phase="3"] .ych-beat--final .yc-brand {
  animation: hsTitleSlam 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.yc-hero[data-phase="3"] .ych-beat--final h1 {
  animation: hsFinalUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.22s forwards;
}

.yc-hero[data-phase="3"] .yc-hero-grad {
  animation:
    hsGradLight 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards,
    heroKeywordPulse 5s ease-in-out 2s infinite;
}

.yc-hero[data-phase="3"] .ych-beat--final .yc-lead {
  animation: hsFinalUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.38s forwards;
}

.yc-hero[data-phase="3"] .ych-beat--final .btn-row {
  animation: hsFinalUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.52s forwards;
}

.yc-hero[data-phase="3"] .ych-beat--final .yc-hero-note {
  animation: hsFinalUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.66s forwards;
}

@media (max-width: 700px) {
.yc-hero {
    min-height: auto;
    padding: 36px 0 64px;
  }

.yc-hero-stage {
    min-height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
.yc-hero-grid,
  .yc-hero-glow,
  .ych-brand-text,
  .ych-beat--brand .hs-blade,
  .ych-pull,
  .ych-beat--final > *,
  .ych-back,
  .yc-hero-grad {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    filter: none !important;
  }

.yc-hero .ych-beat {
    position: absolute;
    opacity: 0;
    visibility: hidden;
  }

.yc-hero .ych-beat--final {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    left: auto;
    top: auto;
    transform: none;
  }

.yc-hero-grad {
    background: linear-gradient(105deg, #053a56 0%, #0a6b9c 45%, #1490c0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

/* Proof: timeline layout + spotlight / scrape / extract / before-after */

.yc-proof {
  position: relative;
  overflow: hidden;
}

.yc-proof .section-head h2 {
  max-width: 18em;
}

.ycp-head-em {
  background: linear-gradient(105deg, #053a56 0%, #0a6b9c 50%, #1490c0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.ycp-head {
  opacity: 0;
  transform: translateY(18px);
}

.yc-proof[data-proof-phase]:not([data-proof-phase="0"]) .ycp-head {
  animation: hsFinalUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ycp-timeline {
  position: relative;
  margin-top: 20px;
  max-width: 42rem;
  padding-left: 36px;
}

.ycp-rail {
  position: absolute;
  left: 11px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: rgba(10, 107, 156, 0.12);
  border-radius: 2px;
  overflow: hidden;
}

.ycp-rail-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, #0a6b9c, #0c8ab8);
  border-radius: 2px;
  transition: height 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.yc-proof[data-focus="item"] .ycp-rail-fill { height: 18%; }

.yc-proof[data-focus="verdict"] .ycp-rail-fill { height: 42%; }

.yc-proof[data-focus="law"] .ycp-rail-fill { height: 68%; }

.yc-proof[data-focus="fix"] .ycp-rail-fill,
.yc-proof[data-focus="done"] .ycp-rail-fill { height: 100%; }

.ycp-glow {
  position: absolute;
  left: 0;
  width: min(480px, 95%);
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(10, 107, 156, 0.14), transparent 70%);
  opacity: 0;
  pointer-events: none;
  filter: blur(8px);
  transition: opacity 0.5s ease, top 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  top: 58%;
}

.yc-proof[data-focus="law"] .ycp-glow {
  opacity: 1;
}

.ycp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ycp-step {
  position: relative;
  margin: 0;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(2px);
  transition:
    opacity 0.45s ease,
    filter 0.45s ease,
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.ycp-node {
  position: absolute;
  left: -36px;
  top: 0.35em;
  width: 12px;
  height: 12px;
  margin-left: 6px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(10, 107, 156, 0.28);
  box-sizing: border-box;
  transition: border-color 0.35s, background 0.35s, box-shadow 0.35s, transform 0.35s;
}

.ycp-step--verdict .ycp-node { border-color: rgba(192, 57, 43, 0.4); }

.ycp-step--law .ycp-node { border-color: rgba(10, 107, 156, 0.45); }

.yc-proof[data-focus="item"] .ycp-step--item .ycp-node,
.yc-proof[data-focus="verdict"] .ycp-step--item .ycp-node,
.yc-proof[data-focus="verdict"] .ycp-step--verdict .ycp-node,
.yc-proof[data-focus="law"] .ycp-step--item .ycp-node,
.yc-proof[data-focus="law"] .ycp-step--verdict .ycp-node,
.yc-proof[data-focus="law"] .ycp-step--law .ycp-node,
.yc-proof[data-focus="fix"] .ycp-node,
.yc-proof[data-focus="done"] .ycp-node {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(10, 107, 156, 0.12);
}

.yc-proof[data-focus="verdict"] .ycp-step--verdict .ycp-node,
.yc-proof[data-focus="law"] .ycp-step--verdict .ycp-node,
.yc-proof[data-focus="fix"] .ycp-step--verdict .ycp-node,
.yc-proof[data-focus="done"] .ycp-step--verdict .ycp-node {
  background: #c0392b;
  border-color: #c0392b;
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.12);
}

.yc-proof[data-focus="item"] .ycp-step--item .ycp-node,
.yc-proof[data-focus="verdict"] .ycp-step--verdict .ycp-node,
.yc-proof[data-focus="law"] .ycp-step--law .ycp-node,
.yc-proof[data-focus="fix"] .ycp-step--fix .ycp-node {
  transform: scale(1.15);
}

/* reveal + spotlight */

.yc-proof[data-proof-phase="2"] .ycp-step--item,
.yc-proof[data-proof-phase="3"] .ycp-step--item,
.yc-proof[data-proof-phase="4"] .ycp-step--item,
.yc-proof[data-proof-phase="5"] .ycp-step--item,
.yc-proof[data-proof-phase="3"] .ycp-step--verdict,
.yc-proof[data-proof-phase="4"] .ycp-step--verdict,
.yc-proof[data-proof-phase="5"] .ycp-step--verdict,
.yc-proof[data-proof-phase="4"] .ycp-step--law,
.yc-proof[data-proof-phase="5"] .ycp-step--law,
.yc-proof[data-proof-phase="5"] .ycp-step--fix {
  opacity: 1;
  transform: none;
  filter: none;
}

.yc-proof[data-focus="item"] .ycp-step:not(.ycp-step--item),
.yc-proof[data-focus="verdict"] .ycp-step:not(.ycp-step--verdict),
.yc-proof[data-focus="law"] .ycp-step:not(.ycp-step--law),
.yc-proof[data-focus="fix"] .ycp-step:not(.ycp-step--fix) {
  opacity: 0.3;
  filter: saturate(0.75);
}

.yc-proof[data-focus="done"] .ycp-step {
  opacity: 1;
  filter: none;
  transform: none;
}

.ycp-step-body { min-width: 0; }

.ycp-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.ycp-cat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}

.ycp-badge {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 650;
  color: #c0392b;
  letter-spacing: 0.06em;
}

.yc-proof[data-focus="item"] .ycp-badge {
  animation: ycpBadge 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ycp-check {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}

.ycp-k {
  display: block;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 8px;
}

.ycp-step--fix .ycp-k { color: var(--accent); }

.ycp-fail {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #c0392b;
}

.ycp-body {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.8;
}

.ycp-err {
  color: #c0392b;
  font-weight: 650;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.ycp-ok-hint {
  color: var(--accent-deep);
  font-weight: 650;
}

.ycp-cite-seed {
  display: inline;
  color: var(--accent);
  font-weight: 650;
  box-shadow: inset 0 -2px 0 rgba(10, 107, 156, 0.35);
  transition: opacity 0.45s;
}

.yc-proof[data-focus="law"] .ycp-cite-seed {
  opacity: 0.25;
}

.ycp-law-code {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--accent-deep);
}

.ycp-law-scrape {
  display: inline;
  background: linear-gradient(105deg, #9aa3ab 0%, #9aa3ab 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.yc-proof[data-focus="law"] .ycp-law-scrape,
.yc-proof[data-focus="fix"] .ycp-law-scrape,
.yc-proof[data-focus="done"] .ycp-law-scrape {
  animation: ycpScrape 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.yc-proof[data-focus="law"] .ycp-step--law {
  animation: ycpExtract 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ycp-law-tip {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.ycp-swap {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
}

.ycp-before {
  color: #c0392b;
  position: relative;
  opacity: 0;
  transform: translateX(-10px);
}

.ycp-before::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  top: 52%;
  height: 2px;
  background: #c0392b;
  transform: scaleX(0);
  transform-origin: left;
}

.ycp-after {
  color: var(--accent-deep);
  opacity: 0;
  transform: translateX(10px);
}

.ycp-swap-arrow {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, #064a6e, #0c8ab8);
  position: relative;
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left;
}

.ycp-swap-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #0c8ab8;
  border-top: 2px solid #0c8ab8;
  transform: translateY(-50%) rotate(45deg);
}

.yc-proof[data-focus="fix"] .ycp-before,
.yc-proof[data-focus="done"] .ycp-before {
  animation: ycpBeforeIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.yc-proof[data-focus="fix"] .ycp-before::after,
.yc-proof[data-focus="done"] .ycp-before::after {
  animation: ycpStrike 0.35s ease 0.35s forwards;
}

.yc-proof[data-focus="fix"] .ycp-swap-arrow,
.yc-proof[data-focus="done"] .ycp-swap-arrow {
  animation: ycpArrowIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

.yc-proof[data-focus="fix"] .ycp-after,
.yc-proof[data-focus="done"] .ycp-after {
  animation: ycpAfterIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
}

.ycp-fix-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.ycp-fix-list li {
  position: relative;
  padding-left: 1em;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(10px);
}

.ycp-fix-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.yc-proof[data-focus="fix"] .ycp-fix-list li:nth-child(1),
.yc-proof[data-focus="done"] .ycp-fix-list li:nth-child(1) {
  animation: hsFinalUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.85s forwards;
}

.yc-proof[data-focus="fix"] .ycp-fix-list li:nth-child(2),
.yc-proof[data-focus="done"] .ycp-fix-list li:nth-child(2) {
  animation: hsFinalUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.98s forwards;
}

.yc-proof[data-focus="fix"] .ycp-fix-list li:nth-child(3),
.yc-proof[data-focus="done"] .ycp-fix-list li:nth-child(3) {
  animation: hsFinalUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards;
}

.yc-proof[data-focus="fix"] .ycp-fix-list li:nth-child(4),
.yc-proof[data-focus="done"] .ycp-fix-list li:nth-child(4) {
  animation: hsFinalUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 1.22s forwards;
}

@media (max-width: 600px) {
.ycp-timeline { padding-left: 28px; }

.ycp-node { left: -28px; margin-left: 4px; }

.ycp-rail { left: 7px; }
}

@media (prefers-reduced-motion: reduce) {
.ycp-head,
  .ycp-step,
  .ycp-badge,
  .ycp-law-scrape,
  .ycp-before,
  .ycp-after,
  .ycp-swap-arrow,
  .ycp-fix-list li,
  .ycp-rail-fill,
  .ycp-glow,
  .ycp-node {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

.ycp-rail-fill { height: 100% !important; }

.ycp-before::after { transform: scaleX(1); }

.ycp-glow { opacity: 0 !important; }

.ycp-law-scrape {
    background: linear-gradient(105deg, #053a56 0%, #0a6b9c 45%, #1490c0 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }

.ycp-node {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
  }
}

/* Demo: cinema focus ? A depth + D curtain + F title-first */

.yc-channels {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: rgba(10, 107, 156, 0.06);
  border-radius: 999px;
}

.yc-channel {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 550;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.yc-channel.is-active {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 2px 8px -4px rgba(15, 40, 60, 0.25);
}

.ycf-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px 20px;
  margin: 8px 0 16px;
}

.ycf-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.ycf-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: transparent;
  opacity: 0.45;
  transition: background 0.3s, opacity 0.3s, transform 0.3s;
}

.ycf-dots span.is-on {
  background: var(--accent);
  opacity: 1;
  transform: scale(1.15);
}

/* F: title first */

.ycf-stage-label {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin: 0 0 18px;
  min-height: 1.6em;
  opacity: 0;
  transform: translateY(12px);
}

.ycf-stage-label.is-in {
  animation: ycfTitleIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ycf-stage-label.is-swap {
  animation: ycfTitleSwap 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ycf-stage-k {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.ycf-stage-label strong {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  color: var(--accent-deep);
}

.ycf-stage {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 8px 4px;
}

.ycf-stage-main {
  min-width: 0;
}

.ycf-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 20px -14px rgba(15, 40, 60, 0.45);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  z-index: 3;
}

.ycf-arrow:hover:not(:disabled) {
  background: rgba(10, 107, 156, 0.06);
  border-color: var(--accent);
  color: var(--accent);
}

.ycf-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.ycf-arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.ycf-board {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 440px;
  padding: 12px 0 8px;
}

.ycf-board.is-active {
  display: flex;
}

.ycf-card {
  position: relative;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  cursor: zoom-in;
  text-align: left;
  font: inherit;
  color: inherit;
  overflow: hidden;
  flex: 0 0 auto;
  width: 11%;
  max-width: 110px;
  opacity: 0;
  transform: scale(0.9) translateY(14px);
  filter: blur(2.5px) saturate(0.6);
  box-shadow: 0 12px 28px -22px rgba(15, 40, 60, 0.35);
  transition:
    width 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    max-width 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s ease,
    filter 0.55s ease,
    box-shadow 0.5s ease;
}

.ycf-board.is-ready .ycf-card {
  opacity: 0.4;
  transform: scale(0.94);
}

/* A: depth of field on non-focus */

.ycf-board.is-ready .ycf-card:not(.is-focus) {
  opacity: 0.36;
  filter: blur(2.5px) saturate(0.55);
  transform: scale(0.92);
}

.ycf-card.is-focus {
  width: min(68%, 740px);
  max-width: 740px;
  opacity: 1 !important;
  filter: none !important;
  z-index: 2;
  box-shadow:
    0 0 0 1px rgba(10, 107, 156, 0.2),
    0 30px 60px -32px rgba(15, 40, 60, 0.55);
}

.ycf-card.is-focus.is-pop {
  animation: ycfFocusPop 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ycf-board--mini .ycf-card {
  width: 9%;
  max-width: 84px;
  border-radius: 14px;
}

.ycf-board--mini .ycf-card.is-focus {
  width: min(36%, 260px);
  max-width: 260px;
  overflow: visible;
}

.ycf-board--mini .ycf-card.is-focus img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
}

.ycf-card img {
  display: block;
  width: 100%;
  height: auto;
}

.ycf-card--phone img {
  border-radius: 13px;
}

.ycf-cap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 0.88rem;
  font-weight: 550;
  color: var(--ink-soft);
  background: rgba(247, 249, 252, 0.96);
  border-top: 1px solid var(--line);
}

.ycf-card:not(.is-focus) .ycf-cap {
  padding: 6px 8px;
  font-size: 0.7rem;
}

.ycf-card:not(.is-focus) .ycf-cap b {
  width: 16px;
  height: 16px;
  font-size: 0.62rem;
}

.ycf-cap b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.75rem;
  color: #fff;
  background: var(--accent);
}

/* D: vertical light curtain */

.ycf-curtain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  z-index: 3;
}

.ycf-curtain::before {
  content: "";
  position: absolute;
  top: -5%;
  bottom: -5%;
  left: -35%;
  width: 32%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 30%,
    rgba(255, 255, 255, 0.75) 48%,
    rgba(12, 138, 184, 0.28) 56%,
    transparent 100%
  );
  filter: blur(0.5px);
}

.ycf-card.is-focus.is-curtain .ycf-curtain {
  opacity: 1;
}

.ycf-card.is-focus.is-curtain .ycf-curtain::before {
  animation: ycfCurtain 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ycf-card.is-result {
  outline: 2px solid rgba(10, 107, 156, 0.4);
  box-shadow:
    0 0 0 6px rgba(10, 107, 156, 0.08),
    0 30px 60px -30px rgba(15, 40, 60, 0.55);
}

.ycf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 56px 20px 32px;
  overflow: hidden;
  background: rgba(15, 30, 45, 0.78);
  backdrop-filter: blur(4px);
}

.ycf-lightbox[hidden] { display: none; }

.ycf-lightbox .zc-zoom {
  flex: 0 1 auto;
  max-width: min(960px, calc(100vw - 160px));
  max-height: calc(100vh - 112px);
  max-height: calc(100dvh - 112px);
}

.ycf-lightbox.is-phone .zc-zoom {
  max-width: min(300px, calc(100vw - 160px));
  max-height: calc(100vh - 140px);
  max-height: calc(100dvh - 140px);
}

.ycf-lightbox .zc-zoom img {
  max-width: 100%;
  max-height: min(calc(100vh - 112px), 100%);
  max-height: min(calc(100dvh - 112px), 100%);
}

.ycf-lightbox.is-phone .zc-zoom img {
  max-height: min(calc(100vh - 140px), 100%);
  max-height: min(calc(100dvh - 140px), 100%);
}

.ycf-lightbox-arrow {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5);
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  z-index: 2;
}

.ycf-lightbox-arrow:hover:not(:disabled) {
  background: #fff;
  color: var(--accent);
}

.ycf-lightbox-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.ycf-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {

.ycf-stage {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 4px;
  }

  .ycf-arrow {
    width: 38px;
    height: 38px;
  }

.ycf-board {
    flex-direction: column;
    min-height: 0;
    gap: 14px;
  }

.ycf-card,
  .ycf-board--mini .ycf-card {
    width: min(70%, 260px);
    max-width: none;
  }

.ycf-board.is-ready .ycf-card:not(.is-focus) {
    opacity: 0.32;
    filter: blur(1.5px) saturate(0.6);
    transform: scale(0.96);
  }

.ycf-card.is-focus,
  .ycf-board--mini .ycf-card.is-focus {
    width: min(100%, 440px);
    max-width: 440px;
    order: -1;
  }

.ycf-board--mini .ycf-card.is-focus {
    width: min(56%, 220px);
  }
}

@media (prefers-reduced-motion: reduce) {
.ycf-card,
  .ycf-curtain,
  .ycf-stage-label {
    transition: none !important;
    animation: none !important;
  }

.ycf-stage-label,
  .ycf-board.is-ready .ycf-card {
    opacity: 1;
    transform: none;
    filter: none;
  }

.ycf-card.is-focus {
    opacity: 1 !important;
    filter: none !important;
  }
}

@media (max-width: 700px) {
  .ycf-lightbox {
    gap: 8px;
    padding: 52px 10px 24px;
  }

  .ycf-lightbox-arrow {
    width: 38px;
    height: 38px;
  }

  .ycf-lightbox .zc-zoom {
    max-width: calc(100vw - 100px);
    max-height: calc(100vh - 100px);
    max-height: calc(100dvh - 100px);
  }

  .ycf-lightbox.is-phone .zc-zoom {
    max-width: min(260px, calc(100vw - 100px));
    max-height: calc(100vh - 120px);
    max-height: calc(100dvh - 120px);
  }

  .ycf-lightbox .zc-zoom img {
    max-height: min(calc(100vh - 100px), 100%);
    max-height: min(calc(100dvh - 100px), 100%);
  }

  .ycf-lightbox.is-phone .zc-zoom img {
    max-height: min(calc(100vh - 120px), 100%);
    max-height: min(calc(100dvh - 120px), 100%);
  }
}

/* Coverage tree: central trunk + alternating branches */

.yc-tree {
  position: relative;
  margin: 28px auto 0;
  max-width: 920px;
  padding: 8px 0 12px;
}

.yc-tree-head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.yc-tree-crown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1.25rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 10px 24px -14px rgba(10, 107, 156, 0.7);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
}

.yc-tree-axis {
  position: absolute;
  left: 50%;
  top: 48px;
  bottom: 28px;
  width: 0;
  z-index: 0;
  pointer-events: none;
}

.yc-tree-spine {
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--accent) 0%,
    rgba(10, 107, 156, 0.45) 55%,
    rgba(10, 107, 156, 0.15) 100%
  );
  transform: scaleY(0);
  transform-origin: top center;
}

.yc-tree-branches {
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  position: relative;
  z-index: 1;
}

.yc-tree-branch {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: calc(50% - 2px);
  padding: 16px 28px 18px;
  opacity: 0;
  transform: translateY(14px);
}

.yc-tree-branch.is-left {
  margin-right: auto;
  justify-content: flex-end;
  text-align: right;
  padding-right: 36px;
}

.yc-tree-branch.is-right {
  margin-left: auto;
  justify-content: flex-start;
  text-align: left;
  padding-left: 36px;
}

.yc-tree-branch::before {
  content: "";
  position: absolute;
  top: 28px;
  width: 28px;
  height: 1px;
  background: rgba(10, 107, 156, 0.35);
  transform: scaleX(0);
  transform-origin: center;
}

.yc-tree-branch.is-left::before {
  right: 0;
  transform-origin: right center;
}

.yc-tree-branch.is-right::before {
  left: 0;
  transform-origin: left center;
}

.yc-tree-joint {
  position: absolute;
  top: 24px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 3px rgba(10, 107, 156, 0.12);
  transform: scale(0);
  z-index: 2;
}

.yc-tree-branch.is-left .yc-tree-joint {
  right: 0;
  transform: translate(50%, 0) scale(0);
}

.yc-tree-branch.is-right .yc-tree-joint {
  left: 0;
  transform: translate(-50%, 0) scale(0);
}

.yc-tree-node {
  max-width: 360px;
}

.yc-tree-no {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.yc-tree-node h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 650;
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.35;
}

.yc-tree-leaves {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: inherit;
}

.yc-tree-branch.is-left .yc-tree-leaves {
  justify-content: flex-end;
}

.yc-tree-branch.is-right .yc-tree-leaves {
  justify-content: flex-start;
}

.yc-tree-leaves li {
  font-size: 0.8rem;
  line-height: 1.3;
  color: var(--ink-soft);
  padding: 0.22rem 0.55rem;
  background: rgba(10, 107, 156, 0.07);
  border-radius: 999px;
  opacity: 0;
  transform: translateY(6px);
}

.yc-tree-branch.is-direct .yc-tree-joint {
  background: var(--accent);
  border-color: var(--accent);
}

/* Enter motion */
.yc-tree.is-in .yc-tree-crown {
  animation: ycTreeCrownIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.yc-tree.is-in .yc-tree-spine {
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
  transform: scaleY(1);
}

.yc-tree.is-in .yc-tree-branch {
  animation: ycTreeBranchIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(0.18s + var(--i) * 0.07s);
}

.yc-tree.is-in .yc-tree-branch::before {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(0.28s + var(--i) * 0.07s);
  transform: scaleX(1);
}

.yc-tree.is-in .yc-tree-branch.is-left .yc-tree-joint {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(0.3s + var(--i) * 0.07s);
  transform: translate(50%, 0) scale(1);
}

.yc-tree.is-in .yc-tree-branch.is-right .yc-tree-joint {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(0.3s + var(--i) * 0.07s);
  transform: translate(-50%, 0) scale(1);
}

.yc-tree.is-in .yc-tree-leaves li {
  animation: ycTreeLeafIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.yc-tree.is-in .yc-tree-leaves li:nth-child(1) {
  animation-delay: calc(0.38s + var(--i) * 0.07s);
}

.yc-tree.is-in .yc-tree-leaves li:nth-child(2) {
  animation-delay: calc(0.44s + var(--i) * 0.07s);
}

.yc-tree.is-in .yc-tree-leaves li:nth-child(3) {
  animation-delay: calc(0.5s + var(--i) * 0.07s);
}

.yc-tree.is-in .yc-tree-leaves li:nth-child(4) {
  animation-delay: calc(0.56s + var(--i) * 0.07s);
}

.yc-tree.is-in .yc-tree-leaves li:nth-child(5) {
  animation-delay: calc(0.62s + var(--i) * 0.07s);
}

.yc-tree.is-in .yc-tree-leaves li:nth-child(6) {
  animation-delay: calc(0.68s + var(--i) * 0.07s);
}

@keyframes ycTreeCrownIn {
  to { opacity: 1; transform: none; }
}

@keyframes ycTreeBranchIn {
  to { opacity: 1; transform: none; }
}

@keyframes ycTreeLeafIn {
  to { opacity: 1; transform: none; }
}

@media (max-width: 700px) {
  .yc-tree {
    max-width: none;
    padding-left: 4px;
  }

  .yc-tree-head {
    justify-content: flex-start;
    padding-left: 28px;
  }

  .yc-tree-axis {
    left: 15px;
    top: 44px;
  }

  .yc-tree-branch,
  .yc-tree-branch.is-left,
  .yc-tree-branch.is-right {
    width: 100%;
    margin: 0;
    justify-content: flex-start;
    text-align: left;
    padding: 14px 8px 16px 36px;
  }

  .yc-tree-branch::before {
    left: 0;
    right: auto;
    width: 20px;
    transform-origin: left center;
  }

  .yc-tree-branch.is-left .yc-tree-joint,
  .yc-tree-branch.is-right .yc-tree-joint {
    left: 0;
    right: auto;
    transform: translate(-50%, 0) scale(0);
  }

  .yc-tree.is-in .yc-tree-branch.is-left .yc-tree-joint,
  .yc-tree.is-in .yc-tree-branch.is-right .yc-tree-joint {
    transform: translate(-50%, 0) scale(1);
  }

  .yc-tree-branch.is-left .yc-tree-leaves,
  .yc-tree-branch.is-right .yc-tree-leaves {
    justify-content: flex-start;
  }

  .yc-tree-node {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yc-tree-crown,
  .yc-tree-spine,
  .yc-tree-branch,
  .yc-tree-branch::before,
  .yc-tree-joint,
  .yc-tree-leaves li {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .yc-tree-spine {
    transform: scaleY(1) !important;
  }
}

/* Dual: rail entry ? jump + mini-program gate */

.yc-dual-lead {
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(16px);
}

.yc-dual-lead h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 650;
  margin: 8px 0 0;
  color: var(--ink);
}

.yc-dual-rail {
  position: relative;
  min-height: 148px;
  padding: 36px 0 48px;
}

.yc-dual-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: rgba(10, 107, 156, 0.1);
  transform: translateY(-50%);
  overflow: hidden;
  border-radius: 2px;
}

.yc-dual-line-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    #1a8fbf 55%,
    rgba(10, 107, 156, 0.25) 100%
  );
  transform: scaleX(0);
  transform-origin: left center;
  box-shadow: 0 0 12px rgba(10, 107, 156, 0.35);
}

.yc-dual-jump {
  position: absolute;
  left: 0;
  bottom: calc(50% + 18px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 12px 28px -12px rgba(10, 107, 156, 0.7);
  opacity: 0;
  transform: translateY(22px) scale(0.96);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  z-index: 2;
}

.yc-dual-jump:hover {
  background: var(--accent-hover);
  color: #fff !important;
  box-shadow: 0 16px 32px -12px rgba(10, 107, 156, 0.8);
}

.yc-dual-mini {
  position: absolute;
  right: 0;
  top: calc(50% + 16px);
  z-index: 3;
}

.yc-dual-gate {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  border: 1.5px solid rgba(10, 107, 156, 0.35);
  background: #fff;
  color: var(--accent-deep);
  cursor: pointer;
  font: inherit;
  opacity: 0;
  transform: translateY(18px) scale(0.9);
  box-shadow: 0 10px 24px -16px rgba(15, 40, 60, 0.35);
  transition:
    border-color 0.25s ease,
    color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.yc-dual-gate-ring {
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 1.5px solid rgba(10, 107, 156, 0.35);
  opacity: 0;
  pointer-events: none;
}

.yc-dual-gate-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(10, 107, 156, 0.1);
  color: var(--accent);
  flex-shrink: 0;
}

.yc-dual-gate-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  text-align: left;
  line-height: 1.2;
}

.yc-dual-gate-copy strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}

.yc-dual-gate-copy em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.yc-dual-gate:hover,
.yc-dual-gate[aria-expanded="true"] {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 14px 28px -14px rgba(10, 107, 156, 0.4);
}

.yc-dual-gate:hover .yc-dual-gate-icon,
.yc-dual-gate[aria-expanded="true"] .yc-dual-gate-icon {
  background: rgba(10, 107, 156, 0.16);
}

.yc-dual-pop {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: 176px;
  padding: 12px 12px 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -22px rgba(15, 40, 60, 0.45);
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0s linear 0.15s;
}

.yc-dual-mini.is-open .yc-dual-pop {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  transition:
    opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0s;
}

.yc-dual-pop img {
  display: block;
  width: 148px;
  height: 148px;
  margin: 0 auto;
  object-fit: contain;
  background: #fff;
}

.yc-dual-pop span {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Stronger enter motion */
.yc-dual.is-in .yc-dual-lead {
  animation: ycDualLeadIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.yc-dual.is-in .yc-dual-line-fill {
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
  transform: scaleX(1);
}

.yc-dual.is-in .yc-dual-jump {
  animation: ycDualJumpIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.38s forwards;
}

.yc-dual.is-in .yc-dual-gate {
  animation:
    ycDualGateIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) 1.05s forwards,
    ycDualGatePulse 2.2s ease-in-out 1.8s 2;
}

.yc-dual.is-in .yc-dual-gate-ring {
  animation: ycDualRing 1.6s ease-out 1.2s 2;
}

@keyframes ycDualLeadIn {
  to { opacity: 1; transform: none; }
}

@keyframes ycDualJumpIn {
  0% { opacity: 0; transform: translateY(22px) scale(0.96); }
  70% { opacity: 1; transform: translateY(-3px) scale(1.02); }
  100% { opacity: 1; transform: none; }
}

@keyframes ycDualGateIn {
  0% { opacity: 0; transform: translateY(18px) scale(0.9); }
  70% { opacity: 1; transform: translateY(-2px) scale(1.03); }
  100% { opacity: 1; transform: none; }
}

@keyframes ycDualGatePulse {
  0%, 100% { box-shadow: 0 10px 24px -16px rgba(15, 40, 60, 0.35); }
  50% { box-shadow: 0 12px 28px -10px rgba(10, 107, 156, 0.45); }
}

@keyframes ycDualRing {
  0% { opacity: 0.55; transform: scale(0.92); }
  100% { opacity: 0; transform: scale(1.18); }
}

@media (max-width: 600px) {
  .yc-dual-rail {
    min-height: 160px;
    padding: 40px 0 52px;
  }

  .yc-dual-jump {
    font-size: 0.9rem;
    padding: 0.55rem 1.15rem;
  }

  .yc-dual-gate {
    padding: 7px 12px 7px 8px;
    gap: 8px;
  }

  .yc-dual-gate-icon {
    width: 32px;
    height: 32px;
  }

  .yc-dual-gate-copy em {
    font-size: 0.68rem;
  }

  .yc-dual-pop {
    width: 160px;
    right: 0;
  }

  .yc-dual-pop img {
    width: 132px;
    height: 132px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .yc-dual-lead,
  .yc-dual-line-fill,
  .yc-dual-jump,
  .yc-dual-gate,
  .yc-dual-gate-ring,
  .yc-dual-pop {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .yc-dual-line-fill {
    transform: scaleX(1) !important;
  }
}

/* Trust */

.yc-trust {
  padding: 72px 0 96px;
}

.yc-trust-inner {
  max-width: 40rem;
}

.yc-trust-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 650;
  margin: 0 0 16px;
  color: var(--ink);
}

.yc-trust-inner p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 28px;
  font-size: 1.02rem;
}

@media (max-width: 900px) {

}

@media (prefers-reduced-motion: reduce) {
.yc-panel.is-active,
  .yc-shot.is-active {
    animation: none;
    transition: none;
  }
}

/* Shared / local motion keyframes */

@keyframes ycfCurtain {
  from { left: -35%; }
  to { left: 110%; }
}

@keyframes ycfFocusPop {
  0% { transform: scale(0.97); }
  55% { transform: scale(1.035); }
  100% { transform: scale(1); }
}

@keyframes ycfTitleIn {
  from { opacity: 0; transform: translateY(14px); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes ycfTitleSwap {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: none; }
}

@keyframes ycpAfterIn { to { opacity: 1; transform: none; } }

@keyframes ycpArrowIn { to { opacity: 1; transform: scaleX(1); } }

@keyframes ycpBadge {
  0% { transform: scale(0.9); opacity: 0; }
  70% { transform: scale(1.05); }
  100% { transform: none; opacity: 1; }
}

@keyframes ycpBeforeIn { to { opacity: 1; transform: none; } }

@keyframes ycpExtract {
  0% { opacity: 0; transform: translateY(-16px) scale(0.97); filter: blur(3px); }
  100% { opacity: 1; transform: none; filter: none; }
}

@keyframes ycpScrape {
  0% {
    background: linear-gradient(90deg, #9aa3ab 0%, #9aa3ab 40%, #fff 50%, #9aa3ab 60%, #9aa3ab 100%);
    background-size: 220% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
  }
  100% {
    background: linear-gradient(105deg, #053a56 0%, #0a6b9c 45%, #1490c0 100%);
    background-size: 100% 100%;
    background-position: 0 0;
    -webkit-background-clip: text;
    background-clip: text;
  }
}

@keyframes ycpStrike { to { transform: scaleX(1); } }


/* ?? Report tools: single stage viewer (quiet, not cinema) ?? */

.yc-report {
  background: linear-gradient(180deg, #f5f8fb 0%, #eef3f8 100%);
}

.ycr-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.92fr) minmax(0, 1.35fr);
  gap: 28px 40px;
  align-items: stretch;
  margin-top: 12px;
  padding: 22px;
  border: 1px solid rgba(10, 107, 156, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255, 255, 255, 0.9), transparent 55%),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 40px -34px rgba(15, 40, 60, 0.45);
}

.ycr-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ycr-nav-btn {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  width: 100%;
  text-align: left;
  margin: 0;
  padding: 14px 14px 14px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.ycr-nav-btn:hover {
  background: rgba(10, 107, 156, 0.04);
}

.ycr-nav-btn.is-active {
  background: #fff;
  border-color: rgba(10, 107, 156, 0.16);
  box-shadow: 0 8px 20px -16px rgba(15, 40, 60, 0.4);
}

.ycr-nav-btn--muted.is-active {
  box-shadow: 0 6px 16px -14px rgba(15, 40, 60, 0.35);
}

.ycr-nav-no {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: rgba(10, 107, 156, 0.45);
  padding-top: 3px;
}

.ycr-nav-btn.is-active .ycr-nav-no {
  color: var(--accent);
}

.ycr-nav-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ycr-nav-text strong {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink);
}

.ycr-nav-text em {
  font-style: normal;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
}

.ycr-stage {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ycr-frame {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(10, 107, 156, 0.12);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 16px 36px -28px rgba(15, 40, 60, 0.5);
}

.ycr-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  background: linear-gradient(180deg, #f7fafc, #eef3f7);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}

.ycr-frame-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d5dde6;
  flex-shrink: 0;
}

.ycr-frame-bar span:nth-child(1) { background: #ebc4c4; }
.ycr-frame-bar span:nth-child(2) { background: #e6d5a8; }
.ycr-frame-bar span:nth-child(3) { background: #b9d4c0; }

.ycr-subtabs {
  display: none;
  margin-left: auto;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(10, 107, 156, 0.14);
  box-shadow: none;
}

.ycr-subtabs.is-on {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}

.ycr-subtab {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.78rem;
  line-height: 1;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  cursor: pointer;
}

.ycr-subtab.is-active {
  background: rgba(10, 107, 156, 0.1);
  color: var(--accent-deep);
  font-weight: 600;
}

.ycr-frame-shot {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #f3f6f9;
  cursor: zoom-in;
}

.ycr-frame-shot img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  transition: opacity 0.28s var(--ease);
}

.ycr-frame-shot.is-swap img {
  opacity: 0.35;
}

.ycr-caption {
  margin: 0;
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.ycr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 56px 20px 32px;
  background: rgba(15, 30, 45, 0.78);
  backdrop-filter: blur(4px);
}

.ycr-lightbox[hidden] { display: none !important; }

.ycr-lightbox .zc-zoom {
  flex: 0 1 auto;
  max-width: min(1100px, calc(100vw - 160px));
  max-height: calc(100vh - 112px);
  max-height: calc(100dvh - 112px);
}

.ycr-lightbox .zc-zoom img {
  max-width: 100%;
  max-height: min(calc(100vh - 112px), 100%);
  max-height: min(calc(100dvh - 112px), 100%);
}

.ycr-lightbox-arrow {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5);
}

.ycr-lightbox-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.ycr-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {
  .ycr-panel {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 18px;
  }

  .ycr-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }

  .ycr-nav-btn {
    min-width: 200px;
    flex: 0 0 auto;
  }

  .ycr-nav-text em {
    display: none;
  }

  .ycr-lightbox {
    gap: 8px;
    padding: 52px 10px 24px;
  }

  .ycr-lightbox .zc-zoom {
    max-width: calc(100vw - 88px);
  }

  .ycr-lightbox-arrow {
    width: 38px;
    height: 38px;
  }
}


/* Shared lightbox zoom stage */
.zc-zoom {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.zc-zoom.is-dragging {
  cursor: grabbing;
}

.zc-zoom img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
  transform-origin: center center;
  will-change: transform;
  pointer-events: none;
}

/* Admin iframe preview: yicha hero settled frame */
html.zc-preview .yc-hero-grid,
html.zc-preview .yc-hero-glow {
  opacity: 1 !important;
  animation: none !important;
}
html.zc-preview .yc-hero .ych-beat {
  position: absolute !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
html.zc-preview .yc-hero .ych-beat--final {
  position: relative !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
}
html.zc-preview .yc-hero .ych-beat--final > *,
html.zc-preview .yc-hero .ych-beat--final .yc-brand,
html.zc-preview .yc-hero .ych-beat--final h1,
html.zc-preview .yc-hero .ych-beat--final .yc-lead,
html.zc-preview .yc-hero .ych-beat--final .btn-row,
html.zc-preview .yc-hero .ych-beat--final .yc-hero-note {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  animation: none !important;
  clip-path: none !important;
  filter: none !important;
}
html.zc-preview .yc-hero .yc-hero-grad {
  animation: none !important;
  background: linear-gradient(105deg, #053a56 0%, #0a6b9c 45%, #1490c0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
html.zc-preview .yc-proof .ycp-head,
html.zc-preview .reveal,
html.zc-preview .reveal-stagger > * {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  filter: none !important;
}

/* Admin preview: show proof timeline at final resting frame (no opacity traps). */
html.zc-preview .yc-proof {
  --ycp-preview: 1;
}
html.zc-preview .yc-proof .ycp-step,
html.zc-preview .yc-proof .ycp-before,
html.zc-preview .yc-proof .ycp-after,
html.zc-preview .yc-proof .ycp-swap-arrow,
html.zc-preview .yc-proof .ycp-fix-list li,
html.zc-preview .yc-proof .ycp-badge,
html.zc-preview .yc-proof .ycp-law-scrape,
html.zc-preview .yc-proof .ycp-node,
html.zc-preview .yc-proof .ycp-rail-fill {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  filter: none !important;
}
html.zc-preview .yc-proof .ycp-before::after {
  transform: scaleX(1) !important;
}
html.zc-preview .yc-proof .ycp-rail-fill {
  height: 100% !important;
}
html.zc-preview .yc-proof .ycp-glow {
  opacity: 0 !important;
}

/* -------------------------------------------------------------------------
   Admin preview (html.zc-preview): main.css kills all animations/transitions.
   Motion sections that start at opacity:0 must be forced to the final frame
   here — do not rely on @keyframes or timed JS reveals.
   ------------------------------------------------------------------------- */

/* Coverage tree (能审什么) */
html.zc-preview .yc-tree-crown,
html.zc-preview .yc-tree-branch,
html.zc-preview .yc-tree-leaves li,
html.zc-preview .yc-tree-joint {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
html.zc-preview .yc-tree-spine {
  transform: scaleY(1) !important;
}
html.zc-preview .yc-tree-branch::before {
  transform: scaleX(1) !important;
}
html.zc-preview .yc-tree-branch.is-left .yc-tree-joint {
  transform: translate(50%, 0) scale(1) !important;
}
html.zc-preview .yc-tree-branch.is-right .yc-tree-joint {
  transform: translate(-50%, 0) scale(1) !important;
}

/* How-to flow (怎么用) */
html.zc-preview .ycf-stage-label,
html.zc-preview .ycf-board.is-active .ycf-card,
html.zc-preview .ycf-board.is-ready .ycf-card,
html.zc-preview .ycf-curtain {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
html.zc-preview .ycf-board.is-ready .ycf-card:not(.is-focus) {
  opacity: 0.4 !important;
  filter: blur(1.5px) saturate(0.7) !important;
  transform: scale(0.94) !important;
}
html.zc-preview .ycf-board.is-ready .ycf-card.is-focus {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}
html.zc-preview .ycf-card:not(.is-focus) .ycf-cap {
  opacity: 1 !important;
}

/* Dual rail (网页端 / 小程序) */
html.zc-preview .yc-dual-lead,
html.zc-preview .yc-dual-jump,
html.zc-preview .yc-dual-gate {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
html.zc-preview .yc-dual-line-fill {
  transform: scaleX(1) !important;
}
html.zc-preview .yc-dual-gate-ring {
  opacity: 0 !important;
}

/* Hero beats already handled above; keep proof block (already present). */
