.platform-card.platform-brand-fixed > .platform-overlay {
  opacity: 0 !important;
  pointer-events: none !important;
}

.platform-card .platform-brand-badge {
  --brand-accent: #20c997;
  position: absolute;
  z-index: 4;
  left: 16px;
  top: 50%;
  width: 136px;
  min-height: 64px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  color: #fff;
  background: rgba(10, 25, 54, 0.97);
  background:
    radial-gradient(circle at 8% 12%, color-mix(in srgb, var(--brand-accent) 64%, transparent), transparent 44%),
    linear-gradient(135deg, rgba(10, 25, 54, 0.97), rgba(28, 60, 102, 0.96));
  box-shadow: 0 5px 14px rgba(8, 26, 54, 0.28);
  pointer-events: none;
  box-sizing: border-box;
}

.platform-card .platform-brand-symbol {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: #fff;
  background: var(--brand-accent);
  background: linear-gradient(145deg, var(--brand-accent), color-mix(in srgb, var(--brand-accent) 54%, #17243e));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 2px 6px rgba(0, 0, 0, 0.2);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.5px;
  line-height: 1;
  white-space: nowrap;
}

.platform-card .platform-brand-symbol[data-long="1"] {
  font-size: 10px;
  letter-spacing: -0.7px;
}

.platform-card .platform-brand-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.platform-card .platform-brand-code {
  overflow: hidden;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.platform-card .platform-brand-name {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 360px) {
  .platform-card .platform-brand-badge {
    left: 12px;
    width: 128px;
    min-height: 58px;
    padding: 7px 8px;
  }

  .platform-card .platform-brand-symbol {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
}

/* User-provided entry banners already have a clean light background.
   Keep only the brand mark and label; remove the former blue card chrome. */
.platform-card .platform-brand-badge {
  width: 148px;
  min-height: 52px;
  gap: 10px;
  padding: 4px 6px;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.platform-card .platform-brand-symbol,
.platform-card .platform-brand-symbol[data-long="1"] {
  width: auto;
  height: auto;
  min-width: 38px;
  flex: 0 0 auto;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  color: var(--brand-accent);
  background: transparent !important;
  box-shadow: none !important;
  font-size: 22px;
  letter-spacing: -0.8px;
  text-shadow: 0 1px 0 #fff, 0 0 5px rgba(255, 255, 255, 0.95);
}

.platform-card .platform-brand-symbol[data-long="1"] {
  min-width: 48px;
  font-size: 15px;
}

.platform-card .platform-brand-code {
  display: none;
}

.platform-card .platform-brand-name {
  color: #24364d;
  font-size: 15px;
  font-weight: 800;
  text-shadow: 0 1px 0 #fff, 0 0 5px rgba(255, 255, 255, 0.95);
}

@media (max-width: 360px) {
  .platform-card .platform-brand-badge {
    width: 140px;
    min-height: 48px;
    padding: 3px 4px;
  }

  .platform-card .platform-brand-symbol,
  .platform-card .platform-brand-symbol[data-long="1"] {
    width: auto;
    height: auto;
    min-width: 34px;
  }
}
