* {
	box-sizing: border-box;
}

html,
body.tap-page {
	background: #07111d !important;
	color: #f8fafc !important;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 14px;
	letter-spacing: 0 !important;
	line-height: 1.4;
	margin: 0;
	min-width: 0 !important;
	padding: 0 !important;
}

body.tap-page *,
body.tap-page *:before,
body.tap-page *:after {
	box-sizing: border-box;
}

.tap-page .wrapper,
.tap-page .main,
.tap-page section,
.tap-page center,
.tap-page p,
.tap-page table,
.tap-page form {
	background: transparent !important;
}

.tap-page a {
	border: 0 !important;
	color: #8cc7ff !important;
	text-decoration: none;
}

.tap-page a:hover {
	color: #ffffff !important;
	text-decoration: none;
}

.tap-topbar {
	align-items: center;
	background: rgba(5, 10, 18, 0.96);
	border-bottom: 1px solid rgba(148, 163, 184, 0.18);
	display: flex;
	gap: 22px;
	height: 54px;
	justify-content: space-between;
	padding: 0 22px;
	position: sticky;
	top: 0;
	z-index: 20;
}

.tap-brand {
	align-items: center;
	color: #fff !important;
	display: inline-flex;
	font-size: 18px;
	font-weight: 800;
	gap: 9px;
	white-space: nowrap;
}

.tap-brand span span,
.tap-hero h1 span {
	color: #258cff;
}

.tap-brand-icon {
	align-items: center;
	background: #f8fafc;
	border-radius: 50%;
	color: #07111d;
	display: inline-flex;
	height: 28px;
	justify-content: center;
	width: 28px;
}

.tap-nav {
	align-items: center;
	display: flex;
	gap: 18px;
	justify-content: flex-end;
}

.tap-nav a {
	color: #e5edf6 !important;
	font-size: 13px;
	font-weight: 700;
	padding: 19px 0 16px;
}

.tap-nav a.active {
	border-bottom: 2px solid #1599ff !important;
	color: #16b8ff !important;
}

.tap-page main {
	margin: 0 auto;
	max-width: 1480px;
	padding: 0 22px 22px;
}

.tap-hero {
	background-position: center;
	background-size: cover;
	border-bottom: 1px solid rgba(148, 163, 184, 0.18);
	display: grid;
	grid-template-columns: minmax(320px, 1fr) minmax(360px, 520px);
	min-height: 300px;
	padding: 48px 14px 28px;
}

.tap-hero-content {
	align-self: end;
	max-width: 620px;
}

.tap-kicker {
	color: #16c7ff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.02em;
	margin: 0 0 7px;
	text-transform: uppercase;
}

.tap-hero h1 {
	color: #fff !important;
	font-size: 42px;
	letter-spacing: -0.02em !important;
	line-height: 1;
	margin: 0 0 10px;
}

.tap-lead {
	color: #e2e8f0;
	font-size: 16px;
	margin: 0 0 18px;
	max-width: 520px;
}

.tap-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tap-button,
.tap-page input[type="submit"],
.tap-page input[type="reset"] {
	align-items: center;
	background: rgba(15, 23, 42, 0.64) !important;
	border: 1px solid rgba(148, 163, 184, 0.32) !important;
	border-radius: 5px !important;
	color: #fff !important;
	cursor: pointer;
	display: inline-flex !important;
	font-size: 13px !important;
	font-weight: 800;
	height: 36px !important;
	justify-content: center;
	line-height: 1 !important;
	padding: 0 14px !important;
	text-transform: none !important;
	width: auto !important;
}

.tap-button.primary,
.tap-page input[type="submit"] {
	background: #0b82e6 !important;
	border-color: #0b82e6 !important;
}

.tap-stats {
	align-self: center;
	background: rgba(7, 17, 29, 0.74);
	border: 1px solid rgba(148, 163, 184, 0.2);
	border-radius: 7px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	min-width: 0;
	padding: 18px;
}

.tap-stats div {
	border-right: 1px solid rgba(148, 163, 184, 0.25);
	padding: 0 16px;
	text-align: center;
}

.tap-stats div:last-child {
	border-right: 0;
}

.tap-stats strong {
	color: #22aaff;
	display: block;
	font-size: 24px;
	line-height: 1;
}

.tap-stats span {
	color: #e2e8f0;
	display: block;
	font-size: 13px;
	margin-top: 7px;
}

.tap-panel {
	background: linear-gradient(180deg, rgba(17, 31, 46, 0.98), rgba(9, 22, 35, 0.98));
	border: 1px solid rgba(148, 163, 184, 0.16);
	border-radius: 7px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
	margin-top: 16px;
	padding: 18px;
}

.tap-section-head {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 14px;
}

.tap-section-head h2,
.tap-search-panel h2,
.tap-side-panel h2 {
	color: #fff !important;
	font-size: 22px;
	line-height: 1.1;
	margin: 0;
}

