/**
 * GoSocial Arena 2.0 · página del torneo e inscripción.
 *
 * Mismo lenguaje que la ficha de evento y la galería v2: tarjetas de 14 px, pills de
 * 999 px, Poppins en la interfaz, títulos con la barra naranja, naranja de marca
 * #f15a24 e iconos SVG. Ninguna variable --gosy-* está definida en el tema: siempre
 * con valor de respaldo. Móvil primero (360–1350 px).
 */

.ga,
.ga * {
	box-sizing: border-box;
}

.ga {
	--ga-brand: var(--gosy-brand, var(--theme-palette-color-1, #f15a24));
	--ga-brand-hover: var(--gosy-brand-hover, var(--theme-palette-color-2, #ce400d));
	--ga-brand-active: var(--gosy-brand-active, #ad360b);
	--ga-brand-soft: var(--gosy-brand-soft, #fdebe5);
	--ga-brand-wash: var(--gosy-brand-wash, #fef5f2);
	--ga-ink: var(--gosy-ink, #1a2538);
	--ga-text: var(--gosy-text, #2f3f5c);
	--ga-muted: var(--gosy-muted, #637799);
	--ga-subtle: var(--gosy-subtle, #8a98ad);
	--ga-surface: var(--gosy-surface, #ffffff);
	--ga-soft: var(--gosy-soft, #f6f8fb);
	--ga-soft-2: var(--gosy-soft-2, #eef3f8);
	--ga-border: var(--gosy-border, #d3def0);
	--ga-border-strong: var(--gosy-border-strong, #b9c7dc);
	--ga-ok: #15803d;
	--ga-ok-soft: #eaf8ef;
	--ga-warn: #8a4b06;
	--ga-warn-soft: #fff7e6;
	--ga-warn-line: #f3d38c;
	--ga-bad: #b42318;
	--ga-bad-soft: #fff0f0;
	--ga-info-soft: #edf4ff;
	--ga-shadow: 0 1px 3px rgba(26, 37, 56, 0.06), 0 10px 28px rgba(26, 37, 56, 0.07);
	--ga-radius: 14px;
	--ga-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	font-family: var(--gosy-font-ui, "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif);
	color: var(--ga-text);
	line-height: 1.5;
	font-size: 15px;
}

.ga [hidden] {
	display: none !important;
}

.ga h1,
.ga h2,
.ga h3,
.ga h4 {
	color: var(--ga-ink);
	margin: 0;
	line-height: 1.2;
	text-wrap: balance;
}

.ga p {
	margin: 0;
}

.ga a {
	color: var(--ga-brand-hover);
}

.ga :focus-visible {
	outline: 3px solid var(--ga-brand);
	outline-offset: 2px;
	border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
	.ga *,
	.ga *::before,
	.ga *::after {
		transition: none !important;
		animation: none !important;
	}
}

/* ---------- estructura ---------- */

.ga-wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 20px 16px 56px;
	display: grid;
	gap: 18px;
}

.ga-card {
	background: var(--ga-surface);
	border: 1px solid var(--ga-border);
	border-radius: var(--ga-radius);
	box-shadow: var(--ga-shadow);
}

.ga-pad {
	padding: 18px;
}

@media (min-width: 768px) {
	.ga-wrap {
		padding: 32px 24px 72px;
		gap: 22px;
	}

	.ga-pad {
		padding: 22px 24px;
	}
}

.ga-stack {
	display: grid;
	gap: 14px;
	align-content: start;
}

.ga-grid-2 {
	display: grid;
	gap: 16px;
}

@media (min-width: 900px) {
	.ga-grid-2 {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
		align-items: start;
	}
}

.ga-section {
	display: grid;
	gap: 14px;
}

.ga-section + .ga-section {
	margin-top: 26px;
}

.ga-h2 {
	font-size: 1.15rem;
	font-weight: 700;
}

.ga-h3 {
	font-size: 1rem;
	font-weight: 700;
}

.ga-muted {
	color: var(--ga-muted);
	font-weight: 400;
}

.ga-small {
	font-size: 0.82rem;
}

.ga-loading {
	color: var(--ga-muted);
	padding: 24px 4px;
}

.ga-note {
	background: var(--ga-soft);
	border: 1px solid var(--ga-border);
	border-radius: 12px;
	padding: 14px 16px;
}

.ga-empty {
	text-align: center;
	display: grid;
	justify-items: center;
	gap: 8px;
	color: var(--ga-muted);
	padding-block: 36px;
}

.ga-empty svg {
	color: var(--ga-subtle);
}

.ga-prose {
	display: grid;
	gap: 10px;
}

.ga-prose p,
.ga-prose ul {
	margin: 0;
}

.ga table,
.ga th,
.ga td {
	border: 0;
}

.ga-list {
	margin: 0;
	padding-left: 1.1em;
	display: grid;
	gap: 6px;
}

.ga-checklist {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.ga-checklist li {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 10px;
}

.ga-checklist li::before {
	content: "";
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--ga-ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- portada ---------- */

.ga-hero {
	overflow: hidden;
}

.ga-hero__cover {
	aspect-ratio: 16 / 7;
	background: var(--ga-soft-2);
}

.ga-hero__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ga-hero__body {
	padding: 18px;
	display: grid;
	gap: 12px;
}

@media (min-width: 768px) {
	.ga-hero__body {
		padding: 26px 28px;
	}
}

.ga-title {
	font-size: clamp(1.55rem, 4.2vw, 2.4rem);
	font-weight: 800;
	border-left: 4px solid var(--ga-brand);
	padding-left: 14px;
	letter-spacing: -0.01em;
}

.ga-meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	font-size: 0.9rem;
	color: var(--ga-text);
}

.ga-meta li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.ga-meta svg {
	color: var(--ga-brand);
	flex: none;
}

.ga-meta a {
	color: inherit;
}

.ga-hero__lede {
	color: var(--ga-muted);
	max-width: 65ch;
}

.ga-hero__status {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* ---------- pills, chips, botones ---------- */

.ga-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: fit-content;
	padding: 5px 13px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 600;
	background: var(--ga-soft-2);
	color: var(--ga-text);
}

.ga-pill--sport {
	background: #ffc107;
	color: #3a2a00;
}

.ga-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 30px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--ga-soft-2);
	color: var(--ga-text);
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.15;
	white-space: nowrap;
}

.ga-chip--sm {
	min-height: 24px;
	padding: 3px 10px;
	font-size: 0.72rem;
}

.ga-chip--ok {
	background: var(--ga-ok-soft);
	color: var(--ga-ok);
}

.ga-chip--warn {
	background: var(--ga-warn-soft);
	color: var(--ga-warn);
	box-shadow: inset 0 0 0 1px var(--ga-warn-line);
}

.ga-chip--soon {
	background: var(--ga-info-soft);
	color: #1d4ed8;
}

.ga-chip--bad {
	background: var(--ga-bad-soft);
	color: var(--ga-bad);
}

.ga-chip--price {
	background: var(--ga-brand-soft);
	color: var(--ga-brand-active);
}

.ga-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 20px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.15;
	text-decoration: none !important;
	cursor: pointer;
	background: var(--ga-soft-2);
	color: var(--ga-ink);
	transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
}

.ga-btn:active {
	transform: translateY(1px);
}

.ga-btn[disabled],
.ga-btn.is-busy {
	opacity: 0.6;
	cursor: not-allowed;
}

.ga-btn--primary {
	background: var(--ga-brand);
	color: #fff !important;
}

.ga-btn--primary:hover {
	background: var(--ga-brand-hover);
}

.ga-btn--ghost {
	background: var(--ga-surface);
	border-color: var(--ga-border-strong);
	color: var(--ga-ink) !important;
}

.ga-btn--ghost:hover {
	border-color: var(--ga-brand);
	color: var(--ga-brand-hover) !important;
}

.ga-btn--danger {
	background: var(--ga-surface);
	border-color: #f1b8b3;
	color: var(--ga-bad) !important;
}

.ga-btn--danger:hover {
	background: var(--ga-bad-soft);
}

.ga-btn--wa {
	background: #1f9d55;
	color: #fff !important;
}

.ga-btn--wa:hover {
	background: #17824a;
}

.ga-btn--block {
	width: 100%;
}

.ga-btn--sm {
	min-height: 36px;
	padding: 7px 14px;
	font-size: 0.8rem;
}

.ga-link {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	font-weight: 600;
	color: var(--ga-brand-hover);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ga-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

/* ---------- pestañas ---------- */

.ga-tabs {
	display: flex;
	gap: 4px;
	overflow-x: auto;
	scrollbar-width: none;
	background: var(--ga-surface);
	border: 1px solid var(--ga-border);
	border-radius: var(--ga-radius);
	padding: 5px;
	box-shadow: var(--ga-shadow);
	position: sticky;
	top: calc(var(--admin-bar, 0px) + 8px);
	z-index: 5;
}

.ga-tabs::-webkit-scrollbar {
	display: none;
}

.ga-tab {
	flex: 1 0 auto;
	min-height: 42px;
	padding: 8px 16px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--ga-muted);
	font: 600 0.88rem/1.1 inherit;
	font-family: inherit;
	cursor: pointer;
	white-space: nowrap;
	position: relative;
}

.ga-tab:hover {
	color: var(--ga-ink);
	background: var(--ga-soft);
}

.ga-tab.is-active {
	color: var(--ga-brand-hover);
	background: var(--ga-brand-wash);
}

.ga-tab.is-active::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 2px;
	border-radius: 2px;
	background: var(--ga-brand);
}

.ga-tab__badge {
	display: inline-grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	margin-left: 6px;
	border-radius: 999px;
	background: var(--ga-brand);
	color: #fff;
	font-size: 0.7rem;
}

.ga-js .ga-panel {
	display: none;
}

.ga-js .ga-panel.is-active {
	display: block;
	animation: ga-in 0.25s var(--ga-ease);
}

@keyframes ga-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* ---------- avisos ---------- */

.ga-alert {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	padding: 13px 15px;
	border-radius: 12px;
	font-size: 0.9rem;
	background: var(--ga-info-soft);
	color: var(--ga-text);
}

.ga-alert svg {
	margin-top: 1px;
}

.ga-alert b,
.ga-alert strong {
	color: var(--ga-ink);
}

.ga-alert--ok {
	background: var(--ga-ok-soft);
}

.ga-alert--ok svg {
	color: var(--ga-ok);
}

.ga-alert--warn {
	background: var(--ga-warn-soft);
	box-shadow: inset 0 0 0 1px var(--ga-warn-line);
	color: #5c3a05;
}

.ga-alert--warn svg {
	color: #b86a0b;
}

.ga-alert--bad {
	background: var(--ga-bad-soft);
}

.ga-alert--bad svg {
	color: var(--ga-bad);
}

.ga-alert--info svg {
	color: #2563eb;
}

.ga-alert--brand {
	background: var(--ga-brand-wash);
}

.ga-alert--brand svg {
	color: var(--ga-brand);
}

/* ---------- formulario ---------- */

.ga-app {
	display: grid;
	gap: 16px;
}

.ga-layout {
	display: grid;
	gap: 16px;
}

@media (min-width: 960px) {
	.ga-layout {
		grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr);
		align-items: start;
	}

	.ga-aside {
		position: sticky;
		top: calc(var(--admin-bar, 0px) + 80px);
	}
}

.ga-stepper {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.82rem;
	color: var(--ga-muted);
	flex-wrap: wrap;
}

.ga-stepper__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: none;
	border: 0;
	padding: 4px 0;
	font: inherit;
	color: inherit;
	cursor: default;
}

.ga-stepper__item[data-go] {
	cursor: pointer;
}

.ga-stepper__n {
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--ga-soft-2);
	color: var(--ga-muted);
	font-weight: 700;
	font-size: 0.78rem;
}

.ga-stepper__item.is-current {
	color: var(--ga-ink);
	font-weight: 600;
}

.ga-stepper__item.is-current .ga-stepper__n {
	background: var(--ga-brand);
	color: #fff;
}

.ga-stepper__item.is-done .ga-stepper__n {
	background: var(--ga-ok);
	color: #fff;
}

.ga-stepper__line {
	flex: 1;
	min-width: 16px;
	height: 1px;
	background: var(--ga-border);
}

/* En móvil solo se lee la etiqueta del paso actual; las otras quedan para lectores de pantalla. */
@media (max-width: 559px) {
	.ga-stepper {
		flex-wrap: nowrap;
	}

	.ga-stepper__item:not(.is-current) .ga-stepper__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

.ga-step {
	display: grid;
	gap: 18px;
}

/* Contenedores que se rellenan después (código, métodos de pago): sin hueco mientras están vacíos. */
.ga-step > :empty {
	display: none;
}

.ga .ga-pricetable {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.86rem;
	margin: 0;
}

.ga .ga-pricetable th {
	padding: 8px 6px;
	color: var(--ga-muted);
	font-weight: 600;
	text-align: right;
}

.ga .ga-pricetable th:first-child {
	text-align: left;
}

.ga .ga-pricetable tbody tr {
	border-top: 1px solid var(--ga-border);
}

.ga .ga-pricetable tr.is-current {
	background: var(--ga-ok-soft);
}

.ga .ga-pricetable tr.is-past {
	color: var(--ga-subtle);
}

.ga .ga-pricetable td {
	padding: 9px 6px;
	text-align: right;
	white-space: nowrap;
	vertical-align: top;
}

.ga .ga-pricetable td:first-child {
	text-align: left;
	white-space: normal;
}

.ga .ga-pricetable small {
	display: block;
}

.ga-pricetable__member {
	color: var(--ga-ok);
}

@media (max-width: 559px) {
	.ga .ga-pricetable thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.ga .ga-pricetable tbody tr {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
		gap: 6px 10px;
		padding: 10px 8px;
	}

	.ga .ga-pricetable td {
		padding: 0;
		text-align: left;
	}

	.ga .ga-pricetable td:first-child {
		grid-column: 1 / -1;
	}

	.ga .ga-pricetable td[data-label]::before {
		content: attr(data-label);
		display: block;
		color: var(--ga-muted);
		font-size: 0.74rem;
		font-weight: 600;
	}

	.ga .ga-pricetable td[data-label] > span {
		font-weight: 600;
	}
}

.ga-step__title {
	font-size: 1.1rem;
	font-weight: 700;
}

.ga-group {
	display: grid;
	gap: 10px;
}

.ga-group__label {
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--ga-ink);
}

.ga-group__hint {
	font-size: 0.8rem;
	color: var(--ga-muted);
	margin-top: -4px;
}

/* Tarjetas de elección (radio) */
.ga-choices {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.ga-choices--col {
	grid-template-columns: minmax(0, 1fr);
}

.ga-choice {
	position: relative;
	display: grid;
	gap: 3px;
	padding: 14px 44px 14px 14px;
	border: 1.5px solid var(--ga-border);
	border-radius: 12px;
	background: var(--ga-surface);
	cursor: pointer;
	transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
	text-align: left;
	font: inherit;
	color: inherit;
}

.ga-choice:hover {
	border-color: var(--ga-border-strong);
}

.ga-choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ga-choice::after {
	content: "";
	position: absolute;
	top: 13px;
	right: 13px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 1.5px solid var(--ga-border-strong);
	background: #fff;
}

.ga-choice.is-selected,
.ga-choice:has(input:checked) {
	border-color: var(--ga-brand);
	background: var(--ga-brand-wash);
	box-shadow: 0 0 0 3px rgba(241, 90, 36, 0.14);
}

.ga-choice.is-selected::after,
.ga-choice:has(input:checked)::after {
	border-color: var(--ga-brand);
	background: var(--ga-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.ga-choice:has(input:focus-visible) {
	outline: 3px solid var(--ga-brand);
	outline-offset: 2px;
}

.ga-choice.is-disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.ga-choice__title {
	font-weight: 700;
	color: var(--ga-ink);
	font-size: 1.05rem;
}

.ga-choice__sub {
	font-size: 0.8rem;
	color: var(--ga-muted);
}

.ga-choice__price {
	margin-top: 6px;
	font-weight: 700;
	color: var(--ga-ink);
	font-size: 1.1rem;
	font-variant-numeric: tabular-nums;
}

.ga-choice__price s {
	font-weight: 400;
	font-size: 0.82rem;
	color: var(--ga-muted);
	margin-left: 5px;
}

.ga-choice__tag {
	font-size: 0.74rem;
	font-weight: 600;
	color: var(--ga-ok);
}

/* Control segmentado */
.ga-seg {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 4px;
	padding: 4px;
	border-radius: 12px;
	background: var(--ga-soft-2);
}

.ga-seg button {
	min-height: 44px;
	padding: 8px 6px;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: var(--ga-muted);
	font: 600 0.8rem/1.2 inherit;
	font-family: inherit;
	cursor: pointer;
}

.ga-seg button[aria-pressed="true"] {
	background: var(--ga-surface);
	color: var(--ga-ink);
	box-shadow: 0 1px 3px rgba(26, 37, 56, 0.14);
}

/* Campos */
.ga-fields {
	display: grid;
	gap: 12px;
}

@media (min-width: 560px) {
	.ga-fields--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.ga-field {
	display: grid;
	gap: 6px;
	font-size: 0.86rem;
	min-width: 0;
}

.ga-field > span:first-child {
	font-weight: 600;
	color: var(--ga-ink);
}

.ga-input,
.ga-select,
.ga-textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 13px;
	border: 1.5px solid var(--ga-border);
	border-radius: 10px;
	background: #fff;
	color: var(--ga-ink);
	font: 400 0.95rem/1.3 inherit;
	font-family: inherit;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.ga-input:focus,
.ga-select:focus,
.ga-textarea:focus {
	outline: none;
	border-color: var(--ga-brand);
	box-shadow: 0 0 0 3px rgba(241, 90, 36, 0.15);
}

.ga-input.is-invalid,
.ga-select.is-invalid {
	border-color: var(--ga-bad);
}

.ga-textarea {
	min-height: 84px;
	resize: vertical;
}

.ga-input--code {
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	letter-spacing: 0.08em;
	font-weight: 700;
	text-transform: uppercase;
}

.ga-inline {
	display: flex;
	gap: 8px;
}

.ga-inline > .ga-input {
	flex: 1;
	min-width: 0;
}

.ga-check {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	font-size: 0.88rem;
	cursor: pointer;
}

.ga-check input {
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--ga-brand);
}

.ga-toggle {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 12px 14px;
	border: 1.5px solid var(--ga-border);
	border-radius: 12px;
	cursor: pointer;
}

.ga-toggle input {
	appearance: none;
	width: 42px;
	height: 24px;
	border-radius: 999px;
	background: var(--ga-border-strong);
	position: relative;
	cursor: pointer;
	transition: background-color 0.15s;
	margin: 0;
}

.ga-toggle input::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.15s var(--ga-ease);
}

.ga-toggle input:checked {
	background: var(--ga-brand);
}

.ga-toggle input:checked::after {
	transform: translateX(18px);
}

.ga-toggle:has(input:checked) {
	border-color: var(--ga-brand);
	background: var(--ga-brand-wash);
}

.ga-toggle b {
	color: var(--ga-ink);
	display: block;
}

.ga-toggle small {
	color: var(--ga-muted);
}

.ga-sep {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.78rem;
	color: var(--ga-muted);
}

.ga-sep::before,
.ga-sep::after {
	content: "";
	flex: 1;
	border-top: 1px solid var(--ga-border);
}

/* Tramo de precio */
.ga-tier {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	padding: 13px 15px;
	border-radius: 12px;
	background: var(--ga-ok-soft);
	color: #14532d;
	font-size: 0.88rem;
}

.ga-tier svg {
	color: var(--ga-ok);
	margin-top: 1px;
}

.ga-tier b {
	color: #0f3d22;
}

.ga-tier__track {
	display: flex;
	gap: 3px;
	margin-top: 9px;
}

.ga-tier__track i {
	height: 5px;
	border-radius: 3px;
	background: #b9d9c4;
	flex: 1;
}

.ga-tier__track i.is-past {
	background: #d6e2da;
}

.ga-tier__track i.is-current {
	background: var(--ga-ok);
}

/* Modalidad dentro del paso de equipo */
.ga-mod {
	display: grid;
	gap: 14px;
	padding: 16px;
	border: 1px solid var(--ga-border);
	border-radius: 12px;
	background: var(--ga-soft);
}

.ga-mod__head {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: baseline;
	justify-content: space-between;
}

.ga-mod__head h4 {
	font-size: 1rem;
}

/* Resumen */
.ga-summary {
	display: grid;
	gap: 14px;
}

.ga-lines {
	display: grid;
	gap: 9px;
	font-size: 0.88rem;
}

.ga-line {
	display: flex;
	justify-content: space-between;
	gap: 14px;
}

.ga-line span:last-child {
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	color: var(--ga-ink);
}

.ga-line--muted {
	color: var(--ga-muted);
}

.ga-line s {
	color: var(--ga-muted);
	margin-right: 4px;
}

.ga-line--total {
	border-top: 1px solid var(--ga-border);
	padding-top: 10px;
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--ga-ink);
}

.ga-secure {
	display: flex;
	gap: 6px;
	justify-content: center;
	align-items: center;
	font-size: 0.76rem;
	color: var(--ga-muted);
	text-align: center;
}

.ga-summary__who {
	display: flex;
	gap: 10px;
	align-items: center;
	font-size: 0.86rem;
}

/* ---------- tu inscripción ---------- */

.ga-reg {
	display: grid;
	gap: 16px;
}

.ga-reg__head {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
}

.ga-reg__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	font-size: 0.84rem;
	color: var(--ga-muted);
}

.ga-entries {
	display: grid;
	gap: 14px;
}

@media (min-width: 900px) {
	.ga-entries--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}
}

.ga-entry {
	display: grid;
	gap: 14px;
	padding: 16px;
	border: 1px solid var(--ga-border);
	border-radius: 12px;
	background: var(--ga-surface);
}

.ga-entry__head {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: space-between;
}

.ga-entry__title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--ga-ink);
}

.ga-people {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.ga-people li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
	min-width: 0;
}

.ga-person__txt {
	display: grid;
	min-width: 0;
	flex: 1;
}

.ga-person__txt b {
	color: var(--ga-ink);
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ga-person__txt small {
	color: var(--ga-muted);
	font-size: 0.76rem;
}

.ga-people__empty {
	color: var(--ga-muted);
}

.ga-avatar {
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #2f6fb3;
	color: #fff;
	font-weight: 700;
	font-size: 0.78rem;
	letter-spacing: 0.02em;
}

.ga-avatar--empty {
	background: var(--ga-soft-2);
	color: var(--ga-muted);
	border: 1.5px dashed var(--ga-border-strong);
}

.ga-avatar[data-c="1"] { background: #2f6fb3; }
.ga-avatar[data-c="2"] { background: #b3261e; }
.ga-avatar[data-c="3"] { background: #6b4fb8; }
.ga-avatar[data-c="4"] { background: #0f766e; }
.ga-avatar[data-c="5"] { background: #a15c07; }
.ga-avatar[data-c="6"] { background: #334155; }

.ga-invite {
	display: grid;
	gap: 12px;
	padding: 14px;
	border-radius: 12px;
	background: var(--ga-brand-wash);
	border: 1px solid var(--ga-brand-soft);
}

.ga-invite__title {
	font-weight: 700;
	color: var(--ga-ink);
	font-size: 0.92rem;
}

.ga-code {
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--ga-ink);
}

.ga-countdown {
	font-variant-numeric: tabular-nums;
	font-weight: 700;
}

.ga-divider {
	border: 0;
	border-top: 1px solid var(--ga-border);
	margin: 2px 0;
}

/* ---------- bolsa y equipos ---------- */

.ga-pool {
	display: grid;
	gap: 16px;
}

.ga-players,
.ga-teams {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

.ga-player {
	display: grid;
	gap: 12px;
	padding: 16px;
}

.ga-player__head {
	display: flex;
	gap: 12px;
	align-items: center;
}

.ga-player__name {
	font-weight: 700;
	color: var(--ga-ink);
}

.ga-player__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.ga-team {
	display: grid;
	gap: 12px;
	padding: 16px;
	align-content: start;
}

.ga-team--forming {
	border-style: dashed;
}

.ga-team__head {
	display: grid;
	gap: 6px;
}

.ga-team__name {
	font-size: 1rem;
	font-weight: 700;
}

/* ---------- «Mis torneos» ---------- */

.ga-mine {
	display: grid;
	gap: 6px;
	text-decoration: none !important;
	color: inherit !important;
	transition: border-color 0.15s, transform 0.15s;
}

.ga-mine:hover {
	border-color: var(--ga-brand);
	transform: translateY(-1px);
}

.ga-mine__title {
	font-weight: 700;
	color: var(--ga-ink);
	font-size: 1.05rem;
}

.ga-mine .ga-chip {
	width: fit-content;
}

/* ---------- diálogo y aviso flotante ---------- */

.ga-dialog {
	border: 0;
	padding: 0;
	border-radius: 16px;
	max-width: min(92vw, 460px);
	width: 100%;
	box-shadow: 0 24px 60px rgba(10, 16, 28, 0.35);
}

.ga-dialog::backdrop {
	background: rgba(10, 16, 28, 0.55);
}

.ga-dialog__body {
	padding: 22px;
	display: grid;
	gap: 14px;
	font-family: var(--gosy-font-ui, "Poppins", system-ui, sans-serif);
	color: #2f3f5c;
}

.ga-dialog__body h3 {
	font-size: 1.15rem;
	color: #1a2538;
	margin: 0;
}

.ga-toast {
	position: fixed;
	left: 50%;
	bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
	transform: translateX(-50%);
	z-index: 99999;
	max-width: min(92vw, 520px);
	background: #1a2538;
	color: #fff;
	padding: 12px 18px;
	border-radius: 999px;
	font: 600 0.88rem/1.3 var(--gosy-font-ui, "Poppins", system-ui, sans-serif);
	box-shadow: 0 10px 30px rgba(10, 16, 28, 0.3);
}

.ga-toast--bad {
	background: #b42318;
}

/* Botón de pago fijo en móvil */
@media (max-width: 959px) {
	.ga-paybar {
		position: sticky;
		bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
		z-index: 4;
	}
}
