/* 火蚁科技 — 移动优先、红色主色 */
:root {
  --hy-red: #b91c1c;
  --hy-red-dark: #991b1b;
  --hy-red-soft: #fef2f2;
  --hy-ink: #1c1917;
  --hy-muted: #57534e;
  --hy-border: #e7e5e4;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--hy-ink);
  background: #fafaf9;
  padding-bottom: 5.85rem;
}

.hy-brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--hy-red);
}

.hy-nav {
  background: linear-gradient(180deg, #fff 0%, #fff8f8 100%);
  border-bottom: 1px solid var(--hy-border);
  box-shadow: 0 2px 12px rgba(185, 28, 28, 0.06);
}

.hy-hero {
  background: linear-gradient(
    145deg,
    var(--hy-red) 0%,
    var(--hy-red-dark) 55%,
    #7f1d1d 100%
  );
  color: #fff;
  border-radius: 0 0 1.35rem 1.35rem;
  padding: 2rem 1.35rem 2.25rem;
  margin: 0 -0.75rem 1.5rem;
  box-shadow: 0 12px 40px rgba(127, 29, 29, 0.25);
}

.hy-hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.hy-hero-title-xl {
  font-size: clamp(2.15rem, 9vw, 2.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hy-hero-lead {
  font-size: clamp(1.05rem, 4vw, 1.2rem);
  line-height: 1.65;
  opacity: 0.94;
  font-weight: 500;
}

.hy-hero-btn-light {
  --bs-btn-color: var(--hy-red-dark);
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-bg: #fff5f5;
  --bs-btn-hover-border-color: #fff5f5;
  font-weight: 600;
}

.hy-nav-sub {
  font-size: 0.78rem;
}

.hy-typewriter-wrap {
  min-height: 3.4em;
  font-size: clamp(1.2rem, 5.2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.hy-typewriter {
  white-space: pre-wrap;
  word-break: break-word;
}

.hy-typewriter-cursor {
  display: inline-block;
  margin-left: 2px;
  animation: hy-caret-blink 1s step-end infinite;
  font-weight: 300;
  opacity: 0.9;
}

@keyframes hy-caret-blink {
  50% {
    opacity: 0;
  }
}

.hy-philosophy-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 0.85rem;
  padding: 1.15rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.hy-philosophy-num {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--hy-red);
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.hy-philosophy-text {
  font-size: clamp(1.05rem, 4vw, 1.2rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--hy-ink);
}

#philosophy {
  margin: 0 -0.75rem;
  padding: 0 0.75rem 0.5rem;
}

.hy-section-title-lg {
  font-size: clamp(1.25rem, 4.5vw, 1.45rem);
}

.hy-card-lg {
  border-radius: 0.85rem;
}

.hy-body {
  font-size: 1.02rem;
  line-height: 1.75;
}

.hy-product-head {
  font-size: clamp(1.2rem, 4.2vw, 1.35rem);
  font-weight: 800;
  color: var(--hy-red-dark);
  line-height: 1.35;
}

.hy-list-check {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.hy-list-check li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.85rem;
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--hy-ink);
  border-bottom: 1px solid var(--hy-border);
}

.hy-list-check li:last-child {
  border-bottom: none;
}

.hy-list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--hy-red);
  font-weight: 800;
}

.hy-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--hy-ink);
  border-left: 4px solid var(--hy-red);
  padding-left: 0.6rem;
  margin-bottom: 1rem;
}