.tap-section-head > a {
	border: 1px solid rgba(148, 163, 184, 0.34) !important;
	border-radius: 5px;
	color: #fff !important;
	font-size: 13px;
	font-weight: 800;
	padding: 9px 13px;
}

.tap-photo-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tap-photo-card {
	background: #07111d;
	border-radius: 5px;
	color: #fff !important;
	display: block;
	overflow: hidden;
	position: relative;
}

.tap-photo-card img {
	aspect-ratio: 16 / 9;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.tap-photo-card span {
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.86));
	bottom: 0;
	display: block;
	left: 0;
	padding: 30px 10px 9px;
	position: absolute;
	right: 0;
}

.tap-photo-card strong {
	color: #fff;
	display: block;
	font-size: 13px;
}

.tap-photo-card small {
	color: #cbd5e1;
	display: block;
	font-size: 11px;
	margin-top: 2px;
}

.tap-content-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr) 360px;
}

.tap-search-panel form {
	background: rgba(6, 18, 31, 0.86) !important;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 7px;
	display: grid;
	gap: 12px 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 12px;
	padding: 14px;
}

.tap-search-panel label {
	color: #e5edf6;
	display: grid;
	font-size: 13px;
	font-weight: 700;
	gap: 6px;
}

.tap-page input,
.tap-page select {
	background: rgba(20, 33, 50, 0.96) !important;
	border: 1px solid rgba(148, 163, 184, 0.26) !important;
	border-radius: 5px !important;
	color: #cbd5e1 !important;
	font: inherit !important;
	height: 38px !important;
	padding: 0 11px !important;
	width: 100% !important;
}

.tap-page select option {
	background: #142132;
	color: #d6dee8;
}

.tap-page input::placeholder {
	color: #8b98a8;
	opacity: 1;
}

.tap-page input:focus,
.tap-page select:focus {
	border-color: #1599ff !important;
	box-shadow: 0 0 0 3px rgba(21, 153, 255, 0.16);
	outline: 0;
}

.tap-date-row {
	display: grid;
	gap: 8px;
	grid-template-columns: minmax(0, 1fr) auto;
}

.tap-date-row a {
	align-items: center;
	border: 1px solid rgba(148, 163, 184, 0.26) !important;
	border-radius: 5px;
	color: #aab6c5 !important;
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	height: 38px;
	padding: 0 10px;
}

.tap-date-row a:hover {
	color: #d6dee8 !important;
}

.tap-form-actions {
	align-items: end;
	display: flex;
	gap: 10px;
	grid-column: span 3;
}

.tap-hint {
	border-left: 2px solid #1599ff;
	color: #cbd5e1;
	font-size: 12px;
	margin: 14px 0 0;
	padding-left: 10px;
}

.tap-side-panel p {
	color: #cbd5e1;
	margin: 10px 0 14px;
}

.tap-mini-stats {
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 5px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin-bottom: 10px;
}

.tap-mini-stats span {
	border-right: 1px solid rgba(148, 163, 184, 0.18);
	color: #cbd5e1;
	font-size: 11px;
	padding: 9px;
	text-align: center;
}

.tap-mini-stats span:last-child {
	border-right: 0;
}

.tap-mini-stats strong {
	color: #16b8ff;
	display: block;
	font-size: 17px;
}

.tap-side-link {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(148, 163, 184, 0.18) !important;
	border-radius: 5px;
	color: #fff !important;
	display: block;
	font-weight: 800;
	margin-top: 9px;
	padding: 10px 12px;
	text-align: center;
}

.tap-footer {
	color: #94a3b8;
	font-size: 13px;
	padding: 18px;
	text-align: center;
}

.tap-result-count {
	color: #cbd5e1;
	font-size: 13px;
	margin: 7px 0 0;
}

.tap-sort-row,
.tap-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 16px;
}

.tap-sort-row a,
.tap-pagination a,
.tap-pagination span {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(148, 163, 184, 0.18) !important;
	border-radius: 5px;
	color: #e5edf6 !important;
	font-size: 12px;
	font-weight: 800;
	padding: 8px 10px;
}

.tap-pagination {
	align-items: center;
	justify-content: center;
	margin-bottom: 0;
	margin-top: 18px;
}

.tap-result-grid {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tap-empty {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 6px;
	color: #cbd5e1;
	padding: 18px;
}

.tap-inline-form {
	align-items: end;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(260px, 420px) auto;
	margin: 14px 0 18px;
}

.tap-inline-form label {
	color: #e5edf6;
	display: grid;
	font-size: 13px;
	font-weight: 800;
	gap: 6px;
}

.tap-table-wrap h3 {
	color: #fff !important;
	font-size: 18px;
	margin: 18px 0 10px;
}

.tap-data-table {
	border-collapse: collapse;
	width: 100%;
}

.tap-data-table th,
.tap-data-table td {
	border-bottom: 1px solid rgba(148, 163, 184, 0.16);
	color: #e5edf6;
	font-size: 13px;
	padding: 9px 10px;
	text-align: left;
}

.tap-data-table th {
	color: #94a3b8;
	font-size: 11px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.tap-reg-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.tap-reg-cloud a {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(148, 163, 184, 0.18) !important;
	border-radius: 4px;
	color: #e5edf6 !important;
	font-size: 12px;
	font-weight: 800;
	padding: 6px 8px;
}

.tap-airline-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 16px;
}

.tap-airline-card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(148, 163, 184, 0.18) !important;
	border-radius: 6px;
	color: #d6dee8 !important;
	display: block;
	min-height: 88px;
	padding: 12px;
}

