/* Token Metrics blog right-rail Card A + Daily Pulse mic banner.
   Every selector is scoped. Do not target bare h1, h2, body, html, or :root. */

.tm-app-rail-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 320px;
  margin: 0;
  padding: 20px;
  background: #0d1117;
  border: 1px solid #c49c24;
  border-radius: 20px;
  font-family: "Articulat CF", Inter, system-ui, sans-serif;
  color: #fff;
}

.tm-app-rail-card *,
.tm-app-rail-card *::before,
.tm-app-rail-card *::after {
  box-sizing: border-box;
}

.tm-app-rail-card__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}

.tm-app-rail-card__logo {
  display: block;
  height: 30px;
  width: auto;
}

.tm-app-rail-card__eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #a8a8ac;
  letter-spacing: 0.01em;
}

.tm-app-rail-card__headline {
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
}

.tm-app-rail-card__headline span {
  color: #ffd60a;
}

.tm-app-rail-card__sub {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.35;
  color: #a8a8ac;
}

.tm-app-rail-rows {
  margin: 0 0 16px;
  padding: 8px;
  background: #111215;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tm-app-rail-rows[hidden] {
  display: none;
}

.tm-app-rail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 8px;
  border-radius: 8px;
}

.tm-app-rail-row__left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.tm-app-rail-row__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: #1a1d24;
  flex-shrink: 0;
}

.tm-app-rail-row__icon-fallback {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1a1d24;
  color: #ece7de;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
}

.tm-app-rail-row__name {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tm-app-rail-row__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.tm-app-rail-row__open {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(85, 201, 139, 0.16);
  color: #55c98b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.tm-app-rail-row__memo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ffd60a;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.tm-app-rail-row__memo:hover,
.tm-app-rail-row__memo:focus {
  text-decoration: underline;
  color: #ffd60a;
}

.tm-app-rail-row__memo svg {
  flex-shrink: 0;
}

.tm-app-rail-card__cta {
  display: block;
  width: 100%;
  padding: 14px 16px;
  background: #ffd60a;
  color: #0a0e14;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
}

.tm-app-rail-card__cta:hover,
.tm-app-rail-card__cta:focus {
  color: #0a0e14;
  text-decoration: none;
  filter: brightness(1.05);
}

/* Mic banner above the Spreaker player in block-44. Inset to the
   widget's inner width, slight radius so it sits inside the gold card. */
.widget.block-44 .tm-podcast-rail-banner,
.tm-daily-pulse-widget .tm-podcast-rail-banner {
  margin: 0 20px 12px;
  overflow: hidden;
  border-radius: 10px;
  line-height: 0;
  background: #0a0e14;
}

.tm-podcast-rail-banner img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

.widget.block-44 .tm-daily-pulse-widget .header .title-block h2 {
  display: none;
}
