:root {
	--card-bg: #ffffff;
	--card-border: rgba(15, 23, 42, 0.06);
	--text-main: #18212f;
	--text-body: #7b8798;
	--text-label: #4b5565;
	--line: rgba(15, 23, 42, 0.08);
	--line-soft: rgba(15, 23, 42, 0.05);
	--accent: #0a84ff;
	--accent-2: #3aa0ff;
	--success: #22c55e;
	--success-ring: rgba(34, 197, 94, 0.15);
	--danger: #ef4444;
	--danger-ring: rgba(239, 68, 68, 0.16);
	--surface: #f3f7fb;
	--surface-strong: #eaf1f8;
	--radius: 24px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

.ge-shell {
	font-family: "Inter", sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: var(--text-main);
}

.ge-wrap {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
	gap: 24px;
	align-items: stretch;
}

.ge-card[hidden],
.ge-card.is-hidden {
	display: none !important;
}

.ge-filter-shell {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin: 0 0 26px;
}

.ge-filter-heading {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 18px;
	border-radius: 999px;
	background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
	color: #ffffff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.03em;
	box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
}

.ge-filter-heading__icon {
	display: block;
	width: 18px;
	height: 18px;
	object-fit: contain;
	flex: 0 0 auto;
}

.ge-filter-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex: 1 1 0;
}

.ge-filter-chip {
	border: 0;
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 18px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, filter 0.18s ease;
}

.ge-filter-chip:hover {
	transform: translateY(-1px);
}

.ge-filter-chip--all {
	background: linear-gradient(180deg, #eef3f8 0%, #dfe8f2 100%);
	color: #162131;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.ge-filter-chip--all.is-active {
	background: linear-gradient(180deg, #ffffff 0%, #edf4fb 100%);
	box-shadow:
		0 14px 28px rgba(15, 23, 42, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.ge-filter-chip--category {
	--ge-filter-color: #0a84ff;
	background: linear-gradient(135deg, var(--ge-filter-color) 0%, color-mix(in srgb, var(--ge-filter-color) 68%, #ffffff) 100%);
	color: #ffffff;
	opacity: 0.72;
	box-shadow:
		0 12px 24px color-mix(in srgb, var(--ge-filter-color) 30%, transparent),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ge-filter-chip--category.is-active {
	opacity: 1;
	filter: saturate(1.08);
	box-shadow:
		0 16px 28px color-mix(in srgb, var(--ge-filter-color) 38%, transparent),
		inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.ge-filter-chip__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	color: inherit;
	font-size: 14px;
	flex: 0 0 auto;
	overflow: hidden;
}

.ge-filter-chip__icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ge-filter-chip__label {
	white-space: nowrap;
}

.event-card {
	width: 100%;
	max-width: 360px;
	margin: 0 auto;
	background:
		radial-gradient(circle at top left, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.88) 22%, rgba(255, 255, 255, 1) 52%),
		linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
	border: 1px solid var(--card-border);
	border-radius: var(--radius);
	padding: 16px 18px 18px;
	position: relative;
	overflow: hidden;
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.04),
		0 14px 30px rgba(15, 23, 42, 0.08),
		0 28px 60px rgba(15, 23, 42, 0.08);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
	isolation: isolate;
}

.event-card:hover {
	transform: translateY(-3px);
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.04),
		0 18px 38px rgba(15, 23, 42, 0.1),
		0 34px 72px rgba(15, 23, 42, 0.1);
}

.event-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 34%),
		radial-gradient(circle at top right, rgba(58, 160, 255, 0.09), transparent 24%);
	pointer-events: none;
	z-index: 0;
}

.event-card::after {
	content: "";
	position: absolute;
	top: 0;
	left: 18px;
	right: 18px;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
	z-index: 1;
}

.card-content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.topbar {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
}

.status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	color: #748195;
	letter-spacing: 0.01em;
}

.status-dot {
	width: 9px;
	height: 9px;
	border-radius: 999px;
	background: var(--success);
	box-shadow: 0 0 0 4px var(--success-ring);
	flex: 0 0 auto;
}

.status-dot--full {
	background: var(--danger);
	box-shadow: 0 0 0 4px var(--danger-ring);
}

.ge-card-categories {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	flex: 0 0 auto;
	margin-left: 12px;
}

.ge-card-category {
	--ge-category-color: #0a84ff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border-radius: 999px;
	background: color-mix(in srgb, var(--ge-category-color) 12%, #ffffff);
	border: 1px solid color-mix(in srgb, var(--ge-category-color) 20%, rgba(15, 23, 42, 0.08));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
	flex: 0 0 auto;
}

.ge-card-category__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	background: var(--ge-category-color);
	color: #ffffff;
	font-size: 13px;
	flex: 0 0 auto;
	overflow: hidden;
}

.ge-card-category__icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ge-card-category__label {
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.2;
	color: #243146;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ge-card-category-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 8px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.06);
	color: #4b5565;
	font-size: 11px;
	font-weight: 800;
}

.title-wrap {
	margin-bottom: 14px;
}

.title {
	margin: 0;
	font-size: 34px;
	line-height: 0.98;
	font-weight: 800;
	letter-spacing: -0.045em;
	color: var(--text-main);
	text-wrap: balance;
}

.ge-card-summary {
	margin: 12px 0 0;
	font-size: 13.4px;
	line-height: 1.6;
	font-weight: 500;
	color: var(--text-body);
}

.divider {
	height: 1px;
	width: 100%;
	background: linear-gradient(90deg, transparent 0%, var(--line) 12%, rgba(15, 23, 42, 0.11) 50%, var(--line) 88%, transparent 100%);
}

.divider-title {
	margin: 14px 0;
}

.details,
.ge-modal__details {
	display: grid;
	gap: 0;
}

.detail {
	padding: 9px 0;
}

.detail-row {
	display: grid;
	grid-template-columns: 84px 1fr;
	align-items: start;
	column-gap: 10px;
}

.label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--text-label);
	opacity: 0.88;
	padding-top: 1px;
}

