  body {
      background:
          radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .10) 0 2px, transparent 3px) 0 0 / 34px 34px,
          linear-gradient(160deg, #2a2d8f, #1d1f6b);
      background-attachment: fixed;
      min-height: 100vh;
      color: white;
      margin: 0;
      font-family: 'Rubik', Arial, Helvetica, sans-serif;
  }

  button,
  input {
      font-family: inherit;
  }

  * {
      box-sizing: border-box;
  }

  h1 {
      font-size: 10vw;
      text-align: center;
      font-family: 'Rubik', Arial, sans-serif;
      font-weight: 900;
      color: #ffc93c;
      text-shadow: 0 .05em 0 #e0a400, 0 .1em 0 #15174a, 0 .18em .25em rgba(0, 0, 0, .35);
      margin: 1vw;
  }

  .login {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1.6rem;
      /* padding: 2rem 1rem; */
  }

  .login-form {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: center;
      align-items: center;
  }

  #start {
      border: 0;
      border-radius: 18px;
      background: #ffc93c;
      color: #15174a;
      font-size: clamp(1.1rem, 3.5vw, 1.6rem);
      font-weight: 800;
      padding: .7em 1.8em;
      cursor: pointer;
      box-shadow: 0 6px 0 #e0a400;
      transition: transform .08s, box-shadow .08s;
  }

  #start:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 0 #e0a400;
  }

  #start:active {
      transform: translateY(5px);
      box-shadow: 0 1px 0 #e0a400;
  }

  #name {
      font-family: inherit;
      font-size: clamp(1.1rem, 3.5vw, 1.5rem);
      font-weight: 600;
      text-align: center;
      color: #15174a;
      background: #fffaf0;
      width: min(80vw, 300px);
      padding: .7em 1.2em;
      border: 3px solid transparent;
      border-radius: 18px;
      box-shadow: 0 6px 0 rgba(0, 0, 0, .25);
  }

  #name::placeholder {
      color: #8a8cb5;
  }

  #name:focus {
      outline: none;
      border-color: #ffc93c;
  }

  /* img {
    width: 25vw;
    height: 25vw;
    margin-bottom: 2vw;
    border: solid 7px white;
    } */
  #exp {
      position: fixed;
      top: 16px;
      left: 16px;
      z-index: 5;
      width: 46px;
      height: 46px;
      border-radius: 50%;
      border: 0;
      background: #fffaf0;
      color: #15174a;
      font-size: 1.4rem;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 4px 0 rgba(0, 0, 0, .3);
  }

  button:hover {
      opacity: 0.8;
  }

  /* Extra styles for the cancel button */
  .cancelbtn {
      border: 0;
      border-radius: 18px;
      background: #ffc93c;
      color: #15174a;
      font-size: 1.1rem;
      font-weight: 800;
      padding: .7em 1.8em;
      cursor: pointer;
      box-shadow: 0 6px 0 #e0a400;
      transition: transform .08s, box-shadow .08s;
  }

  .cancelbtn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 0 #e0a400;
  }

  .cancelbtn:active {
      transform: translateY(5px);
      box-shadow: 0 1px 0 #e0a400;
  }

  /* Center the image and position the close button */

  span.psw {
      float: right;
      padding-top: 16px;
  }

  /* The Modal (background) */
  .modal {
      display: none;
      /* Hidden by default */
      position: fixed;
      /* Stay in place */
      z-index: 1;
      /* Sit on top */
      left: 0;
      top: 0;
      width: 100%;
      /* Full width */
      height: 100%;
      /* Full height */
      overflow: auto;
      /* Enable scroll if needed */
      background-color: rgb(0, 0, 0);
      /* Fallback color */
      background-color: rgba(0, 0, 0, 0.4);
      /* Black w/ opacity */
      padding-top: 60px;
  }

  .modal.open {
      display: grid;
      place-items: center;
  }

  .modal-content {
      background-color: #fefefe;
      color: #15174a;
      border-radius: 28px;
      padding: 1.6rem 1.6rem 1.4rem;
      width: min(92vw, 460px);
      text-align: right;
      line-height: 1.7;
      font-size: 1.05rem;
      box-shadow: 0 10px 0 #15174a;
  }

  .modal-content h2 {
      margin: 0 0 .4rem;
      font-size: 1.6rem;
  }

  .modal-content h3 {
      margin: 1rem 0 .1rem;
      font-size: 1.05rem;
  }

  .modal-content p {
      margin: 0;
  }

  .modal-content .cancelbtn {
      display: block;
      margin: 1.2rem auto 0;
  }

  /* The Close Button (x) */
  .close {
      position: absolute;
      right: 25px;
      top: 0;
      color: #000;
      font-size: 35px;
      font-weight: bold;
  }

  .close:hover,
  .close:focus {
      color: red;
      cursor: pointer;
  }

  /* Add Zoom Animation */
  .animate {
      -webkit-animation: animatezoom 0.6s;
      animation: animatezoom 0.6s
  }

  @-webkit-keyframes animatezoom {
      from {
          -webkit-transform: scale(0)
      }

      to {
          -webkit-transform: scale(1)
      }
  }

  @keyframes animatezoom {
      from {
          transform: scale(0)
      }

      to {
          transform: scale(1)
      }
  }

  @media screen and (max-width: 300px) {
      span.psw {
          display: block;
          float: none;
      }

      .cancelbtn {
          width: 100%;
      }
  }

  #logo {
      width: 8vw;
      height: 8vw;
      position: relative;
      left: 25vw;
  }

  .btn {
      font-size: clamp(1rem, 3.6vw, 1.5rem);
      font-weight: 800;
      color: #15174a;
      background: #fffaf0;
      border: 0;
      border-radius: 18px;
      padding: 1em .6em;
      cursor: pointer;
      box-shadow: 0 6px 0 #c9c3b0;
      transition: transform .08s, box-shadow .08s, background .15s;
  }

  .btn:hover {
      background: #fff;
      transform: translateY(-2px);
      box-shadow: 0 8px 0 #c9c3b0;
  }

  .btn:active {
      transform: translateY(5px);
      box-shadow: 0 1px 0 #c9c3b0;
  }


  #time {
      width: 100px;
      font-size: 30px;
      font-weight: 500;
  }