.hy-card {
  border: 1px solid var(--hy-border);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.hy-btn-primary {
  --bs-btn-bg: var(--hy-red);
  --bs-btn-border-color: var(--hy-red);
  --bs-btn-hover-bg: var(--hy-red-dark);
  --bs-btn-hover-border-color: var(--hy-red-dark);
  --bs-btn-active-bg: var(--hy-red-dark);
  --bs-btn-active-border-color: var(--hy-red-dark);
}

.text-hy-muted {
  color: var(--hy-muted) !important;
}

.hy-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1020;
  background: #fff;
  border-top: 1px solid var(--hy-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  padding: 0.5rem 0.25rem calc(0.55rem + env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-around;
  align-items: stretch;
}

.hy-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 3.5rem;
  padding: 0.4rem 0.35rem;
  color: var(--hy-muted);
  text-decoration: none;
  border-radius: 0.65rem;
  transition: color 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.hy-bottom-nav a:active {
  background: var(--hy-red-soft);
}

.hy-nav-ico {
  width: 1.85rem;
  height: 1.85rem;
  flex-shrink: 0;
}

.hy-nav-label {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.hy-bottom-nav a.active {
  color: var(--hy-red);
}

.hy-bottom-nav a.active .hy-nav-label {
  font-weight: 800;
}

.hy-bottom-nav a:hover {
  color: var(--hy-red);
}

/* 静态「AI 顾问」页 */
.hy-static-advisor {
  background: linear-gradient(180deg, #faf9f8 0%, #f5f2f0 100%);
}

.hy-static-advisor-hero {
  background: linear-gradient(
    148deg,
    var(--hy-red) 0%,
    var(--hy-red-dark) 55%,
    #7f1d1d 100%
  );
  color: #fff;
  padding: 1.25rem 0 1.75rem;
  margin: 0 0 1.5rem;
  border-radius: 0 0 1.35rem 1.35rem;
  box-shadow: 0 12px 36px rgba(127, 29, 29, 0.22);
}

.hy-static-advisor-title {
  font-size: clamp(1.65rem, 6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
}

.hy-static-advisor-lead {
  font-size: 0.98rem;
  line-height: 1.65;
  opacity: 0.92;
  margin: 0;
}

.hy-static-advisor-main {
  padding-top: 0.25rem;
}

.hy-static-advisor-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--hy-ink);
  margin-bottom: 1rem;
  padding-left: 0.6rem;
  border-left: 4px solid var(--hy-red);
}

/* AI 顾问页：以对话为主 */
.hy-advisor-chat-page {
  --hy-chat-card-bg: rgba(255, 255, 255, 0.78);
  --hy-chat-card-border: rgba(185, 28, 28, 0.08);
  --hy-chat-msg-bg: linear-gradient(180deg, #fffefb 0%, #faf8f6 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 4.5rem;
  background:
    radial-gradient(120% 80% at 50% -15%, rgba(185, 28, 28, 0.09) 0%, transparent 55%),
    linear-gradient(165deg, #f7f4f1 0%, #efeae5 48%, #f3f0ec 100%);
}

.hy-advisor-chat-head {
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

.hy-advisor-chat-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hy-red-dark);
  opacity: 0.88;
  margin: 0 0 0.35rem;
}

.hy-advisor-chat-title {
  font-size: clamp(1.5rem, 5.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--hy-ink);
  margin: 0 0 0.45rem;
  line-height: 1.15;
}

.hy-advisor-chat-sub {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--hy-muted);
  max-width: 26rem;
}

/* AI 顾问 · 对话外层卡片 */
.hy-ai-chat-surface {
  background: var(--hy-chat-card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1.25rem;
  border: 1px solid var(--hy-chat-card-border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 20px 50px -24px rgba(28, 25, 23, 0.2),
    0 8px 28px -12px rgba(185, 28, 28, 0.12);
  padding: 1rem 0.85rem 1.1rem;
  margin-bottom: 0.5rem;
}

/* AI 顾问 · 在线对话 */
.hy-ai-chat-wrap {
  margin-bottom: 1rem;
}

.hy-ai-chat-primary {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.hy-ai-chat-wrap .hy-static-advisor-section-title {
  margin-bottom: 0.35rem;
}

.hy-chat-messages {
  max-height: min(52vh, 420px);
  overflow-y: auto;
  padding: 0.85rem 0.6rem;
  background: var(--hy-chat-msg-bg);
  border-radius: 1rem;
  border: 1px solid rgba(231, 229, 228, 0.95);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.9) inset, 0 6px 24px rgba(28, 25, 23, 0.06);
  scrollbar-width: thin;
  scrollbar-color: rgba(185, 28, 28, 0.28) transparent;
}

.hy-chat-messages::-webkit-scrollbar {
  width: 5px;
}

.hy-chat-messages::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(185, 28, 28, 0.35), rgba(153, 27, 27, 0.45));
  border-radius: 999px;
}

.hy-chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.hy-chat-messages--main {
  max-height: min(68vh, 560px);
  flex: 1;
  min-height: 220px;
}

.hy-chat-quick-wrap {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(231, 229, 228, 0.75);
}

.hy-chat-quick-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #78716c;
  margin-bottom: 0.55rem;
}

.hy-chat-quick-label::before {
  content: "";
  width: 1.35rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--hy-red) 0%, transparent 100%);
  opacity: 0.85;
}

