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

body {
  display: grid;
  min-width: calc(850px * 1.3);
  min-height: max(100vh, calc(670px * 1.3));
  place-items: center;
  background: #2b1205 url("assets/wood.png") repeat;
  color: #f4e365;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 10px;
  overflow: auto;
  text-align: center;
}

a {
  color: inherit;
  text-decoration: none;
}

.stage {
  position: relative;
  width: 850px;
  height: 670px;
  margin: 0;
  overflow: visible;
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.85),
    0 7px 20px rgba(0, 0, 0, 0.75);
  text-align: left;
  transform: scale(1.3);
  transform-origin: center center;
}

.stage::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 1672px;
  height: 941px;
  background: url("assets/background.png") no-repeat center / 1672px 941px;
  transform: translate(-50%, -50%) scale(0.75);
  transform-origin: center center;
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  background:
    radial-gradient(circle at 65% 25%, rgba(186, 244, 255, 0.16), transparent 22%),
    radial-gradient(circle at 30% 77%, rgba(255, 230, 147, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(166, 236, 255, 0.05), transparent 42%, rgba(255, 224, 126, 0.035));
  filter: brightness(1.05) contrast(1.04);
  animation: electric-ambient 7.6s steps(1, end) infinite;
}

.electric-layer {
  position: absolute;
  inset: 0;
  z-index: 18;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: screen;
}

.electric-arc {
  --bolt-rotate: 0deg;
  position: absolute;
  display: block;
  width: 260px;
  height: 74px;
  opacity: 0;
  transform-origin: left center;
  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 8px rgba(73, 222, 255, 0.82))
    drop-shadow(0 0 18px rgba(255, 205, 83, 0.32));
  animation: electric-strike 7.6s steps(1, end) infinite;
}

.electric-arc::before,
.electric-arc::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 27px;
  height: 16px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(91, 221, 255, 0.2) 4%,
    #f9ffff 12%,
    #7feaff 22%,
    #ffffff 34%,
    #5ddfff 49%,
    #fff6b8 63%,
    #ffffff 76%,
    rgba(90, 222, 255, 0.2) 93%,
    transparent 100%);
  clip-path: polygon(
    0% 58%, 8% 42%, 15% 60%, 23% 30%, 33% 55%, 42% 24%,
    52% 51%, 63% 16%, 73% 48%, 84% 31%, 100% 56%,
    100% 77%, 84% 53%, 73% 70%, 63% 39%, 52% 73%, 42% 46%,
    33% 76%, 23% 52%, 15% 82%, 8% 64%, 0% 84%);
}

.electric-arc::after {
  left: 58px;
  top: 38px;
  width: 118px;
  height: 12px;
  opacity: 0.78;
  transform: rotate(33deg) scaleX(0.82);
  transform-origin: left center;
  clip-path: polygon(
    0% 50%, 18% 34%, 30% 58%, 43% 27%, 58% 55%, 74% 38%,
    100% 63%, 100% 84%, 74% 61%, 58% 80%, 43% 50%,
    30% 81%, 18% 57%, 0% 72%);
}

.arc-main {
  left: 492px;
  top: 177px;
  width: 292px;
  --bolt-rotate: -19deg;
  animation-delay: -4.72s;
}

.arc-side {
  left: 622px;
  top: 92px;
  width: 168px;
  height: 62px;
  --bolt-rotate: 54deg;
  animation-duration: 9.3s;
  animation-delay: -2.2s;
}

.arc-low {
  left: 190px;
  top: 524px;
  width: 310px;
  height: 68px;
  --bolt-rotate: 3deg;
  animation-duration: 8.7s;
  animation-delay: -4.8s;
}

.layer-art {
  position: absolute;
  display: block;
  transform-origin: top left;
  pointer-events: none;
}

.login-art {
  top: 115px;
  left: -131px;
  z-index: 10;
  width: 241px;
  height: auto;
}

.registered-art {
  top: 124px;
  left: 764px;
  z-index: 9;
  width: 218px;
  height: auto;
}

.login-box {
  position: absolute;
  inset: 0;
  z-index: 20;
  width: 850px;
  height: 670px;
  background: none;
  pointer-events: none;
}

.login-box form {
  position: absolute;
  inset: 0;
}

