/**
 * 今日运势首页 · 转运珠转换运势入口
 */
.ts-scope.daily-home .lj-daily-convert {
  position: relative;
  margin-top: 18px;
  padding: 20px 18px 18px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, 0.38);
  background: linear-gradient(155deg, rgba(56, 24, 88, 0.88) 0%, rgba(12, 8, 24, 0.94) 55%, rgba(20, 12, 36, 0.92) 100%);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.38),
    0 0 60px rgba(168, 85, 247, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  scroll-margin-top: 88px;
  transition:
    box-shadow 0.45s ease,
    border-color 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ts-scope.daily-home .lj-daily-convert[hidden] {
  display: none !important;
}

.ts-scope.daily-home .lj-daily-convert.is-highlight {
  border-color: rgba(253, 224, 138, 0.75);
  box-shadow:
    0 0 0 2px rgba(251, 191, 36, 0.25),
    0 20px 56px rgba(124, 58, 237, 0.35),
    0 0 80px rgba(251, 191, 36, 0.2);
  transform: scale(1.01);
  animation: ljConvertHighlight 2.4s ease-in-out 1;
}

@keyframes ljConvertHighlight {
  0%, 100% { filter: brightness(1); }
  35%, 65% { filter: brightness(1.12); }
}

.lj-daily-convert-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.07) 50%, transparent 62%);
  transform: translateX(-100%);
  animation: ljConvertShine 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ljConvertShine {
  0%, 72% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.lj-daily-convert-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.lj-daily-convert-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  animation: ljConvertOrb 8s ease-in-out infinite alternate;
}

.lj-daily-convert-orbs span:nth-child(1) {
  width: 120px;
  height: 120px;
  top: -30px;
  left: -20px;
  background: rgba(168, 85, 247, 0.35);
}

.lj-daily-convert-orbs span:nth-child(2) {
  width: 100px;
  height: 100px;
  bottom: -20px;
  right: -10px;
  background: rgba(251, 191, 36, 0.22);
  animation-delay: -3s;
}

@keyframes ljConvertOrb {
  0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  100% { transform: translate(8px, -6px) scale(1.1); opacity: 1; }
}

.lj-daily-convert-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  text-align: left;
}

.lj-daily-convert-sigil {
  position: relative;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
}

.lj-daily-convert-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(251, 191, 36, 0.45);
  animation: ljConvertSigilSpin 14s linear infinite;
}

.lj-daily-convert-core {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: #fde68a;
  background: radial-gradient(circle at 35% 30%, #fff7c2, #a855f7 50%, #4c1d95);
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.45);
  animation: ljConvertSigilPulse 2.4s ease-in-out infinite;
}

@keyframes ljConvertSigilSpin {
  to { transform: rotate(360deg); }
}

@keyframes ljConvertSigilPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.lj-daily-convert-eyebrow {
  margin: 0 0 4px;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: rgba(253, 224, 138, 0.8);
}

.lj-daily-convert-title {
  margin: 0 0 6px;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #faf5ff;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
}

.lj-daily-convert-sub {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(216, 180, 254, 0.82);
}

.lj-daily-convert-steps {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.lj-daily-convert-steps li {
  flex: 1 1 calc(50% - 4px);
  min-width: 120px;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  color: rgba(226, 198, 255, 0.75);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(168, 85, 247, 0.22);
}

.lj-daily-convert-steps li i {
  margin-right: 5px;
  color: rgba(251, 191, 36, 0.75);
  font-size: 0.68rem;
}

.lj-daily-convert-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.lj-daily-convert-link {
  flex: 1 1 auto;
  min-width: 120px;
  padding: 11px 16px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(237, 233, 254, 0.92);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.4);
  background: rgba(8, 5, 18, 0.55);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.lj-daily-convert-link:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 181, 253, 0.55);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.22);
}

.lj-daily-convert-btn {
  position: relative;
  flex: 1 1 auto;
  min-width: 160px;
  padding: 0;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}

.lj-daily-convert-btn:focus-visible {
  outline: 2px solid rgba(251, 191, 36, 0.8);
  outline-offset: 4px;
}

.lj-daily-convert-btn-glow {
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(251, 191, 36, 0.35), transparent 70%);
  opacity: 0.6;
  animation: ljConvertBtnGlow 2.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ljConvertBtnGlow {
  0%, 100% { opacity: 0.35; transform: scale(0.95); }
  50% { opacity: 0.85; transform: scale(1.05); }
}

.lj-daily-convert-btn-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1a0a28;
  border-radius: 999px;
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 42%, #d97706 100%);
  box-shadow: 0 8px 28px rgba(251, 191, 36, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.lj-daily-convert-btn:hover .lj-daily-convert-btn-inner {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(251, 191, 36, 0.45);
}

.lj-daily-convert-btn.is-loading .lj-daily-convert-btn-inner {
  opacity: 0.75;
  pointer-events: none;
}

.lj-daily-convert-btn:disabled .lj-daily-convert-btn-inner {
  opacity: 0.55;
  filter: grayscale(0.35);
}

.lj-daily-convert-btn.is-bead-empty .lj-daily-convert-btn-inner {
  background: linear-gradient(135deg, #6d28d9 0%, #a855f7 50%, #f59e0b 100%);
  animation: lj-daily-convert-buy-pulse 2.2s ease-in-out infinite;
}

.lj-daily-convert-btn.is-bead-empty .lj-daily-convert-bead {
  color: #b45309;
  background: #fef3c7;
}

@keyframes lj-daily-convert-buy-pulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(251, 191, 36, 0.35); }
  50% { box-shadow: 0 10px 34px rgba(251, 191, 36, 0.55), 0 0 20px rgba(168, 85, 247, 0.35); }
}

.lj-daily-convert-bead {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6em;
  padding: 2px 7px;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
  color: #4c1d95;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
}

.lj-daily-convert-foot {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.68rem;
  color: rgba(196, 181, 253, 0.7);
}

.lj-daily-convert-foot a {
  color: #c4b5fd;
  text-decoration: none;
}

.lj-daily-convert-foot a:hover {
  color: #fde68a;
}

@media (prefers-reduced-motion: reduce) {
  .lj-daily-convert-shine,
  .lj-daily-convert-orbs span,
  .lj-daily-convert-ring,
  .lj-daily-convert-core,
  .lj-daily-convert-btn-glow,
  .ts-scope.daily-home .lj-daily-convert.is-highlight {
    animation: none;
  }
}
