* {
	box-sizing: border-box;
}

:root {
	--bg: #141428;
	--panel: rgba(255,255,255,0.04);
	--panel-strong: rgba(255,255,255,0.08);
	--nav: #003366;
	--nav-strong: #0d59a8;
	--nav-highlight: #336699;
	--text: #e9ecff;
	--muted: #bfd1ff;
	--green: #99ff99;
	--blue: #9999ff;
	--red: #ff9999;
	--mutedgreen: #ddffdd;
	--mutedblue: #bbbbff;
	--mutedred: #ffdddd;
	--gold: #cfbe23;
	--sky: #76defc;
	--shadow: 0 12px 28px rgba(0,0,0,0.25);
}

html {
	scroll-behavior: smooth;
}

body {
	color: var(--text);
	font-family: arial, helvetica, sans-serif;
	font-size: 12pt;
	background-color: var(--bg);
	margin: 0;
	padding: 0;
	line-height: 1.5;
}

a {
	color: var(--text);
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

a:hover,

a:focus-visible {
	color: #fff4a3;
}

img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

button,
input {
	font: inherit;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
	outline: 3px solid var(--sky);
	outline-offset: 3px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	padding: 0.75rem 1rem;
	background: #fff;
	color: #111827;
	border-radius: 0 0 8px 8px;
	z-index: 10;
}

.skip-link:focus {
	left: 1rem;
}

h1 {
	margin: 0;
	padding: 40px 0 24px 0;
	font-family: "trebuchet ms",arial,tahoma,verdana,sans-serif;
	font-weight: normal;
	letter-spacing: .005em;
	color: var(--sky);
	font-size: 20pt;
	text-align: center;
}

h2 {
	margin: 0;
	padding: 40px 0 0 0;
	font-family: "trebuchet ms",arial,tahoma,verdana,sans-serif;
	font-weight: normal;
	letter-spacing: .005em;
	color: var(--gold);
	font-size: 20pt;
	text-align: center;
	clear: both;
}

#navBar {
	display: flex;
	justify-content: center;
	align-items: stretch;
	gap: 12px;
	width: min(70%, 1100px);
	margin: 18px auto 0;
	padding: 0 8px;
	flex-wrap: wrap;
}

.navBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex: 1 1 180px;
	background-color: var(--nav);
	background-image: linear-gradient(66deg, var(--nav), var(--nav-highlight));
	color: #ffffff;
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 999px;
	padding: 12px 18px;
	cursor: pointer;
	box-shadow: var(--shadow);
	transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.navBtn:hover,
.navBtn:focus-visible {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.navBtn.is-active {
	background-image: linear-gradient(66deg, var(--nav-strong), #1e77d7);
	border-color: rgba(118, 222, 252, 0.7);
}

.navBtn img {
	display: inline-block;
	width: 24px;
	height: 24px;
	margin: 0;
	vertical-align: middle;
}

.navLabel {
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

#content-Main,
#content-Links,
#content-Text,
#content-Help {
	display: none;
	width: min(90%, 1200px);
	margin-left: auto;
	margin-right: auto;
	clear: both;
	padding-top: 12px;
}

#content-Main {
	display: block;
	color: #ff9999;
}

#content-Main img {
	width: 100%;
	max-width: 934px;
	object-fit: contain;
}

#content-Links {
	color: var(--green);
}

.links-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0 0 20px;
	padding: 14px 16px;
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 12px;
	box-shadow: var(--shadow);
}

.links-toolbar label {
	font-weight: 700;
	color: var(--muted);
}

.links-toolbar input {
	flex: 1 1 260px;
	min-width: 180px;
	padding: 10px 12px;
	background: rgba(20,20,40,0.9);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 10px;
	color: var(--text);
}

.links-toolbar input::placeholder {
	color: rgba(233,236,255,0.7);
}

#link-count {
	color: var(--muted);
	font-size: 0.95rem;
}

