/* Emerald Valley Library - Interactive Mathematics, generated by Mathigon Studio */
@charset "UTF-8";
x-dot-machine {
  display: block;
  margin: 1.5em 0;
}
x-dot-machine .dot-wrap {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}
x-dot-machine .dot-cell {
  width: 100px;
  height: 100px;
  margin: 30px 2px 16px;
  background: #c6e5e2;
  position: relative;
  border-radius: 4px;
}
x-dot-machine .dot-decimal, x-dot-machine .dot-ellipses {
  font-size: 44px;
  text-align: center;
  padding: 0 12px;
  color: #181824;
  line-height: 132px;
}
x-dot-machine .dot-decimal:before {
  content: ".";
}
x-dot-machine .dot-ellipses:before {
  content: "…";
}
x-dot-machine .dot {
  width: 16px;
  height: 16px;
  border-radius: 8px;
  background: #0f82f2;
  position: absolute;
  top: 0;
  left: 0;
  transition: background 0.2s, box-shadow 0.2s;
  margin: -8px;
  box-sizing: border-box;
}
x-dot-machine .dot.dark {
  background-color: #19978b;
}
x-dot-machine .dot.light {
  background-color: #6e48ac;
}
x-dot-machine .dot.glowing {
  background-color: #fd8c00;
  box-shadow: 0 0 0 4px rgba(253, 140, 0, 0.3);
}
x-dot-machine .dot.warning {
  background-color: #cd0e66;
  box-shadow: 0 0 0 4px rgba(205, 14, 102, 0.3);
}
x-dot-machine .dot.anti {
  background-color: #c6e5e2;
  border: 2px solid #0f82f2;
}
x-dot-machine .dot.anti.warning {
  border-color: #cd0e66;
}
x-dot-machine .dot.anti.glowing {
  border-color: #fd8c00;
}
x-dot-machine.tiny .dot {
  width: 12px;
  height: 12px;
}
x-dot-machine .cell-value, x-dot-machine .cell-order {
  position: absolute;
  width: 100%;
  text-align: center;
  font-weight: bold;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
x-dot-machine .cell-value {
  font-size: 24px;
  color: #0f82f2;
  top: -34px;
}
x-dot-machine .cell-order {
  font-size: 14px;
  color: #c6e5e2;
  bottom: -20px;
}

.race {
  position: relative;
  padding-bottom: 40px;
}
.race line {
  stroke-linecap: round;
  stroke: #fd8c00;
  stroke-width: 2;
}
.race text {
  font-size: 14px;
  text-anchor: middle;
}
.race img {
  position: absolute;
  top: 0;
  width: 10.5%;
  height: auto;
  transition: left 0.5s;
}
.race g {
  display: none;
}

.btn-row.done {
  pointer-events: none;
}

.btn-row.done button:not(.selected) {
  opacity: 0.2;
}

blockquote p {
  font-weight: 600;
  font-style: italic;
  text-align: center;
  color: #333;
}

.convergence {
  margin: 1.5em auto;
  text-align: right;
  max-width: 270px;
}

.ivar {
  text-align: center;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  line-height: 1.4em;
  border-radius: 0.7em;
  background: #22ab24;
  font-weight: 600;
  font-style: italic;
  color: white;
  margin: 0 0.2em;
}
.s-yellow .ivar {
  background: #fd8c00;
}

svg.square polygon {
  stroke: white;
  stroke-width: 2px;
}

x-img img {
  width: 100%;
}

#zero-list ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#zero-list li {
  padding: 12px 18px;
  border-radius: 6px;
  margin: 12px;
  list-style: none;
  color: rgba(0, 0, 0, 0.8);
  max-width: 300px;
}
#zero-list li:nth-child(1) {
  background: #fae7f0;
}
#zero-list li:nth-child(2) {
  background: #e7f3fe;
}
#zero-list li:nth-child(3) {
  background: #e9f7e9;
}
#zero-list li:nth-child(4) {
  background: #fff4e6;
}

#flaw-2 table thead, #flaw-3 table thead {
  display: none;
}
#flaw-2 table td, #flaw-3 table td {
  padding: 0.15em 0.25em;
}

#flaw-3 table tr:nth-child(2), #flaw-3 table tr:nth-child(6), #flaw-3 table tr:nth-child(7) {
  border-bottom: 1px solid #3a3645;
}