/* Pulse Garage entry lists (loaded only on entry list pages) */

/* Hero */
.pg-el-hero {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	background: radial-gradient(ellipse at 80% 0%, rgba(184, 255, 52, 0.08), transparent 55%), var(--pg-black);
}

.pg-el-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 32px;
	align-items: center;
	padding-block: 30px 34px;
}

.pg-el-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 14px;
	color: var(--pg-muted);
	font-size: 12px;
	text-decoration: none;
}

.pg-el-back:hover {
	color: var(--pg-lime);
}

.pg-el-back .pg-svg {
	width: 14px;
	height: 14px;
}

.pg-el-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 11px;
	border: 1px solid rgba(184, 255, 52, 0.45);
	border-radius: 999px;
	background: rgba(9, 11, 12, 0.75);
	color: var(--pg-lime);
	font: 700 11px/1 var(--pg-font-body);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pg-el-chip.is-live::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--pg-lime);
	box-shadow: 0 0 0 0 rgba(184, 255, 52, 0.6);
	animation: pg-el-pulse 1.8s infinite;
}

@keyframes pg-el-pulse {
	70% {
		box-shadow: 0 0 0 8px rgba(184, 255, 52, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(184, 255, 52, 0);
	}
}

.pg-el-hero__title {
	margin: 14px 0 6px;
	color: var(--pg-text);
	font: italic 900 clamp(32px, 4.2vw, 54px)/0.95 var(--pg-font-display);
	text-transform: uppercase;
}

.pg-el-hero__tagline {
	margin: 0 0 20px;
	color: var(--pg-muted);
	font-size: 14px;
}

.pg-el-card {
	padding: 18px 20px;
	border: 1px solid var(--pg-line);
	border-radius: 8px;
	background: linear-gradient(145deg, #13191b, #0f1214);
}

.pg-el-card__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 12px;
}

.pg-el-card small,
.pg-el-stats small,
.pg-el-winner small {
	display: block;
	color: var(--pg-muted);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pg-el-card__row strong {
	display: block;
	margin-top: 4px;
	font: 800 26px/1 var(--pg-font-display);
	font-variant-numeric: tabular-nums;
}

.pg-el-card__row strong span {
	color: var(--pg-muted);
	font-weight: 600;
	font-size: 20px;
}

.pg-el-card__right {
	text-align: right;
}

.pg-el-card strong.is-lime {
	color: var(--pg-lime);
}

.pg-el-card__timer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--pg-line);
}

.pg-el-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.pg-el-card__actions .pg-btn {
	flex: 1 1 180px;
	justify-content: center;
}

.pg-el-price {
	margin-left: 4px;
	font-variant-numeric: tabular-nums;
}

.pg-el-price .woocommerce-Price-amount,
.pg-el-price del,
.pg-el-price ins {
	color: inherit;
	text-decoration: none;
}

.pg-el-price del {
	display: none;
}

.pg-el-hero__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 11;
	border: 1px solid var(--pg-line);
	border-radius: 10px;
	background: #111518;
}

.pg-el-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pg-el-hero__media .pg-instant-badge {
	position: absolute;
	bottom: 14px;
	left: 14px;
}

/* Shell */
.pg-el__shell {
	display: grid;
	/* minmax(0, 1fr) keeps the column at the container width, so wide rows
	   (instant prizes, entry table) scroll inside instead of stretching the page. */
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
	padding-block: 22px 12px;
}

.pg-el__shell > * {
	min-width: 0;
}

/* Draw winners */
.pg-el-winners {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 12px;
}

.pg-el-winner {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	border: 1px solid var(--pg-lime);
	border-radius: 8px;
	background: linear-gradient(120deg, rgba(184, 255, 52, 0.14), rgba(17, 21, 24, 0.9) 60%);
	box-shadow: 0 0 24px rgba(184, 255, 52, 0.12);
}

.pg-el-winner__icon {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--pg-lime);
	color: var(--pg-on-lime);
}

.pg-el-winner__icon .pg-svg {
	width: 22px;
	height: 22px;
}

.pg-el-winner strong {
	display: block;
	margin-top: 3px;
	font: 800 20px/1.1 var(--pg-font-display);
	text-transform: uppercase;
}

.pg-el-winner strong span {
	color: var(--pg-text-soft);
	font: 400 13px var(--pg-font-body);
	text-transform: none;
}

