/* TradingView affiliate banner — official mark from tradingview.com/media-kit */
.tv-aff{
  display:flex;
  align-items:center;
  gap:16px;
  margin:18px 0;
  padding:16px 18px;
  border-radius:16px;
  text-decoration:none !important;
  color:#fff;
  background:linear-gradient(135deg,#0a1633 0%,#14356f 48%,#2962ff 100%);
  border:1px solid rgba(150,200,255,.42);
  box-shadow:0 8px 28px rgba(41,98,255,.3),inset 0 1px 0 rgba(255,255,255,.14);
  transition:transform .2s ease,box-shadow .2s ease;
}
.tv-aff:hover,.tv-aff:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 14px 36px rgba(41,98,255,.48),0 0 0 1px rgba(240,180,41,.4),inset 0 1px 0 rgba(255,255,255,.2);
  text-decoration:none !important;
  color:#fff;
}
.tv-aff-logo{
  width:56px;height:56px;
  flex:0 0 56px;
  border-radius:14px;
  display:block;
  box-shadow:0 4px 14px rgba(0,0,0,.4);
  background:#fff;
}
.tv-aff-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.tv-aff-h{
  font-weight:800;
  font-size:1.18rem;
  line-height:1.2;
  color:#fff;
  letter-spacing:-.015em;
}
.tv-aff-sub{color:#ffd37a;font-weight:700;font-size:.98rem;line-height:1.3}
.tv-aff-disc{color:#c5d4ee;font-weight:600;font-size:.78rem}
.tv-aff-cta{
  flex:0 0 auto;
  display:inline-block;
  background:linear-gradient(180deg,#ffe27a,#f0b429);
  color:#1a1400;
  font-weight:800;
  font-size:1.02rem;
  padding:12px 18px;
  border-radius:12px;
  box-shadow:0 0 0 0 rgba(240,180,41,.55);
  animation:tvAffPulse 2.2s ease-in-out infinite;
  white-space:nowrap;
}
.tv-aff:hover .tv-aff-cta,.tv-aff:focus-visible .tv-aff-cta{
  background:linear-gradient(180deg,#ffe99a,#ffc44d);
}
@keyframes tvAffPulse{
  0%,100%{box-shadow:0 0 0 0 rgba(240,180,41,.5)}
  50%{box-shadow:0 0 18px 4px rgba(240,180,41,.48)}
}
@media(max-width:560px){
  .tv-aff{flex-wrap:wrap;gap:12px;padding:14px}
  .tv-aff-logo{width:48px;height:48px;flex-basis:48px;border-radius:12px}
  .tv-aff-copy{flex:1 1 calc(100% - 64px)}
  .tv-aff-h{font-size:1.05rem}
  .tv-aff-cta{width:100%;text-align:center;padding:13px 16px}
}
@media(prefers-reduced-motion:reduce){
  .tv-aff,.tv-aff-cta{animation:none;transition:none}
  .tv-aff:hover,.tv-aff:focus-visible{transform:none}
}
