:root {
  color-scheme: dark;
  font-family: Georgia, "Songti SC", "SimSun", serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: #d9d6a3;
  border: 0;
  padding: 0;
  background: none;
  font-weight: bold;
  text-shadow: 1px 2px #25232c;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #f5df5e;
  outline-offset: 1px;
}
button:disabled {
  cursor: default;
  filter: brightness(0.55);
}
[hidden] {
  display: none !important;
}
#game-viewport {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
#game-shell {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 800px;
  height: 600px;
  overflow: hidden;
  transform-origin: center;
  transform: translate(-50%, -50%) rotate(var(--stage-angle, 0deg))
    scale(var(--stage-scale, 1));
  background: #000;
  user-select: none;
  touch-action: manipulation;
}
#lawn {
  position: absolute;
  inset: 0;
  width: 800px;
  height: 600px;
  touch-action: none;
  outline: none;
}
#menu,
#title-screen {
  position: absolute;
  inset: 0;
  background: url("../assets/pvz/ui/selector-background.webp") center / 800px
    600px;
}
#title-screen {
  background-image: url("../assets/pvz/ui/titlescreen.webp");
  z-index: 6;
}
.pvz-logo {
  position: absolute;
  width: 700px;
  height: 116px;
  left: 50px;
  top: 15px;
}
.load-grass {
  position: absolute;
  left: 243px;
  top: 512px;
  width: 314px;
  height: 33px;
  background: url("../assets/pvz/ui/LoadBar_grass.webp");
}
.load-dirt {
  position: absolute;
  left: 243px;
  top: 530px;
  width: 314px;
  height: 39px;
  background: url("../assets/pvz/ui/LoadBar_dirt.webp") no-repeat;
}
#title-start {
  position: absolute;
  left: 243px;
  top: 529px;
  width: 314px;
  height: 50px;
  font-size: 21px;
  color: #e9d68a;
}
#title-start:disabled {
  filter: none;
}
.copyright {
  position: absolute;
  bottom: 3px;
  width: 100%;
  text-align: center;
  color: #ccc;
  font:
    10px Arial,
    sans-serif;
}
.image-button {
  position: absolute;
  background-repeat: no-repeat;
  background-position: 0 0;
}
.image-button:hover,
.image-button:focus-visible {
  background-image: var(--hover);
}
.image-button:active {
  filter: brightness(0.85);
}
.grave {
  clip-path: polygon(5% 0, 97% 0, 100% 77%, 93% 100%, 0 85%, 0 20%);
}
.adventure {
  left: 405px;
  top: 65px;
  width: 331px;
  height: 125px;
  background-image: url("../assets/pvz/ui/SelectorScreen_StartAdventure_Button1.webp");
  --hover: url("../assets/pvz/ui/SelectorScreen_StartAdventure_Highlight.webp");
}
.minigame {
  left: 406px;
  top: 173px;
  width: 313px;
  height: 117px;
  background-image: url("../assets/pvz/ui/SelectorScreen_Survival_button.webp");
  --hover: url("../assets/pvz/ui/SelectorScreen_Survival_highlight.webp");
}
.puzzle {
  left: 410px;
  top: 257px;
  width: 286px;
  height: 106px;
  background-image: url("../assets/pvz/ui/SelectorScreen_Challenges_button.webp");
  --hover: url("../assets/pvz/ui/SelectorScreen_Challenges_highlight.webp");
}
.survival {
  left: 413px;
  top: 328px;
  width: 266px;
  height: 123px;
  background-image: url("../assets/pvz/ui/SelectorScreen_Vasebreaker_button.webp");
  --hover: url("../assets/pvz/ui/SelectorScreen_vasebreaker_highlight.webp");
}
.selector-almanac {
  left: 327px;
  top: 428px;
  width: 99px;
  height: 99px;
  background-image: url("../assets/pvz/ui/SelectorScreen_Almanac.webp");
  --hover: url("../assets/pvz/ui/SelectorScreen_AlmanacHighlight.webp");
}
.selector-store {
  left: 405px;
  top: 484px;
  width: 126px;
  height: 106px;
  background-image: url("../assets/pvz/ui/SelectorScreen_Store.webp");
  --hover: url("../assets/pvz/ui/SelectorScreen_StoreHighlight.webp");
}
.selector-options {
  left: 565px;
  top: 490px;
  width: 81px;
  height: 40px;
  background-image: url("../assets/pvz/ui/SelectorScreen_Options1.webp");
  --hover: url("../assets/pvz/ui/SelectorScreen_Options2.webp");
}
.selector-help {
  left: 647px;
  top: 529px;
  width: 48px;
  height: 30px;
  background-image: url("../assets/pvz/ui/SelectorScreen_Help1.webp");
  --hover: url("../assets/pvz/ui/SelectorScreen_Help2.webp");
}
.selector-quit {
  left: 720px;
  top: 515px;
  width: 47px;
  height: 35px;
  background-image: url("../assets/pvz/ui/SelectorScreen_Quit1.webp");
  --hover: url("../assets/pvz/ui/SelectorScreen_Quit2.webp");
}
.welcome-sign {
  position: absolute;
  left: 22px;
  top: -8px;
  width: 293px;
  height: 150px;
  background: url("../assets/pvz/ui/SelectorScreen_WoodSign1.webp") no-repeat;
  color: #ffecc0;
  text-align: center;
  padding-top: 98px;
  font-size: 19px;
  text-shadow: 1px 2px #462619;
}
.welcome-sign small {
  display: block;
  padding-top: 8px;
  font-size: 13px;
}
#seed-bank,
.chooser-bank {
  position: absolute;
  top: 0;
  left: 0;
  width: 522px;
  height: 87px;
  background: url("../assets/pvz/ui/seedbank-8.webp") no-repeat;
}
#sun-count,
.chooser-sun {
  position: absolute;
  top: 61px;
  left: 4px;
  width: 62px;
  color: #111;
  text-align: center;
  font:
    bold 18px Arial,
    sans-serif;
}
#seed-cards,
.chosen-seeds {
  position: absolute;
  left: 79px;
  top: 8px;
  display: flex;
  gap: 3px;
}
.seed-card,
.choose-card {
  position: relative;
  width: 50px;
  height: 70px;
  flex: 0 0 50px;
  padding: 0;
}
.seed-card canvas,
.choose-card canvas {
  position: absolute;
  inset: 0;
  width: 50px;
  height: 70px;
}
.seed-card.unaffordable canvas {
  filter: brightness(0.55);
}
.seed-card.selected {
  transform: translateY(-4px);
  outline: 2px solid #fff296;
}
.cooldown {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background: #0009;
  pointer-events: none;
}
#shovel-button {
  position: absolute;
  left: 532px;
  top: 0;
  width: 70px;
  height: 72px;
  background: url("../assets/pvz/ui/ShovelBank.webp");
}
#shovel-button img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}
#shovel-button.selected {
  filter: brightness(1.4);
}
.stone-button {
  height: 46px;
  min-width: 100px;
  border-style: solid;
  border-width: 0 35px 0 36px;
  border-image: url("../assets/pvz/ui/stone-button.webp") 0 35 0 36 fill / 0
    35px 0 36px stretch;
  font-size: 18px;
  white-space: nowrap;
}
.stone-button:hover {
  color: #fff;
}
.stone-button:active {
  filter: brightness(0.8);
}
.board-menu {
  position: absolute;
  left: 681px;
  top: -10px;
  width: 117px;
  height: 46px;
  z-index: 2;
  touch-action: manipulation;
}
.board-menu::after {
  content: "";
  position: absolute;
  inset: 0 0 min(-12px, calc(36px - 44px / var(--stage-scale, 1))) 0;
}
#level-label {
  position: absolute;
  right: 13px;
  bottom: 1px;
  color: #e6e1b5;
  text-shadow: 1px 1px #000;
  font-size: 13px;
}
#wave-status {
  position: absolute;
  left: 600px;
  top: 545px;
  width: 158px;
  height: 44px;
  background: url("../assets/pvz/ui/FlagMeter.webp") no-repeat;
}
#wave-track {
  position: absolute;
  left: 4px;
  top: 20px;
  width: 143px;
  height: 9px;
  overflow: hidden;
}
#wave-fill {
  height: 100%;
  background: url("../assets/pvz/ui/FlagMeterLevelProgress.webp") right / auto
    9px;
  float: right;
}
.flag-head {
  position: absolute;
  width: 75px;
  height: 25px;
  top: 7px;
  left: -8px;
  object-fit: none;
  object-position: left;
  clip-path: inset(0 50px 0 0);
}
#wave-label {
  position: absolute;
  top: 38px;
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: #f5e9bd;
  text-shadow: 1px 1px #000;
}
#overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  background: #0005;
}
.panel {
  position: relative;
  width: 500px;
  padding: 65px 40px 45px;
  text-align: center;
  color: #d9d6a3;
  border: 1px solid transparent;
  border-image: url("../assets/pvz/ui/dialog-frame.webp") 97 120 114 107 fill /
    97px 120px 114px 107px stretch;
}
.panel h2 {
  margin: 0 0 22px;
  font-size: 27px;
  color: #d7d5a2;
  text-shadow: 1px 2px #16171f;
}
.panel p {
  line-height: 1.7;
  font-size: 17px;
}
.panel .stone-button {
  display: block;
  margin: 10px auto 0;
  width: 250px;
}
.panel-close {
  position: absolute;
  right: 23px;
  top: 25px;
  font-size: 25px;
  color: #d5d7ac;
}
.options-panel {
  width: 423px;
  height: 498px;
  border: 0;
  padding: 0;
  background: url("../assets/pvz/ui/options_menuback.webp");
}
.options-label {
  position: absolute;
  left: 40px;
  width: 146px;
  text-align: right;
  color: #777a9b;
  font-size: 18px;
  line-height: 40px;
  text-shadow: 1px 1px #111;
}
.options-slider {
  position: absolute;
  left: 199px;
  width: 135px;
  height: 40px;
  margin: 0;
  appearance: none;
  background: url("../assets/pvz/ui/options_sliderslot.webp") center no-repeat;
}
.options-slider::-webkit-slider-thumb {
  appearance: none;
  width: 29px;
  height: 26px;
  background: url("../assets/pvz/ui/options_sliderknob2.webp") center no-repeat;
  cursor: pointer;
}
.options-slider::-moz-range-thumb {
  border: 0;
  border-radius: 0;
  width: 29px;
  height: 26px;
  background: url("../assets/pvz/ui/options_sliderknob2.webp") center no-repeat;
}
.music-row {
  top: 116px;
}
.sfx-row {
  top: 151px;
}
.fullscreen-row {
  top: 194px;
  width: 235px;
}
.native-check {
  position: absolute;
  top: 194px;
  left: 284px;
  width: 46px;
  height: 45px;
  appearance: none;
  background: url("../assets/pvz/ui/options_checkbox0.webp") center no-repeat;
  cursor: pointer;
}
.native-check:checked {
  background-image: url("../assets/pvz/ui/options_checkbox1.webp");
}
.options-panel .stone-button {
  position: absolute;
  left: 107px;
  width: 209px;
  margin: 0;
  font-size: 17px;
}
#options-almanac {
  top: 241px;
}
#restart-game {
  top: 284px;
}
#return-menu {
  top: 327px;
}
#return-land {
  position: absolute;
  left: 112px;
  top: 370px;
  width: 199px;
  height: 28px;
  font-size: 16px;
}
#resume-game {
  position: absolute;
  left: 30px;
  top: 397px;
  width: 360px;
  height: 85px;
  background: url("../assets/pvz/ui/options_backtogamebutton0.webp") center
    no-repeat;
  color: #a7af7c;
  font-size: 24px;
}
#resume-game:hover {
  background-image: url("../assets/pvz/ui/options_backtogamebutton2.webp");
  color: #e4ecb5;
}
.seed-chooser {
  width: 800px;
  height: 600px;
  border: 0;
  padding: 0;
  background: url("../assets/pvz/ui/SeedChooser_Background.webp") 0 87px
    no-repeat;
  text-align: left;
}
.chooser-heading {
  position: absolute;
  top: 91px;
  left: 22px;
  width: 420px;
  margin: 0 !important;
  text-align: center;
  font-size: 20px !important;
  color: #e7dc9c;
}
#plant-picker {
  position: absolute;
  left: 22px;
  top: 128px;
  width: 421px;
  display: grid;
  grid-template-columns: repeat(8, 50px);
  grid-auto-rows: 70px;
  column-gap: 3px;
  row-gap: 3px;
}
.choose-card.chosen {
  opacity: 0.35;
}
#selected-count {
  position: absolute;
  left: 18px;
  top: 510px;
  font-size: 13px;
  width: 430px;
  text-align: center;
  color: #edda9d;
  pointer-events: none;
}
#start-lawn {
  position: absolute;
  top: 545px;
  left: 154px;
  width: 156px;
  height: 42px;
  background: url("../assets/pvz/ui/SeedChooser_Button.webp");
  font-size: 21px;
}
#start-lawn:hover {
  background-image: url("../assets/pvz/ui/SeedChooser_Button_Glow.webp");
}
#start-lawn:disabled {
  background-image: url("../assets/pvz/ui/SeedChooser_Button_Disabled.webp");
  filter: none;
}
.seed-chooser .board-menu {
  display: block;
  margin: 0;
  width: 117px;
}
.seed-chooser .panel-close {
  display: none;
}
.screen-panel {
  width: 800px;
  height: 600px;
  padding: 0;
  border: 0;
}
.challenge-panel {
  background: url("../assets/pvz/ui/Challenge_Background.webp");
}
.challenge-panel h2 {
  position: absolute;
  top: 13px;
  width: 100%;
  font-size: 25px;
}
.challenge-grid {
  position: absolute;
  left: 38px;
  top: 110px;
  width: 724px;
  display: grid;
  grid-template-columns: repeat(5, 128px);
  gap: 17px;
}
.challenge-card {
  width: 128px;
  height: 150px;
  padding: 10px 5px;
  background: url("../assets/pvz/ui/Challenge_Blank.webp") center / 128px 150px;
  color: #4a351a;
  text-shadow: none;
  font-size: 16px;
}
.challenge-card canvas {
  display: block;
  width: 85px;
  height: 85px;
  margin: 0 auto;
}
.screen-panel .back-button {
  position: absolute;
  left: 25px;
  bottom: 13px;
  width: 160px;
}
.almanac-panel {
  background: url("../assets/pvz/ui/Almanac_PlantBack.webp");
}
.almanac-panel.zombies {
  background-image: url("../assets/pvz/ui/Almanac_ZombieBack.webp");
}
.almanac-panel h2 {
  position: absolute;
  top: 12px;
  width: 100%;
  font-size: 25px;
}
.almanac-tabs {
  position: absolute;
  left: 100px;
  bottom: 14px;
  display: flex;
  gap: 10px;
}
.almanac-tabs .stone-button {
  width: 130px;
  margin: 0;
}
#almanac-list {
  position: absolute;
  left: 25px;
  top: 90px;
  width: 365px;
  height: 433px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(7, 50px);
  grid-auto-rows: 70px;
  gap: 2px;
}
.zombies #almanac-list {
  grid-template-columns: repeat(5, 68px);
  grid-auto-rows: 78px;
}
.zombie-card {
  position: relative;
  width: 68px;
  height: 78px;
  background: #b4bd80;
  border: 2px solid #6e6a43;
}
.zombie-card canvas {
  width: 64px;
  height: 74px;
}
#almanac-detail {
  position: absolute;
  left: 435px;
  top: 78px;
  width: 324px;
  height: 484px;
  padding: 30px 26px;
  background: url("../assets/pvz/ui/Almanac_PlantCard.webp") no-repeat;
  color: #3a2815;
}
.zombies #almanac-detail {
  background-image: url("../assets/pvz/ui/Almanac_ZombieCard.webp");
}
#almanac-detail canvas {
  display: block;
  width: 220px;
  height: 190px;
  margin: 0 auto 15px;
}
#almanac-detail h3 {
  margin: 5px 0 14px;
  font-size: 24px;
}
#almanac-detail p {
  margin: 8px 0;
  text-align: left;
  font-size: 16px;
}
.almanac-panel .panel-close {
  top: 555px;
  right: 20px;
  width: 85px;
  height: 35px;
  background: url("../assets/pvz/ui/Almanac_CloseButton.webp");
  font-size: 17px;
}
.award-panel {
  background: url("../assets/pvz/ui/AwardScreen_Back.webp") center / 800px 600px;
  color: #30281d;
}
.award-panel h2 {
  margin-top: 55px;
  color: #30281d;
  text-shadow: none;
}
.award-panel .reward {
  display: block;
  width: 100px;
  height: 140px;
  margin: 50px auto 30px;
}
.award-panel .stone-button {
  width: 270px;
}
.help-list {
  text-align: left;
  font-size: 16px;
  line-height: 1.7;
}
#banner {
  position: absolute;
  top: 265px;
  left: 0;
  width: 800px;
  text-align: center;
  color: #ce221c;
  font-size: 38px;
  font-weight: 900;
  text-shadow:
    -2px -2px #230e07,
    2px 2px #230e07,
    2px -2px #230e07,
    -2px 2px #230e07;
  pointer-events: none;
  visibility: hidden;
}
#banner.show {
  visibility: visible;
}
#toast {
  position: absolute;
  z-index: 20;
  left: 130px;
  bottom: 65px;
  max-width: 540px;
  padding: 8px 16px;
  color: #321f10;
  background: #fff3bd;
  border: 2px solid #6d512d;
  font-size: 16px;
  visibility: hidden;
  pointer-events: none;
}
#toast.show {
  visibility: visible;
}
#loading {
  position: absolute;
  z-index: 25;
  inset: 0;
  background: #000c;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  color: #e4daa8;
}
#loading progress {
  width: 300px;
  accent-color: #7b9a39;
}
.sr-only {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (prefers-reduced-motion: no-preference) {
  .seed-card {
    transition: transform 0.1s;
  }
}

.acceleration-row {
  top: 171px;
  width: 235px;
}
.acceleration-check {
  top: 168px;
  opacity: 0.55;
}

.help-panel {
  background: url("../assets/pvz/ui/ZombieNote.webp") center / 654px 427px
    no-repeat;
}
.help-note {
  position: absolute;
  left: 133px;
  top: 152px;
  width: 529px;
  height: 323px;
}
.help-panel .stone-button {
  position: absolute;
  left: 310px;
  bottom: 12px;
  width: 180px;
}
#seed-bank.conveyor-bank {
  width: 610px !important;
  background: url("../assets/pvz/ui/ConveyorBelt_backdrop.webp") 83px 0
    no-repeat !important;
}
.conveyor-bank #seed-cards {
  left: 91px !important;
  gap: 0 !important;
}
.conveyor-bank #shovel-button {
  left: 610px !important;
}
.conveyor-bank::before {
  content: "";
  position: absolute;
  left: 90px;
  top: 63px;
  width: 502px;
  height: 16px;
  background: url("../assets/pvz/ui/ConveyorBelt.webp") 0 0;
  animation: conveyor 1s steps(6) infinite;
}
@keyframes conveyor {
  to {
    background-position-y: -96px;
  }
}

