body {
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.87);
  background-color: #f2d291;
  overscroll-behavior: none;

  font-family: "Fredoka", sans-serif;
  font-optical-sizing: auto;
  font-variation-settings: "wdth" 100;
}

#app {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.4);
  align-items: safe center;
  justify-content: safe center;
  cursor: pointer;
}

.modal-content {
  background-color: #fefefe;
  border-radius: 15px;
  color: black;
  padding: 20px;
  width: 80%;
  max-width: 350px;
  position: relative;
  max-height: 100vh;
  overflow-y: auto;
  box-sizing: border-box;
  cursor: default;
}

.modal-header {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 20px;
  text-align: center;
}

input[type="text"] {
  font-family: "Fredoka", sans-serif;
  padding: 5px;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid #888888;
}

.close {
  color: #aaa;
  position: absolute;
  top: 5px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

button {
  margin-top: 10px;
  border-radius: 10px;
  border-width: 0;
  padding: 5px 10px;
  border: 1px solid #888888;
  cursor: pointer;
}

table {
  width: 100%;
  border-collapse: collapse;
}

td,
th {
  padding: 5px;
}

tr:nth-child(odd) td {
  background-color: #dedede;
}

tr:hover td {
  background-color: #ccc;
}

tr.you td {
  background-color: #f2d291 !important;
  font-weight: 600;
}

tr.pb td {
  border-top: 3px double black;
}

.explain-row {
  display: flex;
  justify-content: center;
  align-items: center;
}

.explain-row .image {
  width: 150px;
}

.explain-row .text {
  flex: 1;
}
