:root {
	--background: #081227;
	--background-dots: #1D293C;
	--record: #1B2227;
	--record-line: linear-gradient(to top, #495172, #6EB1CD);
	--record-line-diagonal: linear-gradient(to top left, #495172, #6EB1CD 80%);
	--stream-border-outer: linear-gradient(to top, #384F93 20%, #4B9CC0 80%);
	--stream-border-inner: #EDBD92;
	--chat-background: linear-gradient(to left, #1A7590, #0F252D);
	--chat-text: #CCD9F5;
	--chat-text-subtle: #A7B1C9;
	--chat-border: linear-gradient(to top, #08E2F6, #8FE4F2);
	--background-text: #F3D88F;
}

html {
	background: var(--background);
	font-family: Arial, sans-serif;
	color: var(--chat-text-subtle);
}

body {
	box-sizing: border-box;
	padding: 0 32px 64px 32px;
	margin: 0 auto;
	max-width: 1000px;
}

select {
	-webkit-appearance: none;
	cursor: pointer;
}

button {
	padding: 0;
	margin: 16px 0 0 8px;
	background: none;
	font-size: 1rem;
	color: var(--chat-text);
	border: none;
	cursor: pointer;
}
button:hover {
	text-decoration: underline;
}

a {
	color: var(--chat-text);
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

hr {
	margin: 1rem 0;
	border: none;
	text-align: center;
}
hr::after {
	content: '• ✧ ✦ ✦ ✦ ✧ •';
	color: var(--background-text);
}

ul {
	list-style-type: '✧ ';
}
li::marker {
	color: var(--stream-border-inner);
}

h1, h2, h3 {
	font-weight: normal;
}
h1, h2 {
	background: var(--record-line-diagonal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
summary h3 {
	display: inline-block;
	margin: .5rem 0;
}
summary {
	cursor: pointer;
}
summary::marker {
	color: var(--stream-border-inner);
}

/* header */

.banner {
	box-sizing: border-box;
	padding: 3px;
	margin-top: 16px;
	background: var(--record-line);
	border-radius: 18px;
}
.banner img {
	display: block;
	width: 100%;
	border-radius: 16px;
}

.page-header {
	margin: 32px 0;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
}

.page-header h1 {
	margin: 0;
}

#search-area {
	display: flex;
	gap: 8px;
}

.chat-bubble-border {
	padding: 2px;
	background: var(--record-line);
	border-radius: 21px;
}
.chat-bubble {
	background: var(--background);
	border-radius: 20px;
}
.chat-bubble-border:has(:focus) {
	background: var(--chat-border);
}
.chat-bubble:has(:focus) {
	background: var(--chat-background);
}

#search, #search-type, #search-submit {
	box-sizing: border-box;
	padding: 0 16px;
	margin: 0;
	height: 48px;
	background: none;
	font-size: 1rem;
	color: var(--chat-text);
	border: none;
	text-decoration: none;
}
#search:focus, #search-type:focus {
	outline: none;
}

/* table */

table {
	width: 100%;
	border-collapse: collapse;
}

thead {
	border-bottom: 1px solid var(--stream-border-inner);
}

th {
	padding: 8px;
	font-size: 1.25rem;
	font-weight: normal;
	text-align: left;
	color: var(--stream-border-inner);
}

tbody {
	margin-top: 8px;
}

tbody > tr:nth-of-type(even) {
  background: var(--background-dots);
}

td {
	line-height: 1.5em;
	padding: 6px 8px;
}

/* mobile */

@media screen and (max-width: 700px) {
	body {
		padding: 0 8px 16px 8px;
	}
	h1, h2, h3, p, details {
		padding: 0 8px;
	}
	.page-header {
		margin: 16px 0;
		flex-direction: column-reverse;
		align-items: start;
	}
	.chat-bubble-border:has(#search) {
		flex: 1;
	}
	#search {
		width: 100%;
	}
}