* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  color: #18181b;
  font-family: system-ui, -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.in-iframe #toolbar {
  display: none;
}

#toolbar {
  height: 46px;
  padding: 0 16px;
  background: #ffffff;
  border-bottom: 2px solid #da8f24;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.app-title {
  font-family: "Roboto Condensed", system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #18181b;
}

#fullscreen-btn {
  background: #da8f24;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-family: "Roboto Condensed", system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

#fullscreen-btn:hover {
  background: #c07b1a;
}

#stage-wrapper {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#player {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

ruffle-player {
  display: block;
  width: 100% !important;
  height: 100% !important;
  background-color: #ffffff;
}