.hy-chat-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hy-quick-chip {
  border: 1px solid rgba(231, 229, 228, 0.95);
  background: linear-gradient(180deg, #fff 0%, #fdfcfa 100%);
  color: var(--hy-ink);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  line-height: 1.25;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(28, 25, 23, 0.04);
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.12s ease;
}

.hy-quick-chip:hover {
  border-color: rgba(185, 28, 28, 0.35);
  background: linear-gradient(180deg, #fff5f5 0%, #fef2f2 100%);
  color: var(--hy-red-dark);
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.1);
}

.hy-quick-chip:active {
  transform: scale(0.98);
}

.hy-chat-bubble--thinking {
  color: #78716c;
  background: rgba(255, 255, 255, 0.65) !important;
  border: 1px dashed rgba(185, 28, 28, 0.22);
  box-shadow: none !important;
}

.hy-thinking-inner::after {
  content: " …";
  animation: hy-thinking-blink 0.9s ease-in-out infinite;
}

@keyframes hy-thinking-blink {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

.hy-chat-bubble-row {
  display: flex;
  margin-bottom: 0.75rem;
}

.hy-chat-bubble-row:last-child {
  margin-bottom: 0;
}

.hy-chat-bubble-row--assistant {
  justify-content: flex-start;
}

.hy-chat-bubble-row--user {
  justify-content: flex-end;
}

.hy-chat-bubble {
  max-width: 92%;
  padding: 0.72rem 0.95rem;
  border-radius: 1.15rem;
  font-size: 0.97rem;
  line-height: 1.62;
  white-space: pre-wrap;
  word-break: break-word;
}

.hy-chat-bubble--assistant {
  background: #fff;
  color: var(--hy-ink);
  border: 1px solid rgba(231, 229, 228, 0.9);
  border-bottom-left-radius: 0.35rem;
  box-shadow: 0 4px 14px rgba(28, 25, 23, 0.06);
}

.hy-chat-bubble--user {
  background: linear-gradient(145deg, #c32727 0%, var(--hy-red) 38%, var(--hy-red-dark) 100%);
  color: #fff;
  border-bottom-right-radius: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 4px 16px rgba(185, 28, 28, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.hy-chat-form {
  margin-top: 0.85rem;
}

.hy-chat-form .hy-chat-input {
  resize: none;
  border-radius: 1rem;
  font-size: 0.98rem;
  min-height: 3.35rem;
  border: 1px solid rgba(231, 229, 228, 0.95);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.65rem 0.85rem;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.8) inset;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.hy-chat-form .hy-chat-input:focus {
  border-color: rgba(185, 28, 28, 0.45);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.8) inset,
    0 0 0 3px rgba(185, 28, 28, 0.12);
}

.hy-chat-form .hy-chat-input::placeholder {
  color: #a8a29e;
}

.hy-chat-send {
  border-radius: 1rem;
  padding: 0.55rem 1.05rem;
  min-height: 3.35rem;
  min-width: 3.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  box-shadow:
    0 4px 14px rgba(185, 28, 28, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
  transition:
    transform 0.12s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}

.hy-chat-send:hover:not(:disabled) {
  filter: brightness(1.05);
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.4);
}

.hy-chat-send:active:not(:disabled) {
  transform: scale(0.98);
}

.hy-chat-send:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  box-shadow: none;
}

.hy-faq-acc .hy-faq-item {
  background: transparent;
}

.hy-faq-acc .accordion-button.hy-faq-btn {
  border-radius: 0.85rem !important;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  font-size: 1.02rem;
  color: var(--hy-ink);
  padding: 1rem 1.1rem;
}

.hy-faq-acc .accordion-button:not(.collapsed) {
  color: var(--hy-red-dark);
  background: #fff;
  box-shadow: 0 4px 20px rgba(185, 28, 28, 0.12);
}

.hy-faq-acc .accordion-button::after {
  filter: grayscale(0.2);
}

.hy-faq-body {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--hy-muted);
  background: #fff;
  border-radius: 0 0 0.85rem 0.85rem;
  margin-top: -2px;
  padding: 1rem 1.15rem 1.15rem;
  border: 1px solid var(--hy-border);
  border-top: none;
}

.case-badge {
  font-size: 0.7rem;
  background: var(--hy-red-soft);
  color: var(--hy-red);
  padding: 0.15rem 0.45rem;
  border-radius: 0.35rem;
}

/* 仅手机：限制最大阅读宽度，居中 */
@media (min-width: 576px) {
  body {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 0 1px var(--hy-border);
  }
}

/* 联系页：一屏铺满、大字号 */
body.hy-contact-body .hy-nav-sub {
  font-size: 0.95rem;
}

.hy-contact-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hy-contact-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.75rem;
  min-height: calc(100vh - 6.5rem - env(safe-area-inset-bottom));
  padding-top: 0.75rem;
  padding-bottom: 1.25rem;
}

.hy-contact-body .hy-brand {
  font-size: 1.35rem;
}

.hy-contact-card {
  border: none;
  box-shadow: none;
  background: transparent;
  padding: 0 !important;
}

.hy-contact-form .form-label {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--hy-ink);
  margin-bottom: 0.45rem;
}

