.episodes-section-header {
	display: flex;
	justify-content: space-between;
}

#selected {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(1, 1fr);
	gap: 24px;
	margin: 32px 0 0 0;
}

.selected-header {
	grid-area: 0 / 1 / 1 / 3;
	display: flex;
	justify-content: space-between;
	background: #000;
}

.episode-controls {
	display: none;
	padding: 4px;
}

.selected-next {
}

.selected-previous {
	transform: scale(-1, 1);
	margin-right: 16px;
}

.selected-next img,
.selected-previous img {
	height: 64px;
}

.selected-thumbnail {	
	display: grid;
	align-items: center;
	justify-content: center;
	grid-area: 1 / 1 / 2 / 2;
	background: #000;
	border: 1px solid #202020;
}

.selected-thumbnail iframe {
	border: 0 solid #fff;
}

.selected-meta {
	grid-area: 1 / 2 / 2 / 3; 
	background: #111;
}

.selected-close {
	cursor: pointer;
}

.selected-meta-header {
	display: flex;
	margin: 32px;
	justify-content: space-between;
}

.selected-meta .selected-summary {
	margin: 32px;
	max-width: 400px;
}

.selected-meta {
}

.selected-meta .avatars {
	margin-left: 32px;
}

.selected-games {
	grid-area: 2 / 1 / 3 / 3;
	background: #111;
	padding: 0 32px 32px 32px;
	animation: fade-in-down 500ms;
}

.selected-game {
	margin: 0 0 0 0;
}

.selected-game-meta {
	display: flex;
	align-items: center;
	margin: 32px 0 32px 0;
}

.selected-game-meta:first-child {
	margin-top: 32px;
}

.selected-game-meta-icon {
	margin: 0 16px 0 0;
}

.selected-game-meta-title {
	display: flex;
	align-items: center;
	display: inline-block;
	font-size: 1.25em;
}

.selected-game-meta-studio {
	margin: 0 16px 0 0;
	font-size: 0.7em;
}

.selected-game-meta-studio span {
	color: #ef227a;
}

.selected-game p.synopsis {
	border-left: solid 4px #00e0ff;
	padding: 32px;
	background: #000;
}

#episodes {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(1, 1fr);
	gap: 24px;
}

#episodes h1 {
	margin: 0 0 32px 0;
}

#episodes h2 {
	margin: 0;
	line-height: 1.5em;
}

.episode {
	cursor: pointer;
}

.latest:first-child {
    border-top: none;
}

.latest-thumbnail {
	grid-area: 1 / 1 / 2 / 3;
	border: 1px solid #202020;
}

.latest-image {
	background: 50% 50% no-repeat;
	background-size: cover;
	width: 100%;
	height: 100%;
}

.latest-image .logo {
	display: inline-block;
	margin: 5%;
	width: 128px;
	float: right;
}

.latest-details-container {
	grid-area: 1 / 3 / 2 / 5;
	display: flex;
	background-color: #111;
}

.latest-details {
	margin: 32px 16px 32px 32px;
	width: 100%;
}

.latest-title {
	margin: 16px;
}

.latest-games {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
	margin: 16px 0 16px 0;
}

.latest-game p {
	display: inline-block;
	max-width: 200px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.latest-game p i {
	color: #ef227a;
	margin-right: 8px;
}

.episode-tile {
	position: relative;
}

.episode-tile::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #ef227a;
    bottom: 0;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .4s ease-in-out;
}

.episode-tile:hover::before {
	transform-origin: left;
	transform: scaleX(1);
}

.episode-tile:hover .episode-thumbnail .episode-image {
	transform: scale(1.1);
}

.episode-thumbnail {
	position: relative;
	overflow: hidden;
	border: 1px solid #202020;
	height: 143px;
}

.episode-image {
	display: block;
	background: no-repeat 50% 50%;
	background-size: cover;
	transition: all 0.3s;
	height: 143px;
}

.episode-image .logo {
	display: inline-block;
	margin: 5%;
	width: 64px;
	float: right;
}

.episode-detail {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 1em;
	margin: 1em 0 1em 0;
	transition: opacity 0.5s;
}

.episode-title {
	font-size: 1.25em;
	font-weight: bold;
}

.episode-detail .episode-game-count {
	font-size: 0.7em;
	font-weight: normal;
}

.episode-description {
	font-size: 1em;
	color: #555;
}

/*
,

		{
			"title": "Episode 0",
			"number": 0,
			"broadcast": 1,
			"url":  "",
			"cast":  [1, 2],
			"games": [
				{
					"title": "",
					"studio": "", 
					"social": "",
					"platform": 1, 
					"synopsis": "", 
					"url": "",
					"favourite": []
				},
				{
					"title": "",
					"studio": "", 
					"social": "",
					"platform": 1, 
					"synopsis": "", 
					"url": "",
					"favourite": []
				},
				{
					"title": "",
					"studio": "", 
					"social": "",
					"platform": 1, 
					"synopsis": "", 
					"url": "",
					"favourite": []
				},
				{
					"title": "",
					"studio": "", 
					"social": "",
					"platform": 1, 
					"synopsis": "", 
					"url": "",
					"favourite": []
				},
				{
					"title": "",
					"studio": "", 
					"social": "",
					"platform": 1, 
					"synopsis": "", 
					"url": "",
					"favourite": []
				}
			]
		},
*/