#loading {
  background: url("../assets/pvz/ui/titlescreen.webp") center / 800px 600px;
}
#loading::before {
  content: "";
  position: absolute;
  left: 50px;
  top: 15px;
  width: 700px;
  height: 116px;
  background: url("../assets/pvz/ui/PvZ_Logo.webp");
}
#loading p {
  position: absolute;
  top: 525px;
  left: 243px;
  width: 314px;
  text-align: center;
  z-index: 2;
  color: #eddda1;
  text-shadow: 1px 2px #301e09;
  font-size: 20px;
}
#loading progress {
  position: absolute;
  top: 512px;
  left: 243px;
  width: 314px;
  height: 45px;
  appearance: none;
  border: 0;
  background: url("../assets/pvz/ui/LoadBar_dirt.webp") 0 18px no-repeat;
}
#loading progress::-webkit-progress-bar {
  background: transparent;
}
#loading progress::-webkit-progress-value {
  background: url("../assets/pvz/ui/LoadBar_grass.webp") left top no-repeat;
}
#loading progress::-moz-progress-bar {
  background: url("../assets/pvz/ui/LoadBar_grass.webp") left top no-repeat;
}
#loading-detail {
  position: absolute;
  top: 578px;
  font-size: 12px;
}
#banner.ready-set-plant {
  top: 225px;
  left: 250px;
  width: 300px;
  height: 133px;
  font-size: 0;
  background: url("../assets/pvz/ui/StartReady.webp") center no-repeat;
  animation: ready-set-plant 2.5s steps(1) both;
}
@keyframes ready-set-plant {
  0% {
    background-image: url("../assets/pvz/ui/StartReady.webp");
  }
  33% {
    background-image: url("../assets/pvz/ui/StartSet.webp");
  }
  66%,
  100% {
    background-image: url("../assets/pvz/ui/StartPlant.webp");
  }
}
.zombies-won {
  display: block;
  width: 350px;
  height: auto;
  margin: 0 auto;
}
#sun-count {
  font-variant-numeric: tabular-nums;
}

