:root {
		--bg: #090d14;
		--panel: rgba(14, 24, 37, .90);
		--line: rgba(118, 183, 220, .28);
		--blue: #7bd5ff;
		--muted: #a8bbca;
		--red: #e83c49;
		--white: #f4f8fb;
		--green: #39d353;
	}
	main {
		width: min(900px, calc(100% - 40px));
		margin: 0 auto;
		flex: 1;
		padding: 18px 0 55px;
	}
	.archive-pagination-top {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		min-height: 30px;
		margin: 8px 0 14px;
	}
	.archive-pagination-bottom {
		margin: 22px 0 44px;
		text-align: right;
	}

	.archive-range {
		margin-bottom: 10px;
		color: var(--muted, #8fa3b5);
		font-size: 11px;
		letter-spacing: .16em;
		text-transform: uppercase;
		text-align: right;
	}

	.pagination-compact-controls {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 5px;
	}

	.pagination-compact-button,
	.pagination-compact-page {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 30px;
		height: 30px;
		padding: 0 7px;
		border: 1px solid rgba(173, 218, 245, .13);
		background: rgba(9, 13, 20, .35);
		color: inherit;
		font: inherit;
		font-size: 10px;
		line-height: 1;
		cursor: pointer;
	}

	.pagination-compact-button {
		width: 30px;
		padding: 0;
	}

	.pagination-compact-button:hover,
	.pagination-compact-page:hover {
		border-color: rgba(173, 218, 245, .38);
		background: rgba(173, 218, 245, .06);
	}

	.pagination-compact-page.is-active {
		border-color: rgba(214, 45, 45, .55);
		background: rgba(214, 45, 45, .06);
		color: #fff;
	}

	.pagination-compact-button:disabled {
		opacity: .25;
		cursor: default;
	}

	.pagination-compact-ellipsis {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		height: 30px;
		padding: 0 2px;
		font-size: 11px;
		opacity: .45;
	}

	.pagination-compact-mobile-status {
		display: none;
		align-items: center;
		justify-content: center;
		height: 30px;
		min-width: 78px;
		padding: 0 8px;
		border: 1px solid rgba(173, 218, 245, .13);
		background: rgba(9, 13, 20, .25);
		font-size: 10px;
		letter-spacing: .08em;
	}

	.pagination-compact-arrow {
		display: block;
		position: relative;
		width: 12px;
		height: 8px;
	}

	.pagination-compact-arrow::before {
		content: "";
		position: absolute;
		top: 50%;
		width: 11px;
		height: 1px;
		background: currentColor;
		transform: translateY(-50%);
	}

	.pagination-compact-arrow::after {
		content: "";
		position: absolute;
		top: 50%;
		width: 5px;
		height: 5px;
		border-top: 1px solid currentColor;
		border-right: 1px solid currentColor;
	}

	.pagination-compact-arrow-prev::before {
		left: 0;
	}

	.pagination-compact-arrow-prev::after {
		left: 0;
		transform: translateY(-50%) rotate(-135deg);
	}

	.pagination-compact-arrow-next::before {
		right: 0;
	}

	.pagination-compact-arrow-next::after {
		right: 0;
		transform: translateY(-50%) rotate(45deg);
	}

	a.btn.btn-signal {
		background: transparent !important;
		background-image: none !important;
		border-color: rgba(118, 183, 220, .75) !important;
		color: #addaf5 !important;
		box-shadow: none !important;
	}

	a.btn.btn-signal:hover {
		background: rgba(118, 183, 220, .10) !important;
		background-image: none !important;
		border-color: #addaf5 !important;
		color: #ffffff !important;
		box-shadow: 0 0 18px rgba(118, 183, 220, .14) !important;
	}

	.hero h1 em {
		display: block;
		color: var(--blue);
		font-style: normal;
		text-shadow: 0 0 30px rgba(123, 213, 255, .16);
	}

	.hero-intro {
		max-width: 720px;
		margin: 0 auto;
		color: #c3d2de;
		font-size: 1rem;
		line-height: 1.45;
		text-align: center;
	}

	.actions {
		display: flex;
		justify-content: center;
		gap: 12px;
		flex-wrap: wrap;
		margin-top: 27px;
	}

	.btn:not(.secondary):not(.btn-signal):not(.btn-primary) {
		background: var(--red);
		border-color: var(--red);
	}

	.btn.secondary {
		background: rgba(14, 24, 37, .65);
		border-color: var(--line);
	}

	.hero h1 {
		margin: 13px 0 20px;
		text-align: center;
		font-size: clamp(2.15rem, 6.5vw, 4.7rem);
		line-height: .98;
		letter-spacing: -.06em;
		font-weight: 900;
		text-transform: uppercase;
	}

	.transmission {
		max-width: 760px;
		margin: 32px auto 0;
		padding: 12px 28px;
		border-left: 2px solid var(--blue);
		background: rgba(14, 24, 37, .66);
		box-shadow: 0 18px 55px rgba(0, 0, 0, .14);
	}

	.transmission .label {
		color: var(--blue);
		font: 800 .68rem/1.4 ui-monospace, monospace;
		letter-spacing: .15em;
		text-transform: uppercase;
	}

	.transmission p {
		margin: 14px 0 0;
		color: #d8e4ec;
		line-height: 1.5;
	}

	.transmission p + p {
		margin-top: 7px;
	}

	.archive-head {
		display: flex;
		align-items: end;
		justify-content: space-between;
		gap: 20px;
		margin: 40px 0 18px;
		padding-bottom: 14px;
		border-bottom: 1px solid var(--line);
	}

	.archive-head h2 {
		margin: 0;
		color: var(--blue);
		font-size: 1.55rem;
		text-transform: uppercase;
		letter-spacing: .03em;
	}

	.archive-head span {
		color: var(--muted);
		font: 700 .67rem/1.4 ui-monospace, monospace;
		letter-spacing: .1em;
		text-transform: uppercase;
	}

	.letters {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
		align-items: stretch;
	}

	.letter {
		padding: 22px;
		background: var(--panel);
		border: 1px solid var(--line);
		box-shadow: 0 18px 55px rgba(0, 0, 0, .13);
		display: flex;
		flex-direction: column;
		height: 100%;
		cursor: pointer;
		transition:
			border-color .18s ease,
			box-shadow .18s ease,
			background .18s ease,
			transform .18s ease;
	}

	.letter:hover,
	.letter:focus-visible {
		border-color: var(--red);
		background: linear-gradient(
			110deg,
			rgba(8, 16, 24, .98),
			rgba(5, 10, 16, .98)
		);
		box-shadow:
			0 18px 55px rgba(0, 0, 0, .28),
			0 0 18px rgba(232, 60, 73, .15);
		outline: none;
	}

	.letter-meta {
		color: var(--blue);
		font: 800 .64rem/1.5 ui-monospace, monospace;
		letter-spacing: .11em;
		text-transform: uppercase;
		transition: color .18s ease;
	}

	.letter:hover .letter-meta,
	.letter:focus-visible .letter-meta {
		color: var(--red);
	}

	.letter h3 {
		margin: 10px 0 5px;
		font-size: 1.03rem;
	}

	.letter .from {
		color: var(--muted);
		font-size: .76rem;
	}

	.letter p {
		margin: 17px 0 0;
		color: #c8d7e2;
		line-height: 1.65;
		font-size: .90rem;
	}

	.letter .letter-text {
		display: -webkit-box;
		-webkit-line-clamp: 5;
		-webkit-box-orient: vertical;
		overflow: hidden;
		min-height: 8.1em;
		max-height: 8.1em;
	}

	.letter footer {
		margin-top: auto;
		padding-top: 13px;
		border-top: 1px solid rgba(118, 183, 220, .16);
		color: #71889a;
		font: 700 .62rem/1.5 ui-monospace, monospace;
		letter-spacing: .08em;
		text-align: left;
		transition: border-color .18s ease;
		padding: 3px 0 0;
	}

	.letter:hover footer,
	.letter:focus-visible footer {
		border-top-color: rgba(232, 60, 73, .30);
	}

	.empty {
		grid-column: 1 / -1;
		padding: 30px;
		border: 1px solid var(--line);
		color: var(--muted);
		text-align: center;
	}

	.cta {
		margin: 50px 0 0;
		padding: 28px 22px;
		border: 1px solid rgba(232, 60, 73, .4);
		background: linear-gradient(
			115deg,
			rgba(232, 60, 73, .08),
			rgba(14, 24, 37, .85)
		);
		text-align: center;
	}

	.cta h2 {
		margin: 0 0 10px;
		color: var(--red);
		text-transform: uppercase;
	}

	.cta p {
		max-width: 650px;
		margin: 0 auto 20px;
		color: var(--muted);
		line-height: 1.7;
	}

	.letter-modal {
		position: fixed;
		inset: 0;
		z-index: 9999;
		display: none;
		align-items: center;
		justify-content: center;
		padding: 20px;
		background: rgba(0, 5, 10, .88);
		backdrop-filter: blur(4px);
		-webkit-backdrop-filter: blur(4px);
	}

	.letter-modal.open {
		display: flex;
	}

	.letter-modal-box {
		position: relative;
		width: min(680px, 100%);
		max-height: 85vh;
		overflow-y: auto;
		padding: 34px;
		background: rgba(3, 12, 20, .98);
		border: 1px solid rgba(70, 190, 255, .75);
		box-shadow:
			0 0 25px rgba(70, 190, 255, .18),
			inset 0 0 25px rgba(70, 190, 255, .05);
	}

	.letter-modal-close {
		position: absolute;
		top: 10px;
		right: 15px;
		width: 38px;
		height: 38px;
		padding: 0;
		border: 0;
		background: transparent;
		color: #8edaff;
		font-size: 27px;
		line-height: 38px;
		text-align: center;
		cursor: pointer;
	}

	.letter-modal-close:hover {
		color: #fff;
	}

	.letter-modal-label {
		margin-bottom: 24px;
		color: var(--blue);
		font: 800 .68rem/1.4 ui-monospace, monospace;
		letter-spacing: .15em;
		text-transform: uppercase;
	}

	.letter-modal-meta {
		margin-bottom: 24px;
		color: rgba(255, 255, 255, .68);
		font: 700 .7rem/1.9 ui-monospace, monospace;
		letter-spacing: .08em;
		text-transform: uppercase;
	}

	.letter-modal-meta strong {
		color: #fff;
	}

	.letter-modal-message {
		padding-top: 22px;
		border-top: 1px solid rgba(70, 190, 255, .25);
		color: #d8e4ec;
		font-size: .96rem;
		line-height: 1.8;
		white-space: pre-wrap;
		overflow-wrap: anywhere;
	}

	@media (max-width: 760px) {
		.archive-pagination-top {
			justify-content: center;
			min-height: 30px;
			margin: 6px 0 12px;
		}

		.archive-pagination-bottom {
			margin: 18px 0 38px;
			text-align: center;
		}

		.archive-range {
			margin-bottom: 9px;
			font-size: 10px;
			line-height: 1.5;
			text-align: center;
		}

		.pagination-compact-controls {
			justify-content: center;
			gap: 6px;
		}

		.pagination-compact-page,
		.pagination-compact-ellipsis {
			display: none;
		}

		.pagination-compact-mobile-status {
			display: inline-flex;
		}

		.pagination-compact-button {
			width: 30px;
			min-width: 30px;
			height: 30px;
		}
	}

	@media (max-width: 640px) {
		main {
			width: calc(100% - 24px);
			padding: 20px 0 40px;
		}

		.actions {
			flex-wrap: nowrap;
			gap: 8px;
		}

		.btn {
			flex: 1 1 0;
			min-width: 0;
			padding: 0 8px;
			font-size: .61rem;
			text-align: center;
		}

		.transmission {
			margin-top: 38px;
			padding: 20px 17px;
		}

		.archive-head {
			align-items: flex-start;
			flex-direction: column;
			gap: 7px;
			margin-top: 45px;
		}

		.letters {
			grid-template-columns: 1fr;
		}

		.letter {
			padding: 18px;
		}

		.letter-modal {
			padding: 12px;
		}

		.letter-modal-box {
			max-height: 88vh;
			padding: 28px 20px 22px;
		}
	}