.value {
	font-size: 13.4px;
	line-height: 1.5;
	font-weight: 500;
	color: var(--text-body);
}

.divider-soft {
	height: 1px;
	width: 100%;
	background: linear-gradient(90deg, transparent 0%, var(--line-soft) 10%, rgba(15, 23, 42, 0.07) 50%, var(--line-soft) 90%, transparent 100%);
}

.footer {
	display: flex;
	justify-content: flex-end;
	padding-top: 8px;
	margin-top: auto;
}

.btn {
	border: 0;
	appearance: none;
	min-width: 116px;
	height: 42px;
	padding: 0 18px;
	border-radius: 13px;
	background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 100%);
	color: #ffffff;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: -0.01em;
	cursor: pointer;
	box-shadow:
		0 10px 22px rgba(10, 132, 255, 0.24),
		inset 0 1px 0 rgba(255, 255, 255, 0.22);
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, opacity 0.18s ease;
}

.btn:hover {
	transform: translateY(-1px);
	filter: saturate(1.03);
	box-shadow:
		0 14px 28px rgba(10, 132, 255, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn:active {
	transform: translateY(0);
}

.btn:disabled {
	cursor: not-allowed;
	filter: grayscale(0.15);
	opacity: 0.72;
	box-shadow: none;
	transform: none;
}

.ge-empty,
.ge-notice {
	margin-bottom: 22px;
	padding: 16px 18px;
	border-radius: 16px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	font-size: 14px;
	line-height: 1.5;
}

.ge-notice--error {
	background: #fef2f2;
	border-color: #fecaca;
	color: #991b1b;
}

.ge-filter-empty {
	margin-top: -4px;
}

.ge-modal {
	position: fixed !important;
	inset: 0;
	width: 100vw;
	height: 100dvh;
	z-index: 2147483000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding:
		max(8px, env(safe-area-inset-top))
		max(8px, env(safe-area-inset-right))
		max(8px, env(safe-area-inset-bottom))
		max(8px, env(safe-area-inset-left));
	overflow-x: hidden;
	overflow-y: auto;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.22s ease;
}

.ge-modal[hidden] {
	display: none !important;
}

.ge-modal.is-open {
	opacity: 1;
	pointer-events: auto;
}

.ge-modal__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.68);
	backdrop-filter: blur(8px);
}