.pg-el-winner__meta {
	margin-left: auto;
	text-align: right;
}

.pg-el-winner__meta small {
	margin-top: 5px;
}

/* Stats */
.pg-el-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.pg-el-stats > div {
	min-height: 78px;
	padding: 14px 18px;
	border: 1px solid var(--pg-line);
	border-radius: 8px;
	background: #111518;
}

.pg-el-stats strong {
	display: block;
	margin-top: 8px;
	font: 800 22px/1 var(--pg-font-display);
	font-variant-numeric: tabular-nums;
}

.pg-el-stats strong span {
	color: var(--pg-muted);
	font-weight: 600;
	font-size: 16px;
}

/* Section heads */
.pg-el-section-head,
.pg-el-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 20px;
}

.pg-el-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 4px;
	color: var(--pg-lime);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.pg-el-eyebrow .pg-svg {
	width: 14px;
	height: 14px;
}

.pg-el-section-head h2,
.pg-el-toolbar h2,
.pg-el-cta h2 {
	margin: 0;
	font: 800 22px/1.1 var(--pg-font-display);
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.pg-el-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--pg-lime);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.pg-el-link .pg-svg {
	width: 14px;
	height: 14px;
}

/* Instant prizes still available */
.pg-el-prizes__row {
	display: grid;
	grid-auto-columns: minmax(220px, 1fr);
	grid-auto-flow: column;
	gap: 10px;
	margin-top: 12px;
	padding-bottom: 4px;
	overflow-x: auto;
	scrollbar-width: thin;
}

.pg-el-prize {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border: 1px solid var(--pg-line);
	border-radius: 8px;
	background: #111518;
}

.pg-el-prize img,
.pg-el-prize__icon {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	border-radius: 6px;
	object-fit: cover;
}

.pg-el-prize__icon {
	display: grid;
	place-items: center;
	background: #1a2023;
	color: var(--pg-lime);
}

.pg-el-prize strong {
	display: block;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

.pg-el-prize small {
	color: var(--pg-lime);
	font-size: 11px;
}

.pg-el-prize.is-gone {
	opacity: 0.5;
}

.pg-el-prize.is-gone small {
	color: var(--pg-muted);
}

/* Table panel */
.pg-el-table-panel {
	overflow: hidden;
	border: 1px solid var(--pg-line);
	border-radius: 10px;
	background: linear-gradient(145deg, #13191b, #0f1214);
}

.pg-el-toolbar {
	padding: 20px 20px 14px;
}

.pg-el-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 4px;
	border: 1px solid var(--pg-line);
	border-radius: 8px;
	background: #0b0e10;
}

.pg-el-tabs button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 34px;
	padding: 6px 14px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--pg-text-soft);
	font: 500 12px/1 var(--pg-font-body);
	cursor: pointer;
}

.pg-el-tabs button .pg-svg {
	width: 13px;
	height: 13px;
	color: var(--pg-lime);
}

.pg-el-tabs button span {
	padding: 3px 7px;
	border-radius: 999px;
	background: #1c2326;
	color: var(--pg-muted);
	font-size: 11px;
	font-variant-numeric: tabular-nums;
}

.pg-el-tabs button.is-active {
	background: var(--pg-lime);
	color: var(--pg-on-lime);
	font-weight: 700;
}

.pg-el-tabs button.is-active .pg-svg {
	color: var(--pg-on-lime);
}

.pg-el-tabs button.is-active span {
	background: rgba(16, 21, 6, 0.18);
	color: var(--pg-on-lime);
}

.pg-el-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 0 20px 16px;
}

.pg-el-search {
	position: relative;
	flex: 1 1 260px;
}

.pg-el-search .pg-svg {
	position: absolute;
	top: 50%;
	left: 12px;
	width: 16px;
	height: 16px;
	color: var(--pg-muted);
	transform: translateY(-50%);
}

.pg-el-search input {
	width: 100%;
	height: 36px;
	padding: 0 12px 0 36px;
	border: 1px solid #3a4245;
	border-radius: 4px;
	background: #0e1214;
	color: var(--pg-text);
	font: 400 13px var(--pg-font-body);
}

.pg-el-search input:focus {
	border-color: var(--pg-lime);
	outline: 0;
}

.pg-el-controls .pg-select {
	height: 36px;
	min-width: 150px;
}

.pg-el-controls .pg-el-per {
	min-width: 118px;
}

