body {
  margin: 0;
  background: #fceaf1;
  font-family: "Georgia", serif;
}

/* TOP UI */
#top-ui {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,230,238,0.95);
  padding: 8px;
  text-align: center;
  z-index: 20;
}

#top-ui button {
  border-radius: 14px;
  border: 1px solid #f4b6c2;
  background: white;
  padding: 6px 12px;
  margin: 0 4px;
  color: #b85c7a;
  cursor: pointer;
}

#points {
  margin-left: 10px;
  color: #8a3b5c;
}

/* SCREENS */
.screen {
  display: none;
}

.screen.active {
  display: block;
}

/* MAIN MENU */
#menu-screen {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-frame {
  background: rgba(255,240,245,0.95);
  border: 3px solid #f4b6c2;
  padding: 40px;
  text-align: center;
}

.menu-frame h1 {
  margin-bottom: 20px;
  color: #b85c7a;
}

.menu-frame button {
  display: block;
  margin: 10px auto;
  padding: 10px 30px;
  border-radius: 20px;
  border: 1px solid #f4b6c2;
  background: white;
  color: #b85c7a;
}

/* GAME */
#game-frame {
  position: relative;
  width: 900px;
  height: 550px;
  margin: 90px auto;
  overflow: hidden;
}

#background {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
}

/* SPRITES */
.sprite-frame {
  position: absolute;
  bottom: 110px;
  width: 260px;
  height: 260px;
}

.sprite-frame.left { left: 40px; }
.sprite-frame.right { right: 40px; }

.sprite-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lace {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

/* DIALOGUE */
#dialogue-box {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(255,240,245,0.97);
  border-top: 3px solid #f4b6c2;
  padding: 15px;
}

#name-box {
  font-weight: bold;
  color: #8a3b5c;
  margin-bottom: 6px;
}

#text-box {
  font-size: 17px;
  line-height: 1.6;
}

#choices button {
  display: block;
  margin: 6px 0;
  padding: 6px 14px;
  border-radius: 16px;
  border: 1px solid #f4b6c2;
  background: white;
  color: #8a3b5c;
  cursor: pointer;
}

#next-btn {
  float: right;
  margin-top: 6px;
}