.forgot {
  position: absolute;
  top: 252px;
  left: -66px;
  color: #fff;
  font: 700 8px/10px Tahoma, Verdana, Arial, sans-serif;
  text-decoration: underline;
  text-shadow: 1px 1px 0 #000;
  transform: scale(0.973);
  transform-origin: top left;
  pointer-events: auto;
}

.login-label {
  position: absolute;
  left: -97px;
  color: #f4e365;
  font: 700 9px/10px Tahoma, Verdana, Arial, sans-serif;
  text-shadow: 1px 1px 0 #000;
  transform: scale(0.96);
  transform-origin: top left;
}

.username-label {
  top: 156px;
}

.password-label {
  top: 175px;
}

.login-input {
  position: absolute;
  left: -45px;
  z-index: 20;
  width: 110px;
  height: 15px;
  padding: 0 3px;
  border: 1px solid #000;
  background: #dbdbdb url("assets/input-bg.jpg") repeat-x 0 0;
  box-sizing: border-box;
  color: #000;
  font: 10px Tahoma, Verdana, Arial, sans-serif;
  pointer-events: auto;
}

.username {
  top: 154px;
}

.password {
  top: 173px;
}

.login-button,
.register-button {
  position: absolute;
  border: 0;
  background: transparent;
  color: #f4e365;
  cursor: pointer;
  font: 700 9px Tahoma, Verdana, Arial, sans-serif;
  text-align: center;
  text-shadow: 1px 1px 0 #000;
  box-shadow: none;
  padding: 0;
  transform-origin: top left;
  pointer-events: auto;
  white-space: nowrap;
  overflow: hidden;
}

.login-button {
  top: 198px;
  left: -24px;
  width: 56px;
  height: 12px;
  line-height: 10px;
}

.register-button {
  top: 226px;
  left: -33px;
  width: 76px;
  height: 12px;
  line-height: 10px;
}

.player-box {
  position: absolute;
  inset: 0;
  z-index: 20;
  width: 850px;
  height: 670px;
  background: none;
  color: #f4e365;
  font-size: 11px;
  font-weight: 700;
  text-shadow: 1px 1px 0 #000;
  pointer-events: none;
}

.player-label {
  position: absolute;
  left: 780px;
  width: 100px;
  z-index: 2;
  height: 12px;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 12px;
  letter-spacing: 0;
  text-align: right;
  text-shadow: 1px 1px 0 #000, 0 0 2px #000;
  white-space: nowrap;
}

.players-title {
  top: 147px;
  left: 873px;
  width: auto;
  transform: translateX(-50%);
  color: #eef0e0;
  font-size: 10px;
}

.online-label {
  top: 178px;
  color: #f4e365;
}

.registered-label {
  top: 202px;
  color: #f4e365;
}

.player-number {
  position: absolute;
  width: auto;
  color: #f4e365;
  font: 700 10px/12px Tahoma, Verdana, Arial, sans-serif;
  text-align: left;
  text-shadow: 1px 1px 0 #000, 0 0 2px #000;
  white-space: nowrap;
}

.online {
  top: 178px;
  left: 888px;
}

.registered {
  top: 202px;
  left: 888px;
}

.language-wrap {
  position: absolute;
  top: 225px;
  left: 821px;
  z-index: 20;
  width: 95px;
  min-height: 15px;
  font-weight: 400;
  pointer-events: auto;
  transform: scale(1.094);
  transform-origin: top left;
}

.language-head {
  display: flex;
  width: 95px;
  height: 15px;
  align-items: center;
  justify-content: space-between;
  cursor: default;
}

.language-head span {
  width: 68px;
  padding-left: 0;
}

.language-menu {
  position: absolute;
  top: 15px;
  left: -50px;
  display: none;
  width: 160px;
  height: 300px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: #302a2a;
  list-style: none;
  scrollbar-color: #aaa #302a2a;
}

.language-wrap:hover .language-menu,
.language-wrap:focus-within .language-menu {
  display: block;
}

.language-menu li {
  display: flex;
  width: 142px;
  height: 15px;
  align-items: center;
  justify-content: space-between;
  background: #302a2a;
  color: #f4e365;
  font: 700 10px/15px Tahoma, Verdana, Arial, sans-serif;
}

.language-menu a {
  display: block;
  width: 108px;
  padding-left: 6px;
}

