:root {
  --math-paper: #f8f7f4;
  --math-ink: #102f28;
  --math-green: #145c49;
  --math-mint: #e0ece2;
  --math-line: #c3d2c8;
  --math-radius: 22px;
  --math-font: "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

.math-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.44em;
  color: var(--math-ink);
  font-family: var(--math-font);
  font-weight: 850;
  letter-spacing: -0.05em;
  text-decoration: none;
}

.math-mark {
  display: grid;
  flex: none;
  width: 1.2em;
  height: 1.2em;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  transform: rotate(-7deg);
}

.math-mark i {
  background: #27765e;
  border-radius: 27%;
}
.math-mark i:first-child {
  background: #86ad88;
  border-radius: 62% 27% 27%;
}
.math-mark i:last-child {
  background: #efb85f;
}

.math-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55em 0.94em;
  border: 1px solid var(--math-green);
  border-radius: 12px;
  color: white;
  background: var(--math-green);
  font: 750 1rem var(--math-font);
  text-decoration: none;
  cursor: pointer;
}

.math-share-button:focus-visible {
  outline: 3px solid #80551b;
  outline-offset: 3px;
}
.math-share-button:disabled {
  opacity: 0.58;
  cursor: wait;
}
.math-lesson-share {
  display: flex;
  justify-content: flex-end;
  width: min(calc(100% - 28px), 960px);
  margin: 12px auto 0;
}
