:root {
  font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color-scheme: light dark;
  color: var(--font);
  background-color: var(--body-bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}
a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}
*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
  flex-direction: column-reverse;
}
html ins,
html ins > div,
html ins > div > iframe,
body ins,
body ins > div,
body ins > div > iframe {
  height: 60px !important;
}
#app {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
}
.copy-tip {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translate(-50%);
  padding: 10px 20px;
  border-radius: 4px;
  background-color: #000c;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
[data-v-7336da5c]:root {
  --font: #2b3a55;
  --body-bg: #fefcf3;
  --food: #2b3a55;
  --item-bg: #f5f5f5;
  --item-bg-highlight: skyblue;
  --item-list-bg: #f0dbdb;
  --line: #2b3a55;
  --line-disabled: rgba(211, 211, 211, 0.8);
  --line-food-somebody: rgb(52, 107, 237);
  --line-food-nobody: rgba(255, 78, 110);
  --line-food-somebody-disabled: rgb(52, 107, 237, 0.5);
  --line-food-nobody-disabled: rgba(255, 78, 110, 0.5);
}
.sprite[data-v-7336da5c] {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sprite img[data-v-7336da5c] {
  width: 100%;
  height: 100%;
}
.sprite svg[data-v-7336da5c] {
  width: 80%;
  height: 80%;
  fill: var(--food);
}
.game-line {
  position: absolute;
  height: 4px;
  background-color: var(--line);
  transform-origin: left top;
}
.game-line.disabled {
  background-color: var(--line-disabled);
}
.game-line-arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 14px solid var(--line);
  transform: translate(-50%, -50%);
}
.game-line-food {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
}
.game-line-food-item {
  position: relative;
  width: 24px;
  height: 24px;
  margin: 0 2px;
  background-color: var(--line);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--line-food-somebody);
  border: 3px solid var(--line-food-somebody);
}
.game-line-food-item .sprite svg {
  fill: #fff;
}
.game-line-food-item.nobody {
  border-color: var(--line-food-nobody);
  background-color: var(--line-food-nobody);
}
.game-line-food-item.disabled {
  background-color: var(--line-food-somebody-disabled);
}
.game-line-food-item.disabled.nobody {
  background-color: var(--line-food-nobody-disabled);
}
.game-line-food-item.disabled svg {
  fill: #fffc;
}
.ghost-move {
  opacity: 0;
}
.game {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.game .top {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.game .top .icon {
  width: 32px;
  height: 32px;
  cursor: pointer;
}
.game .top .icon:first-child {
  width: 24px;
  height: 24px;
}
.game .top .level {
  font-size: 20px;
  font-weight: 700;
}
.game .bottom {
  width: 100%;
  margin-top: 6px;
  padding: 8px 12px;
  padding-bottom: env(safe-area-inset-bottom, 8px);
  display: flex;
  align-items: center;
}
.game .bottom .sprite {
  width: 44px;
  height: 44px;
  margin-right: 10px;
}
.game-view {
  position: relative;
  max-width: 320px;
  max-height: 680px;
  width: 85vw;
  height: 100%;
  display: grid;
  justify-content: space-between;
  align-content: space-between;
}
.game-view .game-item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--item-bg);
  font-size: 24px;
  visibility: visible;
  border: 3px solid var(--line);
}
.game-view .game-item.highlight {
  background: var(--item-bg-highlight);
}
.game-view .game-item.hide {
  visibility: hidden;
}
.game-view .game-item.hide > * {
  display: none;
}
.game-view .game-item-container {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99;
}
.game-view .game-item-container .placeholder {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 200%;
  height: 200%;
  transform: translate(-50%, -50%);
}
.game-view .game-item-list {
  position: absolute;
  z-index: 100;
  left: 100%;
  top: 0px;
  opacity: 0.9;
  display: flex;
  margin-left: 4px;
}
.game-view .game-item-list .sprite {
  width: 16px;
  height: 16px;
  margin-right: 2px;
  border-radius: 50%;
  background-color: var(--item-list-bg);
}
.game-view .game-item-lines {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.game-view .game-item .animal-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 101;
}
.game-view .game-item .animal-wrapper.not-event {
  pointer-events: none;
}
.game-view .game-item .animal-wrapper .animal {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: grab;
}
.game-view .game-item-1 {
  grid-area: 1/1/2/2;
}
.game-view .game-item-2 {
  grid-area: 1/2/2/3;
}
.game-view .game-item-3 {
  grid-area: 1/3/2/4;
}
.game-view .game-item-4 {
  grid-area: 2/1/3/2;
}
.game-view .game-item-5 {
  grid-area: 2/2/3/3;
}
.game-view .game-item-6 {
  grid-area: 2/3/3/4;
}
.game-view .game-item-7 {
  grid-area: 3/1/4/2;
}
.game-view .game-item-8 {
  grid-area: 3/2/4/3;
}
.game-view .game-item-9 {
  grid-area: 3/3/4/4;
}
.game-view .game-item-10 {
  grid-area: 4/1/5/2;
}
.game-view .game-item-11 {
  grid-area: 4/2/5/3;
}
.game-view .game-item-12 {
  grid-area: 4/3/5/4;
}
.game-view .game-item-13 {
  grid-area: 5/1/6/2;
}
.game-view .game-item-14 {
  grid-area: 5/2/6/3;
}
.game-view .game-item-15 {
  grid-area: 5/3/6/4;
}
.game-view .game-item-16 {
  grid-area: 6/1/7/2;
}
.game-view .game-item-17 {
  grid-area: 6/2/7/3;
}
.game-view .game-item-18 {
  grid-area: 6/3/7/4;
}
.finish-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.finish-modal.show {
  display: flex;
}
.finish-modal .mask {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #00000080;
}
.finish-modal-title {
  position: relative;
  color: #fff;
  font-size: 36px;
  margin-bottom: 20px;
  z-index: 1000;
  font-weight: 700;
}
.finish-modal-btn {
  position: relative;
  width: 100px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  border-radius: 4px;
  background-color: #3fbfa8;
  color: #fff;
  cursor: pointer;
  margin-top: 14px;
  z-index: 1000;
}
.retry {
  width: 36px;
  height: 36px;
  position: absolute;
  right: 16px;
  bottom: 16px;
}
.home {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.home .title {
  position: relative;
  font-size: 40px;
  font-weight: 700;
}
.home .title > span {
  display: flex;
  position: relative;
  z-index: 1;
}
.home .animal {
  position: absolute;
}
.home .animal-dog {
  width: 36px;
  height: 36px;
  right: 100%;
  bottom: 100%;
  transform: translate(15px, 10px) rotate(-20deg);
}
.home .animal-rabbit {
  width: 40px;
  height: 40px;
  left: 100%;
  bottom: 0;
  transform: translate(-18px, 22px) rotate(20deg);
}
.home .rules {
  display: flex;
  flex-direction: column;
  padding: 18px;
  margin-top: 48px;
  min-width: 85%;
  max-width: 95%;
  border: 3px solid var(--font);
  border-radius: 8px;
  font-size: 14px;
  color: var(--font);
  background-color: #f5ebe0;
}
.home .rules .item {
  display: flex;
  align-items: center;
}
.home .rules .item:not(:first-child) {
  margin-top: 14px;
}
.home .rules .sub-title {
  font-size: 18px;
  font-weight: 700;
}
.home .rules .sprite {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin: 0 4px;
}
.home .rules .sprite.food {
  background-color: var(--item-bg);
  border: 2px solid var(--food);
}
.home .rules .sprite.condition {
  width: 24px;
  height: 24px;
  border: 3px solid var(--line-food-somebody);
  background-color: var(--line-food-somebody-disabled);
}
.home .rules .sprite.condition.nobody {
  border: 3px solid var(--line-food-nobody);
  background-color: var(--line-food-nobody-disabled);
}
.home .start-btn {
  padding: 6px 24px;
  border-radius: 4px;
  margin-top: 74px;
  color: #fff;
  background-color: #3fbfa8;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #3fbfa8;
}
.missions {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.missions .title {
  position: relative;
  font-size: 40px;
  font-weight: 700;
}
.missions .title > span {
  display: flex;
  position: relative;
  z-index: 1;
}
.missions .mission-list {
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  justify-content: space-between;
  margin-top: 40px;
}
.missions .mission-list .mission {
  width: 20%;
  margin: 10px 2%;
  padding: 8px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--font);
  color: var(--font);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
}
.missions .mission-list .mission.finish {
  background-color: #aacb73;
  color: #fff;
  border-color: #4b7803;
}
.missions .home-btn {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
}
:root {
  --font: #2b3a55;
  --body-bg: #fefcf3;
  --food: #2b3a55;
  --item-bg: #f5f5f5;
  --item-bg-highlight: skyblue;
  --item-list-bg: #f0dbdb;
  --line: #2b3a55;
  --line-disabled: rgba(211, 211, 211, 0.8);
  --line-food-somebody: rgb(52, 107, 237);
  --line-food-nobody: rgba(255, 78, 110);
  --line-food-somebody-disabled: rgb(52, 107, 237, 0.5);
  --line-food-nobody-disabled: rgba(255, 78, 110, 0.5);
}