.hy-contact-form .form-control {
  font-size: 1.18rem;
  padding: 0.95rem 1rem;
  border-radius: 0.65rem;
  border-width: 2px;
  min-height: 3.35rem;
}

.hy-contact-form textarea.form-control {
  min-height: 9.5rem;
  line-height: 1.55;
}

.hy-contact-form .btn-lg {
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.95rem 1rem;
  border-radius: 0.65rem;
}

.hy-contact-intro {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--hy-muted);
  margin-bottom: 1.25rem;
}

.hy-contact-block {
  width: 100%;
}

.hy-contact-way-label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--hy-red);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.hy-contact-block-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--hy-ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hy-contact-block-desc {
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--hy-muted);
  margin-bottom: 1rem;
}

.hy-contact-block--phone .hy-contact-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.15rem 1.25rem;
  border-radius: 0.85rem;
  background: linear-gradient(
    145deg,
    var(--hy-red) 0%,
    var(--hy-red-dark) 100%
  );
  color: #fff !important;
  text-decoration: none;
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 28px rgba(185, 28, 28, 0.38);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.hy-contact-phone-btn:active {
  transform: scale(0.98);
  box-shadow: 0 6px 18px rgba(185, 28, 28, 0.32);
}

.hy-contact-phone-ico {
  display: flex;
  flex-shrink: 0;
  opacity: 0.95;
}

.hy-contact-phone-num {
  font-variant-numeric: tabular-nums;
}

