/* LNKS Luanda Music Group: homepage RISE Chart countdown (lnks-rise-countdown.js).
   A slim glossy strip: live dot, ticking glass digits, who is leading, a Vote button and the week's progress.
   Always dark, in light and dark mode, so it reads as a "ticket" between the photo rows. */
.rcd { position: relative; isolation: isolate; overflow: hidden; color: #FFFFFF;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(222, 4, 18, .38), transparent 55%),
    radial-gradient(90% 120% at 100% 100%, rgba(196, 4, 16, .30), transparent 60%),
    linear-gradient(135deg, #030303 0%, var(--brand-graphite-deep, #050505) 55%, #020202 100%); }
/* moving glow and a glossy sheen that sweeps across now and then */
.rcd::before { content: ""; position: absolute; inset: -40%; z-index: -1; pointer-events: none;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0 60%, rgba(239, 132, 139, .22) 70%, transparent 80% 100%);
  filter: blur(40px); }
.rcd::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .10) 48%, rgba(255, 255, 255, .02) 52%, transparent 62%);
  transform: translateX(-120%); }
.rcd__inner { position: relative; z-index: 1; max-width: var(--layout-max, 1440px); margin-inline: auto;
  padding: clamp(20px, 2.6vw, 30px) var(--gutter, 24px) clamp(24px, 3vw, 34px);
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: clamp(16px, 3vw, 48px); }