.adventure.in-progress {
  width: 329px;
  background-image: url("../assets/pvz/ui/SelectorScreen_Adventure_button.webp");
  --hover: url("../assets/pvz/ui/SelectorScreen_Adventure_highlight.webp");
}
.level-number {
  position: absolute;
  width: 12px;
  height: 17px;
  background: url("../assets/pvz/ui/SelectorScreen_LevelNumbers.webp");
}

.almanac-index {
  background-image: url("../assets/pvz/ui/Almanac_IndexBack.webp");
}
.almanac-index h2 {
  top: 30px;
}
#index-plant {
  position: absolute;
  left: 157px;
  top: 240px;
}
#index-zombie {
  position: absolute;
  left: 520px;
  top: 190px;
}
.almanac-index #plants-tab {
  position: absolute;
  left: 130px;
  top: 345px;
  width: 156px;
  height: 42px;
  background: url("../assets/pvz/ui/SeedChooser_Button.webp");
  font-size: 20px;
}
.almanac-index #zombies-tab {
  position: absolute;
  left: 487px;
  top: 345px;
  width: 210px;
  height: 48px;
  margin: 0;
}
#almanac-list,
.zombies #almanac-list {
  position: absolute;
  inset: 0;
  width: 450px;
  height: 565px;
  overflow: visible;
  display: block;
}
#almanac-list button {
  position: absolute;
}
#almanac-list .choose-card canvas {
  width: 100%;
  height: 100%;
}
.zombie-card {
  width: 76px;
  height: 76px;
  background: url("../assets/pvz/ui/Almanac_ZombieWindow.webp");
  border: 0;
}
.zombie-card canvas {
  width: 76px;
  height: 76px;
}
#almanac-detail {
  left: 459px;
  top: 86px;
  padding: 0;
  background: none;
}
#almanac-detail::before {
  content: "";
  position: absolute;
  left: 62px;
  top: 21px;
  width: 200px;
  height: 150px;
  background: var(--ground) no-repeat;
}
#almanac-detail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/pvz/ui/Almanac_PlantCard.webp");
  z-index: 2;
  pointer-events: none;
}
#almanac-detail canvas {
  position: absolute;
  width: 110px;
  height: 110px;
  left: 104px;
  top: 25px;
  margin: 0;
  z-index: 1;
}
#almanac-detail h3 {
  position: absolute;
  top: 175px;
  width: 100%;
  margin: 0;
  z-index: 3;
  font-size: 22px;
  color: #e7cc77;
  text-shadow: 1px 1px #3f2a12;
}
#almanac-detail p {
  position: absolute;
  left: 26px;
  top: 220px;
  width: 258px;
  margin: 0;
  z-index: 3;
  color: #28325a;
}
#almanac-detail p.almanac-stats {
  top: 432px;
  font-size: 14px;
}
.zombies #almanac-detail {
  left: 455px;
  top: 78px;
  height: 497px;
  background: none;
}
.zombies #almanac-detail::after {
  background-image: url("../assets/pvz/ui/Almanac_ZombieCard.webp");
}
.zombies #almanac-detail canvas {
  width: 140px;
  height: 175px;
  left: 92px;
  top: 8px;
}
.zombies #almanac-detail h3 {
  top: 205px;
}
.zombies #almanac-detail p {
  top: 250px;
}
.almanac-panel .panel-close {
  left: 676px;
  top: 567px;
  width: 89px;
  height: 26px;
  color: #2a2a5a;
  text-shadow: none;
}
.almanac-index-button {
  position: absolute;
  left: 32px;
  top: 567px;
  width: 164px;
  height: 26px;
  color: #2a2a5a;
  background: url("../assets/pvz/ui/Almanac_IndexButton.webp");
  text-shadow: none;
}

#wave-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
