@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');

:root {
  --bg1: #f8f1eb;
  --bg2: #f4dcc4;

  --border1: #000000;

  --text: #000000;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg1);
  cursor: none;
  font-family: Orbitron;
}

.main {
  width: 100vw;
  height: 100vh;
  box-sizing: border-box;
  padding: 32px;
  overflow: hidden;
  background-color: var(--bg1);
  color: var(--text);
  display: flex;
}
.main--mobile {
  display: none;
  justify-content: center;
  align-items: center;
  padding-bottom: 10%;
}
.main--mobile span {
  width: 80%;
  text-align: center;
}
@media (max-width: 800px) {
  .main--mobile {
    display: flex;
  }
  .main--pc {
    display: none;
  }
}
.main__cursor {
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  pointer-events: none;
  transform-origin: 0 0;
}

.view {
  position: relative;
  min-width: 500px;
  width: 55%;
  height: 100%;
}
.view__box {
  position: relative;
  z-index: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background-color: var(--bg2);
  border-radius: 24px;
  border: solid 4px;
  box-shadow: inset 10px 0 0 var(--border1);
}
.view__score-bg {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  filter: drop-shadow(10px 0 0 var(--border1));
}
.view__score {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 50%;
  transform: translate(-50%, 0);
  font-size: 32px;
  font-weight: bold;
}
.view__cookie {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  width: 300px;
  user-select: none;
}
.view__cookie:active {
  transform: translate(-50%, -40%) scale(0.99);
  transition: transform 100ms;
}
.view__clicker {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
}
.view__plus {
  position: absolute;
  top: 0;
  left: 0;
  font-weight: 900;
  font-size: 32px;
  -webkit-text-stroke: 9px var(--bg1);
  paint-order: stroke fill;
  user-select: none;
  pointer-events: none;
}

.side-panel {
  height: 100%;
  width: 45%;
  padding: 0 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.side-panel__title {
  font-size: 20px;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 0 6px;
  position: relative;
}
.side-panel__title span {
  -webkit-text-stroke: 4px var(--bg1);
  paint-order: stroke fill;
  position: relative;
  z-index: 1;
  font-weight: 600;
}
.side-panel__title::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  height: 3px;
  background-color: var(--text);
  z-index: 0;
}
.side-panel__section-body {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  gap: 8px;
  overflow-Y: auto;
}

.upgrade-card {
  --card-bg1: #ffe080;
  --card-bg2: #fbc310;
  --card-bg3: #e9b100;

  width: 100%;
  height: 64px;
  border-radius: 12px;
  box-sizing: border-box;
  padding: 6px;
  background-color: var(--card-bg1);
  display: flex;
}
.upgrade-card__button {
  height: fit-content;
  padding: 6px 12px;
  margin-top: auto;
  margin-left: auto;
  background-color: var(--card-bg2);
  border: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 16px;
  cursor: none;
}
.upgrade-card__button:hover {
  background-color: var(--card-bg3);
}
.upgrade-card__title {
  font-weight: 400;
  font-size: 16px;
}
.upgrade-card__price {
  font-weight: 800;
  font-size: 12px;
}

.login-dialog {
  cursor: default;
  padding: 32px 64px;
}
.login-dialog__form {
  display: flex;
  flex-direction: column;
}
.login-dialog__link {
  margin-top: 16px;
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}
.login-dialog__submit {
  cursor: pointer;
}
.login-dialog__label {
  font-size: 12px;
  font-weight: 500;
}
.login-dialog__input {
  margin-bottom: 8px;
}

