html,
body {
  background-color: #fff;
  font-family: "Helvetica", "Arial", "Verdana", sans-serif;
  margin: 0;
  padding: 0;
}

.app-container {
  max-width: 100%;
  overflow: hidden;
}

.header {
  background-color: #369;
  padding: 10px 0;
}

.header > h1 {
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  margin: 0;
  text-align: center;
}

h2 {
  border-bottom: 1px solid #ddd;
  color: #777;
  font-size: 18px;
  font-style: italic;
  font-weight: normal;
  padding-bottom: 3px;
  padding-left: 6px;
  text-align: left;
}

.container {
  margin: 0 auto;
  padding: 0;
  text-align: center;
  width: 352px;
}

.dice {
  display: flex;
  flex-direction: row;
}

.dice > input {
  border-color: #369;
  border-style: solid;
  border-width: 6px;
  color: #369;
  font-size: 36px;
  font-weight: bold;
  height: 36px;
  line-height: 36px;
  padding: 8px 0;
  text-align: center;
  text-transform: uppercase;
  width: 52px;
}

.dice > input:not(:last-child) {
  margin-right: 8px;
}

.dice > input:placeholder-shown {
  border-color: #ddd;
}

.dice > input::placeholder {
  color: #ddd;
}

.dice > input:focus-visible {
  border-bottom-color: #333;
  border-left-color: #ddd;
  border-right-color: #ddd;
  border-top-color: #ddd;
  color: #333;
  outline: none;
}

.dice > input::selection {
  background: none;
}

.used > label {
  border-radius: 14px;
  border: 1px solid #0006;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  height: 28px;
  line-height: 28px;
  margin-bottom: 8px;
  margin-right: 8px;
  padding: 0 10px;
}

.used > label:not(:has(input:checked)) {
  background-color: #538d4e;
}

.used > label:not(:has(input:checked)):hover {
  background-color: #695;
}

.used > label:not(:has(input:checked)):active {
  background-color: #473;
}

.used > label:has(input:checked) {
  background-color: #900;
}

.used > label:has(input:checked):hover {
  background-color: #a00;
}

.used > label:has(input:checked):active {
  background-color: #800;
}

.used > label > input {
  display: none;
}

.suggestion {
  color: #333;
  font-weight: bold;
  text-align: left;
}

.suggestion.no-suggestion {
  color: #777;
  font-style: italic;
  font-weight: normal;
}

.your-combos {
  padding-top: 12px;
}

.your-combos.hidden {
  display: none;
}

.your-combos table {
  width: 100%;
}

.your-combos th:first-child,
.your-combos td:first-child {
  padding-left: 6px;
  text-align: left;
}

.your-combos th {
  border-bottom: 1px solid #ccc;
  color: #777;
  font-size: 12px;
  font-weight: normal;
}

.your-combos tbody {
  padding-top: 8px;
}

.your-combos tr:not(:last-of-type) td {
  border-bottom: 1px solid #ddd;
}

.your-combos td {
  color: #333;
  line-height: 28px;
}