.language-menu img {
  width: 21px;
  height: 15px;
  margin-right: 0;
}

.flash-preview {
  position: absolute;
  top: 271px;
  left: 247px;
  width: 367px;
  height: 221px;
  z-index: 12;
  transform: scale(1.037);
  transform-origin: top left;
}

.preview-window {
  position: absolute;
  top: 20px;
  left: 35px;
  width: 281px;
  height: 152px;
  padding: 4px;
  border: 1px solid #0a0a0a;
  border-radius: 8px;
  background:
    linear-gradient(#565656, #111 11px, #2d2d2d 12px, #080808 100%);
  box-shadow:
    0 0 0 2px rgba(55, 55, 55, 0.9),
    0 0 14px rgba(246, 180, 64, 0.7);
}

.preview-video {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  background: #05121b;
  object-fit: cover;
  cursor: pointer;
}

.preview-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 52px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: #ff0000;
  color: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.72);
  transition: opacity 0.18s ease;
}

.preview-play::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 20px;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #ffffff;
}

.preview-window.controls-hidden .preview-play {
  opacity: 0;
  pointer-events: none;
}

.preview-window.is-paused .preview-play::before,
.preview-window.is-paused .preview-play::after,
.preview-window.is-playing .preview-play::before,
.preview-window.is-playing .preview-play::after {
  content: "";
  position: absolute;
  top: 9px;
  width: 6px;
  height: 18px;
  border: 0;
  background: #ffffff;
}

.preview-window.is-paused .preview-play::before,
.preview-window.is-playing .preview-play::before {
  left: 18px;
}

.preview-window.is-paused .preview-play::after,
.preview-window.is-playing .preview-play::after {
  left: 28px;
}

.preview-window::before {
  content: "";
  position: absolute;
  inset: -18px -14px -17px -14px;
  z-index: -1;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0), rgba(20, 20, 20, 0.98) 7%, rgba(20, 20, 20, 0.98) 93%, rgba(20, 20, 20, 0)),
    linear-gradient(#2f2f2f, #030303 30%, #111 70%, #2b2b2b);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.22),
    inset 0 -3px 0 rgba(0, 0, 0, 0.8),
    0 3px 8px rgba(0, 0, 0, 0.9);
}

.sea-scene {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 5px;
  background: url("../../maps/sea_blue.png") center / cover;
  box-shadow: inset 0 0 32px rgba(0, 0, 0, 0.75);
}

.sea-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 34%),
    linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.26));
  pointer-events: none;
}

