/* Big number centered over the card cover */
.yg3-card[data-yg3w="widget:official-handicap"] .yg3-card__media {
  position: relative;
  min-height: 120px; /* in case there is no cover image */
}
.yg3w-hcp-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: clamp(28px, 6vw, 64px);
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}

/* Modal layout */
.yg3w-official-modal {
  padding: 12px 4px 4px 4px;
}
.yg3w-official-title {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.3;
}
.yg3w-official-help {
  margin: 0 0 10px;
  color: #64748b;
  font-size: 14px;
}
.yg3w-official-field {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 10px;
}
.yg3w-official-field label {
  font-weight: 600;
}
.yg3w-official-field input[type="number"] {
  width: 160px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 16px;
}
@media (prefers-color-scheme: dark){
  .yg3w-official-help { color: #9aa4b2; }
  .yg3w-official-field input[type="number"] { background:#0b0f14; color:#e5e7eb; border-color:#2a2f37; }
}
