.ot-week {
	--wk-accent: var(--ak-accent, #26a3d6);
	--wk-accent-rgb: var(--ak-accent-rgb, 38, 163, 214);
	--wk-card: var(--ak-bg-2, #142030);
	--wk-card-2: var(--ak-bg-2-l1, #172537);
	--wk-text: #e6edf5;
	--wk-muted: #6d87a6;
	--wk-line: rgba(255, 255, 255, .06);

	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 3rem;
	color: var(--wk-text);
}

.ot-week__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.ot-week__title {
	margin: 0;
	font-size: 1.75rem;
	font-weight: 600;
	color: var(--wk-text);
}

.ot-week__range {
	margin: .2rem 0 0;
	font-size: .8rem;
	color: var(--wk-muted);
}

.ot-week__clock {
	text-align: right;
	line-height: 1.1;
}

.ot-week__clock span {
	display: block;
	font-size: .65rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wk-muted);
}

.ot-week__clock strong {
	font-size: 1.6rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: #c9d6e4;
}

.ot-week__bar {
	padding: .5rem .5rem .6rem;
	border-radius: 8px;
	background: var(--wk-card);
}

.ot-week__days-wrap {
	display: flex;
	align-items: stretch;
	gap: .25rem;
}

.ot-week__nav {
	flex: 0 0 28px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--wk-muted);
	cursor: pointer;
}

.ot-week__nav:hover {
	background: var(--wk-card-2);
	color: var(--wk-text);
}

.ot-week__days {
	display: grid;
	flex: 1 1 auto;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: .25rem;
}

.ot-week__day {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: .55rem .25rem .6rem;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 6px 6px 0 0;
	background: transparent;
	color: var(--wk-muted);
	cursor: pointer;
	transition: color .15s, background .15s;
}

.ot-week__day:hover {
	background: var(--wk-card-2);
	color: #a9bbcf;
}

.ot-week__day-date {
	font-size: .62rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.ot-week__day-name {
	font-size: 1.65rem;
	font-weight: 800;
	line-height: 1.15;
	text-transform: uppercase;
	color: #3f5670;
}

.ot-week__day-count {
	font-size: .65rem;
}

.ot-week__day.is-today .ot-week__day-date {
	color: var(--wk-accent);
}

.ot-week__day.is-active {
	border-bottom-color: var(--wk-accent);
	color: #a9bbcf;
}

.ot-week__day.is-active .ot-week__day-name,
.ot-week__day:hover .ot-week__day-name {
	color: #c9d6e4;
}

.ot-week__day.is-active .ot-week__day-count {
	color: var(--wk-accent);
}

.ot-week__filters {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	padding: .6rem .25rem 0;
}

.ot-week__langs {
	display: flex;
	gap: .35rem;
}

.ot-week__langs button {
	padding: .2rem .75rem;
	border: 0;
	border-radius: 50rem;
	background: var(--wk-card-2);
	color: var(--wk-muted);
	font-size: .75rem;
	font-weight: 600;
	cursor: pointer;
}

.ot-week__langs button:hover {
	color: var(--wk-text);
}

.ot-week__langs button.is-active {
	background: var(--wk-accent);
	color: #fff;
}

.ot-week__summary {
	font-size: .72rem;
	color: #a9bbcf;
}

.ot-week__summary span {
	margin-left: .35rem;
	color: #3f5670;
}

.ot-week__timeline {
	position: relative;
	margin-top: 1rem;
}

.ot-week.is-loading .ot-week__timeline {
	opacity: .5;
}

.ot-week__row,
.ot-week__now {
	position: relative;
	display: grid;
	grid-template-columns: 52px 28px minmax(0, 1fr);
	align-items: start;
}

.ot-week__row::before,
.ot-week__now::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 65px;
	width: 2px;
	background: rgba(var(--wk-accent-rgb), .9);
}

.ot-week__row.is-upcoming::before {
	background: var(--wk-card-2);
}

.ot-week__row:first-child::before {
	top: 14px;
}

.ot-week__row:last-child::before {
	bottom: auto;
	height: 14px;
}

.ot-week__time {
	padding-top: 4px;
	text-align: right;
	line-height: 1;
}

.ot-week__time strong {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: #a9bbcf;
}

.ot-week__time span {
	font-size: .58rem;
	font-weight: 600;
	color: var(--wk-muted);
}

.ot-week__dot {
	position: relative;
	z-index: 1;
	justify-self: center;
	width: 10px;
	height: 10px;
	margin-top: 8px;
	margin-left: 2px;
	border-radius: 50%;
	background: var(--wk-accent);
	box-shadow: 0 0 0 3px rgba(var(--wk-accent-rgb), .2);
}

.ot-week__row.is-upcoming .ot-week__dot {
	border: 2px solid #3f5670;
	background: var(--ak-bg-1, #0d1621);
	box-shadow: none;
}

.ot-week__card {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr) auto;
	gap: .7rem;
	margin: 0 0 .65rem .25rem;
	padding: .55rem .6rem;
	border-radius: 6px;
	background: var(--wk-card);
	transition: background .15s;
}

.ot-week__card:hover {
	background: var(--wk-card-2);
}

.ot-week__row.is-aired .ot-week__card {
	opacity: .92;
}

.ot-week__poster {
	display: block;
	overflow: hidden;
	width: 54px;
	aspect-ratio: 54 / 76;
	border-radius: 4px;
	background: var(--wk-card-2);
}

.ot-week__poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ot-week__info {
	min-width: 0;
}

.ot-week__name {
	display: block;
	overflow: hidden;
	font-size: .9rem;
	font-weight: 600;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--wk-text);
}