.hy-contact-block--form {
  padding-top: 0.25rem;
  border-top: 1px solid var(--hy-border);
}

/* —— 小胖说专栏：大气排版 —— */
body.hy-xp-page {
  background: linear-gradient(
    180deg,
    #f8f6f4 0%,
    #faf9f8 35%,
    #f5f2f0 100%
  );
}

.hy-xp-nav-pill {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--hy-red);
  background: var(--hy-red-soft);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.hy-xp-masthead {
  background: linear-gradient(
    148deg,
    #1c1917 0%,
    #292524 38%,
    var(--hy-red-dark) 78%,
    var(--hy-red) 100%
  );
  color: #fff;
  margin: 0 0 1.75rem;
  padding: 2rem 0 2.35rem;
  border-radius: 0 0 1.5rem 1.5rem;
  box-shadow: 0 16px 48px rgba(28, 25, 23, 0.22);
}

.hy-xp-masthead-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.78;
  margin-bottom: 0.65rem;
  font-weight: 600;
}

.hy-xp-masthead-title {
  font-size: clamp(2rem, 9vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 0.75rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

.hy-xp-masthead-lead {
  font-size: clamp(0.98rem, 3.6vw, 1.12rem);
  line-height: 1.65;
  opacity: 0.88;
  margin: 0;
  max-width: 22rem;
  font-weight: 500;
}

.hy-xp-list {
  padding-top: 0.15rem;
}

.hy-xp-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(231, 229, 228, 0.95);
  border-radius: 1.05rem;
  padding: 1.4rem 1.3rem 1.35rem;
  box-shadow: 0 10px 36px rgba(28, 25, 23, 0.07);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}

.hy-xp-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--hy-red) 0%, var(--hy-red-dark) 100%);
  border-radius: 4px 0 0 4px;
}

.hy-xp-card:active {
  transform: scale(0.992);
}

.hy-xp-card-date {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--hy-red);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.hy-xp-card-title {
  font-size: clamp(1.12rem, 4.2vw, 1.38rem);
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}

.hy-xp-card-title a {
  color: var(--hy-ink);
}

.hy-xp-card-title a:hover {
  color: var(--hy-red);
}

.hy-xp-card-excerpt {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--hy-muted);
  margin: 0 0 1rem;
}

.hy-xp-card-cta {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--hy-red);
  letter-spacing: 0.06em;
}

.hy-nav.hy-xp-detail-top {
  border-bottom-color: transparent;
  box-shadow: 0 1px 0 rgba(231, 229, 228, 0.8);
}

.hy-xp-back-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--hy-red) !important;
}

.hy-xp-detail-main {
  padding-bottom: 0.5rem;
}

.hy-xp-detail-hero {
  background: linear-gradient(
    152deg,
    #1c1917 0%,
    #44403c 42%,
    var(--hy-red-dark) 85%,
    #7f1d1d 100%
  );
  color: #fff;
  padding: 0.5rem 0 2rem;
  margin: 0 0 1.5rem;
  border-radius: 0 0 1.45rem 1.45rem;
  box-shadow: 0 14px 40px rgba(28, 25, 23, 0.18);
}

.hy-xp-detail-meta {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hy-xp-detail-title {
  font-size: clamp(1.35rem, 5.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.hy-xp-detail-accent {
  height: 3px;
  width: 3.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.35) 100%);
  opacity: 0.95;
}

.hy-xp-article-sheet {
  background: #fff;
  border-radius: 1.15rem;
  padding: 1.65rem 1.35rem 2rem;
  border: 1px solid var(--hy-border);
  box-shadow: 0 12px 40px rgba(28, 25, 23, 0.06);
}

.hy-xp-body {
  font-size: 1.08rem;
  line-height: 1.95;
  letter-spacing: 0.03em;
  color: var(--hy-ink);
  white-space: pre-wrap;
  word-break: break-word;
}

.hy-xp-missing {
  font-size: 1rem;
}
