/* Sports Gala Registration - Agentic Studio AI */
.sgr {
	--sgr-navy: #0b2a5b;
	--sgr-blue: #1565c0;
	--sgr-green: #2e9d4f;
	--sgr-sky: #eaf3ff;
	--sgr-ink: #13233f;
	--sgr-muted: #5b6b85;
	max-width: 880px;
	margin: 0 auto;
	color: var(--sgr-ink);
	font-family: inherit;
	line-height: 1.5;
}
.sgr *, .sgr *::before, .sgr *::after { box-sizing: border-box; }

.sgr-hero {
	background: linear-gradient(160deg, var(--sgr-navy) 0%, var(--sgr-blue) 70%, #1e88e5 100%);
	color: #fff;
	border-radius: 18px;
	padding: 32px 28px;
	text-align: center;
	overflow: hidden;
}
.sgr-hero-img {
	display: block;
	width: 100%;
	max-width: 640px;
	height: auto;
	margin: 0 auto 22px;
	border-radius: 12px;
}
.sgr-kicker {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .02em;
	color: #ffd54f;
}
.sgr-title {
	margin: 0 0 20px;
	color: #fff;
	font-size: clamp(26px, 5vw, 40px);
	line-height: 1.15;
	font-weight: 800;
}
.sgr-title span {
	display: block;
	margin-top: 6px;
	font-size: .62em;
	font-weight: 700;
	color: #b9f6ca;
}
.sgr-facts {
	list-style: none;
	margin: 0 auto 22px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	max-width: 720px;
	text-align: left;
}
.sgr-facts li {
	margin: 0;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 14px;
}
.sgr-facts strong {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .08em;
	opacity: .8;
}
.sgr-facts a { color: #fff; text-decoration: underline; }

.sgr-countdown {
	display: inline-flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
}
.sgr-countdown div {
	min-width: 68px;
	background: #fff;
	color: var(--sgr-navy);
	border-radius: 10px;
	padding: 8px 10px;
}
.sgr-countdown b { display: block; font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sgr-countdown small { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--sgr-muted); }

.sgr-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
	margin: 20px 0;
}
.sgr-step {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: var(--sgr-sky);
	border-radius: 12px;
	padding: 14px;
}
.sgr-step span {
	flex: 0 0 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--sgr-green);
	color: #fff;
	font-weight: 700;
	display: grid;
	place-items: center;
}
.sgr-step p { margin: 0; font-size: 14px; color: var(--sgr-muted); }
.sgr-step strong { display: block; color: var(--sgr-ink); font-size: 15px; }

.sgr-card {
	background: #fff;
	border: 1px solid #dbe4f0;
	border-radius: 16px;
	padding: 24px 20px;
	box-shadow: 0 6px 24px rgba(11, 42, 91, .06);
}
.sgr-card h3 { margin: 0 0 12px; font-size: 22px; color: var(--sgr-navy); text-align: center; }
.sgr-form iframe { display: block; }
.sgr-note { margin: 12px 0 0; font-size: 12px; color: var(--sgr-muted); text-align: center; }
.sgr-closed { text-align: center; margin-top: 20px; }

.sgr-tagline {
	margin: 22px 0 4px;
	text-align: center;
	font-weight: 700;
	color: var(--sgr-green);
	font-size: 17px;
}
.sgr-credit { margin: 0; text-align: center; font-size: 12px; color: var(--sgr-muted); }
.sgr-credit a { color: inherit; }