.ge-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(94vw, 680px);
	max-width: 680px;
	margin: auto;
	max-height: calc(100dvh - 16px);
	overflow: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-gutter: stable both-edges;
	padding: 26px 24px 22px;
	border-radius: 28px;
	background:
		radial-gradient(circle at top left, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 24%, rgba(255, 255, 255, 1) 54%),
		linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow:
		0 24px 60px rgba(15, 23, 42, 0.22),
		0 8px 20px rgba(15, 23, 42, 0.08);
}

.ge-modal__topbar {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 8px;
}

.ge-modal__heading {
	flex: 1 1 auto;
	min-width: 0;
}

.ge-modal__close {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 999px;
	background: #111827;
	color: #ffffff;
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.24);
	transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
	z-index: 3;
}

.ge-modal__close:hover {
	background: #0a84ff;
	transform: translateY(-1px);
	box-shadow: 0 14px 32px rgba(10, 132, 255, 0.28);
}

.ge-modal__eyebrow {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6b7a90;
}

.ge-modal__title {
	margin: 10px 0 0;
	font-size: 34px;
	line-height: 1;
	font-weight: 800;
	letter-spacing: -0.045em;
	color: var(--text-main);
	text-wrap: balance;
}

.ge-modal__summary {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-body);
}

.ge-modal__panel {
	margin-bottom: 18px;
	padding: 18px;
	border: 1px solid rgba(15, 23, 42, 0.07);
	border-radius: 22px;
	background: linear-gradient(180deg, rgba(248, 251, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.ge-modal__section-label {
	margin: 0 0 14px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #6f7c90;
}

.ge-modal__alert {
	margin-bottom: 16px;
	padding: 14px 16px;
	border-radius: 14px;
	font-size: 13.5px;
	line-height: 1.55;
}

.ge-modal__alert--error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.ge-modal__details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding: 0;
	border: 0;
	margin-bottom: 0;
}

.ge-modal__detail-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 16px;
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-radius: 18px;
	background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.ge-modal__detail-label {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6f7c90;
}

.ge-modal__detail-value {
	font-size: 16px;
	line-height: 1.4;
	font-weight: 600;
	color: var(--text-main);
	word-break: break-word;
}

.ge-restriction-note {
	margin: -2px 0 18px;
	padding: 0 0 0 14px;
	border-left: 4px solid #0a84ff;
	font-size: 15px;
	line-height: 1.6;
	color: #425066;
}

.ge-restriction-note strong {
	color: var(--text-main);
	font-weight: 800;
}

.ge-restriction-note__value {
	font-weight: 800;
	color: #0f172a;
}

.ge-restriction-note__separator {
	display: inline-block;
	margin: 0 10px;
	color: #9aa5b5;
}

.ge-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 12px;
	align-items: start;
	padding-inline: 8px;
}

.ge-form__intro {
	grid-column: 1 / -1;
	margin-bottom: 2px;
}

.ge-form__helper {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--text-body);
}

.ge-request-entry {
	display: flex;
	justify-content: center;
	margin: 0 0 24px;
}

.ge-request-entry .btn {
	min-width: 240px;
}

.ge-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ge-field[hidden] {
	display: none !important;
}

.ge-field--full {
	grid-column: 1 / -1;
}

.ge-field__label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #5f6d82;
}

.ge-form input,
.ge-form select,
.ge-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 16px 12px 18px;
	border: 1px solid #d8e1eb;
	border-radius: 14px;
	background: #ffffff;
	color: var(--text-main);
	font-size: 14px;
	font-family: inherit;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.ge-form select {
	padding-right: 42px;
}

.ge-form textarea {
	min-height: 132px;
	resize: vertical;
}

.ge-form input[type="file"] {
	padding: 12px 14px;
}

.ge-form input::placeholder {
	color: #8b96a8;
}

