html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: transparent;
}

body {
  overflow: hidden;
  font-family: "Inter", Arial, sans-serif;
}

.player-root {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: transparent;
  position: relative;
}

.player-stage {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: transparent;
}

.player-copy {
  width: 100%;
  max-width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
}

.player-copy.is-hidden {
  display: none;
}

.player-title,
.player-message {
  margin: 0;
  max-width: 80%;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
}

.player-title {
  color: #50c878;
}

.player-message {
  color: #ffffff;
}

.error-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: transparent;
}

.error-screen.is-visible {
  display: flex;
}

.error-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-icon {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.error-text {
  margin-top: 8px;
  color: #808080;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}