.pg-el-table-wrap {
	overflow-x: auto;
	border-top: 1px solid var(--pg-line);
	transition: opacity 0.15s ease;
}

.pg-el.is-loading .pg-el-table-wrap {
	opacity: 0.55;
}

.pg-el-table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}

.pg-el-table th {
	padding: 11px 20px;
	border: 0;
	border-bottom: 1px solid var(--pg-line);
	background: #0e1214;
	color: var(--pg-muted);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-align: left;
	text-transform: uppercase;
}

.pg-el-table .pg-el-th-admin,
.pg-el-cell--admin {
	text-align: right;
}

.pg-el-table td {
	height: 64px;
	padding: 10px 20px;
	border: 0;
	border-bottom: 1px solid rgba(44, 52, 56, 0.7);
	background: transparent;
	vertical-align: middle;
}

.pg-el-row:hover td {
	background: rgba(255, 255, 255, 0.02);
}

.pg-el-cell--date strong,
.pg-el-player strong {
	display: block;
	color: var(--pg-text);
	font-size: 13px;
	font-weight: 500;
}

.pg-el-cell--date small,
.pg-el-player small {
	display: block;
	margin-top: 3px;
	color: var(--pg-muted);
	font-size: 11px;
}

.pg-el-player {
	display: flex;
	align-items: center;
	gap: 11px;
}

.pg-el-avatar {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(184, 255, 52, 0.35);
	border-radius: 50%;
	background: #172016;
	color: var(--pg-lime);
	font: 700 12px/1 var(--pg-font-body);
}

.pg-el-avatar .pg-svg {
	width: 17px;
	height: 17px;
}

.pg-el-ticket {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border: 1px solid #3a4245;
	border-radius: 999px;
	background: #0e1214;
	color: var(--pg-text);
	font: 700 12px/1 var(--pg-font-body);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.pg-el-won {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: 8px;
	color: var(--pg-lime);
	font-size: 11px;
	font-weight: 600;
}

.pg-el-won .pg-svg {
	width: 13px;
	height: 13px;
}

.pg-el-row.is-instant .pg-el-ticket {
	border-color: rgba(184, 255, 52, 0.6);
}

.pg-el-row.is-winner td {
	background: rgba(184, 255, 52, 0.07);
}

.pg-el-row.is-winner .pg-el-avatar {
	background: var(--pg-lime);
	color: var(--pg-on-lime);
}

.pg-el-row.is-winner .pg-el-player small {
	color: var(--pg-lime);
}

.pg-el-row.is-skeleton td span {
	display: block;
	height: 14px;
	border-radius: 4px;
	background: linear-gradient(90deg, #161c1f 0%, #1f272a 50%, #161c1f 100%);
	background-size: 200% 100%;
	animation: pg-el-shimmer 1.2s linear infinite;
}

@keyframes pg-el-shimmer {
	to {
		background-position: -200% 0;
	}
}

.pg-el-row.is-empty td {
	color: var(--pg-muted);
	font-size: 13px;
	text-align: center;
}

.pg-el-reveal {
	min-height: 34px;
	padding: 7px 14px;
	border: 1px solid rgba(184, 255, 52, 0.6);
	border-radius: 4px;
	background: transparent;
	color: var(--pg-lime);
	font: 700 11px/1 var(--pg-font-body);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
}

.pg-el-reveal:hover {
	background: var(--pg-lime);
	color: var(--pg-on-lime);
}

.pg-el-pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 58px;
	padding: 12px 20px;
}

.pg-el-pager p {
	margin: 0;
	color: var(--pg-muted);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

.pg-el-pager__nav {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--pg-text-soft);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

.pg-el-page-btn {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid #3a4245;
	border-radius: 4px;
	background: #0e1214;
	color: var(--pg-text);
	cursor: pointer;
}

.pg-el-page-btn:hover:not(:disabled) {
	border-color: var(--pg-lime);
	color: var(--pg-lime);
}

.pg-el-page-btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.pg-el-page-btn .pg-svg {
	width: 15px;
	height: 15px;
}

/* Bottom CTA */
.pg-el-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 24px;
	border: 1px solid rgba(184, 255, 52, 0.4);
	border-radius: 10px;
	background: linear-gradient(110deg, rgba(184, 255, 52, 0.12), rgba(17, 21, 24, 0.95) 55%);
}

.pg-el-cta p {
	margin: 6px 0 0;
	color: var(--pg-text-soft);
	font-size: 13px;
}

/* Admin winner modal */
.pg-el-lock,
.pg-el-lock body {
	overflow: hidden;
}

.pg-el-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 16px;
}