.tap-airline-card:hover {
	background: rgba(21, 153, 255, 0.12);
	border-color: rgba(21, 153, 255, 0.35) !important;
}

.tap-airline-card strong {
	color: #e5edf6;
	display: block;
	font-size: 14px;
	line-height: 1.2;
	margin-bottom: 10px;
}

.tap-airline-card span {
	color: #94a3b8;
	display: inline-block;
	font-size: 12px;
	margin-right: 10px;
}

.tap-code-list {
	background: #050b12;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 6px;
	color: #cbd5e1;
	font-family: "Courier New", monospace;
	font-size: 12px;
	max-height: 70vh;
	overflow: auto;
	padding: 14px;
}

.tap-detail-main {
	max-width: 1480px;
	padding-top: 22px !important;
}

.tap-detail-layout {
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1fr) 360px;
}

.tap-detail-photo {
	background: #050b12;
	border: 1px solid rgba(148, 163, 184, 0.16);
	border-radius: 7px;
	align-self: start;
	overflow: hidden;
}

.tap-detail-photo img {
	display: block;
	height: auto;
	max-height: calc(100vh - 150px);
	object-fit: contain;
	vertical-align: top;
	width: 100%;
}

.tap-detail-photo p {
	display: none;
}

.tap-detail-info {
	align-self: start;
	background: linear-gradient(180deg, rgba(17, 31, 46, 0.98), rgba(9, 22, 35, 0.98));
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 7px;
	padding: 18px;
}

.tap-detail-info h1 {
	color: #fff !important;
	font-size: 26px;
	line-height: 1.1;
	margin: 0 0 16px;
}

.tap-info-list {
	border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.tap-info-list div {
	border-bottom: 1px solid rgba(148, 163, 184, 0.18);
	color: #e5edf6;
	font-size: 14px;
	padding: 12px 0;
}

.tap-info-list span {
	color: #94a3b8;
	display: block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.03em;
	margin-bottom: 4px;
	text-transform: uppercase;
}

.tap-info-list.compact {
	display: grid;
	gap: 0 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tap-detail-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.tap-detail-actions .tap-button {
	margin: 0 !important;
}

.tap-like-button {
	background: rgba(244, 63, 94, 0.12) !important;
	border-color: rgba(244, 63, 94, 0.34) !important;
	color: #fecdd3 !important;
}

.tap-like-button.is-liked {
	background: #e11d48 !important;
	border-color: #e11d48 !important;
	color: #fff !important;
}

.tap-like-button.is-liked:before {
	content: "♥ ";
}

.tap-exif {
	margin-top: 18px;
}

@media (max-width: 1100px) {
	.tap-hero,
	.tap-content-grid,
	.tap-detail-layout {
		grid-template-columns: 1fr;
	}

	.tap-photo-grid,
	.tap-result-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.tap-topbar {
		align-items: flex-start;
		height: auto;
		padding: 12px;
		position: static;
	}

	.tap-nav {
		flex-wrap: wrap;
		gap: 8px 14px;
	}

	.tap-nav a {
		padding: 0;
	}

	.tap-hero {
		min-height: 0;
		padding-top: 28px;
	}

	.tap-stats,
	.tap-search-panel form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tap-form-actions {
		grid-column: span 2;
	}

	.tap-photo-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tap-result-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tap-airline-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tap-inline-form {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.tap-page main {
		padding: 0 10px 18px;
	}

	.tap-topbar {
		display: block;
	}

	.tap-nav {
		margin-top: 10px;
	}

	.tap-hero h1 {
		font-size: 32px;
	}

	.tap-stats,
	.tap-search-panel form {
		grid-template-columns: 1fr;
	}

	.tap-form-actions {
		grid-column: span 1;
	}

	.tap-stats div {
		border-bottom: 1px solid rgba(148, 163, 184, 0.18);
		border-right: 0;
		padding: 10px;
	}

	.tap-result-grid {
		grid-template-columns: 1fr;
	}

	.tap-airline-grid {
		grid-template-columns: 1fr;
	}

	.tap-info-list.compact {
		grid-template-columns: 1fr;
	}

	.tap-data-table,
	.tap-data-table thead,
	.tap-data-table tbody,
	.tap-data-table tr,
	.tap-data-table th,
	.tap-data-table td {
		display: block;
		width: 100%;
	}

	.tap-data-table thead {
		display: none;
	}
}