.coast {
  position: absolute;
  top: -9px;
  left: -25px;
  width: 121px;
  height: 181px;
  border-radius: 12% 42% 45% 8%;
  background:
    radial-gradient(ellipse at 72% 82%, rgba(19, 110, 30, 0.95) 0 16%, transparent 17%),
    radial-gradient(ellipse at 63% 64%, rgba(46, 140, 30, 0.9) 0 20%, transparent 21%),
    radial-gradient(ellipse at 54% 35%, #7d8a45 0 48%, transparent 49%),
    linear-gradient(112deg, #39552d, #92a25b 58%, rgba(146, 162, 91, 0));
  transform: rotate(-13deg);
}

.ship {
  position: absolute;
  display: block;
  background-repeat: no-repeat;
  filter: drop-shadow(5px 5px 2px rgba(0, 0, 0, 0.58));
}

.ship-one {
  top: 17px;
  left: 78px;
  width: 76px;
  height: 56px;
  background-image: url("../../ships/ship_1/ship_1.png");
  background-position: 0 0;
  background-size: 228px 112px;
  transform: scale(0.86) rotate(-8deg);
}

.ship-two {
  top: 18px;
  left: 164px;
  width: 99px;
  height: 96px;
  background-image: url("../../ships/ship_12/ship_12.png");
  background-position: 0 0;
  background-size: 395px 193px;
  transform: scale(0.55) rotate(11deg);
}

.ship-three {
  top: 94px;
  left: 111px;
  width: 90px;
  height: 93px;
  background-image: url("../../ships/ship_10/ship_10.png");
  background-position: 0 0;
  background-size: 360px 186px;
  transform: scale(0.5) rotate(-18deg);
}

.ship-four {
  top: 84px;
  left: 216px;
  width: 76px;
  height: 56px;
  background-image: url("../../ships/ship_1/ship_1.png");
  background-position: -76px 0;
  background-size: 228px 112px;
  transform: scale(0.78) rotate(9deg);
}

.label {
  position: absolute;
  height: 9px;
  border-top: 1px solid #4c8438;
  color: #76c65a;
  font: 6px/8px Verdana, sans-serif;
  text-shadow: 1px 1px 0 #000;
}

.label.one {
  top: 68px;
  left: 91px;
}

.label.two {
  top: 70px;
  left: 183px;
}

.label.three {
  top: 134px;
  left: 229px;
}

.torch {
  position: absolute;
  top: 49px;
  width: 14px;
  height: 111px;
  background: linear-gradient(90deg, #050505, #553316 45%, #050505 100%);
  box-shadow: 0 0 4px #000;
}

.torch::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -5px;
  width: 24px;
  height: 39px;
  clip-path: polygon(50% 0, 62% 18%, 82% 33%, 74% 62%, 57% 100%, 34% 93%, 19% 66%, 24% 38%, 39% 19%);
  background:
    radial-gradient(ellipse at 49% 76%, rgba(255, 252, 194, 0.96) 0 9%, rgba(255, 212, 73, 0.88) 18%, rgba(255, 113, 22, 0.62) 38%, rgba(255, 72, 0, 0) 66%),
    linear-gradient(180deg, rgba(255, 238, 112, 0.88) 0%, rgba(255, 132, 28, 0.92) 44%, rgba(164, 31, 4, 0.38) 86%, rgba(164, 31, 4, 0) 100%);
  filter: drop-shadow(0 0 5px rgba(255, 145, 32, 0.88)) drop-shadow(0 0 11px rgba(255, 194, 60, 0.42));
  transform-origin: 50% 100%;
  animation: flame-flicker 0.72s infinite alternate ease-in-out;
}

.torch::after {
  content: "";
  position: absolute;
  top: -20px;
  left: 1px;
  width: 12px;
  height: 25px;
  clip-path: polygon(50% 0, 66% 28%, 76% 59%, 56% 100%, 34% 86%, 22% 55%, 35% 24%);
  background: linear-gradient(180deg, rgba(255, 255, 232, 0.98) 0%, rgba(255, 226, 95, 0.92) 45%, rgba(255, 132, 21, 0) 100%);
  filter: drop-shadow(0 0 4px rgba(255, 238, 123, 0.72));
  transform-origin: 50% 100%;
  animation: flame-core-flicker 0.48s infinite alternate ease-in-out;
}

.torch.left {
  left: 12px;
}

.torch.right {
  right: 18px;
}

.preview-tabs {
  position: absolute;
  top: 190px;
  left: 34px;
  display: flex;
  gap: 7px;
}

.preview-tabs a {
  width: 88px;
  height: 18px;
  border: 1px solid #0a0a0a;
  border-radius: 5px;
  background: linear-gradient(#373737, #050505 45%, #1a1a1a);
  color: #f4e365;
  font: 700 8px/18px Tahoma, Verdana, Arial, sans-serif;
  text-align: center;
  text-shadow: 1px 1px 0 #000;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 1px 2px #000;
}

.game-copy {
  position: absolute;
  top: 496px;
  left: -153px;
  z-index: 20;
  width: 350px;
  color: #bba443;
  font-weight: 700;
  text-shadow: 1px 1px 0 #000;
  transform: scale(1.358);
  transform-origin: top left;
}

.game-copy h1 {
  margin: 0 0 1px 0;
  color: #f4e365;
  font: 700 12px/13px Tahoma, Verdana, Arial, sans-serif;
}

.game-copy ul {
  margin: 0;
  padding-left: 20px;
  color: #f4e365;
  font-size: 10px;
  line-height: 11px;
  list-style-position: outside;
}

.menu-bar {
  position: absolute;
  top: 619px;
  left: 13px;
  z-index: 40;
  width: 814px;
  height: 57px;
  overflow: visible;
  background: url("assets/bar_menu.png") no-repeat 0 -59px / 814px 180px;
}

.menu-bar a {
  position: absolute;
  display: block;
  height: auto;
  overflow: hidden;
  color: #ffd653;
  font: 700 14px/15px Georgia, "Times New Roman", serif;
  text-align: center;
  text-shadow:
    1px 1px 0 #000,
    -1px -1px 0 rgba(255, 238, 141, 0.35),
    0 0 4px #000;
  text-transform: uppercase;
  white-space: nowrap;
}

.menu-bar a span {
  display: block;
}

.nav-preview {
  top: 21px;
  left: 89px;
  width: auto;
  transform: translateX(-50%);
}

.nav-prizes {
  top: 20px;
  left: 241px;
  width: auto;
  transform: translateX(-50%);
}

.nav-register {
  top: 12px;
  left: 411px;
  width: auto;
  transform: translateX(-50%);
  font-size: 13px;
  line-height: 12px;
  white-space: nowrap;
  overflow: hidden;
}

.nav-register.is-play-now {
  top: 10px;
  display: flex;
  height: 35px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #8cff69;
  font-size: 15px;
  line-height: 14px;
  overflow: visible;
  text-shadow:
    1px 1px 0 #001900,
    0 0 5px rgba(72, 255, 74, 0.95),
    0 0 12px rgba(38, 160, 42, 0.82);
}

.nav-register.is-play-now::before {
  content: "";
  position: absolute;
  inset: 1px 1px 0;
  z-index: 0;
  border-radius: 5px;
  background:
    radial-gradient(ellipse at center, rgba(128, 255, 102, 0.36), rgba(31, 119, 33, 0.22) 42%, rgba(0, 0, 0, 0) 72%);
  box-shadow:
    inset 0 0 9px rgba(120, 255, 91, 0.22),
    0 0 12px rgba(48, 255, 72, 0.3);
}

.nav-register.is-play-now span {
  position: relative;
  z-index: 1;
}

.portal-logout {
  position: absolute;
  top: 51px;
  left: 411px;
  z-index: 100;
  display: none;
  width: 80px;
  height: 11px;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font: 700 9px/10px Tahoma, Verdana, Arial, sans-serif;
  padding: 0;
  text-align: center;
  text-decoration: underline;
  transform: translateX(-50%);
  text-shadow: 1px 1px 0 #001900, 0 0 4px rgba(83, 255, 83, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portal-logout:hover {
  color: #ffffff;
}

.stage.is-logged-in .portal-logout {
  display: block;
}

.stage.is-logged-in .login-art,
.stage.is-logged-in .login-box,
.stage.is-logged-in .flash-preview {
  display: none;
}

.nav-tutorial {
  top: 20px;
  left: 579px;
  width: auto;
  transform: translateX(-50%);
}

.nav-forum {
  top: 21px;
  left: 732px;
  width: auto;
  transform: translateX(-50%);
}

.footer {
  position: absolute;
  top: 674px;
  left: 86px;
  z-index: 20;
  display: flex;
  width: 760px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #a9bfa4;
  font-size: 10px;
  line-height: 13px;
  white-space: nowrap;
  transform: scale(0.959);
  transform-origin: top left;
}

.footer-gap {
  display: none;
}

.register-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 24px;
}

.register-modal.is-open {
  display: grid;
}

.register-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.78) 62%),
    rgba(10, 6, 3, 0.76);
}