.pg-el-modal[hidden] {
	display: none;
}

.pg-el-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(4, 6, 7, 0.82);
	backdrop-filter: blur(3px);
}

.pg-el-confetti {
	position: fixed;
	inset: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.pg-el-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(480px, 100%);
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 30px 26px 22px;
	border: 1px solid var(--pg-lime);
	border-radius: 12px;
	background: radial-gradient(ellipse at 50% 0%, rgba(184, 255, 52, 0.18), transparent 60%), #111518;
	box-shadow: 0 0 60px rgba(184, 255, 52, 0.2);
	text-align: center;
	outline: 0;
}

.pg-el-modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--pg-muted);
	cursor: pointer;
}

.pg-el-modal__close:hover {
	color: var(--pg-text);
}

.pg-el-modal__dialog .pg-el-eyebrow {
	display: flex;
	justify-content: center;
}

.pg-el-modal__trophy {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	margin: 0 auto 10px;
	border-radius: 50%;
	background: var(--pg-lime);
	box-shadow: 0 0 30px rgba(184, 255, 52, 0.45);
	color: var(--pg-on-lime);
}

.pg-el-modal__trophy .pg-svg {
	width: 30px;
	height: 30px;
}

.pg-el-modal h2 {
	margin: 2px 0 6px;
	font: italic 900 34px/1 var(--pg-font-display);
	text-transform: uppercase;
}

.pg-el-modal__ticket {
	margin: 0 0 16px;
	color: var(--pg-lime);
	font: 800 22px/1 var(--pg-font-display);
	font-variant-numeric: tabular-nums;
}

.pg-el-modal__details {
	display: grid;
	gap: 1px;
	margin: 0 0 14px;
	overflow: hidden;
	border: 1px solid var(--pg-line);
	border-radius: 8px;
	background: var(--pg-line);
	text-align: left;
}

.pg-el-modal__details div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 14px;
	background: #0e1214;
}

.pg-el-modal__details dt {
	color: var(--pg-muted);
	font-size: 12px;
}

.pg-el-modal__details dd {
	margin: 0;
	color: var(--pg-text);
	font-size: 13px;
	font-weight: 600;
	text-align: right;
	word-break: break-word;
}

.pg-el-modal__note {
	margin: 0 0 12px;
	padding: 9px 12px;
	border-radius: 6px;
	background: rgba(184, 255, 52, 0.1);
	color: var(--pg-lime);
	font-size: 12px;
}

.pg-el-modal__note.is-error {
	background: rgba(255, 107, 61, 0.12);
	color: #ff6b3d;
}

.pg-el-modal__note a {
	color: inherit;
	font-weight: 700;
}

.pg-el-modal__check {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 14px;
	color: var(--pg-text-soft);
	font-size: 12px;
}

.pg-el-modal__check input {
	accent-color: var(--pg-lime);
}

.pg-el-modal__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.pg-el-modal__actions .pg-btn {
	justify-content: center;
	gap: 6px;
	font-size: 12px;
}

.pg-el-modal__actions .pg-svg {
	width: 15px;
	height: 15px;
}

.pg-el-modal__actions .pg-btn.is-armed {
	background: #ff6b3d;
	border-color: #ff6b3d;
	color: #111;
}

.pg-el-modal__actions [hidden] {
	display: none;
}

.pg-el-modal__order {
	grid-column: 1 / -1;
	color: var(--pg-muted);
	font-size: 12px;
}

.pg-el-modal__hint {
	margin: 14px 0 0;
	color: var(--pg-muted);
	font-size: 11px;
	line-height: 1.5;
}

/* Hub */
.pg-el-hub__tabs {
	margin-bottom: 18px;
}

.pg-el-hub__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.pg-el-hub-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--pg-line);
	border-radius: 8px;
	background: #111518;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.pg-el-hub-card:hover {
	border-color: rgba(184, 255, 52, 0.55);
	transform: translateY(-2px);
}

.pg-el-hub-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	background: #0e1214;
}

.pg-el-hub-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pg-el-hub-card__media .pg-el-chip {
	position: absolute;
	top: 10px;
	left: 10px;
}

.pg-el-hub-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	padding: 12px 14px 14px;
}

