html,
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100%;
  background: url("../img/canvas.png") repeat;
}
.container {
  width: 100%;
  min-height: 100vh;
  background-color: #333;
  background: url("../img/canvas.png");
  background-repeat: repeat;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
canvas {
  position: absolute;
  left: 0;
}
.center {
  position: relative;
  width: 800px;
  height: 600px;
  box-shadow: 0 0 8px 8px black;
}
.top-bar {
  width: 800px;
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 12px;
}

.timer {
  width: 140px;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid #000000;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 196, 120, 0.18);
  font-size: 26px;
  font-weight: bold;
  color: #000;
  text-shadow: none;
  font-family: Verdana, Arial, sans-serif;
  box-sizing: border-box;
}

.timer::before {
  content: "⏱";
  font-size: 26px;
  line-height: 1;
}

.paint-stats {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.paint-stat {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgb(255, 255, 255);
  border: 2px solid transparent;
  border-radius: 12px;
  box-sizing: border-box;
  font-family: Verdana, Arial, sans-serif;
  text-shadow: 1px 1px 1px black;
}

.paint-stat.active-player {
  box-shadow:
    0 0 10px rgba(0, 0, 0, 0.55),
    0 0 16px currentColor,
    0 0 28px currentColor;
  transform: translateY(-1px);
}

.paint-stat img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.paint-stat__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.paint-stat__name {
  font-size: 14px;
  font-weight: bold;
}

.paint-stat__percent {
  font-size: 20px;
  font-weight: bold;
}