.ge-form--modal input[type="text"],
.ge-form--modal input[type="tel"],
.ge-form--modal input[type="email"] {
	margin: 0 !important;
	padding: 12px 16px 12px 18px !important;
	padding-left: 18px !important;
	text-indent: 0 !important;
	line-height: 1.4 !important;
	-webkit-appearance: none;
	appearance: none;
}

.ge-form--modal input[type="text"]::placeholder,
.ge-form--modal input[type="tel"]::placeholder,
.ge-form--modal input[type="email"]::placeholder {
	text-indent: 0 !important;
}

.ge-form input:focus,
.ge-form select:focus,
.ge-form textarea:focus {
	outline: none;
	border-color: rgba(10, 132, 255, 0.5);
	box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.12);
}

.ge-modal__dialog--request {
	width: min(96vw, 920px);
	max-width: 920px;
}

.ge-request-checks {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 12px;
	padding: 14px 16px;
	border: 1px solid #d8e1eb;
	border-radius: 14px;
	background: #ffffff;
}

.ge-request-check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--text-main);
}

.ge-request-check input {
	width: 16px;
	min-height: 16px;
	height: 16px;
	margin: 0;
	padding: 0;
	box-shadow: none;
}

.ge-form .btn {
	grid-column: 1 / -1;
	width: 100%;
	height: 46px;
}

body.ge-modal-open {
	overflow: hidden;
}

@media (max-width: 1024px), (max-height: 820px) {
	.ge-modal__dialog {
		width: min(95vw, 640px);
		padding: 20px 18px 16px;
		border-radius: 24px;
		max-height: calc(100dvh - 8px);
	}

	.ge-modal__title {
		font-size: 30px;
	}

	.ge-modal__detail-card {
		padding: 12px 14px;
	}

	.ge-modal__panel {
		padding: 14px 16px;
		margin-bottom: 14px;
	}

	.ge-form {
		padding-inline: 4px;
		gap: 10px;
	}

	.ge-form input,
	.ge-form select,
	.ge-form textarea {
		min-height: 44px;
		padding: 10px 14px 10px 16px;
	}

	.ge-form select {
		padding-right: 40px;
	}

	.ge-form textarea {
		min-height: 120px;
	}

	.ge-form--modal input[type="text"],
	.ge-form--modal input[type="tel"],
	.ge-form--modal input[type="email"] {
		padding: 10px 14px 10px 16px !important;
		padding-left: 16px !important;
	}
}

@media (max-width: 767px) {
	.ge-filter-shell {
		gap: 10px;
		margin-bottom: 20px;
	}

	.ge-filter-heading {
		min-height: 44px;
		padding: 10px 16px;
	}

	.ge-filter-list {
		flex-wrap: nowrap;
		justify-content: center;
		overflow-x: auto;
		padding-bottom: 4px;
		width: 100%;
	}

	.ge-filter-chip {
		min-height: 44px;
		padding: 0 16px;
		white-space: nowrap;
	}

	.ge-wrap {
		grid-template-columns: 1fr;
	}

	.event-card {
		max-width: none;
	}

	.title,
	.ge-modal__title {
		font-size: 28px;
	}

	.detail-row {
		grid-template-columns: 72px 1fr;
	}

	.ge-modal {
		padding: 8px;
	}

	.ge-modal__dialog {
		width: calc(100vw - 12px);
		max-width: none;
		scrollbar-gutter: auto;
		padding: 16px 12px 12px;
		border-radius: 20px;
		max-height: calc(100dvh - 4px);
	}

		.ge-modal__details {
			grid-template-columns: 1fr;
		}

	.ge-modal__topbar {
		margin-bottom: 12px;
	}

	.ge-modal__close {
		width: 38px;
		height: 38px;
		font-size: 20px;
	}

		.ge-modal__panel {
			padding: 14px;
			border-radius: 18px;
		}

		.ge-modal__summary,
		.ge-modal__alert,
		.ge-restriction-note {
			font-size: 13px;
		}

		.ge-restriction-note {
			padding-left: 12px;
		}

		.ge-form {
			grid-template-columns: 1fr;
			padding-inline: 2px;
		}

		.ge-request-checks {
			grid-template-columns: 1fr;
		}
	}