.pg-el-hub-card__cat {
	margin: 0;
	color: var(--pg-muted);
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.pg-el-hub-card__title {
	margin: 0;
	font: 800 18px/1.1 var(--pg-font-display);
	text-transform: uppercase;
}

.pg-el-hub-card__title a {
	color: var(--pg-text);
	text-decoration: none;
}

.pg-el-hub-card__count {
	margin: 2px 0 0;
	color: var(--pg-text-soft);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

.pg-el-hub-card__count strong {
	color: var(--pg-lime);
	font: 800 18px/1 var(--pg-font-display);
}

.pg-el-hub-card__count span {
	color: var(--pg-muted);
}

.pg-el-hub-card__bar {
	height: 4px;
	overflow: hidden;
	border-radius: 999px;
	background: #252d30;
}

.pg-el-hub-card__bar span {
	display: block;
	height: 100%;
	background: var(--pg-lime);
}

.pg-el-hub-card__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 2px 0 8px;
	color: var(--pg-text-soft);
	font-size: 12px;
}

.pg-el-hub-card__meta .pg-svg {
	width: 14px;
	height: 14px;
	color: var(--pg-lime);
}

.pg-el-hub-card .pg-btn {
	justify-content: center;
	margin-top: auto;
}

.pg-el-hub__pages {
	margin-top: 22px;
	text-align: center;
}

.pg-el-hub__pages .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 34px;
	height: 34px;
	margin: 0 3px;
	padding: 0 10px;
	border: 1px solid #3a4245;
	border-radius: 4px;
	color: var(--pg-text);
	font-size: 12px;
	text-decoration: none;
}

.pg-el-hub__pages .page-numbers.current {
	border-color: var(--pg-lime);
	color: var(--pg-lime);
}

/* Responsive */
@media (max-width: 1100px) {
	.pg-el-hub__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 920px) {
	.pg-el-hero__grid {
		grid-template-columns: 1fr;
	}

	.pg-el-hero__media {
		order: -1;
		aspect-ratio: 16 / 9;
	}

	.pg-el-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pg-el-hub__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.pg-el-toolbar,
	.pg-el-controls,
	.pg-el-pager {
		padding-inline: 14px;
	}

	.pg-el-tabs {
		width: 100%;
	}

	.pg-el-tabs button {
		flex: 1 1 auto;
		justify-content: center;
	}

	.pg-el-controls .pg-select {
		flex: 1 1 40%;
		min-width: 0;
	}

	/* Table rows become compact cards */
	.pg-el-table thead {
		display: none;
	}

	.pg-el-table,
	.pg-el-table tbody {
		display: block;
	}

	.pg-el-row:not(.is-skeleton):not(.is-empty) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 6px 10px;
		padding: 12px 14px;
		border-bottom: 1px solid rgba(44, 52, 56, 0.7);
	}

	.pg-el-row:not(.is-skeleton):not(.is-empty) td {
		display: block;
		height: auto;
		padding: 0;
		border: 0;
	}

	.pg-el-cell--player {
		grid-column: 1;
		grid-row: 1;
	}

	.pg-el-cell--ticket {
		grid-column: 2;
		grid-row: 1;
		align-self: center;
		text-align: right;
	}

	.pg-el-cell--date {
		grid-column: 1 / -1;
		padding-left: 47px !important;
	}

	.pg-el-cell--date strong,
	.pg-el-cell--date small {
		display: inline;
		font-size: 11px;
	}

	.pg-el-cell--date small::before {
		content: " \00B7  ";
	}

	.pg-el-cell--admin {
		grid-column: 1 / -1;
	}

	.pg-el-reveal {
		width: 100%;
	}

	.pg-el-won {
		display: flex;
		justify-content: flex-end;
		margin: 4px 0 0;
	}

	.pg-el-row.is-skeleton,
	.pg-el-row.is-empty {
		display: block;
	}

	.pg-el-row.is-skeleton td,
	.pg-el-row.is-empty td {
		display: block;
		height: auto;
		padding: 18px 14px;
	}

	.pg-el-winner__meta {
		display: none;
	}

	.pg-el-hub__grid {
		grid-template-columns: 1fr;
	}

	.pg-el-modal__actions {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pg-el-chip.is-live::before,
	.pg-el-row.is-skeleton td span {
		animation: none;
	}

	.pg-el-hub-card:hover {
		transform: none;
	}
}