.ot-week__name:hover {
	color: var(--wk-accent);
	text-decoration: none;
}

.ot-week__meta {
	display: flex;
	align-items: center;
	gap: .45rem;
	margin: .3rem 0 .4rem;
	font-size: .68rem;
	font-weight: 600;
}

.ot-week__lang {
	padding: 1px 6px;
	border-radius: 3px;
	background: rgba(var(--wk-accent-rgb), .15);
	color: var(--wk-accent);
	font-size: .58rem;
	letter-spacing: .04em;
}

.ot-week__lang--dub {
	background: rgba(245, 158, 11, .15);
	color: #f5a524;
}

.ot-week__lang--raw {
	background: rgba(148, 163, 184, .15);
	color: #94a3b8;
}

.ot-week__ep {
	color: var(--wk-accent);
}

.ot-week__delayed {
	color: #f87171;
}

.ot-week__synopsis {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 0 .45rem;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: .72rem;
	line-height: 1.45;
	color: var(--wk-muted);
}

.ot-week__genres {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem;
}

.ot-week__genre {
	padding: 1px 8px;
	border-radius: 3px;
	background: var(--wk-card-2);
	color: var(--wk-muted);
	font-size: .62rem;
}

a.ot-week__genre:hover {
	color: var(--wk-text);
	text-decoration: none;
}

.ot-week__action {
	align-self: start;
}

.ot-week__watch {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	padding: .2rem .6rem;
	border-radius: 4px;
	background: var(--wk-card-2);
	color: #a9bbcf;
	font-size: .68rem;
	font-weight: 600;
	white-space: nowrap;
}

.ot-week__watch i {
	font-size: .55rem;
}

.ot-week__watch:hover {
	background: var(--wk-accent);
	color: #fff;
	text-decoration: none;
}

.ot-week__countdown {
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .03em;
	text-transform: uppercase;
	white-space: nowrap;
	color: #c9d6e4;
}

.ot-week__now {
	align-items: center;
	min-height: 28px;
	margin-bottom: .65rem;
}

.ot-week__now .ot-week__time {
	padding-top: 0;
}

.ot-week__now .ot-week__time strong {
	font-size: .72rem;
	color: var(--wk-accent);
}

.ot-week__now-label {
	grid-column: 2 / 4;
	display: flex;
	align-items: center;
	gap: .5rem;
	padding-left: 7px;
	font-size: .62rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wk-accent);
}

.ot-week__now-label::before {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--wk-accent);
}

.ot-week__empty {
	padding: 3rem 1rem;
	border-radius: 6px;
	background: var(--wk-card);
	text-align: center;
	color: var(--wk-muted);
}

@media (max-width: 767px) {
	.ot-week__title {
		font-size: 1.35rem;
	}

	.ot-week__clock strong {
		font-size: 1.15rem;
	}

	.ot-week__days {
		display: flex;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.ot-week__day {
		flex: 0 0 64px;
	}

	.ot-week__day-name {
		font-size: 1.2rem;
	}

	.ot-week__row,
	.ot-week__now {
		grid-template-columns: 42px 22px minmax(0, 1fr);
	}

	.ot-week__row::before,
	.ot-week__now::before {
		left: 52px;
	}

	.ot-week__card {
		grid-template-columns: 46px minmax(0, 1fr);
	}

	.ot-week__poster {
		width: 46px;
	}

	.ot-week__action {
		grid-column: 2;
	}

	.ot-week__synopsis {
		display: none;
	}
}