.stage {
    --size: min(62vw, 280px);
    position: relative;
    width: var(--size);
    height: var(--size);
    margin: 0 auto;
    background: #fffaf0;
    border-radius: 28px;
    box-shadow: 0 8px 0 #15174a, 0 22px 40px rgba(0, 0, 0, .35);
    transform: rotate(-2deg);
}

.stage img {
    position: absolute;
    inset: 6%;
    width: 88%;
    height: 88%;
    object-fit: contain;
    border-radius: 14px;
}

#p1 {
    margin-bottom: 2rem;
}

  .btn1 {
      border-radius: 999px;
      background: rgba(255, 255, 255, .14);
      border: none;
      color: #FFFFFF;
      text-align: center;
      font-size: clamp(.9rem, 2.5vw, 1.1rem);
      padding: .55em 1.2em;
      transition: all 0.5s;
      cursor: pointer;
      margin: 0;
      direction: rtl;
  }

  .btn1 span {
      cursor: pointer;
      display: inline-block;
      position: relative;
      transition: 0.5s;
  }

  .btn1 span:after {
      content: '\00bb';
      position: absolute;
      opacity: 0;
      top: 0;
      right: -20px;
      transition: 0.5s;
  }

  .btn1:hover span {
      padding-right: 25px;
  }

  .btn1:hover span:after {
      opacity: 1;
      right: 0;
  }

  .btn1:hover {
      opacity: 1;
      background: rgba(255, 255, 255, .26);
  }

  #p2 {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
      width: min(85vw, 500px);
      margin: 0 auto;
  }

  #p2:empty {
      display: none;
  }

  #p3 {
      font-family: inherit;
      font-size: clamp(1.1rem, 3.6vw, 1.6rem);
      font-weight: 800;
      line-height: 1.5;
      min-height: 3em;
      margin: 1.4rem auto 2rem;
      text-align: center;
  }

#kind {
    display: flex;
    width: fit-content;
    gap: 6px;
    padding: 6px;
    margin: 0 auto 1.6rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, .28);
}

  .lev {
      border: 0;
      border-radius: 999px;
      padding: .6em 1.6em;
      font-size: clamp(.95rem, 3vw, 1.15rem);
      font-weight: 700;
      color: #fff;
      background: transparent;
      cursor: pointer;
      transition: background .2s, color .2s;
  }

  .lev:hover {
      background: rgba(255, 255, 255, .18);
  }

  .lev.selected {
      background: #ffc93c;
      color: #15174a;
  }

  #clock {
      display: flex;
      align-items: center;
      gap: .7rem;
      color: #fff;
      font-family: inherit;
  }

  #pname {
      margin: 0;
      font-family: inherit;
      font-size: clamp(1rem, 3vw, 1.2rem);
      font-weight: 600;
      color: #fff;
  }

  #cl {
      margin: 0;
      padding: .25em .9em;
      border-radius: 999px;
      background: #ff5a5f;
      font-size: clamp(1rem, 3vw, 1.3rem);
      font-weight: 800;
      font-variant-numeric: tabular-nums;
      text-align: center;
  }

  #cl:empty {
      display: none;
  }

  body:has(#p2) h1 {
      font-size: clamp(2.6rem, 9vw, 5rem);
      margin: .1em 0 .5em;
  }

  .bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 14px 18px;
  }
.stage:empty {
    display: grid;
    place-items: center;
}

.stage:empty::before {
    content: "?";
    font-size: calc(var(--size) * 0.55);
    font-weight: 900;
    line-height: 1;
    color: #2a2d8f;
}