#content-Links a {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	float: left;
	width: 140px;
	min-height: 180px;
	margin: 0 0 18px 18px;
	padding: 16px 10px;
	background: var(--panel);
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 16px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#content-Links a:hover,
#content-Links a:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(118, 222, 252, 0.6);
	box-shadow: 0 14px 26px rgba(10,10,20,0.35);
}

#content-Links a.is-hidden,
#content-Text a.is-hidden {
	display: none;
}

#content-Text {
	color: #edf3ff;
}

#content-Text h1 {
	padding-bottom: 18px;
}

#content-Text img {
	display: none;
}

#content-Text figure {
	display: flex;
	align-items: center;
	width: 100%;
	margin: 0;
	padding: 0;
}

#content-Text a,
#content-Text a:hover,
#content-Text a:focus-visible {
	display: block;
	float: none;
	width: 100%;
	max-width: none;
	margin: 0 0 10px;
	padding: 12px 14px;
	background: rgba(255,255,255,0.025);
	border: 1px solid rgba(255,255,255,0.08);
	border-left: 12px solid rgba(118, 222, 252, 0.8);
	border-radius: 24px;
	box-shadow: none;
	transform: none;
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

#content-Text a:hover,
#content-Text a:focus-visible {
	background: rgba(255,255,255,0.045);
	border-color: rgba(118, 222, 252, 0.7);
	transform: translateX(2px);
}

#content-Text a.is-hidden,
#content-Text a[hidden] {
	display: none !important;
}

#content-Text figcaption {
	height: auto;
	margin: 0;
	padding: 0;
	text-align: left;
	font-style: normal;
	font-size: 1.05rem;
	line-height: 1.4;
	border-top: none;
}

#content-Text .access-normal figcaption,
#content-Text .access-pc figcaption,
#content-Text .access-cgone figcaption {
	border-top: none;
	color: #edf3ff;
}

#content-Text .access-normal a {
	color: var(--mutedgreen);
	border-left-color: var(--green);
}

#content-Text .access-pc a {
	color: var(--mutedred);
	border-left-color: var(--red);
}

#content-Text .access-cgone a {
	color: var(--mutedblue);
	border-left-color: var(--blue);
}

figure {
	padding: 0;
	margin: auto;
	width: 128px;
}

figcaption {
	font-style: italic;
	padding-top: 10px;
	text-align: center;
	margin-top: 10px;
	height: 32px;
	line-height: 1.3;
}

.access-normal figcaption {
	border-top: var(--green) 1px solid;
	color: var(--green);
}

.access-pc figcaption {
	border-top: var(--red) 1px solid;
	color: var(--red);
}

.access-cgone figcaption {
	border-top: var(--blue) 1px solid;
	color: var(--blue);
}

#content-Help {
	color: var(--blue);
	max-width: 800px;
}

.question {
	color: #ff99ff;
	padding-top: 32px;
	margin-bottom: 12px;
}

.answers {
	padding-left: 20px;
}

.thcgone {
	color: var(--green);
}

.thpublic {
	color: var(--blue);
}

.thmobility {
	color: var(--red);
}

th {
	color: var(--gold);
	text-align: center;
	padding-bottom: 10px;
}

td {
	text-align: center;
	padding-bottom: 20px;
}

@media only screen and (max-width: 1600px) {
	#navBar {
		width: 60%;
	}
}

@media only screen and (max-width: 1200px) {
	#navBar {
		width: 80%;
	}
}

@media only screen and (max-width: 880px) {
	#navBar {
		width: 100%;
		padding: 0 12px;
	}
	#content-Main,
	#content-Links,
	#content-Help {
		width: 92%;
	}
	.navBtn {
		flex-basis: calc(50% - 12px);
	}
	#content-Links a,
	#content-Text a {
		width: calc(50% - 18px);
		margin-left: 0;
		margin-right: 18px;
	}
}

@media only screen and (max-width: 520px) {
	.navBtn {
		flex-basis: 100%;
	}
	#content-Links a,
	#content-Text a {
		width: 100%;
		margin-right: 0;
	}
	.links-toolbar {
		padding: 12px;
	}
	.links-toolbar label,
	#link-count {
		width: 100%;
	}
}
