/* BWB – Popular right now sidebar widget (same look as BWB – Game Updates) */

.widget_bwb-popular-now .bwb-pn-container {
  margin: 0;
  padding: 8px;
  background: linear-gradient(180deg, rgba(26, 26, 28, 0.97) 0%, rgba(22, 22, 24, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.2),
    0 4px 6px -2px rgba(0, 0, 0, 0.2),
    0 10px 24px -4px rgba(0, 0, 0, 0.25);
}

.widget_bwb-popular-now .widget-title {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0 12px 0;
  padding: 0 0 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
}

.widget_bwb-popular-now .widget-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.7), transparent);
  border-radius: 1px;
}

.bwb-pn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #f97316;
  font-size: 1.15rem;
  line-height: 1;
}

.bwb-pn-title-text {
  flex: 1;
  padding-inline-start: 0.35em;
}

.bwb-pn-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bwb-pn-item {
  margin: 0;
}

/* Fixed height so the placeholder rows reserve exactly the final space. */
.bwb-pn-row {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  align-items: center;
  height: 62px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 4px 8px 4px 4px;
  overflow: hidden;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.bwb-pn-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.bwb-pn-row--skeleton,
.bwb-pn-row--skeleton:hover {
  background: rgba(255, 255, 255, 0.025);
  transform: none;
}

.bwb-pn-thumbwrap {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  width: 80px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.bwb-pn-thumb {
  display: block;
  width: 80px !important;
  height: 48px !important;
  max-width: none !important;
  object-fit: cover;
}

.bwb-pn-info {
  min-width: 0;
}

.widget_bwb-popular-now a.bwb-pn-game {
  display: block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
}

.widget_bwb-popular-now a.bwb-pn-game:hover {
  color: #fff;
  text-decoration: underline;
}

.bwb-pn-provider {
  margin: 2px 0 0;
  color: #e0d0a8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bwb-pn-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.bwb-pn-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #d5d5dc;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.bwb-pn-badge .fa-fire {
  color: #f97316;
  font-size: 10px;
}

.bwb-pn-empty {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}