/* Native registration form: isolated from the website's theme. */
.sgr .sgr-native-form { margin: 28px auto 16px; max-width: 760px; padding: 26px; border: 1px solid #e4e9f1; border-radius: 14px; background: #fff; box-shadow: 0 6px 15px #13233f0c; }
.sgr .sgr-form-intro { margin: 0; color: #5b6b85; font-size: 14px; text-align: center; }
.sgr .sgr-field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.sgr .sgr-field > label:not(.sgr-radio), .sgr .sgr-field legend, .sgr .sgr-waiver legend { display: block; float: none; width: auto; padding: 0; margin: 0 0 8px; font-size: 15px; color: #13233f; font-weight: 600; line-height: 1.5; }
.sgr .sgr-field input:not([type=radio]), .sgr .sgr-field select { display: block; width: 100%; max-width: none; min-height: 46px; margin: 0; padding: 10px 12px; color: #13233f; background-color: #fff; border: 1px solid #ccd6e4; border-radius: 6px; font: inherit; font-size: 15px; box-shadow: none; }
.sgr input::placeholder { color: #78869c; opacity: 1; }
.sgr input:focus-visible, .sgr select:focus-visible, .sgr button:focus-visible, .sgr a:focus-visible, .sgr-popup button:focus-visible, .sgr-popup a:focus-visible { outline: 3px solid #168ddd; outline-offset: 3px; }
.sgr .sgr-radio { display: inline-flex; align-items: center; gap: 8px; margin: 0 24px 0 0; font-size: 15px; cursor: pointer; }
.sgr input[type=radio], .sgr input[type=checkbox] { appearance: auto; -webkit-appearance: auto; position: static; display: inline-block; width: 18px; height: 18px; min-width: 18px; margin: 2px 0 0; padding: 0; accent-color: #1565c0; opacity: 1; }
.sgr .sgr-consents { border-top: 1px solid #edf0f5; padding: 22px 0 0; margin: 0; border-left: 0; border-right: 0; border-bottom: 0; min-width: 0; }
.sgr .sgr-consents legend { padding-top: 22px; }
.sgr .sgr-check a { color: #1565c0; text-decoration: underline; white-space: nowrap; }
.sgr .sgr-check { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 18px; font-size: 14px; color: #3b4961; line-height: 1.6; cursor: pointer; }
.sgr .sgr-check em { font-style: normal; color: #68778b; }
.sgr .sgr-privacy { text-align: center; margin: 24px 0; font-size: 14px; }
.sgr .sgr-privacy a { color: #1565c0; text-decoration: underline; }
.sgr .sgr-waiver { padding: 0; margin: 0; border: 0; min-width: 0; }
.sgr .sgr-waiver .sgr-check { margin-bottom: 0; }
.sgr .sgr-submit-wrap { display: flex; justify-content: center; margin-top: 30px; }
.sgr .sgr-submit { display: inline-flex; justify-content: center; align-items: center; min-height: 56px; width: min(100%, 320px); padding: 16px 28px; border: 0; border-radius: 9px; background: #1565c0; color: #fff; font: inherit; font-size: 18px; font-weight: 700; line-height: 1.3; cursor: pointer; text-transform: none; box-shadow: 0 5px 12px #1565c026; }
.sgr .sgr-submit:hover { background: #0b4fa0; }
.sgr .sgr-submit:disabled { opacity: .65; cursor: wait; }
.sgr .sgr-message { padding: 16px; margin-top: 22px; border-radius: 8px; background: #eaf7ef; border: 1px solid #a4d3b2; color: #16562e; }
.sgr .sgr-message.sgr-error { background: #fff0f0; border-color: #e9b5b5; color: #842020; }
.sgr .sgr-honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sgr [hidden] { display: none !important; }
/* Poster popup. The supplied artwork is displayed whole, without cropping. */
.sgr-popup, .sgr-popup * { box-sizing: border-box; }
.sgr-popup { padding: 0; width: min(560px, calc(100vw - 28px)); max-width: none; max-height: calc(100dvh - 28px); border: 0; border-radius: 16px; background: #fff; color: #13233f; box-shadow: 0 24px 100px #001a4866; overflow-y: auto; overscroll-behavior: contain; }
.sgr-popup:not([open]) { display: none; }
.sgr-popup::backdrop { background: rgba(6, 23, 52, .72); }
.sgr-popup-inner { position: relative; }
.sgr-popup-poster { display: block; width: 100%; height: auto; object-fit: contain; margin: 0; }
.sgr-popup-close { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: #082754; color: #fff; font-family: Arial, sans-serif; font-size: 30px; font-weight: 400; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px #0003; }
.sgr-popup-footer { padding: 16px 22px; text-align: center; }
.sgr-popup-register { display: inline-flex; justify-content: center; align-items: center; min-width: 230px; min-height: 52px; padding: 12px 32px; border-radius: 9px; background: #2e9d4f; color: #fff !important; text-decoration: none !important; font-family: inherit; font-size: 18px; font-weight: 700; line-height: 1.5; }
.sgr-popup-register:hover { background: #237f3e; }
@media (max-height: 700px) and (min-width: 600px) { .sgr-popup { width: min(560px, calc(100dvh - 112px)); } }
@media (max-width: 600px) {
 .sgr-hero { padding: 24px 16px; border-radius: 14px; }
 .sgr-facts { grid-template-columns: 1fr; }
 .sgr-card { padding: 22px 12px; }
 .sgr-countdown { gap: 7px; }
 .sgr-countdown div { min-width: 54px; padding: 8px; }
 .sgr-countdown small { font-size: 9px; }
 .sgr .sgr-native-form { padding: 20px 12px; }
 .sgr .sgr-submit { width: 100%; }
 .sgr-steps { grid-template-columns: 1fr; }
 .sgr-popup-footer { padding: 14px; }
 .sgr-popup-register { width: 100%; min-width: 0; }
}

/* Confirmation panel shown after a successful submission. */
.sgr .sgr-success { text-align: center; padding: 28px 20px; border: 2px solid #2e9d4f; border-radius: 12px; background: #f1faf4; color: #13233f; }
.sgr .sgr-success p { margin: 0 0 10px; }
.sgr .sgr-success-title { font-size: 19px; font-weight: 700; color: #16562e; }
.sgr .sgr-success-label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #5b6b85; margin-top: 18px; }
.sgr .sgr-success-ref { font-size: clamp(34px, 7vw, 48px); font-weight: 800; letter-spacing: .04em; color: #0b2a5b; font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.sgr .sgr-success-note { font-size: 15px; color: #3b4961; line-height: 1.6; max-width: 520px; margin-left: auto; margin-right: auto; }
.sgr .sgr-success-note strong { white-space: nowrap; }

.sgr .sgr-hosted { margin: -4px 0 2px; text-align: center; font-size: 15px; font-weight: 600; color: #0b2a5b; }
.sgr .sgr-hosted-tagline { margin: 0 0 14px; text-align: center; font-size: 14px; font-weight: 600; color: #2e9d4f; }

.sgr .sgr-success-actions { margin-top: 20px; }
.sgr .sgr-again { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border: 2px solid #1565c0; border-radius: 9px; background: #fff; color: #1565c0; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.sgr .sgr-again:hover { background: #1565c0; color: #fff; }
.sgr .sgr-success-timer { font-size: 13px; color: #5b6b85; margin: 10px 0 0; }

/* Live state: shown from the event start time until the end time. */
.sgr-live { display: inline-flex; align-items: center; gap: 10px; margin: 4px auto 0; padding: 12px 18px; border-radius: 999px; background: #fff; color: #0b2a5b; font-size: 15px; line-height: 1.4; text-align: left; box-shadow: 0 4px 14px rgba(0,0,0,.15); max-width: 100%; }
.sgr-live strong { color: #c62828; white-space: nowrap; }
.sgr-live-dot { flex: 0 0 12px; width: 12px; height: 12px; border-radius: 50%; background: #e53935; box-shadow: 0 0 0 0 rgba(229,57,53,.6); animation: sgr-pulse 1.4s ease-out infinite; }
@keyframes sgr-pulse { 0% { box-shadow: 0 0 0 0 rgba(229,57,53,.6); } 100% { box-shadow: 0 0 0 10px rgba(229,57,53,0); } }
@media (prefers-reduced-motion: reduce) { .sgr-live-dot { animation: none; } }
@media (max-width: 600px) { .sgr-live { border-radius: 14px; font-size: 14px; } }
