/*body{ background: red !important; }*/

@font-face {
	font-family: 'TerminessNerdFontMono-Regular';
	src: url('/assets/text/TerminessNerdFontMono-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

:root{
	--royal: #2a3ed8;
	--royal-dim: #1c2a8f;
	--royal-glow: #6a7bff;
	--black: #05060c;
	--panel: #0a0d1c;
	--text: #c9d0ff;
	--amber: #ffcf5c;
	--amber-dim: #d79334;
}

body{
	margin: 0;
	background: var(--black);
	color: var(--text);
	font-family: 'TerminessNerdFontMono-Regular', sans-serif;
}

.entry{
	border: 2px solid var(--royal-dim);
}

.entry-head{
	margin: 4px;
}


.entry-body{
	margin: 6px;
}

.window{
	background: var(--panel);
	border: 2px solid var(--royal);
	box-shadow: 4px 4px 0 0 var(--royal-dim);
	min-height: 0;
}

.titlebar{
	background: var(--royal);
	padding: 8px 12px;
	display: flex;
	justify-content: space-between;
}

.dots{ display: flex; gap: 4px;}

.dots span{
	width: 10px;
	height: 10px;
	background: #fff;
	display: inline-block;
}

.content{
	padding: 14px;
	min-height: 0;
}

.page{
	display: grid;
	grid-template-columns: 280px 1fr 200px;
	gap: 20px;
	padding: 24px;
}

.left-stack{
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.banner-wrap{
	grid-column: 1/-1;
}

h1{ text-shadow: 0 0 20px var(--royal), 3px 3px 0 var(--royal-dim); }

.hooked-list{
	max-height: 150px;
	overflow-y: auto;
}

.hooked-item{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 4px;
	border-bottom: 1px solid var(--royal-dim);
	font-size: 18px;
}

.hooked-tag{
	color: var(--amber);
	/*font-size: 15px;*/
	letter-spacing: 1px;
	font-weight: normal;
	letter-spacing: 1px;
	flex-shrink: 0;
	margin-right: 10px;
}

.hooked-title{
	text-align: right;
}

.hooked-list::-webkit-scrollbar{width: 8px;}
.hooked-list::-webkit-scrollbar-track{background:var(--royal-dim);}
.hooked-list::-webkit-scrollbar-thumb{background:var(--royal);}

.player{
	display: flex;
	flex-direction: column;
	gap: 12px;
}

#player{
	width: 1px;
	height: 1px;
	opacity: 0;
	position: absolute;
}

.screen{
	background: var(--black);
	border: 1px solid var(--royal-dim);
	padding: 20px;
	font-size: 20px;
	color: var(--text);
}

.embed-slot{
	width: 100%;
	aspect-ratio: 1/1;
	border: 1px dashed var(--royal-dim);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 21px;
	color: var(--royal-glow);
}

.thumbnail{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--royal-dim);
  filter: saturate(1.1) contrast(1.05);
}

.bars span{ animation-play-state: paused; }
.bars.playing span{ animation-play-state: running; }


.bars{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 20px;
}
.bars span{
  width: 4px;
  height: 100%;
  background: var(--royal-glow, #6a7bff);
  animation: eq 1s ease-in-out infinite;
}

.bars span:nth-child(1){ animation-delay: 0s; }
.bars span:nth-child(2){ animation-delay: 0.15s; }
.bars span:nth-child(3){ animation-delay: 0.3s; }
.bars span:nth-child(4){ animation-delay: 0.45s; }
.bars span:nth-child(5){ animation-delay: 0.6s; }

@keyframes eq{
  0%, 100% { transform: scaleY(0.4); }
  50%      { transform: scaleY(1); }
}


.player-controls{
	justify-content: center;
	display: flex;
	gap: 8px;
	margin-top: 8px;
	margin-bottom: 8px;
}

.ctrl-btn{
	background: var(--royal-dim);
	color: var(--text);
	border: 1px solid var(--royal);
	font-family: monospace;
	font-size: 16px;
	padding: 6px 14px;
	cursor: pointer;
}

.ctrl-btn:hover{
	background: var(--royal);
	color: #fff;
}