.modal-open .stage {
  filter: brightness(0.72);
}

.register-dialog {
  position: relative;
  z-index: 1;
  width: min(430px, calc(100vw - 48px));
  box-sizing: border-box;
  padding: 26px 34px 31px;
  border: 1px solid #050301;
  background:
    linear-gradient(180deg, rgba(122, 82, 38, 0.55), rgba(10, 10, 8, 0.92) 14%, rgba(24, 25, 20, 0.96) 72%, rgba(5, 5, 4, 0.98)),
    linear-gradient(90deg, rgba(251, 202, 78, 0.12), rgba(255, 255, 255, 0.02), rgba(251, 202, 78, 0.12));
  box-shadow:
    inset 0 0 0 2px rgba(87, 52, 20, 0.9),
    inset 0 0 24px rgba(0, 0, 0, 0.9),
    0 0 0 3px rgba(39, 22, 9, 0.95),
    0 18px 42px rgba(0, 0, 0, 0.82);
  color: #f4e365;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  text-align: left;
}

.register-dialog::before,
.register-dialog::after {
  content: "";
  position: absolute;
  right: 20px;
  left: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d79d2b 16%, #fff0a8 50%, #d79d2b 84%, transparent);
  box-shadow: 0 0 8px rgba(246, 180, 64, 0.65);
}

