/* DG KOF XV HUB 1.1.30 — Tournament UI System
 * Shared visual foundation for every public surface belonging to one tournament.
 * Business logic is intentionally untouched; Elementor remains free to override.
 */
body.dgkof-tournament-ui-active .dgkof-tournament-page-v51,
body.dgkof-tournament-ui-active .dgkof-registration-document,
body.dgkof-tournament-ui-active .dgkof-competition-page,
body.dgkof-tournament-ui-active .dgkof-champion-page,
body.dgkof-tournament-ui-active .dgkof-tournament-media-page,
body.dgkof-tournament-ui-active .dgkof-elementor-tournament-root {
  --dgkof-ui-accent: #d5ad45;
  --dgkof-ui-accent-2: #c9282e;
  --dgkof-ui-radius: 16px;
  --dgkof-ui-border: rgba(127,127,127,.20);
  --dgkof-ui-surface: #fff;
  --dgkof-ui-surface-dark: #11151d;
  --dgkof-ui-text: #16181d;
  --dgkof-ui-text-dark: #fff;
}
body.dgkof-tournament-ui-active .dgkof-tournament-action,
body.dgkof-tournament-ui-active button,
body.dgkof-tournament-ui-active input[type="submit"],
body.dgkof-tournament-ui-active input[type="button"] {
  border-radius: max(8px, calc(var(--dgkof-ui-radius) - 7px));
}
body.dgkof-tournament-ui-active .dgkof-action-primary,
body.dgkof-tournament-ui-active .dgkof-reg-submit,
body.dgkof-tournament-ui-active .dgkof-registration-submit,
body.dgkof-tournament-ui-active .dgkof-competition-action {
  background: var(--dgkof-ui-accent-2) !important;
  border-color: var(--dgkof-ui-accent-2) !important;
  color: #fff !important;
}
body.dgkof-tournament-ui-active .dgkof-reg-card,
body.dgkof-tournament-ui-active .dgkof-reg-info-card,
body.dgkof-tournament-ui-active .dgkof-reg-signup-card,
body.dgkof-tournament-ui-active .dgkof-reg-side-card,
body.dgkof-tournament-ui-active .dgkof-reg-participants,
body.dgkof-tournament-ui-active .dgkof-competition-notice {
  border-radius: var(--dgkof-ui-radius);
  border-color: var(--dgkof-ui-border);
}
body.dgkof-tournament-ui-active .dgkof-reg-section-title h2,
body.dgkof-tournament-ui-active .dgkof-competition-section-heading h2,
body.dgkof-tournament-ui-active .dgkof-tournament-section-title h2 {
  font-family: var(--dgkof-ui-font, Rajdhani, Arial, sans-serif);
}
body.dgkof-tournament-ui-active .dgkof-reg-field input,
body.dgkof-tournament-ui-active .dgkof-reg-field select,
body.dgkof-tournament-ui-active .dgkof-reg-field textarea,
body.dgkof-tournament-ui-active .dgkof-registration-document input,
body.dgkof-tournament-ui-active .dgkof-registration-document select,
body.dgkof-tournament-ui-active .dgkof-registration-document textarea {
  border-radius: max(8px, calc(var(--dgkof-ui-radius) - 6px));
  border-color: var(--dgkof-ui-border);
}
/* Elementor/native widgets: the system establishes a shared baseline without
   fighting explicit Elementor controls. */
body.dgkof-tournament-ui-active .dgkof-elementor-tournament-root,
body.dgkof-tournament-ui-active .elementor-widget-dg_kof_tournament,
body.dgkof-tournament-ui-active .elementor-widget-dg_kof_tournament_register,
body.dgkof-tournament-ui-active .elementor-widget-dg_kof_tournament_competition,
body.dgkof-tournament-ui-active .elementor-widget-dg_kof_tournament_champion {
  font-family: var(--dgkof-ui-font, Rajdhani, Arial, sans-serif);
}
body.dgkof-tournament-ui-active .dgkof-ui-card,
body.dgkof-tournament-ui-active .dgkof-module,
body.dgkof-tournament-ui-active .dgkof-section,
body.dgkof-tournament-ui-active .dgkof-empty {
  border-radius: var(--dgkof-ui-radius);
}
@media (max-width: 767px) {
  body.dgkof-tournament-ui-active .dgkof-tournament-page-v51,
  body.dgkof-tournament-ui-active .dgkof-registration-document .dgkof-reg-page,
  body.dgkof-tournament-ui-active .dgkof-competition-page { max-width: 100%; }
}
