html, body {
	height: 100%;
	max-height: 100%;
	overflow: hidden;
}

body {
	font-size: 18px;
	padding: 0;
	margin: 0;
}

* {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

input {
	cursor: pointer;
	font-size: 1.6em;
	border-style: none;
	border-radius: 4px;
	background-color: transparent;
	line-height: 1;
}

input:hover {
	opacity: 0.75;
}

.controls {
	font-size: 16px;
	display: table;
	padding: 0 0.5em;
	margin: 0 auto 0.5em auto;
	border-radius: 1em;
	background-color: #f4f4f4;
}

.watch {
	/* квадратное поле, размер задаётся в скрипте */
	display: block;
	position: relative;
	text-align: center;
	background-color: #999;
	overflow: hidden;
	cursor: default;
	transform-origin: top left;
}

.watch>div {
	position: relative;
	width: 100%;
	height: 100%;
	transform: scale(1.25);
	transition: transform 600ms ease-in-out;
}

.watch>div:hover {
	transform: scale(1.5);
}

.frame, .clock, .glass {
	background-position: center;
	background-repeat: no-repeat;
}

.frame {
	/* корпус */
	position: relative;
	height: 100%;
	z-index: 1;
	filter: drop-shadow(3px 0px 1px rgba(64,64,64,0.5));
}

.clock {
	/* цифер */
	position: absolute;
	margin: auto;
	right: 0;
	bottom: 0;
	top: 0;
	left: 0;
	background-color: #fff;
	box-shadow: inset 0px 0px 2em rgba(0,0,0,0.5);
	overflow: hidden;
}

.glass {
	/* стекло */
	position: absolute;
	margin: auto;
	right: 0;
	bottom: 0;
	top: 0;
	left: 0;
	overflow: hidden;
}

.clock::after {
	/* центр стрелок */
	content: '';
	position: absolute;
	margin: auto;
	right: 0;
	bottom: 0;
	top: 0;
	left: 0;
	--size: 0.1em;
	width: var(--size);
	height: var(--size);
	border-radius: 50%;
	background-color: #555;
	z-index: 100;
/* 	display: none; */
}

.hands {
	/* контейнер стрелок */
	position: absolute;
	margin: auto;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	filter: drop-shadow(10px 10px 10px rgba(64,64,64,0.5));
}

.clock_hand {
	/* стрелки */
	position: absolute; 
	margin: auto;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
}

.clock_hand[data-paused] {
	-webkit-animation-play-state: paused !important;
	-moz-animation-play-state: paused !important;
	-o-animation-play-state: paused !important; 
	animation-play-state: paused !important;
}