.rcd__live { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #F3A0A6; }
.rcd__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-red, #DE0412); box-shadow: 0 0 0 0 rgba(222, 4, 18, .7); }
.rcd.is-weekend .rcd__dot { background: #A3A3A3; box-shadow: none; }
.rcd__title { margin: 0; font-size: clamp(24px, 2.6vw, 36px); font-weight: 900; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.rcd__title span { background: linear-gradient(180deg, #F19298, var(--brand-red, #DE0412) 60%, #B7030F); -webkit-background-clip: text; background-clip: text; color: transparent; }

.rcd__clock { justify-self: center; text-align: center; }
.rcd__label { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.rcd__time { margin: 0; display: inline-flex; align-items: flex-start; gap: 6px; }
.rcd__unit { display: grid; justify-items: center; gap: 6px; }
.rcd__unit b { display: block; min-width: 2.1ch; padding: 8px 10px 7px; border-radius: 10px; overflow: hidden;
  font-size: clamp(26px, 3.2vw, 44px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, .06) 49%, rgba(0, 0, 0, .18) 51%, rgba(255, 255, 255, .04) 100%);
  border: 1px solid rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 24px rgba(0, 0, 0, .35); }
.rcd__unit--s b { color: #F9D5D7; border-color: rgba(239, 132, 139, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 22px rgba(222, 4, 18, .35), 0 10px 24px rgba(0, 0, 0, .35); }
.rcd__unit i { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.rcd__sep { padding-top: 10px; font-size: clamp(20px, 2.4vw, 32px); font-weight: 800; color: rgba(255, 255, 255, .35); }

.rcd__who { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; min-width: 0; }
.rcd__face { position: relative; flex: none; width: 54px; height: 54px; border-radius: 50%; padding: 3px;
  background: conic-gradient(from 0deg, #F19298, var(--brand-red, #DE0412), #F9D5D7, var(--brand-red, #DE0412), #F19298); }
.rcd__face img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #030303; }
.rcd__whotext { display: grid; gap: 2px; min-width: 0; }
.rcd__whatlabel { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #F3A0A6; }
.rcd__name { font-size: 18px; font-weight: 800; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcd__who:hover .rcd__name, .rcd__who:focus-visible .rcd__name { text-decoration: underline; text-underline-offset: 3px; }

.rcd__cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; white-space: nowrap;
  font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #FFFFFF; text-decoration: none;
  background: linear-gradient(180deg, #EC6B73 0%, var(--brand-red, #DE0412) 50%, var(--brand-red-ink, #C40410) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 24px rgba(222, 4, 18, .45);
  transition: transform .25s var(--motion-ease, ease), box-shadow .25s var(--motion-ease, ease); }
.rcd__cta svg { width: 18px; height: 18px; transition: transform .25s var(--motion-ease, ease); }
.rcd__cta:hover, .rcd__cta:focus-visible { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 14px 32px rgba(222, 4, 18, .6); }
.rcd__cta:hover svg, .rcd__cta:focus-visible svg { transform: translateX(4px); }
.rcd a:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 4px; }

.rcd__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .08); }
.rcd__bar span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--brand-red-ink, #C40410), #EC6B73, #F9D5D7); box-shadow: 0 0 12px rgba(236, 107, 115, .8); transition: transform 1s linear; }

@media (prefers-reduced-motion: no-preference) {
  .rcd::before { animation: rcd-spin 14s linear infinite; }
  .rcd::after { animation: rcd-sheen 7s var(--motion-ease, ease) 1.5s infinite; }
  .rcd__dot { animation: rcd-ping 1.8s ease-out infinite; }
  .rcd.is-weekend .rcd__dot { animation: none; }
  .rcd__unit b.is-tick { animation: rcd-tick .42s var(--motion-ease, ease); }
  .rcd__face { animation: rcd-spin 6s linear infinite; }
  .rcd__face img { animation: rcd-spin 6s linear infinite reverse; }
  .rcd__who.is-new { animation: rcd-pop .6s var(--motion-ease, ease); }
  .rcd__cta { animation: rcd-breathe 2.6s ease-in-out infinite; }
  .rcd__cta:hover, .rcd__cta:focus-visible { animation: none; }
}
@keyframes rcd-spin { to { transform: rotate(360deg); } }
@keyframes rcd-sheen { 0% { transform: translateX(-120%); } 45%, 100% { transform: translateX(120%); } }
@keyframes rcd-ping { 0% { box-shadow: 0 0 0 0 rgba(222, 4, 18, .7); } 80%, 100% { box-shadow: 0 0 0 12px rgba(222, 4, 18, 0); } }
@keyframes rcd-tick { 0% { transform: translateY(-38%) rotateX(70deg); opacity: .2; } 60% { transform: translateY(4%); opacity: 1; } 100% { transform: none; } }
@keyframes rcd-pop { 0% { transform: scale(.9); opacity: .3; } 60% { transform: scale(1.04); opacity: 1; } 100% { transform: none; } }
@keyframes rcd-breathe { 0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 24px rgba(222, 4, 18, .45); } 50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 34px rgba(222, 4, 18, .75); } }

@media (max-width: 1099.98px) {
  .rcd__inner { grid-template-columns: 1fr auto; }
  .rcd__clock { grid-column: 1 / -1; grid-row: 2; }
  .rcd__who { grid-column: 1; grid-row: 3; }
  .rcd__cta { grid-column: 2; grid-row: 3; }
  .rcd__brand { grid-column: 1 / -1; text-align: center; }
  .rcd__live { justify-content: center; width: 100%; }
}
@media (max-width: 479.98px) {
  .rcd__time { gap: 4px; }
  .rcd__unit b { padding: 7px 7px 6px; font-size: 26px; border-radius: 8px; }
  .rcd__sep { font-size: 18px; padding-top: 8px; }
  .rcd__face { width: 44px; height: 44px; }
  .rcd__name { font-size: 15px; }
  .rcd__cta { padding: 12px 16px; font-size: 13px; }
}
.rcd { border-top: 1px solid rgba(255, 255, 255, .08); }
/* final hour: every digit glows red and the label pulses */
.rcd.is-final .rcd__unit b { color: #F9D5D7; border-color: rgba(239, 132, 139, .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 22px rgba(222, 4, 18, .4), 0 10px 24px rgba(0, 0, 0, .35); }
.rcd.is-final .rcd__label { color: #F3A0A6; }
@media (prefers-reduced-motion: no-preference) { .rcd.is-final .rcd__label { animation: rcd-blink 1.2s ease-in-out infinite; } }
@keyframes rcd-blink { 50% { opacity: .45; } }
