:root {
  --z: 1;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #12080e;
  color: #fff6ea;
  font-family: Arial, Helvetica, sans-serif;
}

#app {
  width: calc(100% / var(--z));
  height: calc(100vh / var(--z));
  transform: scale(var(--z));
  transform-origin: 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #1c0e14;
}

.top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  background: #2a1018;
  border-bottom: 4px solid #ff7a18;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pixel {
  display: block;
  width: 56px;
  height: 56px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  flex: 0 0 auto;
  background: #2a1018;
}

.bat {
  width: 72px;
  height: 48px;
}

.titles {
  min-width: 0;
}

h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  font-weight: bold;
}

.hint {
  margin: 4px 0 0 0;
  font-size: 16px;
  line-height: 1.2;
  color: #ffd7b0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zoom {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.zoom-label {
  font-size: 16px;
  font-weight: bold;
  margin-right: 4px;
}

button {
  font-family: Arial, Helvetica, sans-serif;
  color: #fff6ea;
  background: #3a1a24;
  border: 3px solid #ff7a18;
  border-radius: 8px;
  cursor: pointer;
}

.zoom button {
  min-width: 52px;
  height: 48px;
  padding: 0 10px;
  font-size: 18px;
  font-weight: bold;
}

.zoom button.is-on,
.song.is-on {
  background: #ff7a18;
  color: #1a0c08;
}

.main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  padding: 8px;
  gap: 8px;
}

.list {
  flex: 0 0 420px;
  width: 420px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.song {
  flex: 1 1 0;
  min-height: 56px;
  width: 100%;
  padding: 8px 14px;
  text-align: left;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.song:focus,
.zoom button:focus {
  outline: 3px solid #ffe27a;
  outline-offset: 2px;
}

.song-title,
.song-by {
  display: block;
}

.song-title {
  font-size: 20px;
  line-height: 1.15;
  font-weight: bold;
}

.song-by {
  margin-top: 3px;
  font-size: 15px;
  line-height: 1.15;
  font-weight: normal;
  color: #ffd7b0;
}

.song.is-on .song-by {
  color: #3a2010;
}

.stage {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  background: #000;
  border: 4px solid #ff7a18;
}

video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
}