.register-dialog::before {
  top: 11px;
}

.register-dialog::after {
  bottom: 11px;
}

.register-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 21px;
  height: 21px;
  border: 0;
  background: transparent;
  color: #ffd653;
  cursor: pointer;
  font: 700 20px/20px Georgia, serif;
  text-shadow: 1px 1px 0 #000, 0 0 5px #f3a62d;
}

.register-dialog h2 {
  margin: 0 0 19px;
  color: #ffd653;
  font: 700 25px/28px Georgia, "Times New Roman", serif;
  text-align: center;
  text-shadow:
    1px 1px 0 #000,
    -1px -1px 0 rgba(255, 238, 141, 0.26),
    0 0 8px rgba(0, 0, 0, 0.9);
  text-transform: uppercase;
}

.register-form {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px 12px;
  align-items: center;
}

.register-form label {
  color: #f4e365;
  font: 700 11px/13px Tahoma, Verdana, Arial, sans-serif;
  text-shadow: 1px 1px 0 #000;
}

.register-form input {
  width: 100%;
  height: 24px;
  box-sizing: border-box;
  padding: 2px 7px;
  border: 1px solid #000;
  background: #dbdbdb url("assets/input-bg.jpg") repeat-x 0 0;
  color: #000;
  font: 12px Tahoma, Verdana, Arial, sans-serif;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.55);
}

.register-submit {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 172px;
  height: 34px;
  margin-top: 9px;
  border: 1px solid #060606;
  border-radius: 5px;
  background:
    linear-gradient(#5b4730, #111 42%, #050505 50%, #2a2018 100%);
  color: #ffd653;
  cursor: pointer;
  font: 700 15px/30px Georgia, "Times New Roman", serif;
  text-align: center;
  text-shadow:
    1px 1px 0 #000,
    -1px -1px 0 rgba(255, 238, 141, 0.32),
    0 0 4px #000;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -2px 0 rgba(0, 0, 0, 0.7),
    0 1px 3px rgba(0, 0, 0, 0.85);
}

.register-submit:hover {
  color: #fff0a2;
  background:
    linear-gradient(#7c5a2b, #26170a 42%, #0a0602 50%, #3d260e 100%);
}

.register-status {
  grid-column: 1 / -1;
  min-height: 14px;
  margin: 2px 0 0;
  color: #a9bfa4;
  font: 700 10px/14px Tahoma, Verdana, Arial, sans-serif;
  text-align: center;
  text-shadow: 1px 1px 0 #000;
}

.register-status.is-error {
  color: #ffb27c;
}

@keyframes flame-flicker {
  0% {
    transform: translateY(1px) scaleX(0.92) scaleY(0.92);
    opacity: 0.74;
  }

  42% {
    transform: translateY(-1px) scaleX(0.96) scaleY(1.06);
    opacity: 0.94;
  }

  100% {
    transform: translateY(-3px) scaleX(0.9) scaleY(1.16);
    opacity: 1;
  }
}

@keyframes flame-core-flicker {
  0% {
    transform: translateY(1px) scaleX(0.82) scaleY(0.9);
    opacity: 0.72;
  }

  100% {
    transform: translateY(-3px) scaleX(0.86) scaleY(1.12);
    opacity: 0.98;
  }
}

@keyframes electric-ambient {
  0%,
  69%,
  72%,
  100% {
    opacity: 0;
  }

  70% {
    opacity: 0.2;
  }

  71% {
    opacity: 0.07;
  }
}

@keyframes electric-strike {
  0%,
  64%,
  68%,
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(var(--bolt-rotate)) scaleX(0.98);
  }

  65% {
    opacity: 0.96;
    transform: translate3d(0, 0, 0) rotate(var(--bolt-rotate)) scaleX(1);
  }

  66% {
    opacity: 0.22;
    transform: translate3d(1px, -1px, 0) rotate(var(--bolt-rotate)) scaleX(0.92);
  }

  67% {
    opacity: 0.72;
    transform: translate3d(-1px, 1px, 0) rotate(var(--bolt-rotate)) scaleX(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage::after {
    animation: none;
    opacity: 0;
  }

  .electric-arc {
    animation: none;
    opacity: 0;
  }

  .torch::before,
  .torch::after {
    animation: none;
  }
}
