/* Additional LINE conversion surfaces and motion */
.header-line {
  position: relative;
  isolation: isolate;
  animation: lineBreath 2.2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(229, 197, 116, .5);
}

.header-line::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(229, 197, 116, .52);
  border-radius: 999px;
  z-index: -1;
  animation: lineRing 2.2s ease-out infinite;
}

.header-line:hover {
  animation-play-state: paused;
  transform: translateY(-2px);
}

.hero-line-prompt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 690px);
  margin-top: 22px;
  padding: 13px 16px;
  border: 1px solid rgba(6, 199, 85, .4);
  border-radius: 8px;
  background: rgba(6, 199, 85, .09);
  color: #fff;
  text-decoration: none;
  transition: .22s;
}

.hero-line-prompt:hover {
  background: rgba(6, 199, 85, .17);
  transform: translateX(4px);
}

.hero-line-prompt .line-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  animation: dotPulse 1.8s ease-out infinite;
  flex: 0 0 auto;
}

.hero-line-prompt small,
.hero-line-prompt strong { display: block; }
.hero-line-prompt small {
  font-family: Arial, "Microsoft JhengHei", sans-serif;
  color: rgba(255, 255, 255, .6);
  font-size: 11px;
}
.hero-line-prompt strong { font-size: 14px; }
.hero-line-prompt b {
  margin-left: auto;
  color: #72e99f;
  font-size: 20px;
}

.line-conversion {
  margin-top: 22px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  background: linear-gradient(110deg, #2a0b10, #491019);
  color: #fff;
  border: 1px solid rgba(214, 168, 65, .35);
  box-shadow: 0 15px 38px rgba(60, 15, 18, .12);
}

.conversion-seal {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #d6a841;
  color: #f1cf78;
  font-size: 20px;
  font-weight: 900;
  box-shadow: inset 0 0 0 4px rgba(214, 168, 65, .08);
}

.line-conversion span,
.line-conversion strong,
.line-conversion small { display: block; }
.line-conversion span {
  font-family: Arial, "Microsoft JhengHei", sans-serif;
  color: #e5bc5d;
  font-size: 11px;
  letter-spacing: .15em;
}
.line-conversion strong {
  font-size: 17px;
  margin: 2px 0;
}
.line-conversion small {
  font-family: Arial, "Microsoft JhengHei", sans-serif;
  color: rgba(255, 255, 255, .5);
  font-size: 11px;
}
.line-conversion > a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  text-decoration: none;
  background: var(--green);
  color: #092313;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  animation: softLinePulse 2.4s ease-in-out infinite;
}

.line-microcopy {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 16px !important;
  font-size: 12px !important;
  color: rgba(255, 255, 255, .48) !important;
}
.line-microcopy i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 7px;
  flex: 0 0 auto;
}

.topic-line-link {
  flex: 1 1 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
  padding: 17px 20px;
  border-radius: 8px;
  background: #26090e;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(43, 9, 14, .12);
}
.topic-line-link span {
  font-family: Arial, "Microsoft JhengHei", sans-serif;
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
}
.topic-line-link strong { color: #73ea9f; font-size: 14px; }
.topic-line-link:hover strong { text-decoration: underline; }

.floating-line { animation: softLinePulse 2.4s ease-in-out infinite; }
.floating-line::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(6, 199, 85, .45);
  border-radius: 999px;
  animation: lineRing 2.4s ease-out infinite;
}

.mobile-info-float { display: none; }

@keyframes lineBreath {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(229, 197, 116, .34); }
  50% { transform: scale(1.055); box-shadow: 0 8px 28px rgba(229, 197, 116, .2); }
}
@keyframes softLinePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 12px 30px rgba(6, 199, 85, .18); }
  50% { transform: scale(1.045); box-shadow: 0 12px 38px rgba(6, 199, 85, .34); }
}
@keyframes lineRing {
  0% { opacity: .7; transform: scale(.96); }
  75%, 100% { opacity: 0; transform: scale(1.12); }
}
@keyframes dotPulse {
  0% { box-shadow: 0 0 0 0 rgba(6, 199, 85, .55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(6, 199, 85, 0); }
}
@keyframes mobileInfoBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@keyframes mobileRing {
  0% { opacity: .7; transform: scale(.95); }
  75%, 100% { opacity: 0; transform: scale(1.1); }
}

@media (max-width: 950px) {
  .line-conversion { grid-template-columns: auto 1fr; }
  .line-conversion > a { grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 640px) {
  .hero-line-prompt { margin-top: 18px; padding: 12px 13px; }
  .hero-line-prompt strong { font-size: 13px; }
  .line-conversion { padding: 18px; grid-template-columns: auto 1fr; gap: 13px; }
  .conversion-seal { width: 43px; height: 43px; }
  .line-conversion strong { font-size: 14px; }
  .line-conversion small { line-height: 1.5; }
  .topic-line-link { display: grid; gap: 2px; }
  .mobile-info-float {
    position: fixed;
    right: 0;
    top: 45%;
    z-index: 58;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 63px;
    padding: 11px 7px 12px;
    background: linear-gradient(180deg, #0bd866, #04b84d);
    color: #062713;
    text-decoration: none;
    border-radius: 16px 0 0 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
    transform-origin: right center;
    animation: mobileInfoBreath 2s ease-in-out infinite;
  }
  .mobile-info-float::before {
    content: "";
    position: absolute;
    inset: -5px 0 -5px -5px;
    border: 1px solid rgba(6, 199, 85, .55);
    border-right: 0;
    border-radius: 20px 0 0 20px;
    animation: mobileRing 2s ease-out infinite;
  }
  .mobile-info-float svg { width: 30px; height: 30px; fill: #fff; }
  .mobile-info-float strong {
    font-family: "Microsoft JhengHei", sans-serif;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
  }
  .mobile-info-badge {
    position: absolute;
    right: 3px;
    top: -11px;
    background: #a31625;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 999px;
    padding: 2px 7px;
    font-family: Arial, "Microsoft JhengHei", sans-serif;
    font-size: 9px;
    font-weight: 900;
  }
  .mobile-cta a {
    border: 0;
    background: #06c755;
    color: #05240e;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    animation: softLinePulse 2.4s ease-in-out infinite;
  }
  .mobile-cta span { min-width: 0; }
  .mobile-cta strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-line,
  .header-line::after,
  .hero-line-prompt .line-dot,
  .line-conversion > a,
  .floating-line,
  .floating-line::before,
  .mobile-info-float,
  .mobile-info-float::before,
  .mobile-cta a { animation: none !important; }
}
